gemini-2.0-flash on Gemini API retired on June 1, 2026
AI model
- Date
- (UTC)
- Replacement
gemini-3.6-flash- Platform
- Gemini API
- Provider
- Last checked
gemini-2.0-flash
Retired on Gemini API
In its place: gemini-3.6-flash
since.dev/calendar/google/gemini-2.0-flash/gemini
What changes
Recommended replacement: gemini-3.6-flash.
What works differently on gemini-3.6-flash
From its documentation. Moving to it is more than a new model ID.
- Uses the same medium default thinking level as Gemini 3.5 Flash. To keep the old behavior: set thinking_level to "medium" or "high" explicitly if the code relied on a different thinking depth. Source
- temperature, top_p, and top_k are deprecated and ignored. To keep the old behavior: remove these parameters from all requests. Source
- If the last non-empty turn in the request is a model turn, the API returns a 400 error. To keep the old behavior: do not end the request with a model turn; use system_instruction or Structured outputs instead. Source
- candidate_count is unsupported in Gemini 3 and later. To keep the old behavior: remove candidate_count from the request. Source
- Replace thinking_budget with thinking_level ("medium" or "high"). To keep the old behavior: replace thinking_budget with thinking_level set to "medium" or "high". Source
- Ensure all FunctionResponse objects include call_id and name. To keep the old behavior: include call_id and name in every FunctionResponse object. Source
- Multimodal assets must be placed inside the response payload for function calling. To keep the old behavior: place multimodal assets inside the response payload. Source
Also in June 2026
Every AI model and API retirement in June 2026, on every provider and cloud
Questions
- When does gemini-2.0-flash on Gemini API retire?
- gemini-2.0-flash on Gemini API retired on June 1, 2026.
- Can I still use gemini-2.0-flash on Gemini API?
- No. It retired on June 1, 2026.
- What replaces gemini-2.0-flash on Gemini API?
- Its provider names gemini-3.6-flash. Moving to it is more than a new model ID: its documentation lists 7 differences, on this page.
Source
gemini-2.0-flash | February 5, 2025 | June 1, 2026 | gemini-3.6-flash
Data license: CC BY 4.0. From Google's documentation. Quotes are shortened and dates restated.
Does your code use it?
Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.
Add to your calendariCal file RSS
More from Google
- no sooner than
- no sooner than
- no sooner than

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.