{"slug":"xai","name":"xAI","host":"api.x.ai","site":"https://x.ai","category":"inference","docsUrl":null,"sources":[{"kind":"archive","url":"https://docs.x.ai/developers/rest-api-reference/inference/legacy"},{"kind":"model_index","url":"https://docs.x.ai/llms.txt#model-retirement"},{"kind":"models_dev","url":"https://models.dev/api.json#xai"}],"url":"https://www.okapi.bot/providers/xai/","json":"https://www.okapi.bot/api/v1/providers/xai.json","breakingChanges":[{"slug":"grok-2","api":"xai","title":"grok-2 stops working","kind":"model_retirement","outcome":"fails","model":"grok-2","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-2"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"Move to grok-4.3. Our suggestion, not xAI's - xAI removed the model's page rather than publishing a migration target for it.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-2/"},{"slug":"grok-2-1212","api":"xai","title":"grok-2-1212 stops working","kind":"model_retirement","outcome":"fails","model":"grok-2-1212","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-2-1212"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"Move to grok-4.3. Our suggestion, not xAI's - xAI removed the model's page rather than publishing a migration target for it.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-2-1212/"},{"slug":"grok-2-image-1212","api":"xai","title":"grok-2-image-1212 stops working","kind":"model_retirement","outcome":"fails","model":"grok-2-image-1212","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-2-image-1212"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"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.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-2-image-1212/"},{"slug":"grok-2-latest","api":"xai","title":"grok-2-latest stops working","kind":"model_retirement","outcome":"fails","model":"grok-2-latest","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-2-latest"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"Move to grok-4.3. Our suggestion, not xAI's - xAI removed the model's page rather than publishing a migration target for it.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-2-latest/"},{"slug":"grok-2-vision-1212","api":"xai","title":"grok-2-vision-1212 stops working","kind":"model_retirement","outcome":"fails","model":"grok-2-vision-1212","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-2-vision-1212"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"Move to grok-4.3. grok-4.3 accepts images natively with a 1M window. This is our reading of the path, not a migration xAI documented.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-2-vision-1212/"},{"slug":"grok-3-mini","api":"xai","title":"grok-3-mini stops working","kind":"model_retirement","outcome":"fails","model":"grok-3-mini","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-3-mini"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"Move to grok-4.3. grok-4.3 with a low reasoning effort is the closest equivalent, though the price floor is considerably higher than Grok 3 Mini's was.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-3-mini/"},{"slug":"grok-beta","api":"xai","title":"grok-beta stops working","kind":"model_retirement","outcome":"fails","model":"grok-beta","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-beta"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"Move to grok-4.3. Two full generations later. Treat this as a rewrite rather than a model swap.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-beta/"},{"slug":"grok-vision-beta","api":"xai","title":"grok-vision-beta stops working","kind":"model_retirement","outcome":"fails","model":"grok-vision-beta","announcedAt":null,"effectiveAt":"2026-10-14","scope":null,"calls":["model grok-vision-beta"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"Move to grok-4.3. Our suggestion. xAI published no migration path for the beta ids.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-vision-beta/"},{"slug":"grok-3","api":"xai","title":"grok-3 is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-3","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-3"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"Move to grok-4.3 with none reasoning effort, recommended by xAI.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-19T18:50:16.426Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-3/"},{"slug":"grok-4","api":"xai","title":"grok-4 stops working","kind":"model_retirement","outcome":"fails","model":"grok-4","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-4"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"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.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-4/"},{"slug":"grok-4-0709","api":"xai","title":"grok-4-0709 is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-4-0709","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-4-0709"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"Move to grok-4.3 with low reasoning effort, recommended by xAI.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-19T18:50:16.426Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-4-0709/"},{"slug":"grok-4-1-fast-non-reasoning","api":"xai","title":"grok-4-1-fast-non-reasoning is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-4-1-fast-non-reasoning","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-4-1-fast-non-reasoning"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"Move to grok-4.3 with none reasoning effort, recommended by xAI.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-19T18:50:16.426Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-4-1-fast-non-reasoning/"},{"slug":"grok-4-1-fast-reasoning","api":"xai","title":"grok-4-1-fast-reasoning is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-4-1-fast-reasoning","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-4-1-fast-reasoning"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"Move to grok-4.3 with low reasoning effort, recommended by xAI.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-19T18:50:16.426Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-4-1-fast-reasoning/"},{"slug":"grok-4-fast-non-reasoning","api":"xai","title":"grok-4-fast-non-reasoning is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-4-fast-non-reasoning","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-4-fast-non-reasoning"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"Move to grok-4.3 with none reasoning effort, recommended by xAI.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-19T18:50:16.426Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-4-fast-non-reasoning/"},{"slug":"grok-4-fast-reasoning","api":"xai","title":"grok-4-fast-reasoning is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-4-fast-reasoning","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-4-fast-reasoning"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"Move to grok-4.3 with low reasoning effort, recommended by xAI.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-19T18:50:16.426Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-4-fast-reasoning/"},{"slug":"grok-4-latest","api":"xai","title":"grok-4-latest stops working","kind":"model_retirement","outcome":"fails","model":"grok-4-latest","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-4-latest"],"method":null,"path":null,"source":{"url":"https://modeldeprecations.dev/api/v1/models.json?provider=xai","kind":"models_dev"},"quote":null,"migration":"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.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-14T20:16:06.372Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/models/xai/grok-4-latest/"},{"slug":"grok-code-fast-1","api":"xai","title":"grok-code-fast-1 is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-code-fast-1","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-code-fast-1"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"Move to grok-build-0.1, recommended by xAI.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-19T18:50:16.426Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-code-fast-1/"},{"slug":"grok-imagine-image-pro","api":"xai","title":"grok-imagine-image-pro is redirected to a newer model","kind":"model_retirement","outcome":"redirected","model":"grok-imagine-image-pro","announcedAt":null,"effectiveAt":"2026-05-15","scope":null,"calls":["model grok-imagine-image-pro"],"method":null,"path":null,"source":{"url":"https://docs.x.ai/llms.txt#model-retirement","kind":"model_index"},"quote":null,"migration":"grok-imagine-image-quality, named first, is deprecated too. No replacement that holds is named yet.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-14T20:16:06.372Z","updatedAt":"2026-10-20T19:50:36.247Z","status":"in_effect","tone":"risk","url":"https://www.okapi.bot/models/xai/grok-imagine-image-pro/"},{"slug":"grok-imagine-image-quality","api":"xai","title":"grok-imagine-image-quality is deprecated","kind":"model_retirement","outcome":"fails","model":"grok-imagine-image-quality","announcedAt":null,"effectiveAt":null,"scope":null,"calls":["model grok-imagine-image-quality"],"method":null,"path":null,"source":{"url":"https://models.dev/api.json#xai","kind":"models_dev"},"quote":null,"migration":null,"migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-20T19:48:33.284Z","updatedAt":"2026-10-20T19:48:33.284Z","status":"deprecated","tone":"deprecated","url":"https://www.okapi.bot/models/xai/grok-imagine-image-quality/"},{"slug":"post-v1-messages-is-deprecated","api":"xai","title":"POST /v1/messages is deprecated","kind":"removal","outcome":"fails","model":null,"announcedAt":null,"effectiveAt":null,"scope":null,"calls":["POST /v1/messages"],"method":"POST","path":"/v1/messages","source":{"url":"https://docs.x.ai/developers/rest-api-reference/inference/legacy","kind":"archive"},"quote":null,"migration":"Use POST /v1/responses (Responses API) or the gRPC API.","migrationChange":null,"needsDecision":null,"text":null,"publishedAt":"2026-10-17T06:02:50.979Z","updatedAt":"2026-10-17T06:02:50.979Z","status":"deprecated","tone":"deprecated","url":"https://www.okapi.bot/providers/xai/breaking-changes/post-v1-messages-is-deprecated/"}]}