Budgeting multi-agent token cost
For engineers
Why multi-agent runs multiply tokens, how to cap and attribute spend, and when a design costs more than it earns
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A worker agent runs 10 turns, and on turn 2 it fetches a 20k-token web page. Roughly how often is that page billed as input?
Check yourself · 2 of 5
What makes a spending limit real in a multi-agent system?
Check yourself · 3 of 5
Where should the token counts in your usage log come from?
Check yourself · 4 of 5
For prompt caching to save money across workers, the shared instructions should be:
Check yourself · 5 of 5
When is a multi-agent design clearly worth its extra cost?
Topics
- Why multi-agent runs multiply tokens4 min read · Each agent re-reads instructions and context, tool output piles up and the lead reads every report
- Per-run and per-agent spending limits4 min read · Caps on tokens, turns, spawned agents and money, enforced by the orchestrator, with a defined action when hit
- Attributing spend to agents and tasks4 min read · Tagging usage by agent, run and customer so a runaway loop or a wasteful worker shows up in the numbers
- Cutting multi-agent cost without losing quality5 min read · Cheaper models for workers, cached shared prefixes, short worker outputs, batch processing and fewer workers
- When a multi-agent design is not worth its cost4 min read · Weighing cost per task and latency against the value of the task, and shrinking or dropping the design
Start here
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
Reports that agents use about 4x and multi-agent systems about 15x the tokens of chat, and that value must justify it.
- Prompt caching (Claude docs) (opens in a new tab)DocsFree
How cache writes and reads are priced, and how a shared prefix is reused across calls.
- Batch API (OpenAI) (opens in a new tab)DocsFree
Asynchronous batch jobs for work that can wait, at a lower price than live calls.
Helps to know first
110 questions · last verified 2026-12