grok-code-fast pricing
Chatgrok-code-fast · xAI · context —
Price per 1M tokens
In effect since Oct 15, 2026
| Input (uncached) | $1.00 |
|---|---|
| OutputIncludes reasoning tokens | $2.00 |
| Cache read | $0.20 |
- Above 200K prompt tokens: $2.00 in / $4.00 out. The whole request uses these rates.
Price history
1 version since Oct 15, 2026
- Input
- Output
Show data as table
| Effective from | Input / 1M | Output / 1M |
|---|---|---|
| Oct 15, 2026 | $1.00 | $2.00 |
| Oct 16, 2026 | $1.00 | $2.00 |
Cost calculator
Calculated with the same function that AI Cost Map uses for your real events.
Includes reasoning tokens.
Read from the prompt cache.
Cost per call
$0.0030
Cost per month
$300.00
Similar models
Same model type, nearest blended price (3 input : 1 output).
| Model | Input | Output | Context | Blended vs this |
|---|---|---|---|---|
| grok-code-fast (this model) xAI | $1.00 | $2.00 | — | — |
| cohere.command-text-v14 AWS Bedrock | $1.00 | $2.00 | — | × 1.0 |
| command-nightly Cohere | $1.00 | $2.00 | — | × 1.0 |
| x-ai/grok-build-0.1 OpenRouter | $1.00 | $2.00 | — | × 1.0 |
| deepseek-ai/deepseek-v3 Together AI | $1.25 | $1.25 | — | × 1.0 |
| spacexai/grok-build-0.1 Vercel AI Gateway | $1.00 | $2.00 | — | × 1.0 |
| grok-build-0.1 xAI | $1.00 | $2.00 | — | × 1.0 |