Grok 4.7 Pricing
xAI ยท Live
Grok 4.7 costs $2 per million input tokens and $6 per million output tokens on the xAI API. Cached input reads are billed at $0.5 per million tokens. It supports a 500,000-token context window. Pricing verified October 4, 2026.
Grok 4.7 API pricing
Grok 4.7 API pricing is $2 per million input tokens and $6 per million output tokens, verified October 4, 2026.
- Input (per 1M tokens)
- $2
- Output (per 1M tokens)
- $6
- Cached input (per 1M tokens)
- $0.5
- Context window
- 500,000 tokens
Price history
See full Grok 4.7 price historyNo Grok 4.7 price changes have been recorded yet.
No price snapshots recorded yet.
Frequently asked questions
Short answers to the most common questions about Grok 4.7 pricing, limits, and capabilities.
Notes
[2026-10-04] ADDED. xAI's current flagship model, read from docs.x.ai/developers/pricing. Short-context rates (prompts under 200k tokens): input $2.00, cached input $0.50, output $6.00 per 1M tokens. 500k token context window. LONG-CONTEXT PRICING EXISTS AND IS DOUBLE: once a prompt reaches 200k tokens, the whole request bills at input $4.00, cached $1.00, output $12.00. This table has no field for long-context rates, so only the short-context figures are stored โ the comparable most users will pay. Same convention applied to Grok 4.3, 4.5 and 4.6. US regional endpoint bills at 1.1x global rates, recorded in US-only Multiplier. xAI positions Grok 4.7 as the recommended model for both code and chat.
