Grok 4.7 pricing
xAI charges $2 per million input tokens and $6 per million output tokens for Grok 4.7, so output costs 3 times input. Cached input is $0.50, 75% off the input rate. We first recorded this model on 10 Oct 2026 and have 2 rows for it since.
Current price
US dollars per million tokens| Rate | Price per 1M tokens |
|---|---|
| Input | $2 |
| Output | $6 |
| Cached input | $0.50 |
| Long-context input (prompt over 200K) | $4 |
| Long-context output (prompt over 200K) | $12 |
Source: xAI's pricing page, price since (the date we first read it). Rates the page does not print for this model are not listed.
What Grok 4.7 costs you
Our calculation from the prices above, at three usage levels. Same levels on every model page, so they compare directly. The cache column assumes half of input is a cache hit. Before tax, no volume discount.
| Usage | Tokens a month (in / out) | Standard | A year, standard | 50% cached input |
|---|---|---|---|---|
| Lighta chatbot or script, about 1,000 requests a month | 2M / 500K | $7.00 | $84.00 | $5.50 |
| Mediuma product feature, about 20,000 requests a month | 40M / 10M | $140.00 | $1,680.00 | $110.00 |
| Heavyan agent or pipeline at volume, about 200,000 requests a month | 400M / 100M | $1,400.00 | $16,800.00 | $1,100.00 |
Try your own numbers in the cost calculator, opened on Grok 4.7 and the alternatives below.
Price history
The input and output price of Grok 4.7 has not changed since we first read it on 10 Oct 2026; the rows below record other rates first shown or the model leaving the page.
| Date | Input | Output | Cached input | What changed |
|---|---|---|---|---|
| $2 | $6 | $0.50 | First recorded | |
| $2 | $6 | $0.50 | Long-context input first shown, $4; Long-context output first shown, $12 |
A row is recorded only when a value on xAI's page differs from the last one we read, so the dates are when we saw each change.
Grok 4.7 alternatives by price
The three current models whose price is nearest to Grok 4.7's, blending input and output 3 to 1 (our calculation from the current table, one model per provider).
| Model | Input | Output | Cached input | Medium usage a month | Compared with Grok 4.7 |
|---|---|---|---|---|---|
| Google Gemini Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 | $135.00 | $5.00 less |
| Qwen qwen3.8-2.4t-a95b | $2 | $6 | – | $140.00 | Same |
| xAI Grok 4.5 | $2 | $6 | $0.30 | $140.00 | Same |
MethodWhere these prices come from
Prices come from our LLM API pricing timeline, read once a day from each provider's own pricing page; a value is kept only if the same number appears in the page text. – means the page does not publish that price. The monthly costs and alternatives are our arithmetic on those prices, not figures from xAI.