text-embedding-004
text-embedding-004 retirement: shut down Jan 14, 2026, replacement gemini-embedding-2.
Countdown
Off
Jan 14, 2026
Price per 1M tokens
— in · — out
Standard tier, list price
Price comparison
Full migration notes: text-embedding-004 vs gemini-embedding-2
Timeline
Released
Apr 9, 2024
Shutdown
Jan 14, 2026
Source: https://ai.google.dev/gemini-api/docs/deprecations · checked Nov 16, 2026
Change history
- RetiredGoogle Gemini · text-embedding-004 is retired as of Jan 14, 2026: calls to it fail.
FAQ
When does text-embedding-004 shut down?
Google Gemini lists Jan 14, 2026 as the shutdown date for text-embedding-004 (307 days ago). After that date, API calls to it fail.
What should I replace text-embedding-004 with?
Google Gemini recommends gemini-embedding-2.
How much does text-embedding-004 cost per 1M tokens?
Google Gemini's current pricing page lists no standard per-token price for text-embedding-004 because it is retired.
How do I find every place my code calls text-embedding-004?
Paste your code or a public GitHub repo URL into ModelRot's free scanner. It lists every file and line that uses text-embedding-004 or any other retiring model, with the replacement and cost change.