Home / Insights / Software Costs and Budgets

Software Costs and Budgets

How Much Does an AI Agent Cost to Build and Run? A Line-by-Line Budget for a First Production Agent

Most AI agent quotes give you one number and hide the assumptions. This article does the opposite: it breaks a first production agent into scope tiers, estimates effort in person-weeks, applies clearly stated illustrative rates, and adds the run costs that arrive after launch, so you can rebuild the budget with your own numbers.

TopicsSoftware Costs and BudgetsAI Agents and Automation

Key takeaways

  • An AI agent budget has three parts: build (discovery, integration, evaluation, release), run (model tokens, tools, hosting, human review) and change (model updates, new tools, regression testing). Quotes that only cover the first part understate the cost of ownership.
  • On our illustrative assumptions, a basic single-workflow agent takes roughly 10 to 14 person-weeks to build, a standard agent with write actions and retrieval 18 to 26, and an advanced multi-system agent 32 to 48; the cash cost then depends mostly on the team’s blended rate.
  • Model tokens are often not the largest run cost. In the worked example, human review of escalated cases and ongoing maintenance cost as much as or more than the model calls, and prompt caching roughly halves the token bill.
  • The factors that move price most are the number and riskiness of write actions, the quality of the systems the agent integrates with, the evaluation standard you need, and compliance or audit requirements.
  • Budget the first year, not the first release: include a contingency, a monthly allocation for evaluation and maintenance, and a review point after the pilot where you decide whether to scale, change scope or stop.

Founders and operations leads who ask how much an AI agent costs usually get one of two answers: a vague range that could mean anything, or a fixed price for a demo that never reaches production. Neither helps you decide whether a specific agent is worth funding. This article is for decision-makers who want to see the arithmetic: CEOs and CFOs approving a budget, CTOs comparing proposals, and operations leads building a business case.

I will not quote market benchmarks I cannot verify, and I will not quote PoliteTech’s own prices. Instead, every figure below is an estimate built from stated assumptions: a defined scope per tier, an effort estimate in person-weeks, and illustrative blended hourly rates. Where a number comes from a published price list, such as model token prices, I cite the source. You can replace any assumption with your own and the structure still holds.

The budget assumes a first production agent: one bounded workflow, a small set of approved tools, logging and an escalation path, which is how we scope our own AI agent development work, with write actions starting behind human approval and a pilot defined by measurable acceptance criteria. If you are still choosing which workflow to automate, start with our guide to AI agent use cases and scoping the first pilot.

What an AI agent budget actually has to cover

An agent is not a single piece of software you buy once. It is a model, a set of tools that let the model read and act on your systems, the logic that controls when it may act, and the monitoring that tells you whether it is doing the job. Each of those has a build cost and a run cost.

The three cost buckets

  • Build. Discovery and workflow mapping, tool and integration development, prompt and control logic, evaluation sets, security review, user interface for reviewers, deployment and release.
  • Run. Model tokens, paid tool calls such as web search, hosting and storage, observability, and the time of the people who review escalated or approved actions.
  • Change. Re-running evaluations when the model provider updates or retires a model, adding tools, adjusting prompts as edge cases appear, and fixing integrations when the systems around the agent change.

Why agents cost more than a single model call

Anthropic’s engineering guidance on building effective agents (December 2024) draws a useful line: workflows orchestrate models and tools through predefined code paths, while agents let the model direct its own process and tool use. It notes that agentic systems often trade latency and cost for better task performance, can compound errors, and should be tested extensively in sandboxed environments with guardrails. It also recommends finding the simplest solution possible and adding complexity only when it measurably improves outcomes. That has a direct budget consequence: if a fixed workflow with one or two model calls does the job, it will be cheaper to build, test and run than an open-ended agent.

Action: before asking for quotes, write down whether your use case genuinely needs the model to choose its own steps, or whether a predefined workflow would do.

Three scope tiers for a first production agent

Cost follows scope, so the first step is to define it. These three tiers cover most first agents we are asked to estimate. They are illustrative definitions, not packages.

Scope itemBasicStandardAdvanced
WorkflowOne bounded task, e.g. triage and draft a replyOne workflow with branches and escalationSeveral linked workflows or cooperating agents
Tools2 to 3 read-only tools5 to 8 tools, including 1 to 2 write actions behind approval10+ tools, several write actions, some without per-action approval
KnowledgePrompt plus a few reference documentsRetrieval over a document setRetrieval across several sources with permissions per user
IntegrationsOne system with a clean APITwo to three systems, e.g. helpdesk and CRMSeveral systems, including legacy or poorly documented ones
Users and accessInternal team, shared accessRole-based access, reviewer queueSingle sign-on, per-user permissions, audit trail
EvaluationSmall test set, manual reviewScenario suite, regression runs on changeFull suite, red-teaming, sign-off by risk owner
OperationsBasic logsTracing of tool calls, cost and failuresDashboards, alerting, incident runbooks

