xAI Grok API Pricing (October 2026)

8 xAI models with API prices, USD per 1M tokens.

Lowest input price among xAI models
Grok Build 0.1 · $1.00
Longest context among xAI models
1M, shared by 4 models
xAI model prices, USD per 1M tokens
Source
Grok 4.20 (Non-Reasoning)$1.25$2.50$0.201Mmodels.dev
Grok 4.20 (Reasoning)$1.25$2.50$0.201Mmodels.dev
Grok 4.20 Multi-Agent$1.25$2.50$0.201Mmodels.dev
Grok 4.3$1.25$2.50$0.201Mmodels.dev
Grok 4.5$2.00$6.00$0.30500Kmodels.dev
Grok 4.6$2.00$6.00$0.50500Kmodels.dev
Grok 4.7$2.00$6.00$0.50500Kmodels.dev
Grok Build 0.1$1.00$2.00$0.20256Kmodels.dev

xAI price changes

No price changes recorded for xAI models yet.

Questions

How much does the xAI Grok API cost?
xAI lists 8 models. Input prices range from $1.00 (Grok Build 0.1) to $2.00 (Grok 4.5) per 1M tokens, and output prices range from $2.00 (Grok Build 0.1) to $6.00 (Grok 4.5) per 1M tokens.
Does xAI offer prompt caching or batch prices?
8 of 8 xAI models have a published cache read price, and 0 have a batch price.
How often are xAI prices updated?
We check prices every 6 hours; last checked Oct 10, 2026. These are xAI's list prices as compiled by models.dev.