Grok 4.7 API pricing
xAI's models. Grok 4.7, released 21 September 2026, costs $2 / $6 per 1M tokens for prompts under 200K tokens and $4 / $12 above.
Grok 4.7 prices
What it costs in practice
Grok 4.7 at list prices, no batch discount.
| 1,000 chat replies1,500 tokens in and 300 out each | $4.80 |
|---|---|
| Summarising 100 long reports20,000 tokens in and 800 out each | $4.48 |
| A month of a coding agent400 tasks, 85% of input cached | $592 |
The coding-agent example assumes 85% of input is served from cache, typical for agents that resend the same context each step. Model your own workload
Details
grok-4.7- Prompts of 200K tokens or more cost $4 / $12 per 1M.
Checked 27 Sep 2026 against xAI pricing and xAI release notes .
Other Grok versions
Grok 3 was retired on 15 May 2026. Grok 4 and Grok 4.1 Fast are no longer listed in xAI's documentation.
Version details
Grok 4.6
Previous$2.00 / $6.00 per 1M tokenscached $0.50 · 500K context
Newer option: Grok 4.7 at $2.00 / $6.00. Checked 27 Sep 2026 against xAI pricing .
Grok 4.5
Previous$2.00 / $6.00 per 1M tokenscached $0.30 · 500K context
Newer option: Grok 4.7 at $2.00 / $6.00. Checked 27 Sep 2026 against xAI pricing .
Grok 4.3
Previous$1.25 / $2.50 per 1M tokenscached $0.20 · batch 20% off · 1M context
Newer option: Grok 4.7 at $2.00 / $6.00. Checked 27 Sep 2026 against xAI pricing .
Compare Grok 4.7
Price history
All changesxAI pricing rules
- Grok 4.5 and later cost twice as much for prompts of 200K tokens or more.
- Batch requests cost 20% less, but only on Grok 4.3 and Grok 4.20.
Retired Grok models
- RetiredGrok 4.1 Fast was $0.20 / $0.50 per 1M tokens. No longer listed in xAI's documentation as of 27 September 2026. Use Grok 4.7 instead.
- RetiredGrok 4 was $3.00 / $15.00 per 1M tokens. No longer listed in xAI's documentation as of 27 September 2026. Use Grok 4.7 instead.
- Retired 15 May 2026Grok 3 was $3.00 / $15.00 per 1M tokens. Retired on 15 May 2026. Requests to it are redirected to Grok 4.3. Use Grok 4.3 instead.
Questions
How much does Grok 4.7 cost?
As of 27 Sep 2026, Grok 4.7 costs $2 per million input tokens and $6 per million output tokens, and $0.50 per million cached input tokens. Prices checked 27 Sep 2026.
What is the cheapest Grok model?
Grok 4.3, at $1.25 / $2.50 per million input / output tokens.
What is Grok 4.7's context window?
500K tokens.
Does Grok 4.7 support prompt caching?
Yes. Repeated input read from the cache costs $0.50 per million tokens, 75% less than normal input.