Home / Grok 4.7 pricing
Grok 4.7 pricing
What Grok 4.7 from xAI costs on the API, what typical workloads cost a month, and how it compares with similar models.
Prices checked
Quick answer
Grok 4.7 costs $2.00 input and $6.00 output per million tokens on xAI’s API, with a 500K-token context window. A chatbot handling 100,000 short requests a month would cost about $380.
Price per million tokens
Standard API rates in US dollars.
| Price | |
|---|---|
| Input | $2.00 per million tokens |
| Output | $6.00 per million tokens |
| Context window | 500K tokens |
| Released | Sep 21, 2026 |
| Open weights | No |
| Long prompts | $4.00 / $12.00 for prompts of 200K tokens or more |
What it costs a month
| Workload | Tokens per request | Requests a month | Per request | Per month |
|---|---|---|---|---|
| Chatbot | 1,000 in / 300 out | 100,000 | $0.0038 | $380 |
| Document Q&A | 20,000 in / 500 out | 10,000 | $0.043 | $430 |
| Coding agent | 50,000 in / 2,000 out | 20,000 | $0.112 | $2,240 |
| Batch summaries | 3,000 in / 200 out | 1,000,000 | $0.0072 | $7,200 |
Standard prices, no caching or discounts. Try your own numbers in the AI API cost calculator.
Good to know
- Released September 21, 2026, with a 500K-token context window.
- Requests with prompts of 200K tokens or more cost $4 / $12 for every token in the request.
- Batch requests are 20% off. In the Grok app it’s part of the X Subscription.
Discounts and surcharges
Ways the price of Grok 4.7 changes from the standard rate.
| Option | Price | Good for |
|---|---|---|
| Batch | 20% off | Large jobs that can wait |
| Prompts of 200K tokens or more | $4 / $12 for every token in the request | Keep prompts under 200K to stay on $2 / $6 |
Using Grok 4.7 in an app
In the Grok app, Grok 4.7 is part of the X Subscription, from X Plus at $8 a month. See Grok pricing.
Price history
| Date | Change |
|---|---|
| Sep 21, 2026 | Released at $2 / $6 with a 500K-token context window. |
Every dated change across all models is in the AI price change log.
How Grok 4.7 compares
Grok 4.7 has the lowest output price of the main US models at its level: $6 against $10 for GPT-6.2 Sol and Claude Sonnet 5.5. Its context window is 500K tokens, half the 1M of most rivals, and prompts of 200K or more cost double.
Compared with similar models
The six closest models from other companies. Chatbot is 100,000 requests of 1,000 tokens in and 300 out.
| Model | Company | Input $/1M | Output $/1M | Chatbot, per month |
|---|---|---|---|---|
| Grok 4.7 | xAI | $2.00 | $6.00 | $380 |
| GPT-6.1 Terra | OpenAI | $1.00 | $5.00 | $250 |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $375 | |
| Mistral Medium 3.5 | Mistral | $1.50 | $7.50 | $375 |
| Qwen4 Max | Alibaba | $1.50 | $4.50 | $285 |
| GLM-5.3 | Zhipu | $1.40 | $4.40 | $272 |
| Muse Spark 1.3 | Meta | $1.25 | $4.25 | $252.50 |
More on xAI pricing
Every xAI model, discount and plan is on our Grok pricing page. For all 30 models side by side, see the cheapest AI API ranking, or download every price from AI pricing data.
Questions people ask
How much does Grok 4.7 cost?
$2.00 per million input tokens and $6.00 per million output tokens, at xAI’s standard API rate. Prompts of 200K tokens or more cost $4.00 / $12.00.
What is the context window of Grok 4.7?
500K tokens. That’s very roughly 380,000 words of English text; the exact figure depends on the text and the model’s tokenizer.
Is Grok 4.7 open source?
No. xAI hasn’t published the weights, so you use it through xAI’s API and apps or a cloud platform that offers it.
Does Grok 4.7 cost more for long prompts?
Yes. Requests with prompts of 200,000 tokens or more are billed at $4 input and $12 output per million tokens for every token.
Is Grok 4.7 cheaper than GPT-6.2 Sol?
On output, yes: $6 against $10 per million tokens. Input costs the same, $2.
What is cheaper than Grok 4.7?
The next model down on price we track is GPT-6.1 Terra from OpenAI, at $1.00 / $5.00. The cheapest overall is Hy4 Flash at $0.07 / $0.281.
Sources: xAI API pricing. Checked December 1, 2026.