Gemini Embedding 2

Google's recommended embedding model — first multimodal embedding model in the Gemini API (text-only via this endpoint today). Default output dimension 3072; supports the `dimensions` parameter (recommended: 768, 1536, 3072). Embedding space is incompatible with gemini-embedding-001.

gemini-embedding-2
Embedding modelSTABLEGet StartedView uptime
8,192 context
Released April 22, 2026
Starting at $0.20/M input tokens
Starting at $0.00/M output tokens
Embeddings
No ratings yetSign in to rate

Select Provider

All Providers for Gemini Embedding 2

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

Google AI Studio
Context: 8.2k
Input
$0.2
/M tokens
Cache Read
/M tokens
Output
$0
/M tokens
Get Started

Frequently asked questions

What is Gemini Embedding 2?

Google's recommended embedding model — first multimodal embedding model in the Gemini API (text-only via this endpoint today). Default output dimension 3072; supports the `dimensions` parameter (recommended: 768, 1536, 3072). Embedding space is incompatible with gemini-embedding-001. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does Gemini Embedding 2 cost?

Pricing for Gemini Embedding 2 on LLM Gateway starts at $0.20 per million input tokens and $0.00 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

What is the context length of Gemini Embedding 2?

Gemini Embedding 2 supports a context window of up to 8,192 tokens on its largest provider deployment.

Which providers serve Gemini Embedding 2?

Gemini Embedding 2 is served by Google AI Studio through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does Gemini Embedding 2 support tool calling and structured outputs?

No. Gemini Embedding 2 does not currently support tool calling or structured JSON outputs through LLM Gateway.

When was Gemini Embedding 2 released?

Gemini Embedding 2 was released on April 22, 2026.