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
| Model | Provider | List monthly | Effective monthly | Verbosity | Rank Δ |
|---|---|---|---|---|---|
| Grok-3 Minibudgetlegacy | xAI | $114 | $114 | — | — |
| Grok 4.3mid | xAI | $775 | $849 | 1.42× | — |
| Grok-3midlegacy | xAI | $1,240 | $1,240 | — | — |
| Grok-4.20 Reasoningmid | xAI | $1,380 | $1,380 | — | — |
| Grok-4.20mid | xAI | $1,380 | $1,380 | — | — |
Levers live on xAI
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.
