Vertex AI
gemini-1.5-flash-002 model retirement
Stopped workingSubscribe to Vertex AIShare
Calls to the model gemini-1.5-flash-002 on Vertex AI stopped working on September 24, 2025.
The error you get
What Vertex AI answers a call to gemini-1.5-flash-002 once the model is gone, as recorded from real responses:
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/gemini-1.5-flash-002` 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-1.5-flash-002
Move to gemini-3.8-flash. gemini-2.5-flash-lite, named first, stopped working on 2026-10-20.
In Vertex AI's words
Model ID: gemini-1.5-flash-002; Release date: September 24, 2024; Retirement date: September 24, 2025; Recommended upgrade: gemini-2.5-flash-lite
Facts
- API
- Vertex AI
aiplatform.googleapis.com - Model
gemini-1.5-flash-002- Kind
- Model retirement
- Takes effect
- September 24, 2025
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against Vertex AI's own pages
Questions
When does gemini-1.5-flash-002 shut down?
Calls to the model gemini-1.5-flash-002 on Vertex AI stopped working on September 24, 2025.
What happens to calls after September 24, 2025?
They have failed since September 24, 2025.
What error does gemini-1.5-flash-002 return once it is shut down?
Vertex AI answers HTTP 404: "Publisher model `projects/{project}/locations/{region}/publishers/google/models/gemini-1.5-flash-002` 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.
gemini-1.5-flash-002 on other APIs 1
-
Gemini API
gemini-1.5-flash-002Model retirement Stopped working
More from Vertex AI 10
-
claude-3-opusModel retirement Stopped working -
models claude-3-opus@*Model retirement Stopped working -
gemini-1.5-pro-002Model retirement Stopped working -
imagegeneration@002Model retirement Stopped working -
imagegeneration@005Model retirement Stopped working -
imagegeneration@006Model retirement Stopped working -
MedLMModel retirement Stopped working -
imagen-4.0-fast-generate-preview-06-06Model retirement Stopped working -
imagen-4.0-generate-preview-06-06Model retirement Stopped working -
imagen-4.0-ultra-generate-preview-06-06Model 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.