Buying guide

AI agent development cost: how to budget a real project

Estimate build costs, running costs and human review for an AI agent. Includes a worked budget model and questions to compare supplier quotes.

There is no useful universal price for an AI agent. A read-only assistant over a clean document collection and an agent that changes orders across three business systems are different projects. The budget should describe the work, the risks and the operating model before it describes the model provider. This guide offers a way to build that budget. It is not a StackHog price list or a survey of market rates.

Start with the unit of work

Write down one completed task in language an operations manager can verify. For an enquiry assistant, that might be a correctly classified ticket with a draft reply, supporting references and the correct owner. Sending the reply is a separate permission. For an invoice workflow, extracting fields is separate from approving an invoice or paying it. Each extra action adds integration, testing and recovery work.

Record monthly task volume, peak arrivals, typical input size, languages, response deadlines and the share of cases that require review. Include seasonal peaks and awkward documents. A quote based only on the average clean example leaves the most expensive exceptions outside the estimate. Ask suppliers to name the assumptions they used, so you can compare like with like.

Separate the build into deliverables

A practical estimate has six work packages: workflow discovery; data preparation; integrations and permissions; agent or workflow implementation; evaluation and security testing; and deployment with handover. For each package, request a deliverable, an acceptance check, an estimate range and a named dependency. The range is more informative than a single total when access to a business system has not yet been tested.

Data preparation includes identifying authoritative documents, removing stale versions and reproducing access controls. Integration work includes authentication, rate limits, sandbox access, retries and duplicate prevention. Evaluation work includes fixtures, expected outcomes and tests for forbidden actions. These are production requirements even when a demo can be assembled quickly.

Calculate operating cost per completed task

Monthly operating cost equals model usage plus retrieval or storage, hosting, external tool charges, human review and maintenance. Model usage includes every call within a task, including retries and failed attempts. Count both input and output usage using the selected provider’s current rates when you prepare a real quote. Do not assume that one customer request produces one model call.

Divide operating cost by successfully completed tasks rather than all incoming requests. A cheap run that needs a person to redo the work may be expensive in practice. Keep separate measures for completion rate, escalation rate, human minutes per case and cost per accepted result. This makes the economics visible when you change a model, a prompt or a retrieval strategy.

A worked example with explicit assumptions

Consider an illustrative team receiving 2,000 tickets per month. Suppose the current process takes eight minutes per ticket. That is about 267 hours of work. Assume a proposed system leaves 30% of tickets for a full eight-minute review and the other 70% need two minutes of checking. The resulting human effort is about 127 hours, releasing roughly 140 hours of capacity. These are invented planning inputs, not measured customer results.

If that team values capacity at an illustrative US$30 per hour, the released capacity is worth US$4,200 per month. If software, hosting and maintenance together cost an assumed US$1,200 per month, the net capacity value is US$3,000. An assumed US$18,000 implementation would then have a six-month simple payback. All three dollar amounts are scenario inputs, not market prices or a StackHog quote.

Repeat the calculation with only 35% of tickets handled in the shorter path. Human effort becomes about 197 hours, releasing 70 hours; capacity value becomes US$2,100 and net value US$900 under the same assumptions. Simple payback becomes 20 months. This sensitivity is why acceptance testing must measure the actual review burden. Time released is not automatically payroll savings or revenue.

The scope choices that change the estimate

The largest changes often come from permissions and exceptions: read-only versus write access, a single workspace versus multiple customer tenants, clean text versus scans, and one language versus several. A tool with a stable API and a sandbox is a different integration from a browser-only system whose interface changes. Document each dependency and agree what happens if it cannot be accessed.

Choose an ordinary workflow when the route is known and rules cover the task. Use a model for the steps that need language interpretation or judgment. Give an agent flexibility only where the task needs it. Anthropic’s architecture guidance makes a similar distinction between predefined workflows and systems in which the model chooses its next steps; neither label alone determines business value.

Compare quotes using the same acceptance sheet

Give every supplier the same sample inputs and ask for the same outputs. Require them to show how they will handle an expired credential, a duplicate request, an unavailable tool and an instruction embedded inside a document. Specify who approves external messages and irreversible actions. A proposal that excludes these cases should not be compared with one that includes them solely on its headline fee.

Ask who owns the repository, prompts, evaluation cases, infrastructure and accounts. Confirm what monitoring and incident response include, which third-party subscriptions are excluded, and how a handover works. Define a change-control process for new integrations and new permissions. A fixed scope can support a fixed quote; unknown access and unbounded tasks cannot responsibly be hidden inside one.

What to bring to a scoping call

Bring a one-page process description, representative inputs with permission to use them, monthly and peak volume, current handling time, system names, access constraints and the business owner who can accept the result. Include the mistakes the system must never make. These inputs let an engineering team produce a useful estimate and identify the work that should remain manual.

StackHog scopes AI agents and the integrations around them with human oversight designed into the workflow. Start with the AI readiness assessment guide if the process is not yet clear, or use the software project brief checklist to prepare a comparable request for quotes. The next step is a bounded, measurable project—not a larger model bill.

Turn a vague test into a business assertion

Consider an illustrative support workflow. The input is a customer asking to change a delivery address after dispatch. A successful result is not simply a polite answer. The agent must read the right order, recognize that dispatch has happened, explain the permitted next step and route the request to the right queue. The test should fail if it silently changes the address, reads another customer’s order or claims that a change succeeded without a confirmation from the order system.

Store the initial records, input message, expected permissions, allowed outcomes and final state for each case. Keep assertions independent from the agent’s own explanation. A grader should inspect the draft, the record and the tool actions. If two different drafts are both acceptable, grade the factual requirements and prohibited claims rather than matching one exact sentence.

Separate development examples from release evidence

Use one set while building and a held-out set for release decisions. If you repeatedly adjust a prompt against every test, the final score tells you less about new work. Group cases by workflow type and risk so a strong average does not conceal failures in a small, important category. Keep sensitive examples in an approved environment and remove data that the test does not need.

Run critical cases more than once and record variation. Compare releases with the same inputs, fixtures, tools and scoring rubric. A tool outage should not be mistaken for a model-quality regression, but it still matters to end-to-end reliability. Report both task completion and infrastructure failures instead of quietly dropping failed attempts from the denominator.

An acceptance record you can actually use

For each evaluation run, save the application version, model identifier, prompt version, dataset version, run time and grader version. For each case, retain the outcome, relevant tool events, escalation decision, elapsed time and cost. Review a sample manually to check whether automated graders agree with the business owner. Model-based grading is a useful aid, not an unquestionable verdict.

Agree separate release gates for quality and prohibited actions. For example, an operations owner may set a target for correctly routed routine tickets while requiring that no test produces an unauthorized write. These thresholds must come from the business risk and review process; a generic percentage is not evidence that your system is safe. Zero failures in a finite test suite does not prove a zero failure rate in production.

Test recovery as well as success

Interrupt the workflow after a successful external write but before the response is recorded. Replay the same incoming event. Expire a credential. Make a tool return malformed data or a rate-limit response. The system should either recover without duplicating an action or send the case to a visible queue with enough context for a person to finish it. A quiet loop of retries is not a successful recovery.

Before launch, practice disabling the automation while keeping the manual process available. Assign someone to investigate alerts and approve future model changes. Evaluation then becomes an operating discipline: each incident produces a new test, each release produces comparable evidence, and each new permission receives its own review.

Sources and further reading

The assessment is the same thinking, applied to your systems.

Two to three weeks, a scope agreed in writing before it starts, and a document you can act on whether or not you hire us for the build.