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 imagen-4.0-generate-preview-05-20 model retirement

Stopped working

Vertex AI retired the model imagen-4.0-generate-preview-05-20 on March 19, 2026. Calls to this model fail since that date. The deprecation was initially announced on February 17, 2026.

View as Markdown

The error you get

What Vertex AI answers a call to imagen-4.0-generate-preview-05-20 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/imagen-4.0-generate-preview-05-20` 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 imagen-4.0-generate-preview-05-20

Update your model endpoints to use imagen-4.0-generate-001 or gemini-2.5-flash-image instead.

In Vertex AI's words

| `imagen-4.0-generate-preview-05-20` | `imagen-4.0-generate-001` or `gemini-2.5-flash-image` |

Vertex AI, Changelog

Facts

API
Vertex AI aiplatform.googleapis.com
Model
imagen-4.0-generate-preview-05-20
Kind
Model retirement
Announced
February 17, 2026
Takes effect
March 19, 2026
Calls after that day
Fail
Source
Changelog
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.