You want one coding agent in your terminal, and it’s between xAI’s Grok Build and Anthropic’s Claude Code. Pay for Claude Code if you want Claude’s models and the most places to run them. Pay for Grok Build if price comes first, or if you already pay for Cursor or Grok on The X Subscription, which includes it.
The two now work the same way: plan mode, subagents, hooks, skills, MCP servers and rewind. Grok Build starts at $8 a month and Claude Code at $20. We read both price pages on November 23, 2026, and installed Grok Build 1.0.92 to see how much of a Claude Code project it picks up. It loaded everything we put in it, once we trusted the folder.
- Pay for Claude Code to run Claude models. It comes with every paid Claude plan: Pro is $20 a month ($17 billed yearly), Max is $100 and Claude Ultra is $200. Opus 5.5 is the default model.
- Pay for Grok Build for the lower price. It comes with every paid tier of The X Subscription: Plus is $8 a month, Premium $30, Super $100 and Ultra $200. Grok 4.7 is the default model.
- Your Claude Code setup carries over. Grok Build 1.0.92 loaded our test project’s CLAUDE.md, rules, skills, subagent, hook, permission rules and MCP servers once we trusted the folder.
- The limits run on different clocks. Claude Code has a five-hour window and a weekly limit, shared with Claude chat. Grok Build draws on one weekly pool, shared with Grok and Cursor.
- On Claude Code? Context Board shows what is left of your five-hour window (where your plan has one) and your week, and every session waiting on you. Free for 3 days, then $12 a month.
Which one should you pay for?
Pick by what you already pay for, then by the model.
- You want Claude models: Claude Code. Start on Pro at $20 and move to Max at $100 when the limits bite.
- You want the cheapest paid start: Grok Build on Plus, at $8 a month. Plus runs Grok models only.
- You already pay for Cursor or Grok on The X Subscription: you have Grok Build. Try it on a real task before you add a Claude plan.
- You want to try before paying: Grok Build’s Free tier has limited use. Claude Free does not include Claude Code.
- You work in an editor or a browser as well as the terminal: Claude Code, which also runs in VS Code, JetBrains, the Claude desktop app and on the web. Grok Build is a terminal app that other apps can drive over the Agent Client Protocol (ACP).
- You want to read or change the agent’s own code: Grok Build is open source under Apache-2.0 on GitHub. Claude Code’s license reserves all rights to Anthropic.
If Cursor is on your list too, Claude Code vs Cursor runs the same checks on that pair.
Grok Build vs Claude Code at a glance
| Grok Build | Claude Code | |
|---|---|---|
| Comes with | The X Subscription: Plus, Premium, Super, Ultra | Claude Pro, Max, Ultra, Team, Enterprise |
| Cheapest paid plan | $8 a month | $20 a month, or $17 billed yearly |
| Free use | Limited, on the Free tier | None |
| Default model | Grok 4.7 | Opus 5.5 |
| Default model’s API price, per million tokens in and out | $2 and $6 | $4 and $20 |
| Limits | One weekly pool, shared with Grok and Cursor | Five-hour window and a weekly limit, shared with Claude chat |
| Check usage | /usage, or grok usage | /usage |
| Instruction file | AGENTS.md, and it reads CLAUDE.md | CLAUDE.md |
| Runs in | Terminal, scripts, other apps over ACP | Terminal, VS Code, JetBrains, desktop app, web |
| Open source | Yes, Apache-2.0 | No |
Both install with one line, curl -fsSL https://x.ai/cli/install.sh | bash for Grok Build and curl -fsSL https://claude.ai/install.sh | bash for Claude Code, and both sign in through your browser on first run. On Windows, each has a PowerShell line on its install page.
What each one costs
Prices are from xAI’s X Subscription pricing, Cursor’s pricing page, which lists Grok Build on each tier, and Claude’s pricing page, all read November 23, 2026.
| Price | Grok Build | Claude Code |
|---|---|---|
| $0 | Free: limited | Not included |
| $8 | Plus: base usage, Grok models only | No plan |
| $20 | No plan | Pro: base usage |
| $30 | Premium: 4x Plus | No plan |
| $100 | Super: 15x Plus | Max: 5x Pro |
| $200 | Ultra: 50x Plus | Ultra: 10x Pro a week, no five-hour limit once verified |
The multipliers don’t compare across vendors. Each is measured against its own base plan, and neither company publishes the base in tokens or messages.
Yearly billing brings The X Subscription to $80, $300, $1,000 and $2,000 a year, and Claude Pro to $200 a year. The X Subscription’s paid tiers also include Grok chat, Cursor and X Premium benefits once you connect your X account. Claude’s plans include Claude chat on the web, desktop and phone.
Paying per token instead. Grok Build runs on an xAI API key, and Claude Code runs on a Claude Console account. At xAI’s API prices, Grok 4.7 costs $2 per million input tokens and $6 per million output, doubling for prompts of 200,000 tokens or more. Claude’s Opus 5.5 is $4 and $20, and Sonnet 5.5 is $2 and $10. Grok 4.7’s output rate is under a third of Opus 5.5’s.
How do the usage limits compare?
Claude Code has a session limit that resets every five hours and weekly limits on top. Per Anthropic’s Claude Code plan article, they are shared with Claude on the web, desktop and phone, so a long afternoon of chat leaves less for code. Max gives 5x Pro’s usage in each window. Claude Ultra gives 10x Pro’s week, and verified Ultra accounts have no five-hour limit. Type /usage to see both bars, and our guide to Claude’s usage limits covers what each limit message means.
Grok Build draws on one weekly pool per paid seat. Per xAI’s usage limits page, that pool is shared across Grok and Cursor, so a long Grok chat or a Cursor agent run uses the same week Grok Build does. Past the pool, you pay from prepaid top-up credits, with optional spending caps. Type /usage in a session, or run grok usage for your plan’s limit.
At the limit, both let you wait for the reset, move up a plan or pay for extra usage. Claude calls it usage credits, and xAI calls it Additional Usage.
Which models do they run?
Grok Build runs Grok 4.7 by default, with a 500,000-token context window, per xAI’s Grok 4.7 page. Grok 4.7 Fast is the same model on faster servers at twice the token rate, and it is not in the Free tier. Switch models with /model. A model entry in Grok Build’s config file can also point at another provider with your own API key, and its docs list Anthropic’s Messages API as a supported backend. That provider bills you per token.
Claude Code runs Claude models only. Opus 5.5 is the default on Pro, Max, Ultra, Team and Enterprise, per its model docs. Switch to Sonnet 5.5 for everyday work, Haiku 5.5 for small jobs, or Fable 5.2 with /model fable for the hardest tasks. Fable runs on usage credits on Pro, and Max and Ultra can spend up to half the weekly limit on it.
Which one writes better code depends on your repo. DataCamp’s August test gave both agents one data task with three planted flaws, on Grok 4.6 and Opus 5, models since replaced. Grok Build said less and got it right the first time. Claude Code found more but stated counts that were wrong. One task is one data point, so run your own on the same repo before you pay for a year.
Can Grok Build use your Claude Code setup?
Yes. xAI’s compatibility docs say Grok Build reads Claude Code’s marketplaces, plugins, skills, MCP servers, agents, hooks and instruction files with no setup. We checked it on November 23, 2026.
The test. We installed Grok Build 1.0.92 from npm on Linux, gave it an empty home folder and never signed in. A small project held what a Claude Code user would have: a CLAUDE.md, a rule in .claude/rules/, a .claude/settings.json with a hook and two permission rules, a skill, a subagent, and Linear’s remote MCP server in .mcp.json. The home folder held a personal CLAUDE.md, a personal skill and an MCP server in ~/.claude.json. Then we ran:
grok inspect
It prints the configuration Grok Build finds for the folder you run it in. We ran it twice, once as a new folder and once with folder trust turned off (GROK_FOLDER_TRUST=0), which loads what a trusted folder loads.
| Claude Code file | Before trust | After trust |
|---|---|---|
| ~/.claude/CLAUDE.md | Loaded | Loaded |
| Project CLAUDE.md | Skipped | Loaded |
| Rule in .claude/rules/ | Skipped | Loaded |
| Two permission rules | 0 loaded | 2 loaded |
| Hook in .claude/settings.json | Skipped | Loaded |
| Personal skill | Loaded | Loaded |
| Project skill | Skipped | Loaded, renamed |
| Subagent in .claude/agents/ | Listed | Listed |
| MCP servers in ~/.claude.json and .mcp.json | Listed | Listed |
To move a project across:
- Trust the folder once. Until you do, Grok Build skips the project’s own instructions, skills, hooks and permission rules, and xAI’s docs say project MCP servers wait too. Type
/hooks-trustin a session to grant it for the whole project. - Check your skill names. Our skill was called
release-notes, which is also one of Grok Build’s own commands, so it became/local:release-notes. - Bring your personal settings across.
/import-claudecopies your~/.claudepermissions, environment variables, MCP servers and hooks into Grok Build’s own config.
Keep shared rules in CLAUDE.md and shared servers in .mcp.json, and one project runs in either agent. Grok Build also reads Cursor’s rules, skills, agents, MCP servers and hooks: grok inspect lists them under Harness Compatibility.
Can you use both?
Yes. xAI publishes grok-build-plugin-cc, a Claude Code plugin that hands reviews and other tasks from Claude Code to Grok Build. At list prices, Claude Pro plus The X Subscription’s Plus is $28 a month.
One split to try: Claude Code on Opus 5.5 for the long changes, Grok Build for reviews and quick jobs on the cheaper week. Running both also means a Claude window and week to watch, a Grok pool to watch, and sessions in two places.
We build Context Board, a live board your agents keep current, and Claude Code connects to it over MCP. A small program on your computer, set up once with one line from Connect, feeds the AI usage widget with what is left of Claude Code’s five-hour window and week, as rings with reset times. The same program fills Needs you with every Claude Code session waiting on you. These widgets read Claude Code and Codex, so keep /usage for your Grok week. Pick the Agents template when you make your first board: it has both widgets, and the Claude Code usage page shows the setup. Free for 3 days, then $12 a month.