Back to models
available
SpaceXAI: Grok 4.7
xai/grok-4-7Prices
- Input
$2.00 per 1M tokens
medium- Input (>200k ctx)
$4.00 per 1M tokens
medium- Input (cache write)
$0.50 per 1M tokens
low- Input (cached read, >200k ctx)
$1.00 per 1M tokens
medium- Input (cached read)
$0.50 per 1M tokens
medium- Input (image tokens)
$2.00 per 1M tokens
low- Output
$6.00 per 1M tokens
medium- Output (>200k ctx)
$12.00 per 1M tokens
medium
Also available on
The same model, sold by someone else. The price above is the maker's own.
| Channel | What | Price |
|---|---|---|
| Google Vertex AI | Input | $2.00 per 1M tokens |
| Input (>200k ctx) | $4.00 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200k ctx) | $12.00 per 1M tokens | |
| Amazon Bedrock | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Input (cached read) (region: global) | $0.50 per 1M tokens | |
| Input (cached read) (region: us) | $0.55 per 1M tokens | |
| Input (region: global) | $2.00 per 1M tokens | |
| Input (region: us) | $2.20 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (region: global) | $6.00 per 1M tokens | |
| Output (region: us) | $6.60 per 1M tokens | |
| OpenRouter | Input | $2.00 per 1M tokens |
| Input (>200k ctx) | $4.00 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200k ctx) | $12.00 per 1M tokens | |
| OpenRouter · xai | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Query | $0.005 per query | |
| GitHub Copilot · github-copilot | Input | $2.00 per 1M tokens |
| Input (>200k ctx) | $4.00 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200k ctx) | $12.00 per 1M tokens | |
| Other · cloudflare-ai-gateway | Input | $2.00 per 1M tokens |
| Input (>200k ctx) | $4.00 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200k ctx) | $12.00 per 1M tokens | |
| Other · crossmodel | Input | $2.00 per 1M tokens |
| Input (>200k ctx) | $4.00 per 1M tokens | |
| Input (cache write, >200k ctx) | $4.00 per 1M tokens | |
| Input (cache write) | $2.00 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200k ctx) | $12.00 per 1M tokens | |
| Other · edenai | Input | $2.00 per 1M tokens |
| Input (>200k ctx) | $4.00 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200k ctx) | $12.00 per 1M tokens | |
| Other · kilo | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · llmgateway-providers | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · merge-gateway | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · nano-gpt | Input | $1.60 per 1M tokens |
| Input (cached read) | $0.40 per 1M tokens | |
| Output | $4.80 per 1M tokens | |
| Other · ofox | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · tempr | Input | $2.00 per 1M tokens |
| Input (>200k ctx) | $4.00 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200k ctx) | $12.00 per 1M tokens | |
| Other · vercel | Input | $2.00 per 1M tokens |
| Input (>200.001k ctx) | $4.00 per 1M tokens | |
| Input (cached read, >200.001k ctx) | $1.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (>200.001k ctx) | $12.00 per 1M tokens |
Specifications
- Provider
- xai
- Context window
- 500,000
- Max output tokens
- 524,288
- Open weights
- no
- Released
- 09/21/2026
- Retires
- no date announced
- First seen by this tracker
Price history
No price of this model has changed since we started tracking it.
- Input
- 2 per 1M tokens, unchanged since 09/22/2026
- Output
- 6 per 1M tokens, unchanged since 09/22/2026
- Input (cached read)
- 0.5 per 1M tokens, unchanged since 09/22/2026
- Input (>200k ctx)
- 4 per 1M tokens, unchanged since 09/22/2026
- Output (>200k ctx)
- 12 per 1M tokens, unchanged since 09/22/2026
- Input (cached read, >200k ctx)
- 1 per 1M tokens, unchanged since 09/22/2026
- Input (image tokens)
- 2 per 1M tokens, unchanged since 09/23/2026
- Input (cache write)
- 0.5 per 1M tokens, unchanged since 09/29/2026