gemini-embedding-2-preview deprecated and routed to gemini-embedding-2
Since November 6, 2026, Gemini API requests to gemini-embedding-2-preview route to gemini-embedding-2 at its rates. The schema, pricing and embedding space are the same, so no re-indexing is needed.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact No impactNo decision needed. Costs and stored embeddings are unaffected, and requests already go to the stable model.
Engineer
What to change, what breaks, what to test Worth knowingChange `gemini-embedding-2-preview` to `gemini-embedding-2` in your config when convenient. Requests already route there, and the embedding space is the same, so no re-indexing is needed.
General consumer
Using the Gemini app, not the API No impactNothing to do. This is a Gemini API embeddings change and does not affect the Gemini app.
Google deprecated gemini-embedding-2-preview on November 6, 2026. Effective that day, API requests to it route to gemini-embedding-2 at Gemini Embedding 2 rates.
gemini-embedding-2 uses the same API schema, pricing and embedding space, so existing vectors stay compatible and no re-indexing or other code change is needed. Google asks developers to update the model string to gemini-embedding-2.
Lifecycle
| Model | Status | Retires | Replacement |
|---|---|---|---|
gemini-embedding-2-preview | deprecated | gemini-embedding-2 |
Topics: Prices and limits
Terms on this page: Deprecation