Back to models
retired

Grok 4

xai/grok-4

Prices

Input

$1.25 per 1M tokens

unverified · disputed
Input (>200k ctx)

$2.50 per 1M tokens

low
Input (cached read, >200k ctx)

$0.40 per 1M tokens

low
Input (cached read)

$0.20 per 1M tokens

unverified · disputed
Output

$2.50 per 1M tokens

unverified · disputed
Output (>200k ctx)

$5.00 per 1M tokens

low

Also available on

The same model, sold by someone else. The price above is the maker's own.

6 sales channels for this model.
ChannelWhatPrice
Microsoft Azure · azure-aiInput$3.00 per 1M tokens
Output$15.00 per 1M tokens
OpenRouterInput$3.00 per 1M tokens
Output$15.00 per 1M tokens
Other · fastrouterInput$3.00 per 1M tokens
Input (cache write)$15.00 per 1M tokens
Input (cached read)$0.75 per 1M tokens
Output$15.00 per 1M tokens
Other · llmgateway-providersInput$3.00 per 1M tokens
Input (cached read)$0.75 per 1M tokens
Output$15.00 per 1M tokens
Other · poeInput$3.00 per 1M tokens
Input (cached read)$0.75 per 1M tokens
Output$15.00 per 1M tokens
Other · zenmuxInput$3.00 per 1M tokens
Input (cached read)$0.75 per 1M tokens
Output$15.00 per 1M tokens

Specifications

Provider
xai
Context window
256,000
Max output tokens
256,000
Open weights
no
Released
07/09/2025
Retires
05/15/2026
First seen by this tracker

Price history

Input — per 1M tokens

3009/14/2026today
Recorded changes for Input
FromAmount
09/14/20263
09/14/20261.25

Input (cached read) — per 1M tokens

0.75009/14/2026today
Recorded changes for Input (cached read)
FromAmount
09/14/20260.75
09/14/20260.2

Output — per 1M tokens

15009/14/2026today
Recorded changes for Output
FromAmount
09/14/202615
09/14/20262.5

No changes recorded

Input (>200k ctx)
2.5 per 1M tokens, unchanged since 09/14/2026
Output (>200k ctx)
5 per 1M tokens, unchanged since 09/14/2026
Input (cached read, >200k ctx)
0.4 per 1M tokens, unchanged since 09/14/2026

Last updated 10/02/2026, 02:10