Google Cloud Vertex AI (Gemini Enterprise Agent Platform) · model
text-embedding-004 deprecation: shutdown date & replacement
- Provider
- Google Cloud Vertex AI (Gemini Enterprise Agent Platform)
- Type
- model
- Announced
- —
- Shutdown
- Replacement
- —
- Source
- Official Google Cloud Vertex AI (Gemini Enterprise Agent Platform) notice
Vertex AI / Gemini Enterprise Agent Platform retirement date (page says timelines may be extended but not moved earlier).
How to migrate off text-embedding-004
- Find every place that references it:
grep -rn --exclude-dir={node_modules,.git,dist} "text-embedding-004" . - Follow the provider’s migration notes in the official notice.
- 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 April 1, 2027, and add the CI scanner so it cannot come back.
Same model on other platforms
- Google Gemini API — January 14, 2026
Also shutting down on April 1, 2027 (Google Cloud Vertex AI (Gemini Enterprise Agent Platform))
Questions
Is text-embedding-004 deprecated?
Yes. Google Cloud Vertex AI (Gemini Enterprise Agent Platform) has deprecated text-embedding-004. It shuts down on April 1, 2027.
When does text-embedding-004 shut down?
April 1, 2027, according to Google Cloud Vertex AI (Gemini Enterprise Agent Platform)'s official deprecation notice.
What should I use instead of text-embedding-004?
Google Cloud Vertex AI (Gemini Enterprise Agent Platform) has not named a specific replacement. Check the official source for current models.
What happens to requests to text-embedding-004 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.