Google's Gemini embedding models: gemini-embedding-2 for text, images, audio, video and PDFs
servicefree
Gemini Embedding is Google's embedding model family on the Gemini API. gemini-embedding-2 (stable, April 2026) embeds text up to 8,192 tokens, images, up to 180 seconds of audio, up to 120 seconds of video and PDFs of up to 6 pages into one space, in over 100 languages, with the task set by a prompt prefix; the text-only gemini-embedding-001 (June 2025) takes 2,048 tokens and a task_type. Both return 3,072 dimensions by default and can be cut to 128 to 3,072 (768 and 1,536 recommended). Text costs $0.20 per million tokens on gemini-embedding-2 and $0.15 on gemini-embedding-001, half that through the Batch API, and standard use is free on the free tier. The two models' embedding spaces are incompatible, so moving to gemini-embedding-2 means re-embedding.
Problems it solves
- search a library of videos, audio clips and documents with one text query
- embed short PDFs and images alongside text for a RAG system
- an embedding model with a free tier for prototyping semantic search
- embed a large backlog of documents at half price with a batch job
- pick smaller embedding dimensions to save vector storage
- embeddings tuned for code retrieval, fact checking or question answering with a task setting
- multilingual embeddings for search across 100+ languages
Features
- gemini-embedding-2: text, image, audio, video and PDF input
- gemini-embedding-001: text only, task_type parameter
- 3,072 dimensions by default; 128 to 3,072 (768, 1,536 recommended)
- 8,192 input tokens (gemini-embedding-2), 2,048 (gemini-embedding-001)
- over 100 languages (gemini-embedding-2)
- Batch API at half price
- free tier for standard use
Limitations
- Embeddings from gemini-embedding-001 and gemini-embedding-2 can't be compared: switching models means re-embedding your data1
Capabilities
| Has an API | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Gemini Embedding does.
- text-embedding-3-large OpenAI's most capable embedding model, 3,072 dimensions that can be shortened
- Cohere Embed Cohere's multimodal embedding models: text, images and PDF pages in one vector space, 128k context
- Voyage 4 Voyage AI's fourth embedding series: four models that share one embedding space
- jina-embeddings-v4 Universal embeddings for multimodal, multilingual retrieval of text, images and visually rich documents
- Qwen3-Embedding-8B Alibaba's 8B open embedding model, first on the MTEB multilingual leaderboard when released
- bge-base-en-v1.5 BAAI's English general embedding model, version 1.5
