Okapi Okapi

xAI · Model retirement

grok-2-latest

Stopped working

Calls to the model grok-2-latest on xAI stopped working on October 14, 2026.

What to use instead of grok-2-latest

Move to grok-4.3. Our suggestion, not xAI's - xAI removed the model's page rather than publishing a migration target for it.

Facts

API
xAI api.x.ai
Model
grok-2-latest
Kind
Model retirement
Takes effect
October 14, 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