Breaking model
text-embedding-004 shut down on the Gemini API January 14, 2026; replacement is gemini-embedding-2
What changes
Google's deprecations page lists January 14, 2026 as the shutdown date, with gemini-embedding-2 as the replacement; the changelog records the shutdown on that date. Once a model is shut down its endpoint is no longer available.
Breaking: Calls fail after this date.
What to do
Re-embed the whole corpus with gemini-embedding-2 into a new index, check dimensions, cut over atomically, and record the embedding model id with every stored vector.
Strings to search for
text-embedding-004