Gemini Embedding 2 與 voyage-code-4

比較 Gemini Embedding 2,由 Google 提供和voyage-code-4,由 MongoDB 提供 的關鍵指標,包括基準測試、價格、上下文長度及其他模型功能。 存取 兩個模型 及數百種其他模型,透過 OpenRouter API。

google 的網站圖示
Gemini Embedding 2
mongodb 的網站圖示
voyage-code-4

總覽

Gemini Embedding 2
作者
Google
voyage-code-4
作者
MongoDB
Gemini Embedding 2
上下文長度
—
voyage-code-4
上下文長度
—
Gemini Embedding 2
推理
否
voyage-code-4
推理
否
Gemini Embedding 2
輸入模態
文字, 圖片, 音訊, 影片, 檔案
voyage-code-4
輸入模態
文字
Gemini Embedding 2
輸出模態
嵌入向量
voyage-code-4
輸出模態
嵌入向量

分析

Gemini Embedding 2 與 voyage-code-4 比較概覽

Gemini Embedding 2
輸入價格
不適用
voyage-code-4
輸入價格
不適用
Gemini Embedding 2
輸出價格
不適用
voyage-code-4
輸出價格
不適用
Gemini Embedding 2
價格
US$0.20/M tokens
voyage-code-4
價格
US$0.12/M tokens
Gemini Embedding 2
上下文視窗
不適用
voyage-code-4
上下文視窗
不適用
Gemini Embedding 2
延遲(p50)
0.28 秒
voyage-code-4
延遲(p50)
0.15 秒
Gemini Embedding 2
吞吐量(p50)
無法使用
voyage-code-4
吞吐量(p50)
無法使用
Gemini Embedding 2
供應商
Google
voyage-code-4
供應商
MongoDB

常見問題

Gemini Embedding 2 比 voyage-code-4 便宜嗎?

Gemini Embedding 2 在 OpenRouter 上的價格為 定價為 US$0.20/M tokens,而 voyage-code-4 的價格為 定價為 US$0.12/M tokens。

Gemini Embedding 2 和 voyage-code-4 哪個支援更長的輸入?

voyage-code-4 支援較長的輸入,上限為 32,000 個 token,相較之下,Gemini Embedding 2 的上限為 8,192 個 token。

Gemini Embedding 2 和 voyage-code-4 可為哪些輸入類型產生嵌入向量?

Gemini Embedding 2 在 OpenRouter 上為 文字、圖片、PDF 等檔案、音訊和影片 產生嵌入向量,而 voyage-code-4 則為 文字 產生嵌入向量。

Gemini Embedding 2 和 voyage-code-4 哪個比較快?

voyage-code-4 在 OpenRouter 上速度較快,嵌入延遲中位數為 0.15 秒,相較之下,Gemini Embedding 2 為 0.28 秒。