Models & APIs / Grok API pricing Verified 9 Nov 2026, 12:00 UTC Source docs.x.ai/developers/pricing

Grok API pricing

by xAIper 1M tokens
$2.00 / 1M outputGrok Build 0.1 · the cheapest model

Grok API costs $1.00–$2.00 per 1M input tokens and $2.00–$6.00 per 1M output tokens. Output tokens cost several times more than input, so long answers drive the bill.

Cheapest output$2.00Grok Build 0.1 · per 1M
Top model$6.00Grok 4.5 · per 1M output
Or subscribe$8/moGrok Plus

Every model, per 1M tokens

USD list price, before batch or volume discounts
ModelInputOutputCached inputContext
Grok 4.7$2.00$6.00$0.50500K
Grok 4.6$2.00$6.00$0.50500K
Grok 4.5$2.00$6.00$0.30500K
Grok 4.3$1.25$2.50$0.201M
Grok 4.20 Reasoning$1.25$2.50$0.201M
Grok 4.20 Non-Reasoning$1.25$2.50$0.201M
Grok 4.20 Multi-Agent$1.25$2.50$0.201M
Grok Build 0.1$1.00$2.00$0.20256K
Bill estimate

What will you pay?

$120.00
per month on Grok 4.5

Other model APIs

Compare all models →
Prices from docs.x.ai/developers/pricing How we collect prices Some links are affiliate links; they never change the prices or the order shown. Disclosure