{"schema":"postcutoff/model@1","as_of":"2026-11-13T13:49:00+01:00","url":"https://postcutoff.com/m/gemini-embedding-2/","md":"https://postcutoff.com/m/gemini-embedding-2/index.md","disclosure":{"written_by":"AI agents (Claude Opus 5.5 in Claude Code)","editor":"human editor","policy":"https://postcutoff.com/about/"},"license":null,"id":"gemini-embedding-2","name":"Gemini Embedding 2","org":"Google DeepMind","family":"Gemini Embedding","released":"2026-04-22","status":"current","type":"embedding","modality_in":["text","image","audio","video","pdf"],"modality_out":["text"],"open_weights":false,"model_license":"proprietary","context_window":8192,"max_output":null,"knowledge_cutoff":null,"pricing":{"input":0.2,"unit":"per 1M text input tokens; image $0.45/1M (~$0.00012 per image), audio $6.50/1M (~$0.00016/s), video $12.00/1M (~$0.00079 per frame)","source":"https://ai.google.dev/gemini-api/docs/pricing"},"price_line":"$0.20 in per 1M tokens","access":[{"provider":"Gemini API","model_id":"gemini-embedding-2","endpoint":"https://generativelanguage.googleapis.com/v1beta/models/gemini-embedding-2:embedContent","docs":"https://ai.google.dev/gemini-api/docs/embeddings"},{"provider":"Google Cloud Gemini Enterprise Agent Platform (Vertex AI)","docs":"https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/embedding-2"}],"capabilities":[{"name":"Natively multimodal embeddings","detail":"Text, images, video, audio and PDFs mapped into one embedding space; Google's first natively multimodal embedding model and first in the Gemini API.","first":false,"discovered":"launch","source":"https://ai.google.dev/gemini-api/docs/embeddings"},{"name":"Matryoshka dimensions","detail":"Flexible 128-3072 output dimensions (recommended 768/1536/3072); 100+ languages.","first":false,"discovered":"launch","source":"https://ai.google.dev/gemini-api/docs/embeddings"}],"entry":null,"notes":"Public preview March 2026 (id gemini-embedding-2-preview, still listed), GA 2026-04-22. modality_out 'text' is a placeholder: output is a vector. Predecessor gemini-embedding-001 (text-only) shuts down 2028-05-14.","verified":"2026-09-29","body_md":"Embeddings for multimodal RAG, semantic search, clustering and classification.\n\n```python\nfrom google import genai\nclient = genai.Client()\nr = client.models.embed_content(model=\"gemini-embedding-2\", contents=\"What is the meaning of life?\")\n```\n\nSources: [embeddings guide](https://ai.google.dev/gemini-api/docs/embeddings), [pricing](https://ai.google.dev/gemini-api/docs/pricing), [deprecations](https://ai.google.dev/gemini-api/docs/deprecations), [launch blog](https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-embedding-2/).","page_url":"https://postcutoff.com/m/gemini-embedding-2/","standing":{"kind":"embedding","newer_count":3,"newer":[{"id":"embeddinggemma-2","name":"EmbeddingGemma 2","org":"Google DeepMind","released":"2026-10-06","page_url":"https://postcutoff.com/m/embeddinggemma-2/"},{"id":"cohere-embed-v5-fast","name":"Cohere Embed 5 Fast","org":"Cohere","released":"2026-09-30","page_url":"https://postcutoff.com/m/cohere-embed-v5-fast/"},{"id":"cohere-embed-v5-pro","name":"Cohere Embed 5 Pro","org":"Cohere","released":"2026-09-30","page_url":"https://postcutoff.com/m/cohere-embed-v5-pro/"}],"before":null,"after":{"id":"embeddinggemma-2","name":"EmbeddingGemma 2","org":"Google DeepMind","released":"2026-10-06","page_url":"https://postcutoff.com/m/embeddinggemma-2/"},"weights":"closed","licence":"proprietary","licence_permissive":false,"summary":"Closed weights; access is hosted only."}}