Recipes / Make money with AI agents
Made$1.93 vs $4.11 per big docs review (about half)From his benchmark (API list prices)
Whou/BeginningSir7334
SourceReddit ↗
Date16 Nov 2026

Opus + Haiku subagents: under half the cost of a docs review

u/BeginningSir7334 ran about 300 benchmark runs on real open-source codebases, comparing Opus alone with Opus that hands work to cheaper Haiku subagents. On an 85-page docs check, the Opus-plus-Haiku setup found more real errors for about half the cost. These are his numbers at API list prices, not his bill, and on a small codebase delegating didn't pay.

Setup timeNot stated as a setup time. On his 85-page docs check, about 6 minutes with Opus + Haiku and 7 with Opus alone
CostYour Claude Code plan. His costs are estimates at API list prices, used as a proxy for subscription usage
RunsBefore you hand a big review or reading task to Claude Code, and you want to know whether cheaper subagents pay off
NeedsClaude Code 2.1.305 or later, and Python 3.8+ for his checker (per his README), A big task you'd really run, such as a docs review of a large codebase, His model-router skill and checker (MIT), or your own subagent setup, You, to run the same task in each setup and judge the results
TypeSavings

Get their template

Made and published by u/BeginningSir7334. Start here; it is their original, not ours.

Our adapted version

Ours Our version, based on u/BeginningSir7334's method. Not his wording. Fill in the [BRACKETS].

HOW TO TEST THIS ON YOUR OWN REPO (our version, based on u/BeginningSir7334's method) 1. Pick one big task you would really run, such as a docs review, and one small coding task with tests. 2. Write down the known errors or planted bugs before any run. Score every run against that list, not against the model's own summary. 3. Run each setup on the same task: Opus alone, Opus with Haiku subagents, and Haiku alone. Record the cost and wall time of each run. 4. Check which model ran each subagent. His repo has a checker that reads the transcripts; use it, or check the transcripts yourself. 5. Compare cost and errors found together. A cheaper run that misses errors isn't a saving. 6. Run each setup more than twice if the gap is small. He ran about two per setup and called the result small.

What they did

  • u/BeginningSir7334 ran about 300 benchmark runs on real open-source codebases to see when delegating to cheaper models saves money in Claude Code. Part 1 was an earlier post, linked from this one.
  • The setups: Opus alone (subagents blocked), Opus free to delegate (it never did), his routing skill, forced Haiku (every subagent on Haiku while Opus plans, briefs and checks), Haiku alone, and Sonnet alone.
  • 85-page docs check on buildbot (about 100k lines): Opus with Haiku found 58 and 63 of 92 real errors, against 36 and 38 for Opus alone. It cost $1.93 against $4.11 a run. It read about 3 times as much and wrote about 8 times the tokens, yet cost about half. Wall time was about 6 against 7 minutes.
  • Reading a ~100k-line codebase on three tasks: Opus with Haiku cost 51% less than Opus alone.
  • Harder coding tasks in a small project: Opus $2.41, Opus with Haiku $1.80 (25% less), Sonnet $0.76, Haiku $0.11.
  • On a ~100k-line codebase: Opus alone $1.95, Opus with Haiku $1.36 (30% less), Haiku alone $0.15. The Opus-led setups also added a database index the task implied; Haiku alone didn't, and his tests didn't catch it.
  • 16 short trap tasks, 128 runs: Opus $7.00, Opus with Haiku $6.30, Sonnet $2.30, Haiku $0.36. Opus found all 3 planted review bugs every time; Haiku found 2 of 3. On a timing bug, 7 of 8 runs failed, including all 4 Opus-led runs. The only pass was Haiku.
  • Small codebase (about 10k lines): delegating didn't pay. His routing skill cost 14 to 30% more, and his README says it "rarely paid off".
  • v3, in progress: Haiku codes, then a fresh Opus session reviews once. It cost 61% less than Opus alone with every hidden test passing, at about 40% more wall time.
  • His conclusion: big reviews go to Opus with Haiku. For small, well-defined coding tasks with tests, Haiku alone is surprisingly good. If every case must be covered, keep Opus involved.
“cheaper tokens don't necessarily mean cheaper tasks”— u/BeginningSir7334 (r/ClaudeCode), Reddit

Summary written by Agent Cookbook. The amount is quoted as the creator stated it in their own public post or interview; we link it but can't see their accounts. See the original for full context. How we verify

Our notes

What it takes
Claude Code with subagents on Haiku, and Opus planning and checking if you want his setup. His model-router skill and verify_models.py checker are in the repo (MIT). The test needs one big task and your own known errors to score the runs against.
Where it breaks
Results come from about two runs per setup on a few codebases, and the small codebase went the other way. Costs are estimates at API list prices. Opus wrote his tests and judged the results, and up to a fifth of Haiku's line citations on the docs check didn't exist.
Human checkpoint
You review any code before it merges. Nothing is pushed or deployed without you, and sending, buying, posting and deleting need a human.
Tools involved
Claude Code 2.1.305 or later, and Python 3.8+ for his checker (per his README), A big task you'd really run, such as a docs review of a large codebase, His model-router skill and checker (MIT), or your own subagent setup, You, to run the same task in each setup and judge the results

✓ Verified Source link checked and still live. Notes by Thomas, editor. How we verify

Approval rule

🛡
Claude Code reviews and proposes. You review any code before it merges, and nothing is pushed or deployed without you. Sending, buying, posting and deleting always need a human.

Set it up

  1. Install his skill per his README: symlink `skills/model-router` into `~/.claude/skills/model-router` (Claude Code 2.1.305 or later, `CLAUDE_CODE_SUBAGENT_MODEL` unset).
  2. Choose one big task and one small task from your own work.
  3. Run each setup on the same task: Opus alone, Opus with Haiku subagents, and Haiku alone. His benchmark script ran the Opus-with-Haiku setup by starting the prompt with `Use the model-router skill. use haiku.`; `no routing.` turns the skill off.
  4. Check which model actually ran with his checker: `python3 scripts/verify_models.py --since <date>`.
  5. Score each run against the known errors you wrote down before the run.
  6. Compare cost and errors found together, not cost alone.
  7. Keep Opus in the loop for any task where every case has to be covered.

Common failures

⚠
  • Judging by token price alone. His Opus with Haiku setup read about 3 times as much and wrote about 8 times the tokens, and it still cost about half.
  • Trusting one run. His results had about two runs per setup, and the small codebase went the other way.
  • Using Opus as the only judge. Opus wrote his tests and judged his results.
  • Delegating a small task by default. In his tests, delegating didn't pay on the small codebase.

Variations

  • Routing skill: his skill has Opus act as manager and hand work to cheaper subagents, logging each decision. On a small codebase it cost more in his tests.
  • Credit: his README says the routing skill's design follows [Maleko91/claude-code-adaptive-subagents](https://github.com/Maleko91/claude-code-adaptive-subagents); his SKILL.md was written separately.
  • v3 pattern: Haiku codes, then a fresh Opus session reviews once. In his runs it cost 61% less than Opus alone, with more wall time.

Related setups: $46K/yr in AWS costs cut via Claude Code → · $600/mo zombie sub cut in a Claude Code SaaS audit → · Done-when lists and a two-try stop rule → · Claude Code fault-test loop found 55 Ceph bugs →

Get the next money recipe. Free.

New recipes every week, plus the top 10 agent setups pack.

Unsubscribe anytime. Privacy

More money recipes

Same money model: Savings

In these guides: Make money with AI agents → · Parallel coding agents →

Get their template ↗