Why does letting an AI decide its own next move cost so much more than just following a fixed script?
Why do agentic systems cost more in latency and computation than workflows?
This explores why letting an AI agent decide its own steps uses more time and compute than running a workflow where developers fix the steps in advance, and what can shrink that extra cost.
This explores why an AI agent that decides its own next steps costs more in time and compute than a workflow, where developers set the sequence of LLM calls ahead of time. The basic answer is structural. A workflow makes a fixed number of model calls. An agent runs a loop: it looks at where things stand, decides what to do next, calls a tool, reads the result and decides again. Each turn is another model call, and each call carries the growing history of everything so far. Anthropic's guidance puts it plainly: agents trade latency and cost for flexibility. That trade only pays off when the path through a task can't be predicted in advance, so the advice is to start with the simplest single LLM call, move to a workflow when the task breaks into known steps, and use agents only after that (When should teams choose workflows over agents?).
The less obvious part is how much of an agent's apparent intelligence is really just spending. Research on multi-agent systems finds that about 80% of the variation in their performance comes from how many tokens they use, not from smarter coordination (How does test-time scaling work at the agent level?). So part of the extra cost is not overhead around the work. In many setups, the extra tokens are where the gains come from. This is why that line of research looks for ways to share memory between agents (such as a shared cache of already-processed context), so the gains don't scale one-for-one with the bill. Coordination adds its own cost. When many agents must agree, they often agree too late or pass along unchecked information, which means more rounds of messages and more chances for errors to spread (Why do multi-agent systems fail to coordinate at scale?).
Some of the cost is self-inflicted. Agent benchmarks that score only accuracy push developers toward more and more elaborate agents, because nothing in the score punishes waste. Treating cost and accuracy as a trade-off to optimize together often finds designs that are just as accurate and much cheaper (Why do accuracy-only benchmarks hide the true cost of agents?). How an agent acts on the world matters too. Agents that click through user interfaces one screen at a time are slow by design. Calling an application's API directly instead cut task completion time by 65–70% with almost no loss in accuracy (Can API-first agents outperform UI-based agent interaction?).
The cost gap is not fixed, and the corpus points to several ways to narrow it. Most agent subtasks are routine language jobs that small models can handle at 10–30× lower cost, so a mixed design (small models by default, large ones only when needed) is the cheaper pattern (Can small language models handle most agent tasks?). Because cost and delay pile up over a whole multi-step episode, a mid-sized model trained on real execution traces can sit at the best point on the cost–performance curve, ahead of much larger models (Does model efficiency matter more than peak capability for real work?).
Here's the reframe you might not expect. In a 115-day study of a long-running agent setup, 82.9% of tokens were cheap cache reads, meaning context the agent had already processed and simply reused (Do persistent agents really cost less per token?). The authors argue that cost per token becomes the wrong measure. The better question is what each finished piece of work costs. Seen that way, an agent's higher per-run cost can be the price of finishing tasks that no fixed workflow could complete. One caveat: the corpus is stronger on why the overhead exists and how to cut it than on direct measurements comparing agents and workflows on the same task.
Sources 8 notes
Anthropic recommends a simplicity-first discipline: optimize single LLM calls and workflows for decomposable tasks before adopting agents, since agents trade latency and cost for flexibility only when task paths cannot be predetermined.
Research shows 80% of multi-agent performance variance comes from token budget, not coordination intelligence. LatentMAS and shared-KV-cache approaches offer ways to decouple performance gains from token costs.
AgentsNet benchmark shows agents fail to coordinate strategies either by agreeing too late or adopting strategies without informing neighbors. Agents accept neighbor information without verification, enabling error propagation while remaining capable of detecting direct conflicts.
Agent benchmarks that score only accuracy obscure cost trade-offs, driving SOTA agents toward unnecessary complexity. Joint optimization of cost and accuracy across a Pareto frontier can reduce total cost while maintaining accuracy, especially when amortized over repeated runs.
The AXIS framework shows that prioritizing API calls over sequential UI interactions cuts task completion time by 65–70% while maintaining 97–98% accuracy and reducing cognitive workload by 38–53%. A self-exploration mechanism automatically discovers and constructs APIs from existing applications, solving the bootstrapping problem.
Show all 8 sources
SLMs handle the repetitive, well-defined language tasks that constitute most agent work at 10–30× lower cost than LLMs, making heterogeneous architectures (SLMs by default, LLMs selective) the economically rational design pattern.
Occamy-1.0, a 35B-parameter model further trained on execution-grounded data and long-horizon trajectories, achieves competitive performance with much larger models while sitting at the low-cost knee of the Pareto frontier, suggesting that training for coordination and follow-through substitutes for raw scale in multi-step work.
A 115-day case study found 82.9% of tokens were cache reads. When context persists and reuses, the meaningful cost denominator becomes completed artifacts, not individual tokens.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Towards a Science of Scaling Agent Systems
- Single-Agent LLMs Outperform Multi-Agent Systems on Multi-Hop Reasoning Under Equal Thinking Token Budgets
- Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation
- AI Agents That Matter
- How we built our multi-agent research system
- Scaling Behavior of Single LLM-Driven Multi-Agent Systems
- Worse Together: How Performance Breaks Down in Multi-User Multi-Agent Teams
- Survey on Evaluation of LLM-based Agents