Parallel Sub-Agents in Claude Code: When They Save vs. Burn Tokens

Anthropic numbers often ignored in the "use sub-agents!" hype: multi-agent systems consume about 15× more tokens than a single chat, and they are "less effective for tightly interdependent tasks such as coding" (source). However, cached tokens cost only 10% of normal (90% discount) — but only if the content flagged for caching is identical across requests (source).
Multi-agent multiplies token use by 15. The cache divides it by 10. Whether sub-agents save or burn comes down to one thing: do all sub-agents share the same prefix?
Three Ways to Delegate, Ordered by Cost
- 1. Sub-agent with
subagent_typeset. Custom system prompt, custom tools, custom permissions (Anthropic). Different prompt = different cache. No sharing with the parent. Full price every spawn. Use when you actually need isolation. - 2. Clone that inherits the parent. No
subagent_type. Inherits the parent's prompt, tools, and history exactly. Children 2..N hit the cache at 10% price. Five clones reading files in parallel ≈ 5× speed at ~1.5× cost. - 3. No sub-agent. Stay in the main agent. Cheapest per turn. Right answer when the work depends on itself — refactors where step 2 needs step 1's result.
When NOT to Delegate (Anthropic's Own Line)
"Best for tasks that can be divided into parallel strands of research." Translation:
- Good: read 7 files in parallel, audit folders for a pattern, gather info from many sources.
- Bad: refactor a module, fix a bug where each step depends on the previous. Main agent only.
If you slice tightly coupled work into sub-agents, you pay 15× and gain nothing.
What Breaks the Cache
Anthropic: editing tool definitions, switching models, adding or removing images, or changing the earlier prompt structure breaks the cached prefix (source). So:
- Install your MCPs at session start, not mid-session.
- Pick the model up front.
- Don't edit
CLAUDE.mdor auto-memory mid-session — they live inside the cached prefix.
📖 Read the full source: r/ClaudeAI
👀 See Also

Sonarly: AI-driven Production Alert Triage and Resolution
Sonarly connects with observability tools to triage and resolve production alerts, reducing noise and focusing on critical issues.

Pilot Protocol: Open-Source P2P Network Stack for AI Agent Swarms
Pilot Protocol is an open-source Layer 3 and Layer 4 overlay network stack designed specifically for AI agent communication, providing direct encrypted UDP tunnels between agents with permanent 48-bit virtual addresses.

TeenyApp lets Claude build and deploy full-stack websites from a single chat link
TeenyApp provides a live subdomain and agent token that Claude can use via HTTP to scaffold code, run migrations, set up auth, and deploy directly to a real URL without leaving the chat.

Applying Claude Code's Architecture to Local 9B Models: Key Findings and Optimizations
A developer extracted architectural patterns from Claude Code's leaked source code and applied 10 optimizations to qwen3.5:9b running locally on an RTX 5070 Ti. The key discovery was that qwen3.5:9b has native structured tool_calls, and the biggest limitation for 9B models is self-discipline in knowing when to stop exploring and start producing output.