Claude Code and Grok Build in one workspace
Plan with Claude, build with Grok Build. Two agents, two separate usage allowances, one SpineOS workspace, so work continues when one limit pauses.
Token usage now sets the pace for coding agents. A model can be excellent at a task and still stop halfway, because the account running it has spent its allowance for the session or the week. Developers have started treating those allowances as a resource to plan around, comparing what each subscription buys and splitting work between models accordingly.
One pattern keeps coming up: let one model be the brains and another be the hands. A strong Claude model writes the plan, and a second agent with a large allowance does the long, token-heavy implementation. Claude Code and Grok Build fit that split well, because they count against two separate budgets held by two separate companies.
On SpineOS you can run both inside the same workspace. Claude Code runs on one cloud desktop and Grok Build on another, with the same knowledge base and the same Mission Control board. When one agent's allowance pauses, the other keeps working on its own account.
Why token usage decides how much a coding agent gets done
A coding agent spends tokens on far more than its visible replies, so its allowance runs out faster than chat suggests. Every turn carries the conversation so far, the files it read, the output of the commands it ran, and its own reasoning.
Anthropic's documentation for Claude Code is direct about the main causes:
- Long context. "Claude Code sends your full conversation with every request", so a short question late in a long session still draws on the whole history.
- Reasoning. "Thinking tokens are billed as output tokens", and the default budget can reach tens of thousands of tokens per request.
- Compaction.
/compactreads the conversation it summarizes, which makes it a large request in its own right./clearcosts nothing.
xAI makes the same point about Grok in its FAQ: "A chat message uses little compute; generating a high-quality video or running a long coding task uses far more."
The practical consequence is that a busy day of agent work reaches a limit, and the limit arrives mid-task.
What a subscription is worth at API prices
A subscription is worth far more than its price when you measure the same work at API rates. Comparisons shared by developers on X estimate that a 200 dollar Claude Max plan covers over 7,000 dollars a month of usage at API prices, and that xAI's most expensive Grok subscription covers over 12,000 dollars.
Neither Anthropic nor xAI publishes a token allowance per plan, so treat those figures as estimates. The API prices they are measured against are public:
| Model | Input, per million tokens | Output, per million tokens |
|---|---|---|
| Claude Fable 5.1 | $10 | $50 |
| Claude Opus 5 | $5 | $25 |
| Claude Sonnet 5 | $2 | $10 |
| grok-4.6, the model behind Grok Build | $2 | $6 |
Sources: Anthropic's API pricing page and xAI's model list, read on 14 September 2026. The grok-4.6 prices apply to prompts under 200,000 tokens; xAI doubles them above that threshold.
Two things follow from the table. A coding agent's volume is dominated by input it rereads on every turn, which makes the subscription value estimates plausible for anyone running an agent all day. And the price gap between models is wide: Fable 5.1 output costs more than eight times grok-4.6 output. That gap is the reason the brains and hands split exists.
How Claude Code and Grok Build meter usage
Claude Code and Grok Build meter usage on different clocks, and neither shares an allowance with the other. The table summarizes what each vendor publishes for its subscription plans.
| Claude Code (Claude Pro or Max) | Grok Build (xAI subscription) | |
|---|---|---|
| Short window | Session limit that resets every five hours | None published |
| Long window | Weekly limit, reset at a fixed time per account | One weekly usage pool, reset on a schedule shown in Settings |
| Shared with | Claude chat on the same account | Every Grok product: API, Build, Chat, Imagine and Voice |
| When it runs out | Wait for the reset, or add usage credits | Paid features pause until the reset, or buy extra credits |
| Check usage | /usage | /usage and /context |
| Free up context | /compact, /clear | /compact, /clear |
Sources: Anthropic's Pro plan article and Claude Code cost guide; xAI's Grok FAQ and Grok Build command reference. Read on 14 September 2026.
Two details matter when you plan a day around these limits. On Claude plans, limits "are shared across Claude and Claude Code", so a long chat in the morning leaves less for the agent in the afternoon. And Anthropic notes that session and weekly limits are shared across all models, so switching models with /model does not restore access. On the Grok side, the weekly pool covers image and video generation as well as coding.
Brains and hands: plan with Claude, build with Grok Build
The brains and hands split gives planning to the model you trust most and gives implementation to the agent with the most room to spend tokens. Planning produces a small amount of high-value output. Implementation reads files, runs commands, reads their output and tries again, which is where most of the tokens go.
On SpineOS the split maps onto two desktops:
- Claude Code plans. On the Claude desktop, pick the model you want doing the thinking with
/model, for example Fable 5.1 or Opus 5, depending on what your Claude plan includes. Ask it to read the repository and write an implementation plan. - The plan goes into the knowledge base. The workspace knowledge base is a set of notes every desktop in the workspace can read and write. Claude Code writes the plan there as a note.
- Grok Build implements. The Grok desktop reads that note and works through it on its own xAI allowance. It does not spend tokens re-exploring the repository to rediscover what the plan already says.
- Claude Code reviews. When the implementation lands, the Claude desktop reviews the change against the plan. Review is short compared with implementation, so it costs the expensive model little.
Mission Control carries the handoff when you do not want to relay it by hand. Create the planning task pinned to the Claude desktop and the implementation task pinned to the Grok desktop, or tag each agent with its role and route tasks by tag.
The pattern is not tied to these two agents. Codex also runs on SpineOS, so a workspace can hold a Claude planner with Codex and Grok Build as two sets of hands, each on its own account. (Grok Bot, xAI's hosted agent product, is a different thing from Grok Build. What runs on a SpineOS desktop is Grok Build, the command line agent.)
What happens when one agent reaches its limit
When an agent reaches its limit, its work stops until the window resets. What you lose depends on where the agent was running and what else was queued behind it.
On a laptop, the answer is usually the session. The terminal sits on a limit message, the rest of the afternoon's plan waits, and the context you built up is at risk when you close the lid.
On SpineOS, three things are different:
- The desktop keeps its state. Each agent runs on its own cloud desktop with a persistent disk. A paused agent keeps its files, its terminal, its browser logins and its conversation until the limit lifts.
- Scheduled work is rescheduled. When a Mission Control task hits a provider rate limit, SpineOS puts it back in the queue for after the reset rather than marking it failed. It retries once, so a limit that persists still surfaces as a failure you can read.
- The other agent is unaffected. A Grok Build desktop runs on your xAI account and a Claude Code desktop runs on your Claude account or API key. A paused Claude allowance has no effect on the Grok desktop next to it, and the reverse is also true.
This is not a way to stretch one vendor's allowance. Each agent draws on its own account under that vendor's terms, and Anthropic states that its advertised plan limits assume ordinary, individual usage. What you gain is a second, independent budget with a different model behind it, working on the same project.
Run Claude Code and Grok Build in the same workspace
A workspace on SpineOS can hold desktops running different agents, so setting up both takes two desktop creations.
- Sign in at www.spinestudio.dev and open Home.
- Create a desktop and choose Claude Code as the agent, and connect it to your own Claude account or your own Anthropic API key. Usage on either is billed to you by Anthropic.
- Create a second desktop and choose Grok. It boots, then asks you to sign in with your grok.com account through a short device code. SpineOS does not resell or proxy xAI inference, so Grok usage stays between you and xAI.
- Give each desktop a name that says what it is for. If you want Mission Control to route work by role, tag each agent in its agent directory.
- Open Mission Control and create tasks. Pin a task to a specific desktop, or leave it on Auto-assign to any available agent and let whichever agent is free take it.
Running two agents at once needs a plan with room for two desktops. The free tier during beta allows one. Pro, at 49 EUR a month, allows three. Max, at 149 EUR a month, allows ten and adds shared workspaces for a team. Details are on the pricing page.
Share context between the agents without sharing a machine
The agents share context through the knowledge base and nothing else. Each desktop is its own virtual machine, and desktops cannot reach each other over the network.
The Grok desktop cannot read the Claude desktop's files, browser sessions or credentials. Connectors and secrets attach per desktop, so you decide which agent gets which integration. That matters for the brains and hands split in particular: the planner can hold access the implementer never needs, and a mistake in one agent's session stays on that agent's machine.
Spend fewer tokens on both agents
The habits that save tokens are close to identical on both agents, because both vendors describe the same underlying costs.
- Start fresh between unrelated tasks. Both agents support
/clear. Stale context is resent with every message. - Compact long sessions deliberately. Both support
/compact, which appears in the SpineOS chat composer's command menu as well as in the terminal. Remember that compacting a large conversation is itself a large request. - Keep instruction files short. Anthropic suggests keeping
CLAUDE.mdunder 200 lines and moving specialized instructions elsewhere. - Write specific prompts. Anthropic's guide notes that a vague request like "improve this codebase" triggers broad scanning, while a precise one limits file reads.
- Lower reasoning effort for simple work. Both agents have an
/effortcommand. - Hand the plan over as a note. An implementer that starts from a written plan reads less of the repository than one that starts from a one-line request.
Frequently asked questions
Can Claude Code and Grok Build run in the same SpineOS workspace?
Yes. Each agent runs on its own desktop, and a workspace can hold desktops with different agents. They share the workspace knowledge base and the Mission Control board, and they stay isolated from each other at the machine level.
Can I plan with Claude and code with Grok Build?
Yes. Have Claude Code write the plan to the knowledge base, then give the implementation task to the Grok desktop. Mission Control can pin each task to the right desktop.
Does SpineOS combine or pool Claude and Grok usage?
No. Each agent uses its own credential and counts against that vendor's limits. SpineOS does not move usage between accounts.
Does SpineOS charge for Grok usage?
No. Grok on SpineOS runs on your own grok.com account, so usage sits between you and xAI. SpineOS bills for the desktop.
Is Grok Bot the same as Grok Build?
No. Grok Bot is xAI's hosted agent product. Grok Build is xAI's command line coding agent, and it is the one SpineOS runs on a desktop.
What happens to a scheduled task when Claude Code hits a rate limit?
It is rescheduled for after the limit resets and retried once. If the retry also hits a limit, the task is marked failed with a message saying so.
Which plan do I need to run both agents?
Pro or Max. The free tier allows one desktop. Pro allows three and Max allows ten.
Create a Claude Code desktop and a Grok desktop at www.spinestudio.dev. Questions go to contact@spinestudio.dev.
Related reading
Ready to give your AI agent a real desktop?
View plansMonthly newsletter
Once a month. Not one more.
The best articles, product news, and one reading pick. Five minutes, start of the month.