The error you get
What xAI answers a call to grok-2-image-1212 once the model is gone, as recorded from real responses:
{"code":"invalid-argument","error":"Model not found: grok-2-image-1212"}
What to use instead of grok-2-image-1212
Move to grok-imagine-image. The Imagine line is the direct successor, but xAI's public docs no longer carry the notice that said so.
Facts
- API
- xAI
api.x.ai - Model
grok-2-image-1212- Kind
- Model retirement
- Takes effect
- October 14, 2026
- Calls after that day
- Fail
- Source
- models.dev
- Last updated
- Verified
- , against xAI's own pages
Questions
When does grok-2-image-1212 shut down?
Calls to the model grok-2-image-1212 on xAI stopped working on October 14, 2026.
What happens to calls after October 14, 2026?
They have failed since October 14, 2026.
What error does grok-2-image-1212 return once it is shut down?
xAI answers HTTP 400: "Model not found: grok-2-image-1212". Send another model to fix it.
More from xAI 10
| Effective | Model | Status |
|---|---|---|
grok-3 | redirected | |
grok-4 | stopped working | |
grok-4-0709 | redirected | |
grok-2 | stopped working | |
grok-2-1212 | stopped working | |
grok-2-latest | stopped working | |
grok-2-vision-1212 | stopped working | |
grok-3-mini | stopped working | |
grok-beta | stopped working | |
grok-vision-beta | stopped working |