xAI API Cost Calculator

How much does the xAI API cost per month?

Across xAI's 5 priced models at 200K calls/month, the cheapest is Grok-3 Mini at $114 per month, verbosity-adjusted rather than list price. The most expensive, Grok-4.20 Reasoning, runs $1,380 per month for the identical call shape.

Verified 2026-08-08

Raw dataset: data.json. Data as of August 2026.

Ranked cost — 200K calls/month

ModelProviderList monthlyEffective monthlyVerbosityRank Δ
Grok-3 MinibudgetlegacyxAI$114$114
Grok 4.3midxAI$775$8491.42×
Grok-3midlegacyxAI$1,240$1,240
Grok-4.20 ReasoningmidxAI$1,380$1,380
Grok-4.20midxAI$1,380$1,380

Levers live on xAI

Model verbosity: up to 94%Context trimming: up to 47%

The billing gotcha

Grok's API has no published prompt-caching or batch discount as of this page's verification, so every call bills at the same list rate this calculator uses — there is no toggle here that will find you a hidden saving on xAI's current lineup, only faster or cheaper models within it.

Related

xAI provider profile →Compare against another provider →Global cost calculator →How to reduce LLM API costs →