10 PRs in the cloud, 25 on our VPS. Same Claude Code

AIClaude CodeUsage limitsherdrOpusAI agents

Syahmi RafsanjaniCo-founder, CTO

I built from my phone in Claude Code cloud sessions until the usage window ran out. The same Claude Code on our VPS got me about 25 PRs a window instead of 10. Then the agents learned to work in shifts, even while I slept.

It was late at night, at home, when I hit the usage limit. Nothing more would run until the window reset.

That was early in the rebuild. I was building from my phone in Claude Code cloud sessions. No laptop needed. Then the tokens ran out.

Every number about AI usage in this post is what we saw in Oct–Nov 2026. These limits change often, so check them again before you plan around them.

Why Opus

I’d paid for ChatGPT since April 2026. By September and October it had become too slow to work with. We moved Fleur Babes to Claude in early October, with Opus 5.5. It was smart and much faster, and it made fewer mistakes, so there was less rework.

The same 5-hour and weekly limits got a lot more done. Less rework is the cheapest saving there is: the same plan paid for more finished work. In what I saw then, OpenAI ran at about 30–60 tokens a second, while Claude Opus kept above 100. That’s my own observation, not a benchmark.

Building from my phone in the cloud

The rebuild started in Claude Code cloud sessions. Each session runs in its own container with its own copy of the repo. I could start one from my phone, describe the task, and come back later. With the spec, the issues and the code in GitHub, I didn’t need my own computer to know where things stood.

The usage limit works in windows. You get a certain amount of use in a 5-hour window, plus a weekly limit on top. Nine days of agents building a whole system is a lot of work. On the first two days the window kept running out in about 4 hours, and I couldn’t push more PRs through it.

Where the tokens went

The first problem was ours. Each session had a context of 1 million tokens and only compacted when it was nearly full. So every call re-read everything the session had seen: 300,000 to 800,000 tokens, again and again.

There is a cache for that, but it doesn’t last long. On a Claude subscription, the main session’s cache lasts an hour; subagents get 5 minutes. A session that sat idle for longer, waiting for CI, a review or the next window, paid for its whole context again on the next call.

So we wrote the rules down:

  • Compact at 200,000 tokens. One setting in the repo applies it to every session.
  • Smallest change that solves the task. Every worker runs the ponytail skill first. The task’s criteria and tests still win over it.
  • Sleep while waiting. Workers end their turn instead of checking in, and wake on a message, a PR event or CI.
  • Read only what changed. A second review round reads the new diff, not the whole PR again.
  • A cap on workers. At most 4 at once, later 6.

Claude Code in herdr, on the VPS

On day three I moved everything off the cloud. The orchestrator and every worker became panes in herdr, running Claude Code on our VPS, and sometimes on my Mac.

herdr is a desktop app for running coding agents side by side. Each one gets its own pane, and herdr shows which agents are working and which are waiting for an answer.

The difference was large. For the same kind of work, Claude Code on our own machine gave me about 2.5 times more room in the 5-hour window than a cloud session. In the cloud, a window got me about 10 PRs; on the VPS, about 25. That’s what I saw in Oct–Nov 2026, not an official number, and I don’t know what causes the gap.

Agents that work in shifts

More room still runs out. So I made the agents work in shifts.

I wrote a small Claude Code mod that saves my usage to a file at the end of every turn. Every session reads it at the start of its next turn, so each agent, the orchestrator and every worker, always knows how much of the 5-hour and the weekly limit is left.

The orchestrator plans each batch of tasks with an estimate of what they’ll use. At 80% of the window, it stops filling free slots: no new worker starts, and the ones already running finish their task.

The last 20% is leeway. A hard PR can need more review rounds than its estimate, and I still want room to prompt Claude myself. Spending the whole window would lock me out of Claude for everything else, not just the build.

Then the orchestrator books a scheduled task to wake itself one minute after the window resets, and starts the next batch.

A day fits a 5-hour window about 4.8 times. Some mornings I woke up to PRs that had merged overnight. Other mornings everything was asleep, waiting for the next window.

Driving it from bed

Most of my prompting happened away from a desk: in bed, or eating in front of the TV. On my phone I used Heeler, an unofficial iOS client for herdr. When I woke up, I opened Heeler and went straight into the pane that needed me.

Claude Code’s Remote Control worked too, but the Claude app was harder to use for this. Every session and nested agent showed up in its chat list, so the one chat I needed was buried. Background tasks were worse: they sat behind a popover and then a sheet, and I couldn’t read their output as a chat. In the terminal, Claude Code shows subagents in a panel just below the conversation. Heeler showed me that, one pane at a time.

The way past the wall wasn’t to build less, or to give up the phone. It was to stop wasting tokens, run the agents on a machine we control, and let them stop before the wall.

The lesson

Before you blame your limit, check how your tools spend it.

What I’d tell anyone coding on a usage plan

  • Measure where your agents run. The same Claude Code used the window very differently in the cloud and on our VPS.
  • Watch your context size. A huge context is re-read on every call, and an idle session loses its cache.
  • Let the agents see the meter. If every session knows how much of the window and the week is left, they can stop at 80% and book their own wake-up.
  • Date what you learn. Limits and weighting change. What we saw in Oct–Nov 2026 may not hold next month.
  • Keep your state outside your device. Then moving between phone, desk and tools costs you nothing.

With room to build again, the agents reached something I had never built before: live updates on every staff screen, without Redis or a message broker.

Syahmi RafsanjaniCo-founder, CTO

Hitting usage limits with AI coding tools? Tell me your setup.

Book a free callSystem review · build work · fractional CTO
Syahmi RafsanjaniCo-founder, CTO