Model retirement dates / Google

embedding-2-preview

Google listed 10 August 2026 as the earliest shutdown date for embedding-2-preview. That date has passed, so embedding-2-preview may stop working at any time. The recommended replacement is gemini-embedding-2.

ProviderGoogle
StatusMay already be off (as of 11 Nov 2026)
Earliest shutdown10 August 2026
Replacementgemini-embedding-2
Model typeEmbedding
SourceGoogle deprecations page

Check your code for it

Run this in your repository. No install and no API key; it lists every OpenAI, Anthropic and Google model ID it finds, with its retirement date and replacement:

npx -y @aidriftline/driftline .

Or look for this ID only: grep -rn "embedding-2-preview" . (misses aliases, Bedrock and Vertex names, and IDs split across lines).

To be warned automatically before the next retirement, add the free Driftline GitHub Action. It annotates the exact line in pull requests and can fail the build on retired models.

Checked against Google's official page on 11 November 2026. Something wrong? hello@aidriftline.com