Most first agents should be Basic or Standard. Advanced scope is appropriate when the workflow is already proven and the organisation has the review capacity and risk appetite for broader autonomy. Our article on writing requirements for an AI agent covers how to pin down tasks, boundaries and success criteria before estimation.

Action: mark each row for your own agent. If most rows land in Advanced, consider whether a narrower first release would prove value sooner.

Build cost: effort in person-weeks and what it costs

Here is the effort estimate per tier, broken into workstreams. These are planning estimates from our delivery experience for the scope defined above, not quotations, and real projects vary with the condition of the systems involved.

WorkstreamBasic (person-weeks)Standard (person-weeks)Advanced (person-weeks)
Discovery, workflow mapping, acceptance criteria1 to 22 to 33 to 5
Tools and integrations2 to 35 to 79 to 14
Agent logic, prompts, control and escalation2 to 33 to 56 to 9
Retrieval and knowledge preparation0 to 12 to 33 to 5
Reviewer interface and access control12 to 33 to 5
Evaluation, testing and security review2 to 33 to 46 to 8
Deployment, observability, release11 to 22
Total10 to 1418 to 2632 to 48

Converting effort into cost

To show how the rate changes the answer, assume two illustrative blended rates across the roles involved (engineering, QA, product and project management): USD 35 to 55 per hour for a Vietnam-based team and USD 120 to 200 per hour for a US agency. These are assumptions for the arithmetic, not survey data and not a PoliteTech price list. At 40 hours per person-week:

TierHoursEstimate at USD 35 to 55/hourEstimate at USD 120 to 200/hour
Basic400 to 560USD 14,000 to 30,800USD 48,000 to 112,000
Standard720 to 1,040USD 25,200 to 57,200USD 86,400 to 208,000
Advanced1,280 to 1,920USD 44,800 to 105,600USD 153,600 to 384,000

The ranges are wide on purpose. The low end of each assumes clean APIs, a decisive product owner and an evaluation standard agreed early. The high end assumes the integration surprises and review cycles that are common in practice.

Where proposals usually under-budget

  • Evaluation. A proposal with less than about a sixth of effort on evaluation and testing is usually planning to test in production.
  • Integrations. The agent is only as reliable as the APIs it calls. Legacy systems without good APIs can double the integration line.
  • Reviewer experience. If people approve the agent’s actions, the screen they use matters. A poor review interface turns into slow approvals and hidden labour cost.

Action: ask each vendor to fill in the workstream table above. Comparing totals without the breakdown tells you little.

Run costs, line by line

Run costs start on launch day and scale with volume. The worked example below uses a Standard agent handling an illustrative 5,000 tasks per month. Change the volume and the lines move proportionally, except fixed hosting.

1. Model tokens

Assume each task uses six model calls (plan, two tool-use rounds, a check, a draft and a final step), with an average of 8,000 input tokens per call, because context grows as tool results accumulate, and 600 output tokens per call. That is 48,000 input and 3,600 output tokens per task. These token counts are assumptions; measure your own in the pilot.

Anthropic’s published API pricing lists Claude Sonnet 4.5 at USD 3 per million input tokens and USD 15 per million output tokens, and Claude Haiku 4.5 at USD 1 and USD 5. Prompt cache reads for these models are priced at a tenth of the base input price, cache writes at 1.25 times, and batch processing at a 50% saving. Other providers publish comparable tables, and prices change, so check the current page before you budget.

Model scenarioCost per task (estimate)5,000 tasks per month
Sonnet 4.5, no cachingabout USD 0.20about USD 990
Sonnet 4.5, 75% of input served from cacheabout USD 0.10about USD 500
Haiku 4.5, no cachingabout USD 0.07about USD 330

Working: for Sonnet 4.5 without caching, 48,000 input tokens cost USD 0.144 and 3,600 output tokens cost USD 0.054. With three-quarters of input read from cache at a tenth of the price, input falls to about USD 0.047, before a small cache-write premium. Many teams route simple steps to a smaller model and keep the larger one for planning and final drafting; our article on caching, batching and routing explains the techniques.

