Measuring Claude Code subagent overhead: 47 tokens each, linear with no volume discount
Patient_Way_483 · reddit · 2026-11-24
A developer quantified the fixed system-prompt cost of Claude Code subagents: each agent adds 47 tokens to every API call, regardless of whether you delegate to it.
Method: empty project, no CLAUDE.md, claude -p "ok" --output-format stream-json --verbose with N generated agents; prompt tokens read from the result event (Claude Code 2.1.330, Opus 5).
Key findings:
- Short descriptions (87 chars): +47 tokens per agent, +471 at 10 agents, +2,349 at 50 — fully linear, no volume discount
- Tripling the description length (263 chars) pushes it to 95 tokens per agent — the cost is the description field, not the agent
- The much longer prompt field adds nothing to the prefix; it's only sent when the agent actually runs
- Unlike the skills catalogue (flat from 0 to 100 installed skills), agents don't behave the same way
- The 0-agent baseline still includes seven built-in agents in the 32k floor
The author shares a grep/awk one-liner to audit your own agent description lengths and asks for reproduction data to see whether 47 tokens travels across builds.
More from coding & agent
- MyClaw hits 1.1M users in 7 months with ready-to-work AI agent teams — SucceededMind · 2026-11-24
- New Kaggle Generalist Gaming Agent Competition draws buzz in Japan — steph_milani · 2026-11-24
- vwatch: open-source MCP server lets agents inspect local video at 1/3 less cost — EyeRemarkable1269 · 2026-11-24
- InControl MCP adds phone-based human approvals and cross-IDE handoffs for coding agents — Visual_Carpet_6249 · 2026-11-24
- NVIDIA ships AICR validated recipes for running Dynamo inference on Kubernetes — pjausovec · 2026-11-24
- State of Tabular AI Report 2026 out: agents, TFMs, and where the value lies — pandeyparul · 2026-11-24