跳至主要內容

模型詳情

gemini-embedding-2-preview

由 Google 提供
隨用隨付

Gemini Embedding 2 Preview is Google's first multimodal embedding model. We currently support mapping text and images into a unified vector space for semantic search and retrieval-augmented generation (RAG). It supports input context up to 8,192 tokens and flexible output dimensions from 128 to 3,072 (recommended: 768, 1536, or 3,072). Designed for cross-modal similarity — you can embed a text query and retrieve the most relevant images, or vice versa — making it well-suited for multimodal search, recommendation, and document understanding pipelines.

模型規格

上下文長度
最大輸出
輸入/輸出模態
發布日期
2026-04

02

API 端點

單一 MixRoute 閘道,OpenAI 相容

  • Gemini /v1beta/models/{model}:generateContent POST
  • OpenAI-compatible /v1/chat/completions POST

03

價格

固定費率,單位:/1M Tokens

輸入

$0.2000 /1M Tokens

補全

$0.8000 /1M Tokens

08

Token 成本估算

基於本頁價格的即時估算,非實際帳單

此模型沒有快取讀取價格,不計算快取費用

單一端點,可驗證的決策

使用相同的請求格式測試此模型與替代路由

從真實工作負載開始,再由品質、總成本與故障條件決定是否導入正式環境流量。