Grok 4.7
Last verified October 4, 2026 · xAI pricing ↗$2.00/1M input · $6.00/1M output · 500K context · xAI
Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens from xAI, with a 500K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0054, or $54.00 per 10,000 requests. On that workload it is cheaper than 61 of the 172 other buyable models tracked here.
Count Tokens
—
Tokens
—
Input Cost
—
Output Cost
Estimate Monthly Cost
Monthly Cost Estimator
Quick:
<$0.0001/mo
Pick a preset above or enter custom usage
What Grok 4.7 Costs Per Request
At $2.00 per 1M input and $6.00 per 1M output tokens, before caching or batch discounts.
| Workload | Input / output tokens | Per request | Per 10,000 requests |
|---|---|---|---|
| Chat reply | 1,500 / 400 | $0.0054 | $54.00 |
| RAG answer over retrieved docs | 8,000 / 600 | $0.020 | $196.00 |
| Coding-agent step | 30,000 / 2,000 | $0.072 | $720.00 |
Grok 4.7 vs Similarly Priced Models
Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.
| Model | Input /1M | Output /1M | Context | RAG answer |
|---|---|---|---|---|
| Grok 4.7 xAI | $2.00 | $6.00 | 500K | $0.020 |
| Grok 4.6 xAI | $2.00 | $6.00 | 500K | $0.020 |
| Qwen3.8 Max Alibaba | $2.00 | $6.00 | 1.0M | $0.020 |
| Fugu Max Sakana AI | $2.00 | $6.00 | 1.0M | $0.020 |
Alternatives to Grok 4.7
Pricing Details
xAILaunched September 21, 2026 on Grok 4.6's card: $2.00 input, $0.50 cached, $6.00 output. At 200,000 tokens and above the whole request bills $4.00 / $1.00 / $12.00. US regional endpoint 1.1x. Priority processing 2x. No Batch API support on xAI. Amazon Bedrock (from 2026-09-28) sells it at $2/$0.50/$6 Global, $2.20/$0.55/$6.60 US, with Flex at 0.5x ($1/$0.25/$3) and no 200K tier on its card; also in Google Vertex partner models. Grok 4.7 Fast ($4/$1/$12) is Cursor and Grok Build only. Effort low/medium/high/xhigh, default high. Artificial Analysis Intelligence Index v4.3 (read 2026-10-04), score / cost to run index / output tokens: xhigh 46.45 / $4,967 / 240.4M; high 46.33 / $3,881 / 197.7M; low 42.22 / $1,631 / 75.2M. Grok 4.6 high was 44.31 / $2,352 / 94.2M. 500K context. Always returns encrypted reasoning content. xAI-reported: CursorBench 4.0 46.3 (Grok 4.6 40.4), DeepSWE v1.1 71.0 (65.2). maxOutput 16384 is a schema placeholder; xAI publishes no text output limit. Estimated tokens (different tokenizer).
Input / 1M tokens
$2
Output / 1M tokens
$6
Context Window
500K
Max Output
16K
Price History
No price change recorded since 2026-10-04, when this site started tracking this model; it launched on 2026-09-21.
Frequently Asked Questions
Common questions about Grok 4.7 pricing and usage
How much does Grok 4.7 cost?
Grok 4.7 costs $2 per 1 million input tokens and $6 per 1 million output tokens. This pricing is set by xAI.
What tokenizer does Grok 4.7 use?
Grok 4.7 uses the cl100k_base tokenizer. This tokenizer has a vocabulary of ~100,000 tokens and is widely used across many models.
What is Grok 4.7's context window?
Grok 4.7 supports a context window of 500K tokens (500,000 tokens). The maximum output length is 16K tokens.
How does Grok 4.7 compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, Grok 4.7 costs $0.020 per request. The nearest-priced alternatives cost: Grok 4.6 (xAI) $0.020, Qwen3.8 Max (Alibaba) $0.020, Fugu Max (Sakana AI) $0.020. The table above lists their full rates and context windows.
How do I count tokens for Grok 4.7?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for Grok 4.7 using the cl100k_base tokenizer.
Read More About Grok 4.7
Meta priced Muse Wonder at Claude Opus 5.5's $4 and $20 to the cent. Opus on high effort outscores it for 40% of the cost per task, and the Wonder that beats Opus at coding isn't sold by the token.
October 13, 2026 · 6 min read
Grok 4.7 and MiMo-V2.6-Pro tie at 46 on Artificial Analysis. Grok's output price is 6.9x Xiaomi's, its bill for the same test was 19x, and most of that gap is on the input side.
October 4, 2026 · 6 min read