grok-code-fast-1
- Input / 1M
- $1.00
- Output / 1M
- $2.00
- Cached input
- $0.20
- Context
- 256K
A 1,000-token prompt costs $0.00100 to send. Token counts for xAI models are estimated — approximated, because this family has no public tokenizer.
- Vision
- Tool calling
- Reasoning
- Max output 256K
Long-context rate
Past 200K tokens in a single request, grok-code-fast-1 switches to $2.00 input and $4.00 output per million — 2.0× the base input rate. Most calculators quote only the base figure.
Scheduled for deprecation on 2026-05-15. Plan a migration before then.
Pinned versions at the same rate: grok-code-fast-1-0825
Priced closest to this
| Model | Provider | Input | Output | |
|---|---|---|---|---|
| claude-haiku-4-5 | Anthropic | $1.00 | $5.00 | |
| gemini-2.5-pro-preview-tts | $1.00 | $20.00 | ||
| gemini-robotics-er-2-preview | $1.00 | $5.00 | ||
| gemini-robotics-er-2-streaming-preview | $1.00 | $5.00 | ||
| gpt-3.5-turbo-1106 | OpenAI | $1.00 | $2.00 | |
| gpt-6.1-terra | OpenAI | $1.00 | $5.00 |