Update: May 25, 2026
xAI broadened the beta nine days after the original launch. Three things changed that materially affect the comparison below:
- ●Access opened up. Grok Build is now in beta for all SuperGrok ($30 / mo) and X Premium+ ($40 / mo, web) subscribers, not just SuperGrok Heavy. The pricing gap with Claude Code has narrowed from roughly 15x to roughly 1.5x.
- ●Windows native installer shipped.
irm https://x.ai/cli/install.ps1 | iexruns Grok Build on Windows PowerShell directly. WSL2 is no longer required. The Windows-native advantage Claude Code held at the May 14 launch is closed. - ●The broader rollout runs on Grok Build 0.1, not Grok 4.3 Heavy. Context window dropped from 2M (Heavy-only) to 256K on the default model. Claude Opus 4.7's 1M is now larger than the default Grok Build context window. The "2M context" advantage below applies only to the SuperGrok Heavy tier.
The rest of the post below is preserved as a record of what was true on May 14 to 16, 2026. Inline notes call out each point that the May 25 update changes.
xAI shipped Grok Build on May 14, 2026 as an early beta for SuperGrok Heavy subscribers. The product is unmistakably aimed at Claude Code's lane: an agentic CLI that lives in your terminal, runs subagents, takes plans, calls tools, and edits files.
The most surprising design decision is the one most blog coverage has missed. Buried in the docs at docs.x.ai/build/features/skills-plugins-marketplaces, xAI states that Grok Build:
"automatically integrates with Claude Code and readsAGENTS.mdfamily files alongside user-level skills from~/.agents/skills/and~/.agents/commands/."
xAI looked at the ecosystem Anthropic built around Claude Code, decided not to fight it, and instead made Grok Build a drop-in that consumes the same skills, the same commands, and the same agent file format. That is not an accident. It is the entire compatibility posture.
This post walks through what each CLI does, where each one wins, and what the pricing tiers actually buy you. (At the May 14 launch the headline gap was $300 / mo vs $20 / mo; after the May 25 update it is closer to $30 / mo vs $20 / mo, see the update notice above and the inline notes throughout.)
The Two-Line Summary
If you only read one paragraph: Grok Build is the heavier, more expensive, more parallelism-focused tool with a stronger plan-mode TUI and an interesting ACP-first stance. Claude Code is the cheaper, more mature, more Windows-friendly tool with a deeper IDE story, a bigger MCP catalog, and a much lower entry cost. Both read the same skill format. Both have plan mode. Both have headless scripting with JSON output. Both have hooks. The convergence is the real story.
Install and Auth, Side by Side
| Grok Build | Claude Code | |||
|---|---|---|---|---|
| Install | macOS / Linux: `curl -fsSL https://x.ai/cli/install.sh | bash · Windows (added May 25): irm https://x.ai/cli/install.ps1 | iex` | npm install -g @anthropic-ai/claude-code OR claude install stable (native, no Node) OR VS Code extension |
| Platforms | macOS, Linux, Windows native (PowerShell, added May 25) | macOS, Linux, Windows native, VS Code Remote-SSH, JetBrains | ||
| Auth | Browser login OR GROK_CODE_XAI_API_KEY env var | Browser login OR Claude Max subscription OR ANTHROPIC_API_KEY | ||
| Subscription floor | SuperGrok at $30 / mo or X Premium+ at $40 / mo (web) as of May 25. SuperGrok Heavy ($300 / mo) is still required for Grok 4.3 Heavy with 2M context. | Claude Pro: $20 per month entry. Or Claude Max ($100 / $200 per month tiers) for heavier use. Or API-token billing via the Agent SDK. |
May 25 update: The Windows gap described in the original post has closed. xAI shipped a native PowerShell installer the same day they opened the beta to SuperGrok and X Premium+. The "WSL2-only" framing below applies to the May 14 launch state, not current state.
The Windows gap is bigger than it sounds. Many enterprise dev shops are Windows-first. Grok Build at launch pushes those users to WSL2, which is fine for hobbyists and rough for IT-controlled fleets where WSL is gated.
Where Grok Build Wins
Native Parallel Subagents with Git Worktrees
Grok Build ships up to 8 concurrent subagents, and each one can run in its own git worktree so they do not clobber each other's working trees. That is a real workflow win for monorepo refactors where you want one agent migrating tests, another agent renaming a module, and a third agent updating dependent files, all in parallel without merge conflicts.
Claude Code can do parallelism via the Task tool, but you wire the worktree split yourself. Grok Build makes it the default.
Plan Mode as a Graph, Not a Wall of Text
Claude Code's plan mode produces a text-based plan you read top to bottom. Grok Build's /plan produces a structured graph of sub-tasks rendered in the TUI, with per-node status (pending, running, done, blocked). For complex refactors with branching dependencies, that visualization beats a flat list.
Pasquale Pillitteri's comparison piece calls this out specifically: *"The difference from Claude Code's plan mode is that the plan here is structured as a graph of sub-tasks."*
ACP as a First-Class Binary Mode
This one is the quiet sleeper feature. The command grok agent stdio runs Grok as an Agent Client Protocol agent over JSON-RPC on stdin and stdout. That means you can put Grok Build behind another orchestrator, including Claude Code, as a subordinate worker. ACP is an open standard, so this works across vendors.
Anthropic's first-party answer is MCP, which goes the other direction: Claude Code is the host that calls MCP servers as tools. The two protocols solve different halves of the same problem, and right now Grok Build is the only major CLI shipping both.
2M Token Context Window (Heavy Only as of May 25)
Grok 4.3 Heavy's 2M context is double Opus 4.7's 1M. For very large monorepo work, full-codebase audits, cross-package refactors, long-running planning sessions, that headroom matters. Whether you will actually use it depends on whether your prompts and tool outputs are doubling in size, but the ceiling is higher.
May 25 update: This advantage now only applies on the $300 / mo SuperGrok Heavy tier. The broader rollout for SuperGrok ($30 / mo) and X Premium+ ($40 / mo) runs on Grok Build 0.1 with a 256K context window, which is smaller than Claude Opus 4.7's 1M. So for most newly-eligible Grok Build users, this column flips: Claude Code has the larger context, not Grok Build.
A Weird-But-Real Grab Bag of Commands
Grok Build's slash-command surface includes things that simply do not exist in Claude Code:
- ●
/imagineand/imagine-video: Grok Imagine wired directly into the coding CLI. One tool for code and assets. - ●
/dream: runs an offline memory consolidation pass. Like a defrag for the agent's persistent memory. - ●
/btw: ask a side question without interrupting the current task. - ●
/share: generates a session URL for handoff. - ●
/fork: fork the current session.
None of these change the fundamental productivity math for a working dev, but they are real and they are useful and they are not in Claude Code.
Where Claude Code Wins
Price, Still Cheaper, But Not By 15x Anymore
Claude Code's lowest paid tier is Claude Pro at $20 per month, which gives you metered Claude Code access on Sonnet 4.6. Claude Max scales the usage cap up: $100 per month for the 5x tier and $200 per month for the 20x tier with full Opus 4.7 access in the CLI. If you prefer pay-per-use, the underlying Anthropic API is available through the Agent SDK.
At the May 14 launch Grok Build required a SuperGrok Heavy subscription at $300 per month list price ($99 per month for the first six months as an intro), so Claude Pro was roughly 15x cheaper than the only Grok Build entry point.
May 25 update: xAI opened the beta to SuperGrok at $30 / mo and X Premium+ at $40 / mo (web). The entry-tier price gap shrinks from 15x to roughly 1.5 - 2x. Claude Code is still cheaper at the floor, and still the only $20-a-month entry, but the "CFO memo" framing below applies only to SuperGrok Heavy now, not to Grok Build access in general.
If you already pay for SuperGrok or X Premium+ for other reasons, the marginal cost of Grok Build is zero. For users specifically choosing a coding CLI from scratch, Claude Pro at $20 / mo is still the lowest-friction entry point in the genre.
Windows Native Support (Resolved May 25)
Get the Weekly IT + AI Roundup
What changed this week in NinjaOne, ServiceNow, CrowdStrike, and AI. One email, every Monday.
No spam, unsubscribe anytime. Privacy Policy
Claude Code runs natively on Windows. At the May 14 Grok Build launch, Windows users were pushed to WSL2 or Git Bash. The Hacker News thread on the launch highlighted this specifically as a meaningful gap for enterprise adoption.
May 25 update: xAI shipped a native Windows PowerShell installer (irm https://x.ai/cli/install.ps1 | iex) the same day they opened the beta to SuperGrok and X Premium+. This advantage no longer exists. Both CLIs now run natively on Windows.First-Party IDE Extensions
Claude Code ships VS Code and JetBrains plugins with full feature parity to the CLI. The VS Code extension supports Remote-SSH workflows out of the box. Grok Build is TUI-only at launch. Some outlets imply "VS Code support" but xAI's own docs only mention generic "use with code editors" guidance.
A Mature MCP Catalog
Both CLIs support MCP. The difference is that Claude Code has been shipping MCP since early 2025, and the community catalog includes hundreds of servers: Playwright, Figma, Notion, ServiceNow, Snowflake, Supabase, dozens of databases, and so on. Grok Build's MCP support is real but the catalog at launch is functionally empty by comparison. You can run the same MCP servers under both, but Claude Code's ecosystem maturity means more things "just work."
Background Process Model
Claude Code has a first-class background process story:
- ●
Bashtool withrun_in_background: true - ●
Monitortool that streams events from background processes without polling - ●
loopskill for interval-based work - ●
scheduleskill for cron-style remote agents
Grok Build's answer is "use cron and headless mode." That works, but it is a step backward from a UX standpoint.
Web Tools Out of the Box
Claude Code has first-class WebFetch and WebSearch tools. Grok Build pushes those to plugins or MCP. Most agents need to read documentation pages and search the web at some point; having it native is friction-free.
Compliance Posture for European Enterprise
Pasquale Pillitteri's coverage flags that xAI has not yet published a standard DPA (Data Processing Agreement) for Grok Build, while Anthropic has. That alone will slow European enterprise adoption of Grok Build for months. Not a feature comparison so much as a procurement comparison.
Benchmarks Land "Close, But Not Ahead"
Third-party reporting places Grok 4.3 Heavy "very close to Opus 4.7 and GPT-5.5, but not ahead" on SWE-bench Verified, LiveCodeBench, and HumanEval+. So you are not paying $300 per month for a smarter model. You are paying for the parallelism, the context window, and the integrated TUI tooling.
Pricing, the Unflinching Version (Updated May 25)
| Grok Build | Claude Code | |
|---|---|---|
| CLI itself | Closed-source binary (free to download) | Closed-source binary (free to download) |
| Required subscription (May 25) | SuperGrok ($30 / mo) or X Premium+ ($40 / mo web) or SuperGrok Heavy ($300 / mo) | Claude Pro at minimum |
| Default model / context | Grok Build 0.1 / 256K (Heavy unlocks Grok 4.3 Heavy / 2M) | Sonnet 4.6 or Opus 4.7 / 1M |
| Subscription tiers | SuperGrok $30 / mo · X Premium+ $40 / mo · SuperGrok Heavy $300 / mo (intro $99 / mo for 6 mo on Heavy) | Pro $20 / mo · Max 5x $100 / mo · Max 20x $200 / mo |
| Pay-per-use option | API path exists (Grok Build 0.1: $1 / M input, $2 / M output) | Anthropic API via the Agent SDK |
| Free tier | None | None for the CLI itself; Claude.ai web has a free tier but it does not include CLI access |
| Year-1 cost, solo dev (entry) | $360 (SuperGrok at $30 / mo), was $1,800 to $3,600 before May 25 | $240 (Pro at $20 / mo) |
| Year-1 cost, solo dev (heavy use, full Heavy / Max-20x) | $3,600 (SuperGrok Heavy list) | $2,400 (Max 20x at $200 / mo) |
For an individual contributor, the entry-tier gap is now small enough that the choice turns on features and ecosystem, not price. At the heavy / top tier, Claude Code is still ~$1,200 / year cheaper than SuperGrok Heavy. For a team that is already a SuperGrok or X Premium+ customer, the Grok Build marginal cost is zero.
The Convergence Story Nobody Is Writing
Step back from the feature-by-feature comparison and notice the bigger pattern. Both tools have:
- ●Markdown-based skills with the same folder layout
- ●A plan mode that pauses for approval before writes
- ●Headless scripting mode with
-p "prompt"and a--output-format streaming-jsonoption - ●A slash-command surface with custom user commands
- ●Hooks for pre/post tool events
- ●A permission model with a "yolo / always-approve" escape hatch
- ●MCP server support
- ●Per-session, per-project, and per-user config layers
The differentiation is at the edges. ACP versus MCP. Worktrees versus none. 2M versus 1M context. $300 versus free. Windows versus no-Windows. The genre is converging.
This is the same arc we saw with code editors in 2018. The "editor with LSP support" became table stakes, and competition moved up the stack to extensions, UX polish, and ecosystem. The "agentic CLI" is now a genre, and the conventions are stabilizing.
Who Each One Is Actually For
Grok Build is for you if:
- ●You already pay for SuperGrok ($30 / mo), X Premium+ ($40 / mo), or SuperGrok Heavy ($300 / mo) and the marginal cost is zero
- ●You do a lot of monorepo refactors and want 8 agents running in parallel worktrees
- ●You want a TUI with a visual plan graph
- ●You are building multi-agent orchestrators and want ACP support out of the box
- ●You also use Grok Imagine and want a single CLI for code and assets
- ●You need 2M context specifically (Heavy tier only); otherwise Grok Build 0.1's 256K is actually smaller than Claude Opus 4.7's 1M
Claude Code is for you if:
- ●You are a solo dev or small team and want the lowest entry tier in the genre at $20 / mo
- ●You live in VS Code or JetBrains and want first-party integration
- ●You depend on community MCP servers (Playwright, Figma, ServiceNow, Snowflake, etc.)
- ●You need first-class background process management
- ●You need a vendor with a published DPA for European enterprise
- ●You want 1M context on the default model without paying for a Heavy / Ultra tier
- ●You want to start at the $20-a-month Pro tier and scale into Max tiers as usage demands
You can run both side by side. Grok Build reads ~/.agents/skills/ and AGENTS.md, so your existing Claude Code skills work in Grok Build with zero porting. Skill-level investment is portable. Workflow-level investment (slash commands, hooks, MCP servers) needs some translation but the formats are similar enough that the lift is manageable.
The Honest Verdict
There is no winner. There is a clearer-than-expected picture of who each tool serves:
- ●If you are cost-conscious, Claude Code still wins at the floor at $20 / mo vs Grok Build's new $30 / mo SuperGrok entry. The gap is no longer dramatic, but Claude Code is still the cheapest way into an agentic CLI.
- ●If you are already in the xAI ecosystem with SuperGrok, X Premium+, or SuperGrok Heavy, Grok Build is worth turning on today. The parallel-subagents-in-worktrees pattern and the plan graph are genuinely better workflows for heavy refactor work, and the marginal cost is zero. (Windows users: the May 25 PowerShell installer removed the platform blocker.)
- ●If you are starting fresh today and have no allegiance, Claude Code is still the lower-risk pick because the ecosystem is more mature, the IDE story is better, and Anthropic has a published DPA. But the platform gap is much smaller after May 25 than it was on May 14.
The convergence means switching costs are dropping over time. By late 2026, the choice between agentic CLIs may matter about as much as the choice between code editors does today: meaningful at the individual level, less meaningful at the team level, increasingly invisible at the architecture level.
The May 25 update closed two of the three biggest gaps in nine days. That pace is the real story. For now, the right answer for most readers is: keep Claude Code as your daily driver, install Grok Build if you already pay for SuperGrok or X Premium+, and use ACP to wire them together for the use cases where parallel-worker delegation actually matters.
Sources
May 14 launch coverage:
- ●Grok Build docs: Getting Started
- ●Grok Build docs: Skills, Plugins & Marketplaces
- ●Grok Build docs: Modes & Commands
- ●Grok Build docs: Headless & Scripting
- ●Hacker News thread on the launch
- ●Pasquale Pillitteri: Grok Build: xAI's Agentic Coding CLI Takes On Claude Code
- ●Kingy AI: xAI Drops Grok Build
- ●Beginners in AI: Grok Build CLI: xAI's Answer to Claude Code
- ●Techloy: 6 Ways xAI's New Coding Agent Plans to Take On Claude Code
May 25 update coverage:
- ●xAI announcement: Grok Build now in beta for all SuperGrok and X Premium+ users
- ●TradingView / Reuters: xAI says Grok Build is now available in beta for all SuperGrok and X Premium+ users
- ●The Tech Outlook: xAI launches an early beta of Grok Build available for all SuperGrok and X Premium Plus subscribers
- ●Crypto Briefing: xAI releases Grok CLI installer for Windows PowerShell
- ●TECHi: Grok Build turns xAI into an AI coding-agent contender