PROVIDER

xAI API pricing

3 models tracked, ranging $1.00 to $2.00 per million input tokens. Average across the lineup: $1.42 in / $3.50 out.

About xAI's pricing

Both tracked Grok models use a long-context pricing step: requests over 200K input tokens double in price on Grok 4.3 and Grok 4.6 alike, so the headline rate only applies to shorter prompts.

3 models from xAI
docs.x.ai — Pricing ↗
Model Input /1M Output /1M Context Tier
$1.00 $2.00 256K tokens Budget
Long-context tier (>200K input) doubles to $2.50 / $5.
$1.25 $2.50 1M tokens Balanced
Long-context tier (>200K input) doubles to $4 / $12.
$2.00 $6.00 500K tokens Flagship