Google Gemini API · model
gemini-2.5-flash-preview-09-25 deprecation: shutdown date & replacement
- Provider
- Google Gemini API
- Type
- model
- Announced
- —
- Shutdown
- Replacement
gemini-3.6-flash- Source
- Official Google Gemini API notice
Page lists announced earliest shutdown date.
How to migrate off gemini-2.5-flash-preview-09-25
- Find every place that references it:
grep -rn --exclude-dir={node_modules,.git,dist} "gemini-2.5-flash-preview-09-25" . - Replace the model ID:
- model: "gemini-2.5-flash-preview-09-25" + model: "gemini-3.6-flash" - 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 February 17, 2026, and add the CI scanner so it cannot come back.
Also shutting down on February 17, 2026 (Google Gemini API)
Questions
Is gemini-2.5-flash-preview-09-25 deprecated?
Yes. Google Gemini API has deprecated gemini-2.5-flash-preview-09-25. It was shut down on February 17, 2026.
When does gemini-2.5-flash-preview-09-25 shut down?
February 17, 2026, according to Google Gemini API's official deprecation notice.
What should I use instead of gemini-2.5-flash-preview-09-25?
Google Gemini API recommends gemini-3.6-flash. Switch the model ID and re-test your prompts, since outputs, pricing and limits can differ.
What happens to requests to gemini-2.5-flash-preview-09-25 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.