xAI
Grok Code Fast 1
Fast Grok model for responsive chat, reasoning, and tool-assisted work
Model facts
- Context window
- 256K tokens
- Maximum output
- 256K tokens
- Cheapest paid input
- $0.18 per 1M tokens
- Cheapest paid output
- $1.35 per 1M tokens
- Open weights
- no
- Providers
- 6
Capabilities and modalities
reasoning, tool calling, structured output, attachments, temperature control, text, image.
Artificial Analysis benchmarks
Compare this model on the full LLM benchmark leaderboard.
| Configuration | AAI | Coding | Math | Output tokens/s |
|---|---|---|---|---|
| default | 22.0 | not measured | 43.3 | not measured |
Observed price history
- 2026-08-24: $0.18 input / $1.35 output per 1M tokens
API providers
- OpenCode Zen — model id grok-code; free input / free output per 1M tokens; provider documentation
- Jiekou.AI — model id grok-code-fast-1; $0.18 input / $1.35 output per 1M tokens; provider documentation
- Abacus — model id grok-code-fast-1; $0.2 input / $1.5 output per 1M tokens; provider documentation
- Helicone (xAI) — model id grok-code-fast-1; $0.2 input / $1.5 output per 1M tokens; provider documentation
- Poe — model id xai/grok-code-fast-1; $0.2 input / $1.5 output per 1M tokens; provider documentation
- ZenMux — model id x-ai/grok-code-fast-1; $0.2 input / $1.5 output per 1M tokens; provider documentation