Summary:

Gemini 2.5 Flash routes to 3.5 Flash-Lite, and 2.5 Pro routes to 3.8 Flash. Test structured output and billing before the switch.

On December 1, Google will stop serving two Gemini 2.5 models under their original API IDs. Calls to gemini-2.5-flash will go to gemini-3.5-flash-lite; calls to gemini-2.5-pro will go to gemini-3.8-flash. Google says it will apply the replacement model’s rates even if your application still sends the old ID.

That makes the change easy to miss: the model string in your configuration may stay put, but the model, request rules, and charges can change. The two retired choices are already gone from the Google AI Studio picker. This notice covers the Gemini Developer API; check Vertex AI’s model lifecycle separately if that is the endpoint you use.

Which model will answer on December 1?

Requested IDWhat Google says will happen
gemini-2.5-flashRoutes to gemini-3.5-flash-lite
gemini-2.5-proRoutes to gemini-3.8-flash
gemini-2.5-flash-liteNo shutdown date announced; not part of these two reroutes

For Standard paid requests, Google lists Gemini 3.5 Flash-Lite at $0.30 per million input tokens and $2.50 per million output tokens. Gemini 3.8 Flash is listed at $0.75 input and $3.75 output per million through December 31, then $1.50 input and $7.50 output from January 1, 2027. The output rates include thinking tokens. Check the pricing page separately for Batch, Flex, Priority, caching, and tool charges.

Test one request that ends with a JSON prefix

Start with a saved, sanitized request from an application that extracts structured data. Some older integrations appended a model message after the user’s request, containing the first characters of a JSON object so the model would continue in that format. Google documents an HTTP 400 on 3.5 Flash-Lite when the final nonempty turn has the model role.

For example, take a fixture with a user message asking for the order number from “Order A12, two notebooks,” followed by a model turn containing the prefix {"order_id":. Remove that trailing turn, keep any earlier conversation history you still need, and use the structured-output schema for your endpoint to require an object with a string order_id. Check that the response parses and that the value is A12. An HTTP 200 alone doesn’t tell you whether a downstream parser or application still works.

The same Flash-Lite migration guide says temperature, top_p, and top_k are ignored on this model. They are not the cause of the final-turn error. Remove them rather than relying on settings the replacement does not use.

Test the Pro route separately

Try gemini-3.8-flash directly on a representative Pro request before the reroute. If your integration sets a reasoning level, Google’s 3.8 Flash guide lists low, medium, and high; minimal is not supported. For a tool-using app, replay one complete function call and response, not just a text prompt. Compare task output, latency, and token usage before making the model change explicit in configuration.

If your application sends large documents or media, also review how Gemini’s API handles file slicing when choosing representative requests to replay.

Sources