Model retirement dates / Vertex AI

gemini-2.5-pro on Vertex AI

Google Vertex AI retired gemini-2.5-pro on 20 October 2026. Calls to it on Vertex now fail. Vertex recommends gemini-3.8-flash or gemini-3.5-flash. On the Gemini API the date is different: routed to a newer model from 1 December 2026.

PlatformGoogle Vertex AI (Gemini Enterprise Agent Platform)
Modelgemini-2.5-pro by Google
StatusRetired (as of 15 Nov 2026)
Shutdown20 October 2026
Replacementgemini-3.8-flash or gemini-3.5-flash (named by Vertex)
Moving to itParameter changes · Gemini 3 changes the request: remove temperature, top_p, top_k, candidate_count and prefilled model turns, replace thinking_budget with thinking_level, and check function calling. Google's guide
On the Gemini APIgemini-2.5-pro · routed 1 Dec 2026
Model typeText
Released17 June 2025
SourceGoogle Cloud: model versions and lifecycle

How Driftline tells Vertex from the Gemini API

Vertex uses the same model names as the Gemini API. Driftline uses Vertex's dates in files that show they run on Vertex: vertexai=True, vertexai or google.cloud.aiplatform imports, @google-cloud/vertexai, AnthropicVertex, vertex_ai/ model names, Claude's @date spelling and -maas IDs. Elsewhere it uses the Gemini API's dates and notes when Vertex's differ.

Check your code for it

Run this in your repository. No install and no API key; it lists every OpenAI, Anthropic, Google, Mistral, xAI, Cohere, DeepSeek, Groq, Bedrock, Vertex AI and Azure model ID it finds, with its retirement date and replacement:

npx -y @aidriftline/driftline .

Or look for this ID only: grep -rn "gemini-2.5-pro" . (misses aliases, Bedrock and Vertex names, and IDs split across lines).

To be warned automatically before the next retirement, add the free Driftline GitHub Action. It annotates the exact line in pull requests and can fail the build on retired models.

Where a new name is the whole change, Driftline can make it for you: npx -y @aidriftline/driftline fix --dry-run shows the edits, and the Action's fix-pr: true opens one pull request with them, plus a checklist for the lines that need more. See an example pull request.

Same date on Vertex AI

gemini-2.5-flash gemini-2.5-flash-lite

Read from Google Cloud's official pages on 15 November 2026, checked every 6 hours. Something wrong? hello@aidriftline.com