Gemini 4 Hydrogen
Knows up to March 2026Missing 1,889 events
gemini-4-hydrogen
$1.50 in, $7.50 out per 1M tokens
Embeddings for multimodal RAG, semantic search, clustering and classification.
Model idgemini-embedding-2
Price$0.20 in per 1M tokens
Checked29 September 2026
3newer embedding models since its release
2 ways to use Gemini Embedding 2, with the model id each provider expects.
| Provider | Model id | Endpoint | Docs |
|---|---|---|---|
| Gemini API | gemini-embedding-2 |
https://generativelanguage.googleapis.com/v1beta/models/gemini-embedding-2:embedContent |
ai.google.dev |
| Google Cloud Gemini Enterprise Agent Platform (Vertex AI) | docs.cloud.google.com |
| Input | $0.20 per 1M tokens |
|---|
As published: “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: ai.google.dev, checked 29 September 2026.
What its maker marketed at launch, and what people found later, each with its source.
Text, images, video, audio and PDFs mapped into one embedding space; Google’s first natively multimodal embedding model and first in the Gemini API.
Flexible 128-3072 output dimensions (recommended 768/1536/3072); 100+ languages.
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.
from google import genai
client = genai.Client()
r = client.models.embed_content(model="gemini-embedding-2", contents="What is the meaning of life?")
Sources: embeddings guide, pricing, deprecations, launch blog.