Grok Build is xAI's terminal coding agent. It launched May 14, 2026 limited to SuperGrok Heavy at $300/mo. On May 24, 2026 xAI opened it to every SuperGrok ($30/mo) and X Premium+ ($40/mo) subscriber, so the agent now starts at $30/mo — genuinely cheap for a polished first-party terminal coding agent, the same ballpark as Claude Code and Codex CLI subscriptions.
The same intelligence is also a model called grok-build-0.1, sold token-by-token on the xAI API at $1.00/M input, $2.00/M output, with cached input at $0.20/M and a 256K context window. That puts the real question in different terms than a year ago: not "is $300 worth it" but "do I want a finished agent on a flat $30 sub, or metered tokens with my own CLI?"
$30 buys the polished agent; $1/M buys the same model à la carte.
TL;DR
Subscription or API: Pick by How Often You Use It
The decision now turns on usage volume and whether you want the first-party agent or your own CLI. A quick map:
| Your situation | Pick |
|---|---|
| Want the first-party Grok Build agent UX, polished, zero setup | SuperGrok ($30/mo) |
| Use Grok Build steadily on most working days | SuperGrok ($30/mo) |
| Want Grok 4 Heavy multi-agent reasoning plus max rate limits | SuperGrok Heavy ($300/mo) |
| Use it lightly, don't want a sub, or want your own CLI | API grok-build-0.1, pay-as-you-go |
| Want the cheapest Grok for high-volume long-context work | API Grok 4.1 Fast ($0.20/M input) |
| Want one key across Grok, Claude, GPT, and Gemini | A vendor-neutral gateway, pay-as-you-go |
The Ladder
What $30/mo Actually Buys
Grok Build is no longer gated behind the $300 tier. The consumer ladder now looks like this:
| Tier | Price / mo | Notable inclusion |
|---|---|---|
| Free | $0 | Basic Grok access |
| X Premium | $8 | Grok in X |
| SuperGrok Lite | $10 | Higher limits |
| SuperGrok | $30 | Grok Build agent included |
| X Premium+ | $40 | Grok Build agent + higher Grok limits |
| SuperGrok Heavy | $300 | Grok Build agent, Grok 4 Heavy, max rate limits |
So the line "you need $300 for Grok Build" is simply wrong now. The cheapest plan that includes the agent is $30 SuperGrok. That is genuinely cheap for a polished first-party terminal coding agent — same ballpark as Claude Code and Codex CLI subscriptions.
The $300 Heavy tier still exists, but its pitch has changed. It is no longer "the only way to get the agent" — it is the heavy-user tier: Grok 4 Heavy multi-agent reasoning, the highest rate limits, and priority during peak load. You step up to it for those specifics, not for the agent itself.
Under the Agent
The Model Behind Grok Build: grok-build-0.1
If you skip the subscription, the same intelligence is sold token-by-token on the xAI API as grok-build-0.1. The spec:
| Spec | Value |
|---|---|
| Input | $1.00 / M tokens |
| Cached input | $0.20 / M tokens |
| Output | $2.00 / M tokens |
| Context window | 256,000 tokens |
| Function calling | Yes |
| Structured outputs | Yes |
That is roughly 20% cheaper per token than the Grok 4.3 flagship ($1.25/$2.50), and it supports prompt caching — so repeated context drops to $0.20/M. For an agent that re-sends a large system prompt and the same files every turn, caching is where the real savings live. Pair the key with any open-source agent CLI that takes a custom OpenAI-compatible endpoint and you get most of the Grok Build experience for the cost of tokens you actually spend, with no subscription.
For an agent that re-sends the same context every turn, caching — not the headline rate — is where the savings live.
The Math
Per-Turn Cost and Break-Even Against the $30 Sub
A typical agentic coding turn is about 30K input tokens (instructions plus a few files) and 3K output. Run the numbers and the subscription-vs-API question becomes a usage-volume question.
With no caching, a turn costs input 30,000 × $1.00/1M = $0.030 plus output 3,000 × $2.00/1M = $0.006, so about $0.036 per turn. With caching (25K cached + 5K fresh), cached 25,000 × $0.20/1M = $0.005, fresh 5,000 × $1.00/1M = $0.005, output $0.006, so about $0.016 per turn. Against the flat subscriptions that include the agent, caching on, break-even lands like this:
How the break-even is built
Break-even = plan price ÷ per-turn cost with caching on (~$0.016). $30 ÷ $0.016 ≈ 1,875 turns; spread over 22 workdays that is ~85 turns/day. The same shape gives ~2,500 turns (~114/day) for X Premium+ at $40, and ~833 turns (~38/day) for $30 of metered use with caching off (~$0.036/turn).
| Plan / usage shape | Turns to match | Per workday |
|---|---|---|
| SuperGrok $30/mo (cached) | ~1,875 turns | ~85 turns/day |
| X Premium+ $40/mo (cached) | ~2,500 turns | ~114 turns/day |
| $30 metered, no cache | ~833 turns | ~38 turns/day |
Read that slowly: to extract $30 of metered value with caching, you need about 85 agent turns per working day. A developer using Grok Build most days clears that easily, so the $30 sub is usually better for steady daily use. The API wins for lighter cases — occasional use, no-sub people, own-CLI people. Below about 85 turns/day, metered is cheaper. This flips the old assumption: when the only plan was $300, almost everyone was better off metered. Now that the agent starts at $30, the math tips the other way for regular users.
Below ~85 turns/day metered wins; above it, the $30 sub caps your spend.
Even Cheaper
The Even-Cheaper Path: Grok 4.1 Fast
If cheapest-capable tokens matter more than the coding-specialized build model, Grok 4.1 Fast sits underneath grok-build-0.1 on price:
| Model | Input / M | Cached / M | Output / M | Context |
|---|---|---|---|---|
| Grok 4.1 Fast | $0.20 | $0.05 | $0.50 | 2M |
| grok-build-0.1 | $1.00 | $0.20 | $2.00 | 256K |
| Grok 4.3 (flagship) | $1.25 | $0.20 | $2.50 | 1M |
Grok 4.1 Fast is 5x cheaper on input than grok-build-0.1 and carries a 2M-token context window. The headline "$0.20/M" is that input rate — the floor price for touching a Grok model at all in 2026. The tradeoff is that it is a general fast model, not the coding-specialized build model, so for heavy refactoring agents you may prefer grok-build-0.1's tuning. For batch summarization, retrieval over big documents, or cost-sensitive pipelines, Grok 4.1 Fast is the obvious call.
Pick by tuning, not just price
Grok 4.1 Fast wins on raw cost and context size. grok-build-0.1 wins when the work is coding and the model's tuning matters. They are different tools — the cheaper token is not always the right one.
How to Run It
Running a Grok Model Pay-As-You-Go
The xAI endpoint is OpenAI-compatible, so it is a two-line change in any existing OpenAI SDK setup. The grok-build-0.1 path goes straight to xAI — the only place that model lives today. General Grok pay-as-you-go can also route through an aggregator.
Python — grok-build-0.1 on the xAI API
from openai import OpenAI
client = OpenAI(api_key="XAI_API_KEY", base_url="https://api.x.ai/v1")
resp = client.chat.completions.create(
model="grok-build-0.1",
messages=[{"role": "user", "content": "Refactor this function for readability."}],
)
print(resp.choices[0].message.content)Node — same shape
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "XAI_API_KEY", baseURL: "https://api.x.ai/v1" });
const resp = await client.chat.completions.create({
model: "grok-build-0.1",
messages: [{ role: "user", content: "Write tests for this module." }],
});
console.log(resp.choices[0].message.content);Drop the same key into an open-source agent CLI — Cline, Aider, OpenCode, and others all accept a custom base URL and model name — and you have a Grok coding agent that bills per token instead of per month.
One key across providers
If you route across Grok, Claude, GPT, and Gemini, a vendor-neutral OpenAI-compatible gateway gives you one key and one base URL across providers. Not all gateways carry grok-build-0.1 specifically — for the build model, hit xAI directly.
When the Sub Wins
When the Subscription Still Wins
This is not a "never subscribe" article. The $30 SuperGrok plan earns its keep in four concrete cases:
- Steady use past ~85 turns/day. Past that point the $30 SuperGrok plan is cheaper than metered and caps your spend, with no bill anxiety.
- First-party agent polish. A supported Grok Build install with zero glue code has real value when your time is expensive, and $30 is a low price for it.
- Grok 4 Heavy. The multi-agent reasoning model with parallel test-time compute is a SuperGrok Heavy ($300) inclusion, not an API line item you casually meter the same way.
- Max rate limits and priority. Heavy users hitting throttles on lower tiers pay the $300 tier for headroom and priority during peak load.
The mistake now is assuming you must pay $300 for the agent at all. You don't. Start at $30, and step up to Heavy only if you specifically need Grok 4 Heavy or the top rate limits. If your usage is light, skip the sub and meter the model.
When Not
When NOT to Use Either
Two cases where the Grok decision is the wrong question to be asking:
Don't anchor on Grok just because Grok Build made headlines. The coding-agent field is competitive, and brand headlines are not a selection criterion.
Not committed to Grok
For pure coding-agent work, Claude Code and Codex CLI are bundled into ~$20/mo plans, and many developers find their coding quality competitive. If you have no specific reason to land on Grok, the field is open.
Cheapest tokens regardless of brand
If your priority is cheapest-capable tokens regardless of brand, compare Grok 4.1 Fast against other budget tiers before locking in. Grok's edges are real-time X search and the 2M-context Fast tier; if you don't need those, the decision opens back up.
Brand headlines are not a selection criterion. Pick by cost-per-outcome.
Alternatives
Alternatives at a Glance
Five routes, ranked by which kind of buyer each fits:
SuperGrok ($30/mo)
Cheapest plan including the first-party Grok Build agent. Best for steady daily use.
xAI API direct
The only home of grok-build-0.1 today. Pay-as-you-go, OpenAI-compatible, no floor. Best for light use or your own CLI.
Vendor-neutral OpenAI-compatible gateway
One key across Grok flagship tiers, Claude, GPT, Gemini, and more. Good when you route across providers. Not all gateways carry grok-build-0.1 — for the build model, hit xAI directly.
SuperGrok Heavy ($300/mo)
Grok 4 Heavy plus max rate limits plus priority. The heavy-user tier, not a requirement for the agent.
Claude Code / Codex CLI
Coding agents bundled at ~$20/mo if you're not married to Grok.
References
References
- xAI Docs, grok-build-0.1 model page: https://docs.x.ai/developers/models/grok-build-0.1
- xAI News, Grok Build CLI access expansion: https://x.ai/news/grok-build-cli
- xAI Docs, models index: https://docs.x.ai/developers/models
- OpenRouter, Grok 4.3 pricing and specs: https://openrouter.ai/x-ai/grok-4.3
About FACTA
FACTA is an AI consulting firm. We help teams reason about subscription-versus-API decisions the way we reason about model selection: by cost-per-outcome at real usage volume, not by headline price or brand.
We write these guides because pricing tiers move, agents get unbundled, and the honest answer is usually "it depends how often you use it." The discipline is to start at the cheapest plan that includes what you need and step up only for a specific reason — a specific model, a specific rate limit, a specific workflow.
If you want a vendor-neutral read on whether a flat $30 sub, a $300 heavy tier, or metered tokens fit your team's actual usage, we can help.
Vendor-neutral by design. Start at the cheapest plan that fits, step up for a reason.