Start with the workflow, not the model

The relevant cost is that of completing a task with sufficient quality, not the isolated price of a single call. A workflow may include classification, retrieval from internal data, response generation, validation, a system call, and exception handling. Each stage consumes technical resources and operating time, even when the model itself appears inexpensive.

Before choosing an architecture, map the complete path of a request. Record inputs, model calls, queries, integrations, decision points, waits, and outputs. For predictable tasks, a coded workflow is often easier to test and control than an agent that dynamically decides what to do next. Anthropic recommends starting with the simplest solution and adding complexity only when it demonstrably improves the result.

  • Separate per-request cost, fixed monthly cost, and initial implementation effort.
  • Record how many times a request may repeat a step or call a tool.
  • Treat waiting time as an operating cost when it delays customers or teams.

Sources and references: [1]

Turn invisible work into a calculation

Review is a variable cost that depends on the task’s risk and ambiguity. It may mean checking a response, correcting fields, approving an action, or investigating an exception. Even if review is not required for every request, the design should estimate the share that needs intervention and the average time required to resolve it.

Integrations also have two different costs. There is the initial development, including authentication, field mapping, limits, and testing, and there is ongoing operation, including API changes, expired credentials, missing data, and synchronization failures. A useful estimate separates engineering hours, operations hours, and the impact of downtime instead of hiding everything in a line called automation.

  • Estimate the time per review and multiply it by the expected proportion of reviewed cases.
  • List every external system, required data, permission, and behavior when the integration fails.
  • Include the cost of reprocessing requests that end partially completed or with incomplete data.

Sources and references: [2]

Latency changes the cost even without increasing the bill

A chain with several calls can increase response time even when each individual call has a moderate cost. Waiting occupies support staff, prolongs a customer conversation, delays an approval, or prevents a process from moving to its next stage. With sequential calls, time tends to accumulate. Parallel processing can reduce waiting, but it makes implementation more complex and may increase diagnostic work.

The choice should reflect the value of time for that task. An internal analysis that runs overnight may tolerate a longer chain. A support interaction during a phone call may need a short response and a clear exception route. Autonomous agents deserve particular attention because they can make several iterations, increase costs, and accumulate errors. Step limits, maximum durations, and explicit termination are budget controls, not merely technical details.

  • Measure time to the first response and time to task completion.
  • Set a limit for calls, retries, and duration for each request.
  • Prefer asynchronous processing when the user does not need an immediate response.
  • Calculate the cost of a queue when integration or review capacity is limited.

Sources and references: [1]

Maintenance includes quality, security, and change

An AI workflow changes when the surrounding documents, processes, and systems change. It can also change when the model behaves differently with the same types of input. Maintenance therefore includes updating instructions, adjusting formats, reviewing tools, monitoring failures, and expanding test cases. Business-specific evaluations help locate regressions in individual stages instead of relying on a general impression that the system appears to work.

The more autonomy and external access a workflow has, the greater the cost of control. Untrusted inputs can influence decisions and tool calls, especially when free-form data passes between stages. It is advisable to limit permissions, use structured formats, validate arguments, and record enough events to investigate a failure. These controls require development and operations work, but they can also reduce the cost of incidents that are difficult to diagnose.

  • Maintain a set of normal, ambiguous, incomplete, and adversarial cases.
  • Monitor quality, latency, integration failures, interventions, and reprocessing.
  • Calculate the effort required to review access, change schemas, and update documentation.
  • Separate quality testing from validation of permissions and tool behavior.

Sources and references: [2][3]

A practical decision for approving or rejecting the project

Consider a hypothetical order-triage workflow. The model classifies the message, extracts the identifier, queries the order system, and drafts a response. A simple version could use fixed steps and route cases without an identifier to a queue. An agentic version could choose among several tools, ask questions, and retry. The second option appears more flexible, but it adds decisions, error paths, observability, and tool-selection tests.

To compare the options, calculate the cost per completed case across four layers: technical execution, operational work, waiting, and maintenance. Then estimate the cost of failures, including reprocessing, escalation, and the impact of an incorrect action. The decision should not be to automate everything. It may be better to automate only classification and extraction, leaving the query or final response in a more controlled workflow. The cutoff is the net value of a task resolved with acceptable quality, not the number of calls eliminated.

  • Compare a minimum version, a version with additional steps, and an agentic version.
  • Use conservative, likely, and adverse scenarios for volume, review, failures, and latency.
  • Approve the next step only when pilot data reduces an important uncertainty.
  • Define in advance which signals justify simplifying or stopping the workflow.

Sources and references: [1][2][3]

  • Map every step, call, integration, queue, review, and exception path.
  • Estimate implementation, execution, review, waiting, maintenance, and failure separately.
  • Set limits for retries, steps, duration, permissions, and reprocessing.
  • Create evaluation cases that represent real inputs, edge cases, and future changes.
  • Compare the simplest solution with more autonomous alternatives using cost per completed task.

Common questions

How do you calculate review cost?

Multiply the average time for each review by the internal cost of the role and by the estimated proportion of requests that require intervention.

When can an agent cost more than a fixed workflow?

When it executes many steps, repeats calls, requires more testing, or increases diagnostic work without clearly improving the result.

What should be included in the pilot?

Include telemetry for latency, failures, reprocessing, reviews, quality by stage, and the changes needed to keep the workflow operable.

Sources and references

  1. Anthropic: Building effective agents ↗Accessed on October 16, 2026
  2. OpenAI: Evaluation best practices ↗Accessed on October 16, 2026
  3. OpenAI: Safety in building agents ↗Accessed on October 16, 2026