AiCost

Grok Cost Calculator — API Tokens and SuperGrok Subscriptions

Who this is for: For anyone deciding between paying per token for the Grok API and paying a flat monthly SuperGrok subscription.

Price Grok API usage and SuperGrok subscriptions side by side.

Quick answer: Grok is priced two ways: API per token, or a flat SuperGrok subscription. Grok 4 API is $3.00 in / $15.00 out per 1M tokens (cached $0.75); Grok 4 Fast is $0.20 / $0.50 (cached $0.05). SuperGrok is $30/month and SuperGrok Heavy $300/month. A 10M-in / 2M-out month is $60.00 on Grok 4 and $3.00 on Grok 4 Fast.

tok
tok
tok

cached rate $0.125/M

Total cost
$32.50
GPT-5 · list price
Input side
$12.50
10,000,000 tok
Output side
$20.00
2,000,000 tok
OpenAI / Anthropic / DeepSeek / Grok formats · 100% client-side
Input (10,000,000 tok)$12.50
Output (2,000,000 tok)$20.00
Total$32.50
Price-check habit: the same 10M-in / 2M-out workload runs $32.50 on GPT-5, $60.00 on Claude Sonnet 4.5 and $3.64 on DeepSeek V3 — benchmark your own tasks before paying flagship prices.
All list prices per 1M tokens, verified Oct 2026 from each provider's pricing page. Tiered context pricing (Gemini >200k), batch discounts and taxes not reflected. Parsing runs client-side — nothing you paste leaves this page.
Core facts
Grok 4 API$3.00 in / $15.00 out /1M
Grok 4 Fast$0.20 in / $0.50 out /1M
Cached input$0.75 (Grok 4) · $0.05 (Fast)
SuperGrok$30 / month
SuperGrok Heavy$300 / month
StatusList prices collected Oct 2026 from each provider's public pricing page. Providers change tiers often — always confirm on the official page before billing decisions.

How much does Grok cost?

Grok is priced two ways. The API bills per token: Grok 4 at $3.00 input / $15.00 output per million tokens with cached input at $0.75, and Grok 4 Fast at $0.20 / $0.50 with cached input at $0.05 — a 15× gap between the two models on input. The consumer product is flat-rate: the free tier on X costs nothing, SuperGrok is $30/month, and SuperGrok Heavy is $300/month. The crossover matters. A 10M-input / 2M-output month costs $60.00 on Grok 4 and $3.00 on Grok 4 Fast; both are cheaper than SuperGrok if you only need API access, but the subscription also buys the chat interface, image generation and higher rate limits that per-token billing does not include.

Common uses

  • Pricing a Grok API workload per month before committing
  • Deciding whether SuperGrok's flat $30 beats per-token API billing
  • Comparing Grok 4 against Grok 4 Fast for cost-sensitive jobs
  • Checking how much cached input saves on a Grok 4 agent workload

API or subscription — how to decide

Work out your monthly token volume from the API table first. If a typical month costs well under $30, per-token billing is the cheaper route and you keep pay-as-you-go flexibility. The subscription only wins when you would otherwise be paying more than $30/month in tokens, or when you specifically need the consumer product's chat interface and image generation, which the API does not provide. Note that the two are not interchangeable: an API key does not unlock the Grok app, and a SuperGrok subscription does not give you programmatic access.

Frequently Asked Questions

How much does the Grok API cost?
Grok 4 is $3.00 per million input tokens and $15.00 per million output tokens, with cached input at $0.75/M. Grok 4 Fast is $0.20 input and $0.50 output, with cached input at $0.05/M. Prices are xAI's published list rates.
Is SuperGrok worth it compared with the API?
They buy different things. SuperGrok at $30/month is a consumer subscription covering the Grok chat product, image generation and higher usage limits in the app. The API is billed per token and is meant for programmatic access. If you only need to call the model from code, per-token usually wins at low volume; if you want the product itself, the subscription is the only route.
What is SuperGrok Heavy?
The $300/month top tier, which buys the highest usage limits and priority access to the most capable models. It is aimed at heavy daily users who hit the $30 tier's ceilings, and it costs more per year than most small API workloads at typical volumes.
Is Grok 4 Fast much cheaper?
Yes, substantially: $0.20/$0.50 against Grok 4's $3.00/$15.00 per million tokens — about 15× cheaper on input and 30× on output. The trade-off is capability. For classification, extraction and routing, the fast model is usually the better economic choice; for harder reasoning the cheaper model can consume more tokens to reach an answer.
How does prompt caching affect Grok cost?
Cached input is billed at $0.75/M on Grok 4 (against $3.00/M uncached) and $0.05/M on Grok 4 Fast (against $0.20/M) — a 75% discount on the cached portion. Agent workloads that re-send the same long system prompt and tool definitions on every call see the largest savings.

More API cost

Related guides