ModelRot

embedding-gecko-001 vs gemini-embedding-2

Google Gemini names gemini-embedding-2 as the replacement for embedding-gecko-001. embedding-gecko-001 shut down on Oct 30, 2025.

Retired→Active
Per 1M tokensembedding-gecko-001gemini-embedding-2
Input—$0.2
Output——
Blended changeUnknown: a list price is missing
ProviderGoogle GeminiGoogle Gemini
Statusretiredactive
ShutdownOct 30, 2025—
Context window——

Migrating

  • Replace the ID embedding-gecko-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.