Model retirement dates / Vertex AI

imagegeneration@002 on Vertex AI

Google Vertex AI retired imagegeneration@002 on 30 June 2026. Calls to it on Vertex now fail. Vertex recommends gemini-2.5-flash-image.

PlatformGoogle Vertex AI (Gemini Enterprise Agent Platform)
Modelimagegeneration@002 by Google
StatusRetired (as of 15 Nov 2026)
Shutdown30 June 2026
Replacementgemini-2.5-flash-image (named by Vertex)
Moving to itAPI change · The old model used the predict call with an image request; Gemini image models use generateContent, and images come back as content parts. Google's guide
Model typeImage
Released17 August 2023
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 "imagegeneration@002" . (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

imagegeneration@003 imagegeneration@004 imagegeneration@005 imagegeneration@006 imagen-3.0-generate-001 imagen-3.0-generate-002 imagen-4.0-generate-001 imagen-4.0-ultra-generate-001 veo-2.0-generate-001 veo-3.0-fast-generate-001 veo-3.0-generate-001

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