Back to models
available

SpaceXAI: Grok 4.7

xai/grok-4-7

Prices

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.

15 sales channels for this model.
ChannelWhatPrice
Google Vertex AIInput$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 BedrockInput$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
OpenRouterInput$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 · xaiInput$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-copilotInput$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-gatewayInput$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 · crossmodelInput$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 · edenaiInput$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 · kiloInput$2.00 per 1M tokens
Input (cached read)$0.50 per 1M tokens
Output$6.00 per 1M tokens
Other · llmgateway-providersInput$2.00 per 1M tokens
Input (cached read)$0.50 per 1M tokens
Output$6.00 per 1M tokens
Other · merge-gatewayInput$2.00 per 1M tokens
Input (cached read)$0.50 per 1M tokens
Output$6.00 per 1M tokens
Other · nano-gptInput$1.60 per 1M tokens
Input (cached read)$0.40 per 1M tokens
Output$4.80 per 1M tokens
Other · ofoxInput$2.00 per 1M tokens
Input (cached read)$0.50 per 1M tokens
Output$6.00 per 1M tokens
Other · temprInput$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 · vercelInput$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

Last updated 10/03/2026, 02:10