Vertex AI
gemini-2.5-flash-preview-04-17 model retirement
Stopped workingSubscribe to Vertex AIShare
Calls to the model gemini-2.5-flash-preview-04-17 on Vertex AI stopped working on July 15, 2025.
The error you get
What Vertex AI answers a call to gemini-2.5-flash-preview-04-17 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-preview-04-17` 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"}}
In Vertex AI's words
Preview endpoint availability and removal: All existing Gemini 2.5 Flash and Pro preview endpoints (listed below) will continue to be available with their current preview pricing until July 15, 2025. After this date, these preview endpoints will be shut down.
Facts
Questions
When does gemini-2.5-flash-preview-04-17 shut down?
Calls to the model gemini-2.5-flash-preview-04-17 on Vertex AI stopped working on July 15, 2025.
What happens to calls after July 15, 2025?
They have failed since July 15, 2025.
What error does gemini-2.5-flash-preview-04-17 return once it is shut down?
Vertex AI answers HTTP 404: "Publisher model `projects/{project}/locations/{region}/publishers/google/models/gemini-2.5-flash-preview-04-17` 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-preview-04-17 released?
gemini-2.5-flash-preview-04-17 was released on April 17, 2025, according to models.dev.
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.
gemini-2.5-flash-preview-04-17 on other APIs 1
-
No date
Nano-gpt
gemini-2.5-flash-preview-04-17Model retirement Deprecated, no date
More from Vertex AI 10
-
gemini-1.5-flash-001Model retirement Stopped working -
gemini-1.5-pro-001Model retirement Stopped working -
imagen-4.0-ultra-generate-exp-05-20Model retirement Stopped working -
gemini-2.5-flash-preview-05-20Model retirement Stopped working -
gemini-2.5-pro-preview-05-06Model retirement Stopped working -
gemini-2.5-pro-preview-06-05Model retirement Stopped working -
claude-3-opusModel retirement Stopped working -
models claude-3-opus@*Model retirement Stopped working -
gemini-1.5-flash-002Model retirement Stopped working -
gemini-1.5-pro-002Model 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.