Polarison

Grok API pricing

xAI charges per million tokens, with a lower rate for the tokens you send than for the tokens the model writes. The 3 Grok models we track run from $1.25 / $2.50 (Grok 4.3) to $2.00 / $6.00 (Grok 4.6).

Prices from xAI’s official pricing page, verified October 3, 2026.

Every Grok model, cheapest first

USD per 1M tokens, standard tier.

ModelInputCached inputOutputLong contextBatchContext
Grok 4.3
grok-4.3
$1.25$0.20$2.50$2.50 in / $5.00 out above 200K prompt tokens—1M tokens
Grok 4.7
grok-4.7
$2.00$0.50$6.00$4.00 in / $12.00 out above 200K prompt tokens—500K tokens
Grok 4.6
grok-4.6
$2.00$0.50$6.00$4.00 in / $12.00 out above 200K prompt tokens—500K tokens

Grok API cost calculator

Standard-tier list prices. Long-context rates apply automatically where the provider publishes a threshold. Excludes cache-write surcharges, taxes, batch and volume discounts.

Pricing details by model

Grok 4.3
  • Requests with 200K or more prompt tokens are billed at $2.50 input / $0.40 cached / $5 output for all tokens.
Grok 4.7
  • Requests with 200K or more prompt tokens are billed at $4 input / $1 cached / $12 output for all tokens.
  • Web Search costs $5 per 1,000 calls; X Search is billed per item fetched, at $5 per 1,000 posts and $10 per 1,000 user profiles.
Grok 4.6
  • Requests with 200K or more prompt tokens are billed at $4 input / $1 cached / $12 output for all tokens.
  • Web Search costs $5 per 1,000 calls; X Search is billed per item fetched, at $5 per 1,000 posts and $10 per 1,000 user profiles.

Recent Grok pricing changes

  • xAI X Search moves to per-result billing

    From 12:00 PM PT, the X Search tool is billed at $5 per 1,000 posts fetched and $10 per 1,000 user profiles fetched, replacing $5 per 1,000 calls.

All pricing changes

Frequently asked questions

How much does the Grok API cost?
Grok API prices range from $1.25 input / $2.50 output per 1M tokens for Grok 4.3 to $2.00 / $6.00 for Grok 4.6. A support chatbot handling 100,000 replies a month costs about $287.50 on Grok 4.3.
What is the cheapest Grok model?
Grok 4.3, at a blended $1.563 per 1M tokens (3 input : 1 output) — 48% less per token than Grok 4.6.
Which Grok model is the most capable?
Grok 4.6 has the highest Epoch Capabilities Index of the Grok models we track (156.3), at $2.00 input / $6.00 output per 1M tokens.