Grok 4

retired

xAI · Frontier

Compare →

Previous xAI flagship. Retired May 15, 2026; traffic redirected to Grok 4.3.

Strengths
A former xAI flagship with strong general reasoning for its generation.
Best for
Reference only — traffic now redirects to Grok 4.3.
Limitations
Retired May 2026; no longer served directly.

Input / 1M

$3.00

Output / 1M

$15.00

Cached input / 1M

$0.75

Context window

256K

Where it sits

66% above the frontier median

blended $/Mtok across 24 frontier models

Output costs 5× input

$3.00 in / $15.00 out per 1M

Cached input saves 75%

$0.75 vs $3.00 per 1M fresh

Held flat since launch (Jul 2025)

no blended price change recorded

Computed live from current prices and this model's history — not hand-written, so it stays accurate as prices move.

Price history

Only one price on record so far — the history chart appears once a price changes.

Snapshots

Effective Input Output Cached in Note Source
9 Jul 2025 $3.00 $15.00 $0.75 docs.x.ai

More from xAI