Grok Code Fast 1 API pricing
xAI model · context 256,000 tokens · max output 256,000 · vision, reasoning. Last price check 2026-10-07. Official pricing.
| Input | $1.00 / 1M tokens |
|---|---|
| Output | $2.00 / 1M tokens |
| Cached input | $0.20 / 1M tokens |
| Input above 200K | $2.00 / 1M tokens |
| Output above 200K | $4.00 / 1M tokens |
What it costs per month
| Scenario (per month) | Grok Code Fast 1 |
|---|---|
| Customer support chatbot 1,000 req/day · 1,500 in · 300 out | $45.00 |
| RAG over documents 500 req/day · 6,000 in · 400 out | $80.40 |
| Agent loop (10 calls/task, 200 tasks) 2,000 req/day · 8,000 in · 500 out | $271 |
| Batch summarization 10,000 req/day · 3,000 in · 200 out · batch | $1,020 |
Adjust the numbers in the calculator.
Cheaper alternatives
Lowest monthly cost for the chatbot scenario among reasoning models:
- GPT-5 nano — $4.84/mo
- Gemini 2.5 Flash Lite — $6.08/mo
- GPT-6 Luna — $6.97/mo
- Magistral Small (latest) — $9.11/mo
- Mistral Small (latest) — $9.11/mo
Price history
No price changes recorded since tracking began on 2026-10-07.