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:
{"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
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
- Source
- Deprecations page
- Last updated
- Verified
- , against Vertex AI's own pages
Questions
When does gemini-2.5-flash-image shut down?
Calls to the model gemini-2.5-flash-image on Vertex AI stop working on March 15, 2027.
What happens to calls after March 15, 2027?
They fail from that day.
What error does gemini-2.5-flash-image return once it is shut down?
Vertex AI answers HTTP 404: "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.". Send another model to fix it.
When was gemini-2.5-flash-image released?
gemini-2.5-flash-image was released on October 2, 2025, according to models.dev.
gemini-2.5-flash-image on other APIs 2
| Effective | Provider | Model | Status |
|---|---|---|---|
gemini-2.5-flash-image | stops working | ||
google/gemini-2.5-flash-image | stops working |
More from Vertex AI 10
| Effective | Model | Status |
|---|---|---|
deepseek-ocr-maas | stopped working | |
deepseek-r1-0528-maas | stopped working | |
claude-sonnet-4-5 | stopped working | |
gemini-live-2.5-flash-native-audio | stops working | |
claude-opus-4-5 | stops working | |
gemini-3.6-flash | stops working | |
gemini-3.7-flash | stops working | |
text-embedding-004 | stops working | |
text-embedding-005 | stops working | |
text-multilingual-embedding-002 | stops working |