Grok 4.7 pricing
Flagship LLM from xAI —$2.00 input and$6.00 output per 1M tokens.
GAFlagshipLong-context tier
- Input /1M
- $2.00
- Output /1M
- $6.00
- Cached /1M
- $0.50
- Blended
- $4.00
- Context
- 500K
API model id: grok-4.7
Full price matrix
| Rate | Input /1M | Output /1M | Notes |
|---|---|---|---|
| Standard | $2.00 | $6.00 | |
| Cached input (read) | $0.50 | — | Prompt-cache hit |
| Long context (> 200,000 tokens) | $4.00 | $12.00 | Input ×2, output ×2 |
List prices, USD, directional. Rates are provider list prices per 1M tokens and are meant for comparison, not billing. Batch rates shown as 50% off are derived where a provider offers batch but does not publish a separate figure. Preview, promo, intro, peak/off-peak, long-context, and third-party-host prices are labeled where they apply. Token counts vary by tokenizer, so per-token price is not always a like-for-like cost. Always confirm with the provider before relying on a number. Prices as of 2026-09-29.
Source: https://docs.x.ai/developers/pricing
Pricing notes
- Long-context pricing: above 200,000 tokens, input is billed at ×2 ($4.00) and output at ×2 ($12.00). See long-context pricing.
- xAI's flagship for coding and knowledge work, launched 2026-09-21 at the same price as Grok 4.6. A reasoning model with configurable effort (low / medium / high / xhigh). For requests of 200K tokens or more, input and output rates double (to $4 / $12) and cached input rises to $1.00. Batch is not supported. A Fast variant at twice the standard rates is offered only in Cursor and Grok Build, not on the public API.