Logo SVG copied to clipboard
Custom development The team behind Manifest can help you develop what your company needs around your LLM gateway. Talk to us

Vertex AI gemini-2.5-flash-image model retirement

Stops workingin 105 days

On March 15, 2027, the gemini-2.5-flash-image model will be retired. Calls using model gemini-2.5-flash-image will fail after this date.

View as Markdown

The error you get from March 15, 2027

What Vertex AI answers a call to gemini-2.5-flash-image once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/gemini-2.5-flash-image` was not found or your project does not have access to it. Ensure you are using a valid model name and that the model is available in the specified region.","status":"NOT_FOUND"}}

What to use instead of gemini-2.5-flash-image

Move to gemini-3.1-flash-lite-image, recommended by Google.

In Vertex AI's words

Model ID: gemini-2.5-flash-image; Release date: October 2, 2025; Retirement date: March 15, 2027; Replacement model ID: gemini-3.1-flash-lite-image

Vertex AI, Deprecations page

Facts

API
Vertex AI aiplatform.googleapis.com
Model
gemini-2.5-flash-image
Released
October 2, 2025 (models.dev)
Kind
Model retirement
Takes effect
March 15, 2027
Calls after that day
Fail
Last updated
Verified
, against Vertex AI's own pages

This data is open source (MIT): mnfst/model-deprecations. Something wrong or missing? Edit on GitHub.

Self-host for free, or let us run it for $19/month.