Pricing · xAI
Grok 4.7
xAI's grok-4.7, 500K tokens of context. Every number on this page was read off xAI's own pricing
page — never estimated, never recalled from memory.
How xAI describes it
“SpaceXAI's frontier model for coding, agentic tasks, and knowledge work.”
Pricing
| Input | $2.00 | per 1M tokens |
|---|---|---|
| Output | $6.00 | per 1M tokens |
| Cached input | $0.50 | per 1M tokens · 0.25× the input price |
Long-prompt tiers
Pricing changes above a prompt-size threshold. If your average request is near the boundary, the effective rate is not the headline rate.
| Condition | Input | Output | Cached input |
|---|---|---|---|
| prompt ≥ 200000 tokens | $4.00 | $12.00 | $1.00 |
At the calculator's starting volume, 1M input tokens and 200K output tokens with no cache hits, Grok 4.7 costs $3.20: $2.00 for input and $1.20 for output, at the prices above. Same formula as the calculator; change the volume there.
Where this price sits
$2.00 per 1M input tokens (for prompts under 200K tokens) is the 39th cheapest input price of the 67 current models with a verified price on this site, and the 6th of xAI's 8. Output costs 3.0× the input price.
Other current models in the Grok family:
- Grok Build 0.1 256K tokens $1.00 in · $2.00 out
- Grok 4.3 1M tokens $1.25 in · $2.50 out
- Grok 4.20 (reasoning) 1M tokens $1.25 in · $2.50 out
- Grok 4.20 (non-reasoning) 1M tokens $1.25 in · $2.50 out
- Grok 4.20 Multi-agent 1M tokens $1.25 in · $2.50 out
- Grok 4.6 500K tokens $2.00 in · $6.00 out
- Grok 4.5 500K tokens $2.00 in · $6.00 out
Mentioned in
One post on this site cites Grok 4.7. The sentence is the post's own, taken from where it links here.
-
Same List Price, Different Bill: Five Pairs of LLM APIs Where the Workload Decides What You Pay · September 30, 2026
Grok 4.7 (verified September 28, 2026) and Qwen3.8-Max (verified September 11, 2026) both charge $2.00 / $6.00.
Against Grok 4.6
Grok 4.6 is the earlier version of the same name in this dataset (still current). Grok 4.7 has the same prices as Grok 4.6: input price ($2.00), output price ($6.00), cached input price ($0.50) per 1M tokens. Its prices were verified September 28, 2026: Grok 4.6 pricing →
Specifications
| API model id | grok-4.7 | |
|---|---|---|
| Provider | xAI | |
| Family | Grok | |
| Context window | 500K tokens | |
| Released | September 21, 2026 | |
| Status | Current | |
Grok 4.7 was released on September 21, 2026.
Questions about Grok 4.7 pricing
- How much does Grok 4.7 cost per million tokens?
- $2.00 per 1M input tokens and $6.00 per 1M output tokens for prompts under 200,000 tokens, read on xAI's official pricing page on September 28, 2026.
- What does a cached input token cost on Grok 4.7?
- $0.50 per 1M cached input tokens, 25% of the $2.00 input price.
- Does Grok 4.7 cost more for long prompts?
- Yes. For prompts of 200,000 tokens or more it costs $4.00 per 1M input tokens and $12.00 per 1M output tokens, $1.00 for cached input, against $2.00 and $6.00 below that.
Released September 21, 2026 (xAI release notes: 'Grok 4.7 … is now available on the xAI API as grok-4.7. It has a 500k context window, text and image inputs with text-only output, and no text output limit. Pricing is $2 / $0.50 / $6 per 1M tokens (input / cached input / output) below 200k prompt tokens, and $4 / $1 / $12 above.'). Read by hand on 2026-09-22 from xAI's pricing page, table row 'grok-4.7 Long context ≥ 200k tokens | 500k | $2.00 | $0.50 | $6.00 | $4.00 | $1.00 | $12.00'; the model page prints 'Context window 500,000' and 'Batch API Not supported'. Not in the table: 'Grok 4.7 Fast', the same model at twice the token rates, 'available only through Cursor and Grok Build; it is not available on the public xAI API', and the US regional endpoint at 1.1x the global rates. On 2026-09-22 xAI's own endpoint on OpenRouter listed it at $1.60 / $4.80 (cached $0.40), 0.8x this page's list price, with no discount flagged.
Verified September 28, 2026 against xAI's official pricing page. Confidence: confirmed. No price change recorded for this model. How the data is checked.
Other xAI models with a verified price
- Grok Build 0.1 Grok $1.00 in · $2.00 out
- Grok 4.3 Grok $1.25 in · $2.50 out
- Grok 4.20 (reasoning) Grok $1.25 in · $2.50 out
- Grok 4.20 (non-reasoning) Grok $1.25 in · $2.50 out
- Grok 4.20 Multi-agent Grok $1.25 in · $2.50 out
- Grok 4.6 Grok $2.00 in · $6.00 out
- Grok 4.5 Grok $2.00 in · $6.00 out
Cheaper or equally priced alternatives
Current models with an input price at or below $2.00 per 1M tokens.
- GPT-6.1 Sol OpenAI $2.00 in · $10.00 out
- GPT-6 Sol OpenAI $2.00 in · $10.00 out
- GPT-5.6 Terra OpenAI $2.00 in · $12.00 out
- Claude Sonnet 5.5 Anthropic $2.00 in · $10.00 out
Compare every model in one table →
Work out what this costs at your volume →