2. Paid tool calls

Some tools are billed per call on top of tokens. Anthropic lists web search at USD 10 per 1,000 searches, and OpenAI’s API pricing lists its web search tool at USD 10 per 1,000 calls and file search at USD 2.50 per 1,000 calls with storage at USD 0.10 per GB per day after the first free GB. If our example agent made two web searches per task, that adds about USD 100 a month. Internal tools calling your own APIs have no per-call fee but do consume hosting.

3. Hosting, storage and observability

Compute for the orchestration layer is usually small. AWS lists Lambda at USD 0.20 per million requests, plus duration charges, with a monthly free tier of 1 million requests and 400,000 GB-seconds on its pricing page. The larger hosting lines are typically a database, a vector index for retrieval, log and trace storage, and an observability tool. For a Standard agent we assume an illustrative USD 150 to 600 per month across these, depending on retention and tooling choices. Tracing is not optional: our guide to observability for AI agents explains why cost per task is one of the first things to trace.

4. Human review

A first production agent should escalate uncertain cases and have write actions approved. Assume 10% of tasks escalate and each takes a reviewer four minutes, at an illustrative fully loaded cost of USD 30 per hour. That is 500 reviews, about 33 hours, or roughly USD 1,000 a month (the low estimate below assumes a 5% escalation rate): more than the token bill in the cached scenario. This line falls as confidence grows and approval thresholds are relaxed, but it should be budgeted from the start.

Monthly run cost summary (illustrative)

LineLow estimateHigh estimate
Model tokensUSD 330USD 990
Paid tool callsUSD 0USD 100
Hosting, storage, observabilityUSD 150USD 600
Human reviewUSD 500USD 1,000
Total per monthUSD 980USD 2,690

Action: during the pilot, log tokens, tool calls and review time per task, and replace these assumptions with measured figures before scaling.

Change and maintenance: the cost that arrives later

Agents need upkeep that ordinary software does not. Model providers release new versions and retire old ones, prompts that worked on one model behave differently on the next, and every change needs the evaluation suite re-run before release.

Typical maintenance activities

  • Re-running the evaluation suite on model upgrades and investigating regressions.
  • Adding or adjusting tools as the workflow evolves.
  • Tuning prompts and escalation thresholds based on reviewed cases.
  • Fixing integrations when the systems around the agent change.
  • Reviewing logs for drift, cost spikes and new failure modes.
  • Security patches and dependency updates.

Estimating the allocation

For a Standard agent we suggest planning an illustrative 2 to 4 person-days per month for steady-state maintenance, with more in the first three months after launch. At the same illustrative rates, that is about USD 560 to 1,760 per month for a Vietnam-based team, or USD 1,920 to 6,400 per month for a US agency. Over a year this can approach a third of the original build for a Standard agent, which is why it belongs in the business case.

Costs you can avoid

Avoidable costHow to avoid it
Rebuilding after a model retirementKeep prompts and model choice in configuration, and maintain a regression suite that can qualify a new model quickly
Runaway token spendCap tool-use loops and tokens per task; alert on cost per task
Silent quality declineSample and review outputs weekly; track acceptance and escalation rates
Lock-in to one frameworkPrefer thin orchestration over heavy abstractions, as Anthropic’s guidance also suggests

Action: agree a monthly maintenance allocation in the contract, with a defined process for model upgrades, rather than treating each change as a new project.

What moves the price up or down

The same headline use case can cost three times as much in one organisation as in another. These are the factors that explain most of the difference.

Factors that raise cost

  • Write actions with real consequences. Refunds, payments, record changes and outbound messages need approvals, audit trails and more testing.
  • Poor integration surfaces. Systems without APIs, with inconsistent data, or with strict rate limits.
  • Strict evaluation and compliance needs. Regulated data, audit obligations or a demanding risk owner add evaluation and documentation effort.
  • Per-user permissions. An agent that must respect each user’s access rights across systems is significantly more complex than one with a shared service account.
  • High volume with long contexts. Token cost scales with both, which makes caching and routing more valuable.
  • Security exposure. Agents that read untrusted content, such as emails or web pages, need defences against prompt injection and tighter tool permissions.

Factors that lower cost

  • A narrow, well-documented workflow with an existing manual process to compare against.
  • Clean APIs and a single system of record.
  • A product owner who can make decisions quickly and supply real examples for the test set.
  • Starting with read-only tools and drafts that a human sends, then adding write actions once the data supports it.
  • Using a smaller model for routine steps and caching stable context.

