EmbeddingGemma 2
About
EmbeddingGemma 2 is a 740M open-weight model from Google. Multimodal embeddings: text, images, video, audio, and PDF pages in one 768-d space. It accepts text, images, documents, and video. Context window is 8K. Released September 14, 2026.
Parameters
740M
Published parameter count.
Context window
8K
Tokens of context on a request.
License
Apache-2.0
License on the weights.
Pricing
Token rates are US dollars per 1M tokens. Image rates are per 1K images. Audio rates are per 1M audio seconds.
| Rate | Price |
|---|---|
| Input / 1M | $0.018 |
| Cached input / 1M | $0.018 |
| Output / 1M | $0 |
Compare
EmbeddingGemma 2 is the smallest embedding model here, at 740M, and the one that accepts documents.
| Model | What it does | Price | Parameters | Context |
|---|---|---|---|---|
| EmbeddingGemma 2 | Multimodal embeddings: text, images, video, audio, and PDF pages in one 768-d space. | $0.018 / 1M input | 740M | 8K |
| Qwen3-VL Embedding 2B | Multimodal embedding model for text, image, and video inputs. | $0.02 / 1M input | 2B | 8K |
Benchmarks
Published scores for EmbeddingGemma 2, from the EmbeddingGemma 2 model card. MMEB v2, full 768-d vectors.
- MMEB image57.28
- MMEB video50.67
| Reading | Example |
|---|---|
| Qualitative | Clear structure, grounded in the input |
| Quantitative | MMEB image: 57.28. |
| Cost and performance | Lower listed rate, mid-pack latency |
Methods
Methods this model serves. Payload shapes are in the docs.
| Method | Returns |
|---|---|
| embed | An embedding vector |
Supported inputs
- textYes
A string, an array of strings, or
textcontent parts. About 32 kB per input. - image_urlYes
280 tokens an image at the default
detail, so up to 29 in one input.lowis 140 tokens,high560. - video_urlYes
Frames at the clip's
video_fps, as many as fit the 8,192-token window, at 140 tokens a frame by default.video_detaillowis 70 tokens,high560. - audio_url, input_audioYes
One clip per input, resampled to 16 kHz mono. The model reads at most about 30 seconds of it.
- document_urlYes
One PDF per input, up to 28 pages at 280 tokens a page at the default
detail. Select pages withdocument_pages. The pages pool into one vector.
- Served over
POST /openai/embeddings. Only method:embed. - Parts interleave in one input and share one 8,192-token window. One vector per
inputitem; up to 512 items a request. Over a cap is a400, never a truncation. - The response
modelcarries the modality that ran, for examplegoogle/embeddinggemma-2:image. - Weights:
google/embeddinggemma-2, 740M parameters. Aliases:embeddinggemma-2,google/EmbeddingGemma-2.
Parameters
| Parameter | Default | Description |
|---|---|---|
dimensions | 768 | 768, 512, 256, or 128. The shorter vector is re-normalized. Any other value is a 400. |
prompt_name | Classification | Task prefix for text. See Task prefixes. An unknown name is a 400. |
encoding_format | float | float or base64 (little-endian float32). |
document_pages | all | Pages of a document_url part to read: indices, or [start, stop] ranges. |
document_max_pages | 28 | Pages one document may add to an input. |
detail | auto | low, auto, or high: 140, 280, or 560 tokens per image or PDF page. An image_url part's own detail wins. Vectors at different levels do not mix in one index. |
video_detail | auto | low, auto, or high: 70, 140, or 560 tokens per video frame. |
video_max_frames | fit | Frames to read from each clip. Unset reads as many as fit the window; a value past that is a 400. |
Task prefixes
The model is trained with a short prefix on text inputs. The wrong prefix still returns a vector, at lower precision, so pick the one that matches the task. Asymmetric tasks use one prefix for queries and Document for the corpus. Symmetric tasks use the same prefix on both sides.
prompt_name | Task | Pair with |
|---|---|---|
SearchQuery | Web and document search | Document |
QuestionAnswering | Question answering | Document |
FactChecking | Fact checking | Document |
CodeRetrieval | Code search | Document |
Classification | Text classification (default) | itself |
Clustering | Clustering | itself |
SentenceSimilarity | Semantic similarity | itself |
Note
Queries and documents must share one dimensions value. A 256-d query cannot be scored against a 768-d index.
Multimodal inputs
A flat list of parts is one input and returns one vector. Wrap several lists in an outer list for a batch.
For one vector per page, send one request per page: document_pages applies to the whole request.
Estimate cost
Estimate. A page is 2,500 input tokens and 1,000 output tokens. An hour of video is 15 frames a minute at 256 tokens a frame, plus the audio in that request, and 500 output tokens a minute.
$6.27
Quick start
Call this model on the OpenAI-compatible gateway. The model id is already filled in.
Response
The OpenAI shape, plus served_model_id, backend, and usage.cost. Media bills as tokens at the input rate:
