Gemini Embedding 2
Multimodal embedding model mapping text, images, video, audio and PDFs into one embedding space.
Specs
- Context
- —
- Max output
- —
- Input price
- $0.2/ 1M tokens
- Output price
- —
- Released
- 2026-04-22
Context
- Context window
- —
- Max input
- 8.2K
- Max output
- —
Pricing · USD / 1M tokens
- Input
- $0.2
- Output
- —
- Cache read
- —
- Cache write
- —
Modalities
- Input
- TextImageVideoAudioDocument
- Output
- Embedding
API
- API types
Reasoning
- Reasoning
- No
Info
- Status
- Active
- Released
- 2026-04-22
- Knowledge cutoff
- —
Features
- Not published
How to call
1 provider
googlemodel = gemini-embedding-2
embeddings
POSThttps://generativelanguage.googleapis.com/v1beta/models/{model}:embedContent
JSON
Standard format
{
"id": "gemini-embedding-2",
"object": "model",
"created": 1776816000,
"owned_by": "google",
"name": "Gemini Embedding 2",
"api": {
"types": [
"embeddings"
]
},
"limits": {
"context": null,
"input": 8192,
"output": null
},
"modalities": {
"input": [
"text",
"image",
"video",
"audio",
"document"
],
"output": [
"embedding"
]
},
"reasoning": {
"supported": false,
"efforts": []
},
"pricing": {
"currency": "USD",
"unit": "1M_tokens",
"input": 0.2,
"output": null,
"cache_read": null,
"cache_write": null
},
"features": [],
"info": {
"status": "active",
"release_date": "2026-04-22",
"knowledge_cutoff": null,
"description": "Multimodal embedding model mapping text, images, video, audio and PDFs into one embedding space.",
"docs": "https://ai.google.dev/gemini-api/docs/models/gemini-embedding-2",
"verified_at": "2026-10-11"
}
}Official sources
5