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 (batch, >200k ctx)
$3.20 per 1M tokens
low- Input (batch)
$1.60 per 1M tokens
low- Input (cache write)
$0.50 per 1M tokens
low- Input (cached read, >200k ctx)
$1.00 per 1M tokens
medium- Input (cached read, batch, >200k ctx)
$0.80 per 1M tokens
low- Input (cached read, batch)
$0.40 per 1M tokens
low- 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- Output (batch, >200k ctx)
$9.60 per 1M tokens
low- Output (batch)
$4.80 per 1M tokens
low
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 (batch) | $1.10 per 1M tokens | |
| Input (batch) (region: us-gov-east-1) | $1.32 per 1M tokens | |
| Input (batch) (region: us-gov-west-1) | $1.32 per 1M tokens | |
| Input (batch) (region: us-gov) | $1.32 per 1M tokens | |
| Input (cached read, flex) | $0.275 per 1M tokens | |
| Input (cached read, flex) (region: global) | $0.25 per 1M tokens | |
| Input (cached read, flex) (region: us-gov-east-1) | $0.33 per 1M tokens | |
| Input (cached read, flex) (region: us-gov-west-1) | $0.33 per 1M tokens | |
| Input (cached read, flex) (region: us-gov) | $0.33 per 1M tokens | |
| Input (cached read, flex) (region: us) | $0.275 per 1M tokens | |
| Input (cached read, priority) | $0.9625 per 1M tokens | |
| Input (cached read, priority) (region: global) | $0.875 per 1M tokens | |
| Input (cached read, priority) (region: us-gov-east-1) | $1.16 per 1M tokens | |
| Input (cached read, priority) (region: us-gov-west-1) | $1.16 per 1M tokens | |
| Input (cached read, priority) (region: us-gov) | $1.16 per 1M tokens | |
| Input (cached read, priority) (region: us) | $0.9625 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-gov-east-1) | $0.66 per 1M tokens | |
| Input (cached read) (region: us-gov-west-1) | $0.66 per 1M tokens | |
| Input (cached read) (region: us-gov) | $0.66 per 1M tokens | |
| Input (cached read) (region: us) | $0.55 per 1M tokens | |
| Input (flex) | $1.10 per 1M tokens | |
| Input (flex) (region: global) | $1.00 per 1M tokens | |
| Input (flex) (region: us-gov-east-1) | $1.32 per 1M tokens | |
| Input (flex) (region: us-gov-west-1) | $1.32 per 1M tokens | |
| Input (flex) (region: us-gov) | $1.32 per 1M tokens | |
| Input (flex) (region: us) | $1.10 per 1M tokens | |
| Input (priority) | $3.85 per 1M tokens | |
| Input (priority) (region: global) | $3.50 per 1M tokens | |
| Input (priority) (region: us-gov-east-1) | $4.62 per 1M tokens | |
| Input (priority) (region: us-gov-west-1) | $4.62 per 1M tokens | |
| Input (priority) (region: us-gov) | $4.62 per 1M tokens | |
| Input (priority) (region: us) | $3.85 per 1M tokens | |
| Input (region: global) | $2.00 per 1M tokens | |
| Input (region: us-gov-east-1) | $2.64 per 1M tokens | |
| Input (region: us-gov-west-1) | $2.64 per 1M tokens | |
| Input (region: us-gov) | $2.64 per 1M tokens | |
| Input (region: us) | $2.20 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Output (batch) | $3.30 per 1M tokens | |
| Output (batch) (region: us-gov-east-1) | $3.96 per 1M tokens | |
| Output (batch) (region: us-gov-west-1) | $3.96 per 1M tokens | |
| Output (batch) (region: us-gov) | $3.96 per 1M tokens | |
| Output (flex) | $3.30 per 1M tokens | |
| Output (flex) (region: global) | $3.00 per 1M tokens | |
| Output (flex) (region: us-gov-east-1) | $3.96 per 1M tokens | |
| Output (flex) (region: us-gov-west-1) | $3.96 per 1M tokens | |
| Output (flex) (region: us-gov) | $3.96 per 1M tokens | |
| Output (flex) (region: us) | $3.30 per 1M tokens | |
| Output (priority) | $11.55 per 1M tokens | |
| Output (priority) (region: global) | $10.50 per 1M tokens | |
| Output (priority) (region: us-gov-east-1) | $13.86 per 1M tokens | |
| Output (priority) (region: us-gov-west-1) | $13.86 per 1M tokens | |
| Output (priority) (region: us-gov) | $13.86 per 1M tokens | |
| Output (priority) (region: us) | $11.55 per 1M tokens | |
| Output (region: global) | $6.00 per 1M tokens | |
| Output (region: us-gov-east-1) | $7.92 per 1M tokens | |
| Output (region: us-gov-west-1) | $7.92 per 1M tokens | |
| Output (region: us-gov) | $7.92 per 1M tokens | |
| Output (region: us) | $6.60 per 1M tokens | |
| Microsoft Azure · azure-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 | |
| Databricks | Input | $2.50 per 1M tokens |
| Input (cache write) | $2.50 per 1M tokens | |
| Input (cached read) | $0.625 per 1M tokens | |
| Output | $7.50 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 · 302ai | Input | $2.00 per 1M tokens |
| Input (cache write) | $0.50 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · aigrow | Input | $0.50 per 1M tokens |
| Input (cache write) | $0.625 per 1M tokens | |
| Input (cached read) | $0.125 per 1M tokens | |
| Output | $1.50 per 1M tokens | |
| Other · aihubmix | 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 · cheapaimodel | Input | $0.1996 per 1M tokens |
| Input (cached read) | $0.0499 per 1M tokens | |
| Output | $0.5988 per 1M tokens | |
| Other · cheapest-token | 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 | $4.50 per 1M tokens | |
| Output (>200k ctx) | $9.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 · commandcode | 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 · fastrouter | 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 · jzstoken | Input | $0.3892 per 1M tokens |
| Input (cache write) | $0.4865 per 1M tokens | |
| Input (cached read) | $0.0389 per 1M tokens | |
| Output | $1.95 per 1M tokens | |
| Other · kenari | Input | $2.29 per 1M tokens |
| Input (cached read) | $0.3429 per 1M tokens | |
| Output | $6.86 per 1M tokens | |
| Other · kilo | Input | $2.00 per 1M tokens |
| Input (cache write) | $0.00 per 1M tokens | |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · kyma | Input | $2.16 per 1M tokens |
| Input (cached read) | $0.54 per 1M tokens | |
| Output | $6.48 per 1M tokens | |
| Other · llmgateway | 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 (>200k ctx) | $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 · nano-gpt | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · nearai | Input | $2.00 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $6.00 per 1M tokens | |
| Other · neon | Input | $2.50 per 1M tokens |
| Input (cached read) | $0.50 per 1M tokens | |
| Output | $7.50 per 1M tokens | |
| Other · obscurify | Input | $2.21 per 1M tokens |
| Input (cached read) | $0.5525 per 1M tokens | |
| Output | $6.63 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 · opencode | 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 · opencode-go | 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 · perplexity | 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 · perplexity-agent | Input | $2.00 per 1M tokens |
| Input (>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 · prime | Input | $1.60 per 1M tokens |
| Output | $4.80 per 1M tokens | |
| Other · requesty | Input | $2.00 per 1M tokens |
| Input (cache write) | $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 · venice | Input | $2.27 per 1M tokens |
| Input (>200k ctx) | $4.53 per 1M tokens | |
| Input (cached read, >200k ctx) | $1.13 per 1M tokens | |
| Input (cached read) | $0.57 per 1M tokens | |
| Output | $6.80 per 1M tokens | |
| Output (>200k ctx) | $13.60 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
- Input (cached read, batch, >200k ctx)
- 0.8 per 1M tokens, unchanged since 10/29/2026
- Input (cached read, batch)
- 0.4 per 1M tokens, unchanged since 10/29/2026
- Input (batch, >200k ctx)
- 3.2 per 1M tokens, unchanged since 10/29/2026
- Input (batch)
- 1.6 per 1M tokens, unchanged since 10/29/2026
- Output (batch, >200k ctx)
- 9.6 per 1M tokens, unchanged since 10/29/2026
- Output (batch)
- 4.8 per 1M tokens, unchanged since 10/29/2026