The error you get from April 1, 2027
What Vertex AI answers a call to text-embedding-004 once the model is gone, as recorded from real responses:
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/text-embedding-004` 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
Model ID: text-embedding-004; Release date: May 14, 2024; Retirement date: April 1, 2027
Facts
- API
- Vertex AI
aiplatform.googleapis.com - Model
text-embedding-004- Kind
- Model retirement
- Takes effect
- April 1, 2027
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against Vertex AI's own pages
Questions
When does text-embedding-004 shut down?
Calls to the model text-embedding-004 on Vertex AI stop working on April 1, 2027.
What happens to calls after April 1, 2027?
They fail from that day.
What error does text-embedding-004 return once it is shut down?
Vertex AI answers HTTP 404: "Publisher model `projects/{project}/locations/{region}/publishers/google/models/text-embedding-004` 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.
text-embedding-004 on other APIs 1
| Effective | Provider | Model | Status |
|---|---|---|---|
text-embedding-004 | stopped 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 | |
gemini-2.5-flash-image | stops working | |
text-embedding-005 | stops working | |
text-multilingual-embedding-002 | stops working |