Grok API pricing calculator
Estimate monthly API spend before you build. Choose a model, request volume and token sizes, then convert the result into a practical display currency.
API cost comes from tokens, not a flat chat subscription. You pay for what you send to the model and what it sends back. Output is usually the part that surprises teams, because a verbose answer or reasoning-heavy task can produce far more tokens than a short prompt.
This calculator uses the shared model data last checked on 2026-07-22. It is a planning tool, not a quote. Verify current rates in the official xAI API pricing docs before setting a budget.
A sensible estimate workflow
What the calculator does not include
- Official pricing includes separate rates for cached input, search tools, image output, video output, voice, files and collections.
- The xAI API pricing table lists dated 4.20 model variants. Treat those as versioned API options, not the main consumer-facing model lineup.
- API prices are separate from SuperGrok subscriptions. A chat plan does not automatically include API usage.
Frequently asked questions
Need the API basics first?
Read the API hub or quickstart before estimating production volume.
supergrok.info is an independent guide and resource site. It is not xAI, Grok, X, or an official login, billing, API, app, or support channel. For passwords, subscriptions, API keys, billing, app downloads, account access, incidents and support, use official xAI and Grok links. Grok and xAI are trademarks of their respective owners. This site uses those names only to describe and reference the product.