grok-4.7 pricing
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work… grok-4.7 from xAI costs $2.00 per 1M input tokens and $6.00 per 1M output tokens. Cached input is $0.500 per 1M. Context window 500,000 tokens.
API id grok-4.7 · xAI · source · updated 2026-09-25 · general-purpose
Long-context pricing
Prompts over 128K tokens are billed at $4.00 per 1M input and $12.00 per 1M output — roughly 2.0× the standard input rate. Budget for this if you send large documents.
grok-4.7 specifications
- Provider
- xAI
- API id
grok-4.7- Model type
- general-purpose
- Context window
- 500K tokens
- Max output
- 450K tokens
- Currency
- USD
- Price source
- First-party
- Last checked
- 2026-09-25
Tags
- flagship
- reasoning
- vision
grok-4.7 across providers
The same model, priced by every seller we track. Ranked by the cost of 1M input + 1M output tokens, standard tier; savings measured against buying from the vendor directly.
| Provider | Input /1M | Cached /1M | Output /1M | 1M in + 1M out | vs vendor |
|---|---|---|---|---|---|
| $1.60 | $0.400 | $4.80 | $6.40 | −20% | |
| $2.00 | $0.500 | $6.00 | $8.00 | — |
What grok-4.7 costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0050 |
| Document summary | 50,000 | 2,000 | $0.11 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $3.20 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does grok-4.7 cost per 1M tokens?
- grok-4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on the standard tier. Cached input is $0.500 per 1M.
- What is grok-4.7's context window?
- grok-4.7 accepts up to 500,000 tokens in a single request, and can return up to 450,000 output tokens.
- Is there a cheaper Grok model than grok-4.7?
- Yes. grok-4.20-0309-reasoning is $1.25 per 1M input tokens versus $2.00 for grok-4.7, with a 1,000,000 token context window.
- Where does this grok-4.7 price come from?
- Directly from xAI's published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.