What you need to know

Budget an agent per accepted business task, including failed attempts and human review. Track cash spend and reviewer capacity separately; a cheap model call can still produce expensive work. The method below uses your measured usage and explicit planning assumptions rather than a vendor price list.

Evergreen tokens passing through a metal channel beside blank paper cards and a pencil, illustrating controlled application costs.
AI-generated editorial illustration
01

Choose the denominator before collecting invoices

A completed task needs a business definition. For invoice triage, that might mean a correctly classified invoice with the required fields and a recorded reviewer decision. A response from the model is only an attempt. Count abandoned runs, corrections and tasks sent back to a person, because those consume money or time even when nothing usable reaches the queue. Keep a small ledger with the task identifier, attempt count, outcome, external charges and review minutes. Avoid putting invoice contents in the ledger when a reference will do. Calculate total operating cost divided by accepted tasks over the same period. Report the acceptance rate beside that figure so a team cannot make unit cost look better by quietly narrowing what it accepts. For an early pilot, retain the current manual route and measure it using the same task boundary.

02

Separate the bill into costs you can change

Start with model charges, paid tool calls, storage, hosting and any platform commitment attributable to the workflow. Add support and reviewer time as separate lines. OpenAI's production guide identifies token volume and token price as model cost drivers; neither tells you how much work a process completes. Capture actual charged usage where available, then reconcile the ledger to the invoice. If shared infrastructure cannot be allocated reliably, show it as an unallocated amount instead of manufacturing precision. Keep initial integration, test design and training outside the monthly run cost, but include them when judging payback. Record whether a line is measured, contracted or estimated. That distinction matters when procurement compares a predictable subscription with usage billing: the subscription may move risk into a commitment while the usage model leaves it in variable demand.

03

Model retries without counting them twice

A retry can mean a second model call inside one attempt, or a second complete attempt after the first failed. Decide which unit your measurement uses. If average cost per attempt already includes all internal model and tool calls, do not multiply it by those calls again. Multiply expected tasks by complete attempts per task, then by cost per attempt. Estimate review time from observed cases, including difficult failures that take longer than successful work. Keep a separate scenario for a dependency outage that causes repeated attempts. OWASP's unbounded-consumption entry gives a security reason to bound usage; our budgeting recommendation is to make the same bound visible to the finance owner. A queue should stop or hand work to a person when it hits the allowance. Repeatedly paying for an unavailable service is not progress.

04

Worked example: an invoice triage pilot

Hypothetical planning example, not a customer result: assume 2,000 tasks a month, 1.25 complete attempts per task and $0.04 in measured external charges per attempt. That produces $100 in variable charges. Assume two reviewer minutes per task at a loaded $45 hourly rate: 4,000 minutes cost $3,000. Add an assumed $300 monthly operating allocation and total recurring cost is $3,400. If 1,800 tasks are accepted, cost per accepted task is about $1.89. Initial build work is excluded and must be assessed separately. Now hold volume and acceptance constant but increase review to four minutes: recurring cost becomes $6,400, or about $3.56 per accepted task. These assumptions show where to investigate, not what agents normally cost. Validate whether review applies to every submitted task and whether rejected tasks need additional manual processing before using the example for a decision.

05

Set limits at the workflow boundary

A monthly warning is useful only if someone can act on it before the next invoice. Give the workflow a maximum number of attempts, a time limit and a rule for returning incomplete work. Where an agent can buy services or trigger paid queries, enforce an allowance in that tool's calling layer. Do not assume a model instruction or a vendor dashboard alert is a hard spending cap. Confirm the exact behaviour in the purchased product and test reaching the limit with harmless work. Record who can raise the allowance and how the queue resumes after a stop. Set your own tolerances from the business impact of delay and overspend; there is no universal sensible dollar limit. Include enough capacity for the manual fallback, otherwise a successful stop simply creates an operational backlog nobody can clear.

06

Decide what the pilot has earned

Before launch, agree what evidence would justify expansion: a tolerable cost per accepted task, available reviewer capacity and a quality definition owned by the business. Compare the agent with the current process across the same workload, including exceptions. Do not present all minutes saved as cash savings unless staffing or purchased capacity actually changes. A useful next step might be reducing manual backlog rather than reducing cost. Re-estimate after changing the model, retrieval context, prompt, task mix or tools; each can alter attempts and review effort. Use the agent cost calculator to explore demand and retry assumptions, then replace its inputs with pilot measurements. Read the AI metering guide when comparing purchasing units. Keep one dated decision note with the baseline, assumptions and expansion condition so the next budget review can explain why the workflow exists.

Your vendor checklist

  • Define an accepted task and count failed attempts.
  • Measure input, output and tool charges from representative runs.
  • Price review minutes and exception handling separately.
  • Set per-run limits and a monthly stop owner.
  • Compare cost per accepted task against the current process.
  • Repeat the estimate after a model, prompt or permission change.
Put the guide into practice →

More field guides

Dated sources

  1. OpenAI, Production best practices. Checked 18 October 2026. Vendor documentation describes token volume and token price as cost drivers. This guide adds its own business-task accounting method; it does not quote current model prices.
  2. OWASP, LLM10:2025 Unbounded Consumption. Checked 18 October 2026. The 2025 risk entry describes uncontrolled consumption and recommends usage limits and monitoring. Our numerical budgets are illustrative assumptions, not OWASP thresholds.