xAI · current

Grok 4.5 API pricing

Latest xAI reasoning model.

Input / million
$2.00
Cached input / million
$0.5000
Output / million
$6.00
Context window
500,000

Example cost

A request with 10,000 input tokens and 2,000 output tokens costs approximately $0.0320 at the recorded standard rate.

  • 10,000 standard input tokens / 1,000,000 × $2
  • 0 cached tokens / 1,000,000 × $0.5
  • 2,000 output tokens / 1,000,000 × $6

Pricing rules and limitations

Short/long cached input: $0.5/$1 per MTok. Long-context pricing applies to all tokens after the provider threshold.

Price history

EffectiveUntilInputOutputStatus
2026-03-09Current / scheduled$2.00$6.00current