The error you get
What xAI answers a call to grok-4 once the model is gone, as recorded from real responses:
{"code":"invalid-argument","error":"Model not found: grok-4"}
What to use instead of grok-4
Move to grok-4.3. Maps to grok-4.3 with reasoning effort "low". Grok 4 had no non-reasoning mode at all, so this is the first time the workload can be run without thinking tokens if you want that.
Facts
- API
- xAI
api.x.ai - Model
grok-4- Released
- July 9, 2024 (models.dev)
- Kind
- Model retirement
- Takes effect
- May 15, 2026
- Calls after that day
- Fail
- Source
- models.dev
- Last updated
- Verified
- , against xAI's own pages
Questions
When does grok-4 shut down?
Calls to the model grok-4 on xAI stopped working on May 15, 2026.
What happens to calls after May 15, 2026?
They have failed since May 15, 2026.
What error does grok-4 return once it is shut down?
xAI answers HTTP 400: "Model not found: grok-4". Send another model to fix it.
When was grok-4 released?
grok-4 was released on July 9, 2024, according to models.dev.
grok-4 on other APIs 1
| Effective | Provider | Model | Status |
|---|---|---|---|
grok-4 | stops working |
More from xAI 10
| Effective | Model | Status |
|---|---|---|
grok-3 | redirected | |
grok-4-0709 | redirected | |
grok-4-1-fast-non-reasoning | redirected | |
grok-4-1-fast-reasoning | redirected | |
grok-4-fast-non-reasoning | redirected | |
grok-4-fast-reasoning | redirected | |
grok-4-latest | stopped working | |
grok-code-fast-1 | redirected | |
grok-imagine-image-pro | redirected | |
grok-2 | stopped working |