Grok 4.7 API price, and what each result really costs
xAI, listed 21 Sept 2026. Price checked 12 Nov 2026; unchanged since we started tracking it. Source: xAI's pricing page. x-ai/grok-4.7
List price per million tokens
- Input
- $2.00
- Cached input
- $0.50
- Output
- $6.00
- Context window
- 500K tokens
Note: Prompts >=200K tokens: $4 in / $1 cached / $12 out (applies to the whole request).
What it costs per task, and per task that works
Six common task shapes with typical token counts. The real cost counts the tries that get redone; the rates are examples, not measurements.
| Task | Per 1,000 tries | Per 1,000 that work, 8 in 10 | Per 1,000 that work, 6 in 10 | Per 1,000 that work, 4 in 10 |
|---|---|---|---|---|
| Support bot answer3,000 in / 300 out | $7.80 | $9.75 | $13.00 | $19.50 |
| Invoice field extraction2,500 in / 250 out | $6.50 | $8.13 | $10.83 | $16.25 |
| Lead scoring1,200 in / 100 out | $3.00 | $3.75 | $5.00 | $7.50 |
| Email reply draft1,500 in / 400 out | $5.40 | $6.75 | $9.00 | $13.50 |
| Translation900 in / 800 out | $6.60 | $8.25 | $11.00 | $16.50 |
| Search re-ranking4,000 in / 50 out | $8.30 | $10.38 | $13.83 | $20.75 |
Work out your own real cost per resultTest Grok 4.7 on your own prompt
Compare Grok 4.7 with
- Grok 4.3$1.25 in / $2.50 outSwitch cost
- Mistral Medium 3.5$1.50 in / $7.50 outSwitch cost
- Qwen3.8 Max$2.00 in / $6.00 outSwitch cost
- GPT-5$1.25 in / $10.00 outSwitch cost
- Gemini 2.5 Pro$1.25 in / $10.00 outSwitch cost
Questions
How much does the Grok 4.7 API cost?
$2.00 per million input tokens and $6.00 per million output tokens, or $0.50 per million for cached input. Price checked 12 Nov 2026; unchanged since we started tracking it.
What does a result that works really cost with Grok 4.7?
A support bot answer (about 3,000 tokens in, 300 out) costs $0.0078 per try. If 6 in 10 work first time, each answer that works really costs $0.013, because the redone ones were paid for too.