gemini-2.5-flash-preview-05-20
Gemini 2.5 Flash (preview 05-20) (Google)
Yes — Gemini 2.5 Flash (preview 05-20) is retired. Google shut it down on November 18, 2025; API requests to it now fail. The recommended replacement is Gemini 3.6 Flash.
The May 2025 preview of 2.5 Flash, and the first Gemini to expose a configurable thinking budget. Shut down November 2025, six months after release.
The facts
| Provider | |
|---|---|
| Model id | gemini-2.5-flash-preview-05-20 |
| Released | May 20, 2025 |
| Deprecated | date not published |
| Shutdown | November 18, 2025 · 254 days ago |
| Status | Retired |
| Last verified | July 30, 2026 |
What to use instead
The thinking-budget parameter this preview introduced has changed shape twice since; check the current thinking docs rather than porting config.
What parameters gemini-3.6-flash accepts on modelparams.dev
Change the id
In most cases the migration is one string. Check the parameter differences before you ship — newer models drop older sampling knobs more often than they add them.
- "model": "gemini-2.5-flash-preview-05-20"
+ "model": "gemini-3.6-flash"
Frequently asked questions
- When did Google Gemini 2.5 Flash (preview 05-20) shut down?
- Google Gemini 2.5 Flash (preview 05-20) shut down on November 18, 2025. API requests to it fail from that date onward.
- What replaces Google Gemini 2.5 Flash (preview 05-20)?
- Google recommends Gemini 3.6 Flash (`gemini-3.6-flash`) as the replacement for Google Gemini 2.5 Flash (preview 05-20). The thinking-budget parameter this preview introduced has changed shape twice since; check the current thinking docs rather than porting config.
- Is Google Gemini 2.5 Flash (preview 05-20) still available?
- No. Google Gemini 2.5 Flash (preview 05-20) is retired and no longer served — it was shut down on November 18, 2025. Calls to it return an error.
- How do I migrate from Google Gemini 2.5 Flash (preview 05-20) to gemini-3.6-flash?
- Swap the model id in your API call: replace "gemini-2.5-flash-preview-05-20" with "gemini-3.6-flash". The thinking-budget parameter this preview introduced has changed shape twice since; check the current thinking docs rather than porting config.
Sources
- Gemini API deprecations · ai.google.dev · accessed July 30, 2026
Found something wrong? The data is one YAML file — edit it on GitHub.
This page, for machines
Drop the badge in a README so it turns red the day this model is retired:
[](https://modeldeprecations.dev/google/gemini-2.5-flash-preview-05-20)