Is it worth it?

Cost only matters relative to value. Compare the agent’s all-in cost per task, including review time and maintenance, with the cost of the current process. Our article on measuring cost per task against human handling sets out that calculation. If the agent cannot beat the current process at pilot volumes on a credible path, narrow the scope or stop.

A first-year budget template and checklist

Putting the lines together, here is an illustrative first-year budget for a Standard agent at 5,000 tasks per month, using the Vietnam-based rate assumption. Swap in your own rates and volumes.

LineBasisFirst-year estimate
Build18 to 26 person-weeks at USD 35 to 55/hourUSD 25,200 to 57,200
Model tokens and paid toolsUSD 330 to 1,090 per month, 12 monthsUSD 3,960 to 13,080
Hosting, storage, observabilityUSD 150 to 600 per monthUSD 1,800 to 7,200
Human reviewUSD 500 to 1,000 per monthUSD 6,000 to 12,000
Maintenance2 to 4 person-days per monthUSD 6,720 to 21,120
Contingency15% of the aboveUSD 6,550 to 16,590
Total first yearabout USD 50,000 to 127,000

All figures are estimates built from the assumptions in this article. The same structure at the US agency rate assumption multiplies the build and maintenance lines by roughly three to four while leaving tokens, hosting and review unchanged, which is a useful reminder that run costs do not depend on where the agent was built.

Budget checklist

  1. Define the scope tier and the single workflow the first agent will handle.
  2. Ask vendors for an effort breakdown by workstream, not a single total.
  3. Check that evaluation and testing receive a credible share of effort.
  4. Estimate tasks per month, tokens per task and escalation rate, and plan to replace them with pilot measurements.
  5. Price tokens from the provider’s current published price list, with and without caching.
  6. Include paid tool calls, hosting, storage and observability.
  7. Budget human review time explicitly.
  8. Agree a monthly maintenance allocation and a model-upgrade process.
  9. Add contingency of around 15% for a first agent.
  10. Set a review point after the pilot to scale, change scope or stop.

Frequently asked questions

How much does it cost to build a simple AI agent?

On the assumptions in this article, a basic single-workflow agent with a few read-only tools takes roughly 10 to 14 person-weeks. At illustrative blended rates of USD 35 to 55 per hour that is about USD 14,000 to 30,800; at USD 120 to 200 per hour, about USD 48,000 to 112,000. Your own scope and rates will change the result.

What does an AI agent cost to run each month?

It depends on volume, tokens per task and how much human review you need. In our illustrative example of 5,000 tasks per month, model tokens, tools, hosting and review add up to roughly USD 1,000 to 2,700 per month, before maintenance.

Are model tokens the biggest running cost?

Not always. In the worked example, human review of escalated cases and ongoing maintenance cost as much as or more than tokens, especially once prompt caching is used. Measure all four lines during the pilot.

How can we reduce the cost of an AI agent?

Narrow the first workflow, start with read-only tools, use prompt caching and route simple steps to smaller models, cap tool-use loops, and keep orchestration simple. Most savings come from scope decisions rather than vendor rates.

Should we budget for maintenance after launch?

Yes. Model upgrades, new edge cases and integration changes all require evaluation and fixes. We suggest a fixed monthly allocation, with more effort in the first three months after launch.

Why do quotes for the same AI agent vary so much?

Vendors make different assumptions about integrations, write actions, evaluation depth and review tooling, and charge different rates. Ask each one for an effort breakdown by workstream so you can compare like with like.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Anthropic: Claude API pricing — accessed 10 November 2026. Token prices for Claude Sonnet 4.5 and Haiku 4.5, prompt caching multipliers, the 50% batch saving and web search at USD 10 per 1,000 searches.
  2. OpenAI: API pricing — accessed 10 November 2026. Web search tool at USD 10 per 1,000 calls, file search calls at USD 2.50 per 1,000 and storage at USD 0.10 per GB per day.
  3. Amazon Web Services: AWS Lambda pricing — accessed 10 November 2026. Request pricing of USD 0.20 per million requests and the monthly free tier, illustrating that orchestration compute is usually a small line.
  4. Anthropic Engineering: Building effective agents (19 December 2024) — accessed 10 November 2026. Workflows versus agents, starting simple, and the latency and cost trade-offs of agentic systems.

Want a line-by-line estimate for your first AI agent?

Share the workflow you want to automate and your expected volumes. We will scope a pilot, break down the effort and show the run-cost assumptions behind it.