The more skills and subagents you've cultivated in Claude Code, the more you hesitate to try a new CLI, wondering, 'Do I have to migrate all my settings again?' Settings are like tools arranged on a shelf; even a slight change in their placement can disrupt your development rhythm.
I also tested Grok Build on my own machine to see how it reads CLAUDE.md and my custom subagents. Here, I will organize what Grok Build actually is, the available contracts, how pricing appears, and the installation steps, so you can decide whether it's worth subscribing to X Premium+ or SuperGrok to try it out.
As always, I've also explained this in a video, so please take a look at that as well.
Grok Build: A terminal-based AI coding agent from xAI, a CLI that handles code analysis, planning, editing, and shell execution.
Agent Harness: An execution foundation that connects AI models to file operations, permissions, tool execution, memory, and more.
TUI: Short for Terminal User Interface, the interactive screen that opens when you type grok.
Headless: A usage method for one-off execution without opening a screen, such as grok -p "...".
ACP: Short for Agent Client Protocol, a linkage method for running agents from editors or apps via JSON-RPC.
What is Grok Build? Grasping the Big Picture

On May 25, 2026, xAI released Grok Build to all X Premium+ and SuperGrok users. The CLI I verified on my machine was grok 0.2.3, and its official positioning is as an AI coding assistant and agent harness that runs in the terminal.
The reason Claude Code users should look at it is that its role is quite similar. Grok Build reads code, creates change plans, rewrites files, and runs shells if necessary. Rather than seeing it as a replacement for Claude Code, it is more natural to view it as a new execution foundation that can be placed on the same workspace.
Just as if the same engine had three types of cockpits, Grok Build has TUI, headless, and ACP modes. You can use grok for daily development, grok -p for CI and scripts, and grok agent stdio for integration with tools like Zed or Neovim.
The premise that it is 'still early beta' cannot be ignored. Since it was limited to SuperGrok Heavy on May 14 and the target was expanded on May 25, it is better to approach it with the mindset of trying out a new harness early rather than expecting the stability of a finished product.
Claude Code Assets Run with Zero Configuration
Why do people get stuck when migrating Claude Code assets? What breaks easily isn't the code itself, but the surrounding conventions like CLAUDE.md, skills, agents, MCP, and permission settings.
The strength of Grok Build is that you don't need to repack your bags like moving house. Upon startup, it reads existing .claude/ assets with zero configuration and automatically distributes the work assets you cultivated in Claude Code to Grok's corresponding mechanisms.
In my machine verification as of May 2026, grok inspect can be used for pre-verification. Detected instructions, skills, agents, plugins, MCP, LSP, hooks, and permissions are listed, and elements derived from plugins are tagged with [plugin: name].
grok inspect
Why don't I write fixed IDs or counts? Because the output of grok inspect changes depending on the amount of assets in the environment, so after execution, you should check the list of detected instructions, skills, agents, plugins, MCP, etc., itself.
On my end, CLAUDE.md worked as project instructions, and I was able to call skills and custom subagents under .claude/skills/. While the switching cost isn't zero, it's a big deal that you don't have to worry about rewriting configuration files first.
Who can use it and how much does it cost?
The first mistake people often make when evaluating pricing is viewing X Premium and X Premium+ as the same thing. You can only use Grok Build if you are a subscriber to X Premium+ or SuperGrok; standard X Premium is not eligible.
The reason I make such a strong distinction here is that it's not just about the monthly difference, but also the change in expectations. As of May 2026, based on US standards, X Premium+ is $40, SuperGrok is $30, and SuperGrok Heavy is $300, with reports that X Premium+ in Japan is approximately 6,080 yen/month. However, this varies by region and time.
The pitfall is the view that 'SuperGrok is unlimited for $99.' This is a confusion with the 6-month limited promo for SuperGrok Heavy, not the standard SuperGrok, so treating it as the standard price for Grok Build will lead to a wrong decision.
On May 26, the beta quota was reset following feedback that the limits were being hit too quickly. The usage allowance for consumer plans—that is, how many times you can use it per day—is not officially disclosed, and you have no choice but to check your own consumption via /context or /session-info.
If you want to ensure you have enough capacity, the escape route is API pay-as-you-go. In a configuration using XAI_API_KEY, the xAI API rate limits apply rather than the ambiguous subscription allowance, making it easier to plan for production use.
Models and Context Window
The default model is grok-build, or grok-build-0.1 by API name. It is specialized for coding, and it has been confirmed that the context window is 256K tokens, with API unit prices of $1.00 for input and $2.00 for output per 1 million tokens.
Why does window size matter for large repositories? In scenarios where you read dependencies across multiple files simultaneously, the 256K or 1M context window becomes the upper limit for the task, not just the model performance.
While the figure 'SWE-bench Verified 70.8%' has appeared, it is safer to treat this as a reported value rather than a confirmed value for which the official source could be verified. Even if the performance figures are attractive, prioritize price, window size, and stability in actual work when making contract decisions.
BYOK allows you to swap models like a socket. BYOK stands for Bring Your Own Key; you can insert your own API key or OpenAI-compatible endpoint into Grok Build, and line up local Ollama models, OpenAI's gpt-4o, Together AI, etc., in the model selection.
[model.ollama-codellama] model = "codellama" base_url = "http://localhost:11434/v1" name = "CodeLlama (Ollama)"
After writing this configuration, check if it appears in the model list with grok models. Since the names and responsiveness of local models depend on your local Ollama, it is more reliable to make list confirmation the success condition rather than relying on fictional success logs.
Installation and Masao's Honest Review
Why should you separate the introduction from the billing decision? It is a native binary, so Node.js is not required, and it installs in one line on macOS and Linux, but the opacity of the usage allowance is a separate issue.
Run the installer to install the Grok Build binary. The input is the official install command, the target is the local environment, the output is the grok binary, and the success condition is being able to confirm the version with grok --version.
curl -fsSL https://x.ai/cli/install.sh | bash grok --version
Once successful, confirm the version line such as grok 0.2.3 as the actual machine version. Because there are environmental differences, do not assume fixed paths or hash values.
Launch grok in the project directory. The input is the repository you want to work on, the target is the interactive screen, the output is the TUI session, and the success condition is completing the initial browser authentication and being able to send a prompt.
In headless environments, pass XAI_API_KEY to run it. The input is the API key and prompt, the target is grok -p, the output is the standard output response, and the success condition is that processing proceeds based on the API-side limits rather than the subscription allowance.
grok -p "Review changes for bugs" --output-format json
If you choose JSON output, treat it with the assumption that you will read the necessary fields like .text in a subsequent script. The actual body text depends on the prompt and the change diffs.
To exit a session, press Ctrl+C twice, and to resume, run grok resume. The target is the previous conversation state, the output is the restored session, and the success condition is that the previous context is returned.
If you categorize flags like a control panel, you can see what you should touch first. For headless mode, focus on -p, --best-of-n, --check, --sandbox, and --permission-mode; you won't get lost if you remember them as five systems: single execution, parallel candidates, self-verification, isolation, and permissions.
My honest review is that if you already have X Premium+ or SuperGrok, it's worth a try, but if you're considering a new subscription just for Grok Build, it's safer to wait and see. The user experience is better than I expected and incorporates the strengths of Claude Code, but since it's an early beta with undisclosed usage limits for consumer plans, I can't say it's as outstanding as Codex in terms of cost-performance at the moment.
A common mistake is to see the wealth of features and immediately replace your main environment with it. It's more realistic to first check your existing .claude/ assets with grok inspect, try small fixes in the TUI, and only consider heavy production tasks—including API pay-as-you-go costs—after that.
Grok Build is a CLI with very low 'friction to try' for developers who already have Claude Code assets. That is precisely why, when deciding whether to subscribe, you shouldn't let the excitement of the features cloud your judgment regarding the opaque usage limits.
For those who want to dig deeper
AI coding agents are a field where the more tools you add to your toolbox, the harder it becomes to choose. I am making my decisions by first testing the parts that make a difference in practical work, such as loading Claude Code assets, the 256K grok-build, and --best-of-n.
The reason I look at things in such detail is that in harness engineering, operational design changes results more than the model name does.Check out the membership where I compile deep dives into Claude Code and Codex, video explanations, study sessions, and daily sharing on Discord.
If you want to keep up in 3 minutes, following Masao is the easiest way. If you found any part of this helpful, please share this article with other developers who are considering the same thing.