Gemini embedding-2-preview shuts down on August 10, 2026
Google is shutting down the preview embedding model and lists gemini-embedding-2 as the replacement.
- Provider
- Surface
- Gemini API
- Change type
- model shutdown
- Shutdown
- Announced
- Not specified
- Last verified
What breaks
Any indexing or query pipeline still calling embedding-2-preview will lose its embedding endpoint at shutdown.
- Requests to embedding-2-preview will stop working after its shutdown date.
Affected identifiers and fields
Search your code, environment variables, gateway configuration, and stored request templates for these exact values.
embedding-2-preview
embedding modelembed_contentvector embeddings
Migration target
Move embedding requests to the generally available gemini-embedding-2 model.
gemini-embedding-2
What to do
Change the model ID to gemini-embedding-2 and validate vector dimensions, storage, and retrieval quality in a staging index before cutover.
Before and after
result = client.models.embed_content(
model="embedding-2-preview",
contents="Text to embed",
)result = client.models.embed_content(
model="gemini-embedding-2",
contents="Text to embed",
)Official source receipts
These provider pages support the dates, identifiers, symptoms, and migration direction recorded above.
Official source 1 · verified July 26, 2026Gemini deprecations — Embedding models ↗
Google · Official documentation