Skip to content
AI ShengJia

Grok 4.20 Reasoning API pricing (official rates)

Standard-tier API rates published by the vendor; batch, long-context and priority tiers are priced separately. Converted prices use the day's rate, excluding tax and payment fees.

xAI ยท Text models Rate 1 USD = $1.00 Checked Back to xAI API prices Source
Context
1M
tokens
Input
$1.25
โ‰ˆ $1.25 / 1M tokens
Output
$2.50
โ‰ˆ $2.50 / 1M tokens
Cached read
$0.20

All rates

DirectionModalityTierOfficial rateIn USD
Inputtextโ€”$1.25 / 1M tokens$1.25
Outputtextโ€”$2.50 / 1M tokens$2.50
Cached readtextโ€”$0.20 / 1M tokens$0.20

Listed item by item from the vendor's pricing page, one row per tier (resolution, size and so on); anything not listed follows the vendor's page.

More from xAI ยท Text models

All xAI API prices
ModelContextInput $/1MOutput $/1MCached readOutput $/1MChecked
500K$2.00 $6.00 $0.50 $6.00
1M$1.25 $2.50 $0.20 $2.50
256K$1.00 $2.00 $0.20 $2.00
1M$1.25 $2.50 $0.20 $2.50
1M$1.25 $2.50 $0.20 $2.50
500K$2.00 $6.00 $0.30 $6.00
500K$2.00 $6.00 $0.50 $6.00