
TL;DR
Grok Build is xAI's agentic CLI with 8 parallel subagents, a plan-first workflow, and Arena Mode for competing outputs. Installation, pricing, real commands, and how it compares to Claude Code and Codex.
Last updated: June 27, 2026. Grok Build is in public beta. Pricing and features are subject to change. Verify current details against the official xAI documentation before committing to a subscription.
| Topic | Official source |
|---|---|
| Grok Build CLI | x.ai/cli |
| Installation | x.ai/cli/install |
| Announcement | Introducing Grok Build |
| API pricing | xAI API pricing |
| xAI documentation | docs.x.ai |
| SuperGrok subscription | x.ai/grok |
xAI shipped Grok Build on May 14, 2026. It is a terminal-native coding agent with a clear architectural bet: parallelism over depth. Where Claude Code runs one powerful reasoning pass, Grok Build runs up to eight agents racing the same problem. Where Codex emphasizes cloud sandboxes, Grok Build runs local-first on your machine.
This is the practical developer guide: installation, pricing, real commands, what the parallel architecture actually does, and where Grok Build fits against Claude Code and Codex CLI.
Grok Build is an agentic CLI where you point it at a project directory, describe a task in plain English, and the agent inspects the repository, locates the relevant files, and proposes and applies changes.
The workflow follows three stages:
The underlying model is grok-build-0.1, a purpose-built coding model with a 256K context window. The larger Grok-4.3 model with its 2M context window is available for complex reasoning tasks.
curl -fsSL https://x.ai/cli/install.sh | bash
irm https://x.ai/cli/install.ps1 | iex
After installation, navigate to your project directory and run:
grok
The first run prompts for authentication via your X account or xAI API key.
Grok Build requires an active xAI subscription or API access. As of June 27, 2026:
| Tier | Monthly cost | Access level |
|---|---|---|
| X Premium+ | $40 | Basic Grok Build access |
| SuperGrok | $30 | Standard Grok Build access |
| SuperGrok Heavy | $299 ($99 intro) | Full parallel agent features |
| API | Usage-based | $1.00/$2.00 per M input/output tokens |
The SuperGrok Heavy tier is where the 8-agent parallelism lives. Lower tiers provide Grok Build access with reduced parallel capacity.
For API usage, the grok-build-0.1 model is priced at $0.20 per million input tokens, $2.00 per million output tokens. Cached input runs at $0.20 per million tokens.
What the pricing page does not tell you: The $299 SuperGrok Heavy tier is comparable to Claude Code Max at $200 or ChatGPT Pro at $200. The introductory $99 rate expires after six months. Developers who try Grok Build on lower tiers may find the parallel features limited compared to the full Heavy experience.
grok
Opens an interactive session in the current directory. The agent reads your project structure and is ready for prompts.
grok exec "add pagination to the users API endpoint"
Non-interactive mode. The agent plans, executes, and exits.
grok plan "refactor the auth module to use JWT"
Generates a plan without executing. Review the plan, then run grok apply to execute.
grok goal "all tests pass and lint is clean"
Long-running autonomous mode. The agent plans work, executes until the condition is met, and verifies the result. Control with grok goal status, grok goal pause, grok goal resume, and grok goal clear.
This is similar to Claude Code's /goal command - both support verifiable end conditions and autonomous execution.
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools - delivered free every week.
From the archive
Jun 27, 2026 • 7 min read
Jun 25, 2026 • 8 min read
Jun 24, 2026 • 7 min read
Jun 24, 2026 • 6 min read
The architectural headline is parallelism. Grok Build can spawn up to eight subagents that run simultaneously on the same task.
The use cases:
Arena Mode is the flagship feature. Instead of trusting one agent's output, you get multiple competing solutions and select the winner. This catches errors that a single pass might miss.
How it differs from Claude Code: Claude Code's subagents divide a task into different parts - one handles tests, one handles docs, one handles implementation. Grok Build's parallel agents race the same problem. Claude divides and conquers. Grok races for the best single answer.
Grok Build supports Model Context Protocol for tool integration. Connect external services like databases, APIs, and development tools.
grok mcp add github
grok mcp add linear
The MCP support is newer than Claude Code's but growing. Check the xAI docs for the current list of supported MCP servers.
ACP is xAI's standard for external tools and IDEs to communicate with Grok Build. It enables integrations with VS Code, Cursor, JetBrains, and custom developer tools.
This is useful for teams building workflows that span multiple tools. A VS Code extension can trigger Grok Build tasks, receive progress updates, and display results in the editor.
Grok Build runs on your machine, not in a cloud sandbox. The agent reads your local files, executes commands locally, and applies changes directly.
Benefits:
Tradeoffs:
The three main terminal coding agents take different architectural approaches:
| Feature | Grok Build | Claude Code | Codex CLI |
|---|---|---|---|
| Primary bet | Parallelism (8 agents) | Reasoning depth | Cloud sandboxes |
| Context window | 256K (grok-build-0.1) | 200K+ (Opus/Sonnet) | 200K+ (GPT-5.x) |
| Execution | Local-first | Local | Cloud or local |
| Plan mode | Yes | Yes (plan mode) | Yes |
| Goal mode | Yes (/goal) | Yes (/goal) | Yes (goal command) |
| Parallel agents | 8 fixed racing | Dynamic subagents | Not emphasized |
| Arena Mode | Yes | No | No |
| MCP support | Yes | Yes | Limited |
| Entry price | $30-40/mo | $20/mo | $20/mo |
| Full features | $299/mo | $100-200/mo | $200/mo |
When to use Grok Build:
When to use Claude Code:
When to use Codex CLI:
On Terminal-Bench 2.1:
On SWE-bench Verified:
Grok Build trails on raw benchmark scores but benchmarks do not capture the Arena Mode advantage. For well-scoped tasks where multiple attempts increase success probability, the parallel architecture compensates for lower single-pass accuracy.
grok arena "fix the race condition in the payment processor"
Eight agents tackle the same bug. Review all outputs, pick the cleanest solution.
grok goal "test suite passes" --max-turns 20
Autonomous execution with a turn cap to prevent runaway costs.
grok plan "migrate from REST to GraphQL"
Review the plan. Check which files it plans to touch. Approve before execution.
grok exec "add user preferences with three UI variations"
Parallel agents produce three UI approaches. You merge the best parts.
Context window: The 256K limit on grok-build-0.1 is smaller than Claude Code or Codex. Large monorepos may require selective file loading.
Benchmark gap: Single-pass accuracy trails Claude Code and Codex. Arena Mode compensates but requires reviewing multiple outputs.
Beta maturity: Launched May 2026. Some features are still evolving. Expect breaking changes.
Price barrier: Full parallel features require SuperGrok Heavy at $299/mo. Lower tiers are more limited.
curl -fsSL https://x.ai/cli/install.sh | bashgrok for interactive mode or grok exec "task" for one-shot.grok plan "task") until you trust the agent's judgment.The parallel architecture is genuinely different from Claude Code and Codex. Whether that difference is valuable depends on your task shape. Well-scoped problems with multiple valid solutions benefit from Arena Mode. Complex multi-file refactors still favor Claude Code's reasoning depth.
Grok Build is xAI's terminal-native coding agent. You point it at a project directory, describe a task in plain English, and it plans, searches the codebase, and applies changes. Its architectural headline is parallelism with up to eight subagents running simultaneously.
On macOS and Linux: curl -fsSL https://x.ai/cli/install.sh | bash. On Windows PowerShell: irm https://x.ai/cli/install.ps1 | iex. Then run grok in your project directory.
X Premium+ ($40/mo) and SuperGrok ($30/mo) provide basic access. SuperGrok Heavy ($299/mo, $99 intro) unlocks full 8-agent parallel features. API usage is $1.00/$2.00 per million input/output tokens.
Claude Code bets on reasoning depth with one powerful pass. Grok Build bets on parallel breadth with up to eight agents racing the same problem. Claude Code has higher single-pass benchmark scores. Grok Build offers Arena Mode for comparing multiple solutions.
Arena Mode runs multiple agents on the same task simultaneously. You review all outputs and pick the best solution. This catches errors that a single pass might miss and works well for tasks with multiple valid approaches.
Yes. Grok Build supports Model Context Protocol for connecting external tools like GitHub, Linear, and databases. The MCP ecosystem is newer than Claude Code's but growing.
Local-first. All code runs on your machine. Only API calls to xAI leave your system. This makes it air-gap compatible for sensitive environments after initial setup.
The grok-build-0.1 model has a 256K context window. For larger context needs, the Grok-4.3 model with 2M context is available for complex reasoning tasks.
Read next
xAI has launched Grok 4, claiming the title of the world's most powerful AI model. With a $300/month Super Grok tier, saturated AMI benchmarks, and a coding model on the horizon, this is xAI's bigge...
7 min readTerminal agent, IDE agent, local-plus-cloud agent. Three architectures compared - how to decide which fits your workflow, or why you should use all three.
8 min readAnthropic shipped Fable 5 and a June 22 subscription cliff. OpenAI shipped GPT-5.5 inside Codex plus automations, browser use, and computer control. Here is the honest June 2026 update on which tool fits which developer.
9 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Anthropic's agentic coding CLI. Runs in your terminal, edits files autonomously, spawns sub-agents, and maintains memory...
View ToolOpenAI's coding agent for terminal, cloud, IDE, GitHub, Slack, and Linear workflows. Reads repos, edits files, runs comm...
View ToolOpen-source terminal agent runtime with approval modes, rollback snapshots, MCP servers, LSP diagnostics, and a headless...
View ToolOpenAI's open-source terminal coding agent built in Rust. Runs locally, reads your repo, edits files, and executes comma...
View ToolEvery coding agent in one window. Stop alt-tabbing between Claude, Codex, and Cursor.
View AppTurn a one-liner into a working Claude Code skill. From idea to installed in a minute.
View AppCompare AI coding agents on reproducible tasks with scored, shareable runs.
View AppThe primary command-line entry point for Claude Code sessions.
Claude CodeConfigure Claude Code for maximum productivity -- CLAUDE.md, sub-agents, MCP servers, and autonomous workflows.
AI AgentsWhat MCP servers are, how they work, and how to build your own in 5 minutes.
AI Agents
Nimbalyst Demo: A Visual Workspace for Codex + Claude Code with Kanban, Plans, and AI Commits Try it: https://nimbalyst.com/ Star Repo Here: https://github.com/Nimbalyst/nimbalyst This video demos N...

Build Anything with Vercel, the Agentic Infrastructure Stack Check out Vercel: https://vercel.plug.dev/cwBLgfW The video shows a behind-the-scenes walkthrough of how the creator rapidly builds and d...

xAI has launched Grok 4, claiming the title of the world's most powerful AI model. With a $300/month Super Grok tier, sa...

Terminal agent, IDE agent, local-plus-cloud agent. Three architectures compared - how to decide which fits your workflow...

Anthropic shipped Fable 5 and a June 22 subscription cliff. OpenAI shipped GPT-5.5 inside Codex plus automations, browse...

Fable 5 landed on June 9, GitHub Copilot rewired its billing on June 1, and the tool-stack decisions you made in Q1 may...

Every major AI coding tool just went through a pricing shift. Here are the exact numbers for Cursor, GitHub Copilot, Cla...

Goal, loop, routine. Three verbs, two tools, one hard part. A complete field guide to running agentic loops in Claude Co...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.