Okapi Okapi

xAI · Model retirement

grok-4-latest

Stopped working

Calls to the model grok-4-latest on xAI stopped working on May 15, 2026.

What to use instead of grok-4-latest

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-latest
Kind
Model retirement
Takes effect
May 15, 2026
Calls after that day
Fail
Source
models.dev
Last updated

More from xAI

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub