AI
Single LLM Call vs. Multi-Step Agent Chains
Agent chains look impressive in demos but usually cost more and fail more than one well-scoped LLM call. Here is how to decide which architecture fits your task.
TL;DR
Default to one well-scoped LLM call with structured output. Only chain when a task requires the model to act, observe a result, and decide what to do next based on that result. Chains multiply token cost, latency, and failure surface without a proportional accuracy gain for most business tasks.

A single, well-designed LLM call almost always beats a multi-step agent chain on cost, latency, and reliability, unless the task genuinely requires the model to observe an intermediate result before deciding what to do next. Most "agent" features founders ask us to build do not need that. They need one good prompt with structured output.
Why chains become the default anyway
Multi-step chains are seductive because they mirror how a human would approach a problem: research, then draft, then review, then revise. Frameworks make it easy to wire up four LLM calls with a planner in front, and the result demos well. We built exactly that shape ourselves for our own cold outreach system: extract company facts, summarize, draft the email, then a separate polish pass. Four hops because that is how you would hand the job to a person one step at a time.
That shape is also where the problems start. Each hop adds a new place to lose context. Our summarize step only saw the extraction step's output, not the original scraped page, so by the time the email was drafted the model was working from a lossy summary of a summary. Four sequential calls at two to three seconds each also means ten-plus seconds before a user sees anything, before retries. And the polish step regularly rewrote details the extraction step had gotten right, because it had no visibility into why the draft said what it said. It just saw a draft and a mandate to improve it.
Anthropic's guidance on this is direct: start with the simplest solution, and only add agentic complexity when a single call with good context genuinely cannot do the job (Building Effective Agents). That is not hedging. It is the pattern that holds in production.
What collapsing our own pipeline taught us
We run our own cold outreach system. It scrapes a prospect's site with a self-hosted Firecrawl instance and a local LLM, then writes one tailored email per company. The original four-stage version was slower, cost more in tokens per lead, and produced worse output for the reason described above.
We collapsed it into a single call: extract the facts and draft the email in one prompt, with the extraction fields specified as structured output before the email body. Cost per lead dropped. Quality went up because the model held the full context, the actual scraped page, not a compressed version of it, throughout the entire generation. The lesson applies well past outreach: if your "agent" is really just transform-input-to-output with no branching decision in the middle, splitting it into steps is pure overhead.
A practical test before you chain anything
Ask whether the task has a decision point that depends on information the model does not have yet. If yes, you likely need at least one loop. The model has to act, observe what happened, then decide the next move. If no, every step's input is fully knowable before the model runs, and the task belongs in one call with a good prompt, or in a deterministic code pipeline with the LLM handling one clearly-scoped part.
Tasks that genuinely need iteration:
- Debugging code against a failing test suite (the model must run the test to know what to fix)
- Navigating a website where the next action depends on what is currently on the page
- A support agent that needs to ask a clarifying question before it can act
Tasks that do not need it, regardless of how "agentic" they sound in a pitch:
- Summarizing a document and extracting structured fields
- Classifying and routing a support ticket
- Drafting an email, a spec, or a status update from known inputs
We cover the broader version of this decision in our breakdown of agents vs. workflows. If you are also deciding whether to build this capability in-house or buy a platform, custom agent vs. chatbot platform covers that adjacent question.
The cost math that compounds quietly
Chains cost more in three ways, and our outreach pipeline paid all three before we fixed it.
Token cost. Each call re-sends context (system prompt, prior outputs) that a single call would pay for once. Our four-step version resent the scraped page summary at every hop. The single-call version pays for the full page once.
Retry cost. If any step returns malformed output, you retry that step or the whole chain. When our polish step returned something malformed, the extraction and draft steps had already run and been billed. A single call fails once, not four times.
Engineering cost. The four-stage version required orchestration code and state passing between steps. That code disappeared entirely when we merged everything into one structured prompt. Orchestration is not just build cost; it is ongoing maintenance surface every time a model version changes or a schema shifts.
If you are estimating what an AI feature will cost at volume, model both architectures against real sample inputs before committing. Our guide to LLM cost optimization covers how to structure that estimate. Once a vendor pitches you a multi-agent system, ask them to justify each hop explicitly. The diligence framing is in evals in AI vendor contracts.
Structured output replaces most "planning steps"
A lot of what multi-step chains are used for, extract this, format that, validate the other thing, is better handled with structured output: a JSON schema or function-calling spec the model fills in a single pass. Modern frontier models are reliable at returning well-formed structured data when the schema is specified clearly. That removes the main reason teams reach for a validation step in the first place.
After the single call, add a deterministic code-level check: does this field parse, is this value in the expected range. Do not add a second LLM call to review the first one's work. Code is faster, cheaper, and does not drift.
Where this lands
Default to one call. Give it the full context it needs, specify structured output, and validate with code. Reach for a chain, or a real agent loop with tool use, only when the task has a genuine decision point that depends on something the model cannot know until it acts. That category is smaller than most agent demos suggest. It is also the difference between an AI feature that is cheap and predictable to run and one that quietly burns budget every time it re-reads its own output.
If you are scoping an AI feature and are not sure which side of that line it falls on, let's talk.
Frequently asked questions
When does a multi-step agent chain actually pay off?
When the task requires the model to take an action, observe the result, and decide what to do next based on that result, like debugging code against a live test suite or navigating a multi-page website. If every step's input is knowable before the model runs, it belongs in one call or a deterministic pipeline.
Does a single-call architecture increase hallucination risk?
Not inherently. A single call with a clear schema and structured output is usually more reliable than a chain, because each hop in a chain is a new opportunity for the model to drift from the original context. Chains do not add accuracy; they add surface area.
How do I estimate cost before committing to an architecture?
Run both versions against 20 to 30 real inputs, log token counts and latency per run, then multiply by expected monthly volume. Chains typically run three to eight times the token cost of an equivalent single call once retries are counted.
Can I start with a chain and simplify later?
Yes, and it is often the right order. Ship the chain to learn what the task actually requires, then collapse steps that turned out to be deterministic or redundant into a single call once you have real production data to guide the decision.
How Pykero can help
Services related to this article.
Building something like this?
Pykero Agency designs and ships production web, mobile, SaaS, and AI products.
Talk to us


