xAI · Flagship model
Grok 4.7 pricing & cost calculator
Prices last updated:
Input
$2.00
per 1M tokens
Output
$6.00
per 1M tokens
Context window
500K
500,000 tokens
Price shown is for inputs below 200K tokens.
About Grok 4.7 pricing
Grok 4.7 is xAI’s top-tier model, aimed at the hardest reasoning, coding and agentic work. It is billed per token: $2.00 for every million tokens you send and $6.00 for every million tokens it generates, so output costs 3× as much as input.
For a typical request of 1,000 input and 500 output tokens, Grok 4.7 costs about $0.005 — the 6th-cheapest of the 14 models we track. One million input tokens is roughly 2,000 pages of English prose.
xAI’s official pricing page is the source of truth; see our guide to how AI pricing works for caching and long-context rules.
Grok 4.7 cost calculator
- Per request
- $0.005
- Per day
- $5.00
- Per month (30 days)
- $150.00
What Grok 4.7 costs for common tasks
| Task | Input tokens | Output tokens | Per request | Per 1,000 requests |
|---|---|---|---|---|
| Short chat reply | 500 | 300 | $0.0028 | $2.80 |
| Support chatbot turn with history | 3,000 | 400 | $0.0084 | $8.40 |
| RAG answer (retrieved context) | 6,000 | 600 | $0.0156 | $15.60 |
| Summarize a 20-page document | 12,000 | 1,000 | $0.03 | $30.00 |
| Long-document analysis | 100,000 | 2,000 | $0.212 | $212.00 |
Compare Grok 4.7 with…
- Grok 4.7 vs GPT-6 Astra$10.00 in · $50.00 out per 1M
- Grok 4.7 vs GPT-5.6 Sol$5.00 in · $30.00 out per 1M
- Grok 4.7 vs GPT-5.6 Terra$2.00 in · $12.00 out per 1M
- Grok 4.7 vs GPT-5.6 Luna$0.20 in · $1.20 out per 1M
- Grok 4.7 vs Claude Fable 5.1$10.00 in · $50.00 out per 1M
- Grok 4.7 vs Claude Opus 5.5$4.00 in · $20.00 out per 1M
- Grok 4.7 vs Claude Opus 5$5.00 in · $25.00 out per 1M
- Grok 4.7 vs Claude Sonnet 5$2.00 in · $10.00 out per 1M
- Grok 4.7 vs Claude Haiku 4.5$1.00 in · $5.00 out per 1M
- Grok 4.7 vs Gemini 3.1 Pro$2.00 in · $12.00 out per 1M
- Grok 4.7 vs Gemini 3.8 Flash$0.75 in · $3.75 out per 1M
- Grok 4.7 vs DeepSeek V4 Pro$0.435 in · $0.87 out per 1M
- Grok 4.7 vs DeepSeek V4 Flash$0.14 in · $0.28 out per 1M
Grok 4.7 pricing FAQ
- How much does Grok 4.7 cost per token?
- Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens through the xAI API. That is $0.000002 per input token and $0.000006 per output token.
- How much does a typical Grok 4.7 request cost?
- A request with 1,000 input tokens and 500 output tokens costs about $0.005 on Grok 4.7, or $5.00 per thousand requests.
- What is the context window of Grok 4.7?
- Grok 4.7 accepts up to 500,000 tokens (about 500K) of context per request, which covers the prompt, any documents you include and the conversation history.
- Does Grok 4.7 have batch pricing?
- xAI does not list a batch discount for Grok 4.7, so standard prices apply to all requests. Check xAI's pricing page for off-peak or cached-input discounts.
- How accurate is the token count for Grok 4.7?
- It is an estimate. xAI does not publish a browser tokenizer for Grok 4.7, so Tokenova counts with o200k_base and applies a xAI-specific adjustment. Expect real counts within roughly 10–20% for English text; use xAI's token-counting API for exact numbers.