ModelRot
RetiredText Embedding 004

text-embedding-004

text-embedding-004 retirement: shut down Jan 14, 2026, replacement gemini-embedding-2.

Countdown

Off

Jan 14, 2026

Replacement

gemini-embedding-2

As recommended by the provider

Price per 1M tokens

— in · — out

Standard tier, list price

Price comparison

Per 1M tokenstext-embedding-004gemini-embedding-2
Input—$0.2
Output——
Blended changeUnknown: a list price is missing

Full migration notes: text-embedding-004 vs gemini-embedding-2

Timeline

  1. Released

    Apr 9, 2024

  2. Shutdown

    Jan 14, 2026

Source: https://ai.google.dev/gemini-api/docs/deprecations · checked Nov 16, 2026

Change history

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.