> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiyi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok code models retired: switch to grok-4.7

> xAI has retired grok-code-fast / grok-code-fast-1 / grok-build-0.1: grok-code-fast-1 was retired on May 15, 2026 and redirected to grok-build-0.1, which reached end of life on November 19, 2026. Use grok-4.7 for coding and agent workloads; the old model IDs are no longer served.

**2026/11/27 12:05 (UTC+8)** · Service Notice · xAI

⏸ **`grok-code-fast` / `grok-code-fast-1` / `grok-build-0.1` are offline — switch to `grok-4.7`**

xAI has ended the lifecycle of these code-focused models: `grok-code-fast-1` was retired on May 15, 2026, with requests redirected to `grok-build-0.1`; `grok-build-0.1` reached end of life on November 19, 2026 and is no longer served by the API, with no same-name replacement named. `grok-code-fast` was its older alias and is gone with it.

For coding and agent workloads, use `grok-4.7` instead:

* `grok-4.7`: the current flagship, 500K context, available in the `Default` / `SVIP` / `CodexResponses` groups
* List pricing matches xAI's official pricing (fixed 1:7 exchange rate); with top-up bonuses the effective price is about 83–91% of list — see [Top-up Bonuses](https://docs.apiyi.com/en/faq/recharge-promotions.md)
* Change the model name to `grok-4.7` in your client and code directly rather than relying on an alias

***

← [Back to Live Updates](https://docs.apiyi.com/en/live.md) · 📚 [Archive by Month](https://docs.apiyi.com/en/live/archive.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.