posts · 2025

The Real Cost of Claude Code Subagents

After burning through tokens with subagents, I learned when they're worth it and when custom commands work better.

For those dabbling with Claude Code subagents: they consume a TON of tokens.

Which is fine—if you’re burning them for the right reasons. A blog writer subagent? Maybe that works. You see the final output, judge quality, iterate. But when subagents touch multiple files across your codebase? That’s where things can get problematic.

TL;DR

The Token Reality

Subagents just launched, and after a few iterations with a single project, I saw each subagent using around 50K tokens and thought damn, that’s a lot of tokens:

That’s roughly a 10x difference (your mileage may vary). Not just in cost—in opportunity to iterate, course-correct, and improve the approach over time.

The Observability Problem

My custom commands came together through many iterations. Each failure was visible, debuggable, improvable. The /plan-iteration command alone went through dozens of refinements based on observed failure patterns:

/plan-task has been through similar refinement. Most recently, I caught it selecting meaningless “create empty folder” tasks for quick completion rewards. But that’s just the latest improvement—all possible because I could see the decision-making happen. This observability is what enabled the systematic validation approach that actually ships working software.

With subagents? They run in their own context, make decisions you can’t see, and by the time you review outputs, you’re reverse-engineering what happened.

Someone might say “But I have auto-accept edits on, so it’s practically the same.” Except in my workflow, the main thread runs in a terminal with infinite history. I can scroll back if I want. I can see every decision point, every correction, every iteration. That visibility has been crucial for improving my workflow over time. Trust but verify? More like “never trust, always verify”—and that’s only possible when you can see what happened.

And here’s the thing about quality: are subagents producing better code? Maybe. Sometimes. It depends entirely on what kind of work you’re asking them to do.

The Scaffolding Attempts

Sure, you can ctrl-r to see what the subagent is doing, but that’s different from having everything in your main terminal history where you naturally work. I hacked around this by heavily customizing my subagents. My custom agents are nothing like the default ones.

Where the default agents focus on expertise and philosophy, mine enforce structure:

The goal? Make agents “see” each other’s outputs. Give myself something to review without having to ctrl-r into each subagent run. It’s the same philosophy behind building guardrails with hooks—catching problems where they happen, not hoping they surface later.

But you build ALL that scaffolding and still pay the token tax. Plus, how do you KNOW your subagent is working well for your use case? This becomes particularly acute when implementing something non-trivial.

Even with perfect scaffolding:

When It Actually Works

While writing this article, I hit exactly the right scenario for a subagent. A websocket/eventing issue emerged during development—something we hadn’t fully planned for. Now I need to explore architectural options:

This calls for comprehensive analysis of an unexpected decision point. The thorough exploration a subagent provides justifies the token cost. I’m not trying to implement something iteratively—I need deep analysis of a complex problem.

That’s when the 50K tokens make sense. That’s when losing direct observability becomes acceptable. Because the work itself is exploratory, not execution.

The Pattern

What I’ve noticed: /plan-task can get bogged down when a task requires heavy architectural thinking. That’s exactly when you want to phone a friend. Call in an architecture-analyst subagent to handle the complex analysis without overloading your main implementation thread.

But the reverse is also true. When you need to implement something with many moving parts across multiple files, the observability of custom commands becomes crucial. You need to see each decision, catch each mistake, refine each approach.

Subagents work well for:

Custom commands work well for:

But wait—what about simple tasks? Could a blog writer subagent save time? Maybe, but why burn 50K tokens when a custom command handles it for a fraction of the cost? The economics rarely make sense for straightforward work.

The F.O.C.U.S. Connection

This aligns with my F.O.C.U.S. philosophy—Focused context, One mission, Constraints, Unambiguous objectives, Specific outputs.

Subagents are comprehensive explorers by nature. That thoroughness makes them excellent analysts. For focused implementation work though, custom commands provide the visibility and iteration cycles that actually ship working software. It’s why I developed the systematic breakthrough approach—validation through visibility.

What This Means Practically

Through trial and error with different approaches, patterns started emerging:

Analysis tasks: Subagents can be worth the token tax when comprehensive exploration adds value. The depth of analysis sometimes justifies the cost.

Implementation tasks: Custom commands often work better where visibility enables iteration. Workflows improve through observed failures.

The pattern seems to be matching the tool to the type of work being performed. A comprehensive analyst might not be ideal for focused implementation, just as a focused implementor might miss important considerations in broad analysis.

Is this the right approach? I don’t know. It’s just what I’ve observed in my projects. The token consumption is real, the observability challenges are real, but maybe I’m missing something.

If you’re building with Claude Code subagents:

The innovation isn’t making subagents cheaper or more transparent. It’s understanding when their comprehensive analysis justifies the cost and complexity.

Early Days

These patterns will change as the tooling matures. But right now, if you’re watching your token count explode while losing visibility into your development process, you’re not alone.

Both approaches have their place. What matters is figuring out where each works best, not forcing one approach to handle everything.


Note: This is early days. Subagents just launched. These patterns might change as tools mature. But matching tools to type of work seems likely to remain relevant.