Prices

AI API prices compared

US dollars per million tokens from each provider’s own API. “Typical call” is the cost of 1,000 calls with 2,000 tokens in and 500 out. Updated .

ModelInputCachedOutputContextTypical call ×1,000
grok-build-0.1
xAI · images · tools · reasoning · JSON schema
$1.00$0.20$2.00256k$3.00
grok-code-fast
xAI · images · tools · reasoning · JSON schema
$1.00$0.20$2.00256k$3.00
grok-4.20
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-0309-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-0309-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-0309-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-0309-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-latest-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-latest-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-beta-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-experimental-beta-0304-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-experimental-beta-0304-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-non-reasoning
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-non-reasoning-gv2
xAI · images · tools · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-reasoning
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.20-reasoning-gv2
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.3
xAI · images · tools · reasoning · JSON schema
$1.25$0.20$2.501M$3.75
grok-4.5
xAI · images · tools · reasoning · JSON schema
$2.00$0.30$6.00500k$7.00
grok-4.6
xAI · images · tools · reasoning · JSON schema
$2.00$0.50$6.00500k$7.00
grok-4.7
xAI · images · tools · reasoning · JSON schema
$2.00$0.50$6.00500k$7.00

Source: the open LiteLLM model price map (MIT), checked daily. Batch, long-context and regional prices differ; always check the provider’s own pricing page before you commit. Spotted a wrong price? Tell us with “Report an error” on any post.