Gemini 2.5 Pro and Flash Deprecation in the Gemini API
Calls to gemini-2.5-pro and gemini-2.5-flash in the Gemini API now automatically run on newer models and are billed at the new model's rates. For developers with API access.
Details
- gemini-2.5-pro requests now route to gemini-3.8-flash and bill at Gemini 3.8 Flash rates.
- gemini-2.5-flash requests now route to gemini-3.5-flash-lite and bill at Gemini 3.5 Flash-Lite rates.
- Google asks developers to update the model name in their code. The migration guides list breaking changes, including changes to function calling, thinking_level replacing thinking_budget, and removed sampling parameters.
- gemini-2.5-flash-lite is not deprecated and stays available.
Best for
Knowing which model your existing API calls now use
When to use it
Your app or script still names gemini-2.5-pro or gemini-2.5-flash
Who benefits
Developers and teams with Gemini API integrations
Join the newsletter to get ahead with AI.
I share strategies, new modules, free guides, and tools to get you better at using AI in your work.
Leading a team? See team programs →