Load only what is needed
Route to a small relevant tool set instead of sending every schema on every turn.
Guide / AI agent economics
An AI agent does not have one price. Its cost is the sum of every model turn, tool call, memory operation, retry, fallback, validation step and human review required to complete useful work. The right estimate therefore starts with the workflow, not a vendor rate card.
The short answer
A simple chat request may create one prompt and one response. An agent can create a plan, search several systems, call tools, inspect results, revise its plan, retry failed actions, ask a stronger model for help, validate the final output and wait for a person to approve it. Every step can consume tokens, infrastructure and labour. Two agents using the same headline model can therefore have radically different costs.
A defensible monthly estimate begins with four quantities: completed tasks per month, agent runs per task, model and tool activity per run, and the probability that the run succeeds without escalation. The estimate should then include uncertainty. Average behaviour alone is not enough because long conversations, retry storms and unusual tool paths create a right tail. For budget approval, Class1 treats P90 as a practical conservative view while keeping the estimate maturity visible.
Cost anatomy
A practical equation
For each agent route, estimate the input and output tokens for every model call, apply the appropriate rate basis, and add tool or infrastructure charges. Multiply that route cost by its probability. Then account for retries and fallbacks. Finally, divide by the probability that the workflow reaches an acceptable completed task. This avoids the common mistake of reporting the cost of an attempt as though every attempt succeeds.
Monthly cost is the resulting cost per completed task multiplied by completed-task demand. Keep demand separate from architecture. Product adoption can grow while the workflow stays efficient, or workflow inflation can increase calls per task even when user count is flat. Separating those effects gives engineering and finance a clearer explanation of variance.
The estimate should not hide unknowns. New agents often lack measured route probabilities, token distributions and success rates. Label those assumptions, assign an early estimate class and plan to calibrate after deployment. A wide but honest range is more useful than a precise number based on invented behaviour.
Three common architectures
Single-agent tool user. One model plans and executes with a small set of tools. This can be efficient when the task is narrow, tool descriptions are concise and the agent has strict turn limits. The main risks are repeated context, broad tool schemas and retries after invalid tool calls.
Router plus specialists. A routing model chooses a specialist model or workflow. This can reduce cost when easy tasks stay on cheaper routes, but the router itself adds a call and misrouting may trigger rework or escalation. Estimate the complete weighted route distribution.
Multi-agent collaboration. Several agents exchange plans, critiques or delegated work. This can improve difficult outcomes, but each hand-off adds context and model turns. The architecture needs explicit stopping rules, bounded delegation and a measurable benefit over a simpler workflow.
Worked estimating framework
Specify what counts as a successful business outcome, not merely a model response.
List normal, retry, fallback, escalation and human-review paths.
Assign calls, tokens, tool use and route probabilities to each path.
Use a frozen, dated basis so the approval can be reconstructed later.
Model demand, output, context, retries and fallback frequency as distributions.
Review P50, P90 and drivers, then compare the approved estimate with actuals.
Why P90 matters
Most successful runs may finish quickly, while a minority loop through several tools, replay a large context and escalate to a stronger model. Those expensive runs can materially affect the monthly bill. The average is still useful, but it does not show the budget exposure created by the tail.
P50 describes the median modelled month. P90 gives a more conservative approval number under the declared assumptions. P95 can support stricter review for high-volume or low-margin products. These percentiles are not promises; they are conditional estimates. The report must show the assumptions and estimate class beside the distribution.
Controls
Route to a small relevant tool set instead of sending every schema on every turn.
Bound planning, reflection, delegation and recovery loops with clear stop conditions.
Use fit-for-purpose models and reserve stronger models for routes that justify them.
Avoid replaying entire histories when compact state and targeted retrieval are sufficient.
Retry only recoverable failures and fix recurring invalid-output or tool-contract problems.
Apply human approval to consequential cases instead of every routine successful task.
FAQ
Usually, because an agent can create multiple model turns, tool calls, retries and validation steps for one user goal. A tightly bounded agent can still be economical when it replaces valuable manual work.
Use cost per completed business task and monthly completed-task demand. Also monitor cost per attempt and calls per task so failure and workflow inflation remain visible.
Yes, but the estimate should be an early screening estimate with declared assumptions and a wide uncertainty range. Replace assumptions with measured distributions after deployment.
Yes. Include metered APIs, search, databases, vector retrieval, browsers, execution environments and operational labour where they are material to completing the task.
Review architecture cost while the change is still a pull request. The Class1 estimator illustrates how code signals and declared demand become a P90 decision.
Next step
Start with one agent workflow, define a completed task, map the route and identify the retry and fallback tail. Then use the Class1 method to turn the architecture into a reviewable monthly distribution.