ModelRot

gemini-embedding-001 vs gemini-embedding-2

Google Gemini names gemini-embedding-2 as the replacement for gemini-embedding-001. gemini-embedding-001 shuts down on May 14, 2028. At standard list prices, gemini-embedding-2 costs +33% per token (blended 3:1 input:output).

Deprecated→Active
Per 1M tokensgemini-embedding-001gemini-embedding-2
Input$0.15$0.2
Output——
Blended change+33%
ProviderGoogle GeminiGoogle Gemini
Statusdeprecatedactive
ShutdownMay 14, 2028—
Context window——

Migrating

  • Replace the ID gemini-embedding-001 with gemini-embedding-2 everywhere it appears, including .env files, config and infrastructure templates.
  • Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
  • Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
  • Watch the repo on ModelRot so the next retirement doesn't surprise you. gemini-embedding-2 lifecycle.