Grok 4.7 API Pricing
xAI · released Sep 21, 2026 · 500K context · API model ID grok-4.7
Grok 4.7 by xAI API pricing: $2.00 per 1M input tokens and $6.00 per 1M output tokens (provider list price via models.dev, Oct 10, 2026).
Prices
| Price | USD per 1M tokens |
|---|---|
| Input | $2.00 |
| Output | $6.00 |
| Cache read | $0.50 |
| Cache write | Not published |
xAI's list price for its own API, as compiled by models.dev and checked Oct 10, 2026, 09:00 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
Estimated monthly cost
$1,500
per month
- per day
- $50.00
- per request
- $0.005
Cannot estimate: a needed price is not published.
Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.
Long-context prices
Prompts longer than the threshold are billed at a higher rate.
| Prompts over | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| 200,000 tokens | $4.00 | $12.00 | $1.00 | Not published |
Monthly cost by workload
| Workload | Per month |
|---|---|
| Chatbot1,000 in / 500 out tokens, 10,000 requests a day | $1,500/mo |
| RAG8,000 in / 500 out tokens, 5,000 requests a day | $2,850/mo |
| Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input | $1,560/mo |
Context and capabilities
- Context
- 500,000 tokens
- Max output
- 500,000 tokens
- Input
- text, image, pdf
- Output
- text
- Knowledge cutoff
- May 2026
- Open weights
- No
- Tool calling
- Yes
- Reasoning
- Yes
- Structured outputs
- Yes
Capabilities and limits as listed by models.dev.
Similarly priced models
- Qwen3.8 Max · $2.00 in / $6.00 out · Compare
- Mistral Medium 3.5 · $1.50 in / $7.50 out · Compare
- Claude Sonnet 5.5 · $2.00 in / $10.00 out · Compare
- GPT-6.1 Sol · $2.00 in / $10.00 out · Compare
Compare Grok 4.7
- Grok 4.7 vs Claude Haiku 5.5
- Grok 4.7 vs Claude Opus 5.5
- Grok 4.7 vs Claude Sonnet 5.5
- Grok 4.7 vs DeepSeek V4.1 Flash
- Grok 4.7 vs DeepSeek V4 Pro
- Grok 4.7 vs Gemini 3.1 Pro Preview
- Grok 4.7 vs Gemini 3.5 Flash Lite
- Grok 4.7 vs Gemini 3.8 Flash
- Grok 4.7 vs GLM-5.3-FlashX
- Grok 4.7 vs GPT-6.1 Sol
- Grok 4.7 vs GPT-6 Astra
- Grok 4.7 vs GPT-6 Luna
- Grok 4.7 vs Grok Build 0.1
- Grok 4.7 vs Kimi K3
- Grok 4.7 vs MiniMax-M3
- Grok 4.7 vs Mistral Medium 3.5
- Grok 4.7 vs Muse Spark 1.3
- Grok 4.7 vs Qwen3.8 Flash
- Grok 4.7 vs Qwen3.8 Max
- Grok 4.7 vs Seed 2.0 Pro
Price history
No price changes since we started tracking on Oct 8, 2026.
Questions
- How much does Grok 4.7 cost per month?
- For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, Grok 4.7 costs about $1,500 per month at xAI's list prices ($2.00 per 1M input tokens, $6.00 per 1M output tokens).
- Does Grok 4.7 support prompt caching?
- Yes. Cached input costs $0.50 per 1M tokens, compared with $2.00 for regular input.
- How long is Grok 4.7's context window?
- Grok 4.7 accepts up to 500,000 tokens (500K) of context and returns up to 500,000 tokens per response.