arrow_back All posts
The Cheapest Way to Use Grok for Coding in 2026
cheapest way to use grokgrok coding costgrok build pricingsupergrok pricegrok api pricing 2026grok 4.6 costgrok vs cursor price

The Cheapest Way to Use Grok for Coding in 2026

The cheapest way to use Grok for coding depends on how you work: API tokens from about $1 per million, Cursor Pro at $20 with a dedicated Grok pool, or SuperGrok at about $30. What each route really costs.

Sofia Reyes · Growth & Research · September 21, 2026 · 5 min read

Grok reaches developers through four doors that bill like four different products — a grok.com subscription, an X subscription, Cursor, and a pay-per-token API — so "what does Grok cost?" has no single answer. The cheapest route depends on how you code, and the sticker price rarely tells you which one that is.

As of September 2026, here's where each route sits and how to pick.

What Grok costs right now

  • Free. The Grok Build CLI has a free allowance with a cap we couldn't find published; hit it and the banner points you at SuperGrok. Free Chat and Voice sit outside the paid pool.
  • SuperGrok — about $30/month. The standalone grok.com plan, and the cheapest one we can confirm includes Grok Build. Lite (about $10), Plus (about $100), and Heavy (about $300) sit around it — check the plan page before assuming Lite includes the CLI.
  • X Premium+ — about $40/month. Bundles Grok with X features; a weak buy if all you want is AI.
  • Cursor Pro — $20/month (Pro+ $60, Ultra $200). Per Cursor's docs, a separate Cursor Models pool carries significantly more included usage for Cursor's Grok 4.6, Grok 4.5, and Composer 2.5. Since August 26, Cursor Pro also includes Grok Bot, which xAI says has its own separate usage.
  • API — pay per token. xAI's docs list Grok 4.6 at $2 per million input tokens and $6 per million output, with a 500K context window. Pricing trackers (CostGoat, September 5) report Grok 4.3 at $1.25/$2.50 and Grok Build 0.1, the coding model, at $1/$2 with a 256K context. There's no subscription, so a quiet week costs nothing.
The Cheapest Way to Use Grok for Coding in 2026

Connect the Claude or Codex you already pay for — the rest runs on workers that cost a fraction.

Download meshcode →

Why the sticker price misleads

Paid Grok plans don't buy a number of tokens. Per xAI's FAQ, they buy a weekly usage pool shared across Chat, Imagine, Voice, and Build, and different products drain it at different rates — "running a long coding task uses far more" than a chat message. At 100%, paid features pause until the weekly reset; you can buy Extra Usage Credits (from $5, web only, expiring after a year, billed at standard rates), turn on Auto Top Up, or upgrade. xAI's own advice is that if you regularly run out, upgrading beats repeated top-ups. It publishes no token figure for the pool, so your usage screen — not the tier name — is the only way to know whether an upgrade helps. Our Grok usage limit guide walks through the messages you'll see.

Route Price What meters it Fits
Free Grok Build $0 Unpublished free allowance Trying it out
API (Build 0.1 / Grok 4.3) ~$1–1.25 in, ~$2–2.50 out per 1M tokens Pay per token, prepaid Light or bursty use
Cursor Pro $20/mo Monthly Cursor Models pool Editor-first daily coding
SuperGrok ~$30/mo Shared weekly pool Terminal agent plus chat
SuperGrok Plus ~$100/mo Larger weekly pool Only if $30 runs out early

What a session costs on the API

At the listed cache-miss rates, a 100K-token prompt with a 2K-token answer costs about $0.10 on Grok Build 0.1, $0.13 on Grok 4.3, and $0.21 on Grok 4.6. Grok 4.6 costs more than the other two on every line — input, cached input, and output — so it's worth reserving for the hard tasks. Agent sessions re-read the same context constantly, which is why cached input (reported around $0.20 per million on Build 0.1 and Grok 4.3, $0.50 on Grok 4.6) matters more than the headline rate.

Two gotchas: requests above roughly 200K tokens bill at higher long-context rates, and pricing guides report that older Grok model names now route to Grok 4.3 — so a cost estimate built on an old model string can be wrong without any code change.

Which route is cheapest for you

  1. A few sessions a week: the API. Nothing accrues while you're idle, and Grok Build 0.1 is the cheapest model on the list. It fits your own scripts or a third-party agent, and prepaid credits cap the spend.
  2. Daily work in an editor: Cursor Pro. $20 undercuts SuperGrok's $30 and includes the dedicated Grok pool. The trade-off is that it's an editor, not the Grok Build CLI, and once the monthly pool runs out, on-demand usage is billed at API rates. Our cheapest way to use Cursor guide covers those tiers.
  3. A terminal agent all week: SuperGrok. Step up to Plus only if your usage screen shows the pool running out before the weekly reset.

Prices and pool sizes move, so confirm on grok.com/plans and in Settings → Usage on the day you buy. And whichever route you pick, the biggest saving is what you never send: in How to Make Your Grok Subscription Last Longer we measured that the files an agent reads on its own, not the prompts you type, are what burn a Grok Build session.

The meshcode angle

meshcode is a native desktop app for Mac and Windows built around running several agents in separate panes. It's free to start with no subscription: pay-as-you-go, top up from $1, a flat 5% + $0.50 fee at top-up time, tokens billed at cost, and prepaid spending so there are no overages. If you already pay for Grok, Claude, or Codex, connect their CLIs in their own panes — those providers bill you directly, with no extra meshcode token charge — and send routine work to a cheap pane so your Grok pool goes to the tasks that need it. Budget-friendly, not the floor: Grok Build's free allowance costs nothing, and a quiet month on the API can come in under any plan on this page.

See the pricing yourself: meshcode is free to start — download it

👉 Download meshcode — Mac, Windows