Grok 4.7
The successor to Grok 4.6 and xAI's frontier model for coding, agentic tasks and knowledge work, trained on a new, larger base model.
- Context
- 500K tokens
- Cutoff
- Released
Hosted API price
List price via xAI · per 1M tokens
- Input
- $2.00 /1M
- Output
- $6.00 /1M
- Hosted by
-
1 provider
Hosted API pricing
How we price
Order
Providers are listed cheapest input rate first, then by output rate, a tie going to the creator's own listing. A provider that lists the model without a published rate sits at the end.
Prices
Base-tier, on-demand rates in USD per 1M tokens, converted at ECB reference rates where a provider publishes in another currency. Cached-input and batch rates show only where a provider publishes them. "Cheapest" marks the one provider with the lowest input and output pair; a tie wears no badge.
Cost
Input rate times the input tokens plus output rate times the output tokens, at the monthly volume set above the table. Cached-input, batch, long-context and reasoning-token billing are not modelled.
Transparency and funding
- Affiliates: Affiliate links are marked. We may earn a commission if you click them, but commissions never affect the order.
Every provider serving Grok 4.7, cheapest input first. Set your monthly volume to see what each would bill.
| Provider | Input /1M | Output /1M | Cached input /1M | Cost at 10M in + 2M out | Link |
|---|---|---|---|---|---|
|
|
$2.00 | $6.00 | $0.50 | $32.00 | Visit website |
Heads up: Base-tier, on-demand rates per 1M tokens; cached, batch and long-context tiers excluded. A provider may serve a shorter context or a quantized build than the creator's release. Verify before provisioning. More on how we price.
Similarly priced models
The models nearest Grok 4.7 by blended rate, each at its own cheapest provider.
| Model | Blended /1M | Input /1M | Output /1M | Context | Cutoff | vs Grok 4.7 |
|---|---|---|---|---|---|---|
|
|
$1.75 | $1.25 | $4.25 | 1M | −34% | |
|
|
$1.90 | $1.40 | $4.40 | 1M | −29% | |
|
|
$2.50 | $1.50 | $7.50 | 256K | −6% | |
|
|
$2.6667 | $2.00 | $6.00 | 500K | Feb 2026 | 0% |
|
|
$2.6667 | $2.00 | $6.00 | 500K | Jan 2026 | 0% |
|
|
$2.6667 | $2.00 | $6.00 | 500K | May 2026 | |
|
|
$2.6667 | $2.00 | $6.00 | 262K | 0% | |
|
|
$2.6667 | $2.00 | $6.00 | 1M | 0% | |
|
|
$2.7083 | $1.25 | $10.00 | 1M | Jan 2025 | +2% |
|
|
$2.7083 | $1.25 | $10.00 | 400K | Sep 2024 | +2% |
|
|
$2.7083 | $1.25 | $10.00 | 400K | Sep 2024 | +2% |
USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.
Capabilities
What Grok 4.7 accepts and can do, as published by xAI.
- Text Accepts and generates natural-language text.
- Image Accepts images as input alongside text.
- Reasoning Thinks before it answers, always on or as a switchable mode.
- Function calling Connect to external tools, APIs, and systems.
- Structured output Return responses in structured formats like JSON.
- Web search Search the web for up-to-date information.
- Code execution Write and execute code in a sandboxed environment.
- File upload Process uploaded documents, spreadsheets, and other files.
- MCP Connect to services via Model Context Protocol.
- Image generation Generate and edit images from text prompts.
Common questions
What is Grok 4.7 good for?
Coding, long-running agents and knowledge work, with xAI's built-in tools and a reasoning effort setting up to xhigh. It replaces Grok 4.6 at xAI's top tier at the same rates.
When is Grok 4.7 not a good fit?
Cost-sensitive high-volume work: it sits in xAI's top price tier, and it takes shorter inputs than Grok 4.3 and the Grok 4.20 models. Closed weights, so no self-hosting. The fast variant is sold only inside Cursor and Grok Build, not on the public API.
What is the cheapest way to run Grok 4.7?
The cheapest hosted rate is $2.00 / $6.00 per 1M tokens via xAI.
How does Grok 4.7 compare with Grok 4.6?
xAI says Grok 4.7 uses a new, larger base model than Grok 4.6, trained with a longer reinforcement learning run on a harder mix of tasks weighted toward problems that take many hours, and that it is better at verifying its own work and managing longer context. Same price, 500K-token context and text and image input. Grok 4.7 came out a month later and has a newer knowledge cutoff (May 2026 against January 2026).
Can I self-host Grok 4.7?
No. xAI does not publish the weights; Grok 4.7 is available only through hosted APIs.
More from xAI
-
Grok 4.5
500K context · cutoff Feb 2026
From $2.00 / $6.00 /1M in / out at the cheapest provider -
Grok 4.6
500K context · cutoff Jan 2026
From $2.00 / $6.00 /1M in / out at the cheapest provider -
Grok 4.20 (Non-Reasoning)
1M context
From $1.25 / $2.50 /1M in / out at the cheapest provider -
Grok 4.20 (Reasoning)
1M context
From $1.25 / $2.50 /1M in / out at the cheapest provider -
Grok 4.3
1M context
From $1.25 / $2.50 /1M in / out at the cheapest provider -
Grok Build 0.1
256K context
From $1.00 / $2.00 /1M in / out at the cheapest provider -
Grok 4.1 Fast (Non-Reasoning)
2M context · cutoff Oct 2024
-
Grok 4.1 Fast (Reasoning)
2M context · cutoff Oct 2024