xAI API · verified September 25, 2026
Grok 4.7 API pricing: $2 in / $6 out
Above 200K tokens: $4 / $12.
Input /1M$2
Output /1M$6
Context500K
ReleasedSep 23, 2026
What real jobs cost
| 1,000 short chats | $4.00 |
| Summarise 100 long reports (20k tokens each) | $4.60 |
| Write a 90,000-word book | $0.76 |
| 10M input + 2M output tokens | $32.00 |
Estimates at the listed price. Use the calculator for your own numbers.
Similar-priced models
| Model | In | Out |
|---|---|---|
| Claude Haiku 4.5 Anthropic | $1 | $5 |
| Mistral Medium 3.5 Mistral AI | $1.50 | $7.50 |
| Grok 4.5 xAI | $2 | $6 |
| Gemini 3.5 Flash Google | $1.50 | $9 |
| GPT-6 Sol OpenAI | $2 | $10 |
| Claude Sonnet 5 Anthropic | $2 | $10 |
Grok 4.7 pricing questions
How much does Grok 4.7 cost?
$2 per million input tokens and $6 per million output tokens, with a 500K context window. Above 200K tokens: $4 / $12.
How much does 1,000 chats cost on Grok 4.7?
About $4.00, assuming 800 input and 400 output tokens per chat.
Is there a cheaper alternative to Grok 4.7?
Grok 4.3 ($1.25 / $2.50) costs about 48% less on a typical 3:1 input/output mix. Test whether its quality is enough for your task.
Sources
Checked against the official pages below on September 25, 2026. Prices are USD before local tax. See how we verify prices and the change log.