Okapi Okapi

xAI

xAI model deprecations

18 models xAI deprecated or shut down, read from its own pages.

How xAI retires models

xAI announces retirements in its release notes, each with a migration guide named after its day. In its latest ones, calls to a retired name did not fail. Since May 15, 2026 at 12:00 PM PT, requests to the retired Grok models are redirected to grok-4.3 and billed at grok-4.3’s price. Since November 2, 2026, requests to grok-imagine-image-quality are served by grok-imagine-image-2.0 at low quality; that retirement came with a 60-day notice period, which began on September 2, 2026.

A redirect changes the model behind the name and the bill, so xAI recommends switching the model yourself, to choose what you pay for rather than take the redirect’s default. Its model names come in three forms: <modelname> points to the latest stable version, <modelname>-latest to the latest version, and <modelname>-<date> to one release that is never updated.

No xAI model has a shutdown day ahead in Okapi's records.

What xAI answers a call to grok-2 since October 14, 2026, as recorded from real responses:

HTTP 400
{"code":"invalid-argument","error":"Model not found: grok-2"}

Policy read on xAI's pages on November 5, 2026. Okapi last checked xAI's model pages on November 6, 2026.

Retired 18

  1. grok-2Model retirement Stopped working
  2. grok-2-1212Model retirement Stopped working
  3. grok-2-image-1212Model retirement Stopped working
  4. grok-2-latestModel retirement Stopped working
  5. grok-2-vision-1212Model retirement Stopped working
  6. grok-3-miniModel retirement Stopped working
  7. grok-betaModel retirement Stopped working
  8. grok-vision-betaModel retirement Stopped working
  9. grok-3Model retirement Redirected
  10. grok-4Model retirement Stopped working
  11. grok-4-0709Model retirement Redirected
  12. grok-4-1-fast-non-reasoningModel retirement Redirected
  13. grok-4-1-fast-reasoningModel retirement Redirected
  14. grok-4-fast-non-reasoningModel retirement Redirected
  15. grok-4-fast-reasoningModel retirement Redirected
  16. grok-4-latestModel retirement Stopped working
  17. grok-code-fast-1Model retirement Redirected
  18. grok-imagine-image-proModel retirement Redirected

Other xAI breaking changes 1

  1. No date POST /v1/messagesEndpoint removal Deprecated, no date

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