Vertex AI
imagen-4.0-generate-001 model retirement
Stopped workingSubscribe to Vertex AIShare
Vertex AI retired model imagen-4.0-generate-001 on June 30, 2026. Calls specifying this model fail since that date. The change affects all requests targeting the retired model identifier.
The error you get
What Vertex AI answers a call to imagen-4.0-generate-001 once the model is gone, as recorded from real responses:
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/imagen-4.0-generate-001` 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-001
Move to gemini-3.1-flash-lite-image. The earlier recommended upgrade, gemini-2.5-flash-image, stops working on March 15, 2027.
In Vertex AI's words
Model ID: imagen-4.0-generate-001; Release date: August 14, 2025; Retirement date: June 30, 2026; Recommended upgrade: gemini-2.5-flash-image
Facts
- API
- Vertex AI
aiplatform.googleapis.com - Model
imagen-4.0-generate-001- Kind
- Model retirement
- Takes effect
- June 30, 2026
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against Vertex AI's own pages
Questions
When does imagen-4.0-generate-001 shut down?
Calls to the model imagen-4.0-generate-001 on Vertex AI stopped working on June 30, 2026.
What happens to calls after June 30, 2026?
They have failed since June 30, 2026.
What error does imagen-4.0-generate-001 return once it is shut down?
Vertex AI answers HTTP 404: "Publisher model `projects/{project}/locations/{region}/publishers/google/models/imagen-4.0-generate-001` 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.". Send another model to fix it.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
imagen-4.0-generate-001 on other APIs 1
-
Gemini API
imagen-4.0-generate-001Model retirement Stopped working
More from Vertex AI 10
-
imagen-3.0-capability-002Model retirement Stopped working -
imagen-3.0-generate-001Model retirement Stopped working -
imagen-3.0-generate-002Model retirement Stopped working -
imagen-4.0-fast-generate-001Model retirement Stopped working -
imagen-4.0-ultra-generate-001Model retirement Stopped working -
imagetext@001Model retirement Stopped working -
veo-2.0-generate-001Model retirement Stopped working -
veo-3.0-fast-generate-001Model retirement Stopped working -
veo-3.0-generate-001Model retirement Stopped working -
claude-3-5-haikuModel retirement Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.