Google Gemini API · model
embedding-001 deprecation: shutdown date & replacement
- Provider
- Google Gemini API
- Type
- model
- Announced
- —
- Shutdown
- Replacement
gemini-embedding-2- Source
- Official Google Gemini API notice
Page lists announced earliest shutdown date.
How to migrate off embedding-001
- Find every place that references it:
grep -rn --exclude-dir={node_modules,.git,dist} "embedding-001" . - Replace the model ID:
- model: "embedding-001" + model: "gemini-embedding-2" - Re-run your evals or a sample of real prompts — output style, token usage and pricing can change between models.
- Check config outside code too: environment variables, feature flags, prompt-management tools, and fine-tuned model references.
- Deploy before October 30, 2025, and add the CI scanner so it cannot come back.
Also shutting down on October 30, 2025 (Google Gemini API)
Questions
Is embedding-001 deprecated?
Yes. Google Gemini API has deprecated embedding-001. It was shut down on October 30, 2025.
When does embedding-001 shut down?
October 30, 2025, according to Google Gemini API's official deprecation notice.
What should I use instead of embedding-001?
Google Gemini API recommends gemini-embedding-2. Switch the model ID and re-test your prompts, since outputs, pricing and limits can differ.
What happens to requests to embedding-001 after the shutdown?
Requests using the retired model ID fail with an error, so any code still calling it breaks. Update and deploy before the shutdown date.