xAI: Grok Code Fast 1 API Pricing
by x-ai · 256K context window ·
$0.200
Input /1M tokens
$1.500
Output /1M tokens
256K
Context window
Monthly Cost Examples
Assuming 50% input / 50% output token split
| Usage | Monthly cost |
|---|---|
| 100K tokens/month | $0.09 |
| 1M tokens/month | $0.85 |
| 10M tokens/month | $8.50 |
| 100M tokens/month | $85.00 |
Compare with other models
xAI: Grok Code Fast 1 vs OpenAI: GPT-4o →xAI: Grok Code Fast 1 vs OpenAI: GPT-4o-mini →xAI: Grok Code Fast 1 vs OpenAI: o1 →Automate your model selection
StormRouter sends each request to the cheapest model that can handle it.
Only use xAI: Grok Code Fast 1 when your quality requirements demand it.