Grok 4.7 price list
All prices are per 1 million tokens, from xAI's pricing page and the Grok 4.7 model page, checked November 23, 2026. xAI's docs now carry the SpaceXSI name; the API, model name and prices are the same.
| Tier | Input | Cached input | Output |
|---|---|---|---|
| Standard, under 200K prompt tokens | $2.00 | $0.50 | $6.00 |
| Standard, 200K+ prompt tokens | $4.00 | $1.00 | $12.00 |
| Batch API (20% off), under 200K | $1.60 | $0.40 | $4.80 |
| Batch API (20% off), 200K+ | $3.20 | $0.80 | $9.60 |
| Priority (2× Standard), under 200K | $4.00 | $1.00 | $12.00 |
| US regional endpoint (1.1×), under 200K | $2.20 | $0.55 | $6.60 |
Priority processing doubles every token type and is only charged when the response confirms the priority tier. The US regional endpoint (us.api.x.ai) adds 10% and is available for Grok 4.7 and Grok 4.6 only.
The long-context rule matters: once a prompt reaches 200K tokens, every token in the request is billed at the higher rate. A 190,000-token document with a 4,000-token answer costs about $0.40; the same request at 210,000 prompt tokens costs about $0.89.
Tool calls are billed on top
Server-side tools add a per-call fee on top of the tokens the agent reads and writes. Web search, code execution and file attachment search are $5 per 1,000 calls; collections search is $2.50 per 1,000 calls. X search is billed per item: $5 per 1,000 posts and $10 per 1,000 profiles. Remote MCP tools cost only tokens.
What a Grok 4.7 request costs in practice
Worked examples at Standard prices (no batch, no tool calls):
| Workload | Input | Cached | Output | Cost |
|---|---|---|---|---|
| Chatbot reply | 2,000 | 0 | 500 | $0.007 |
| RAG answer | 8,000 | 2,000 | 600 | $0.0166 |
| Coding agent step | 60,000 | 50,000 | 2,000 | $0.057 |
| 300K-token document | 300,000 | 0 | 4,000 | $1.25 |
At 10,000 chatbot replies a month that is $70, or $56 through the Batch API. In the agent example, the 50,000 cached tokens cost $0.025, more than the $0.02 for the 10,000 uncached ones: Grok's cache discount is 75%, smaller than the 95% some rivals give.
Grok 4.7 specs that affect cost
- Context window: 500,000 tokens.
- Modalities: text and image in, text out.
- Reasoning: configurable effort of low, medium, high or xhigh; the default is high. Reasoning tokens are billed like other tokens of the request.
- Knowledge cutoff: May 2026, per xAI's models page.
- Rate limits: 150 requests per second and 50 million tokens per minute.
How Grok 4.7 compares on price
- vs Grok 4.6: identical rates. vs Grok 4.5: same $2 / $6, but 4.5's cached input is $0.30.
- vs GPT-6.2 Sol: same $2 input, cheaper $6 output against $10, but $0.50 cached against $0.10. See GPT-6.2 Sol pricing.
- vs Claude Sonnet 5.5: same $2 / $10 list as Sol, so the same trade-off. vs Claude Opus 5.5: Opus lists $4 / $20, double Grok's input and over three times its output. See Claude Opus 5.5 pricing.
- vs Gemini 4 Hydrogen: $1.50 / $7.50, cheaper input, pricier output. See Gemini 4 pricing.
Token prices do not tell you the cost per finished task: a model that needs fewer tokens or fewer retries can win at a higher rate. Compare all 15 models in the LLM pricing calculator.