Agentic AI
AI Agent Development Cost: What Drives It and How to Budget
Written by Tehreem Fatima
Published 14 min read

AI agent development cost has three parts that behave very differently: a one-time build priced mostly in engineering time, a running cost paid again on every task, and a monthly cost of keeping the agent working after launch. The running cost is the easiest to underestimate, because an agent calls the model many times per task, not once.
This guide breaks each part down with current published prices, works through one agent task step by step, and ends with a budget you can fill in for your own use case.
How Much Does It Cost to Build an AI Agent?
The cost to build an AI agent depends on scope, not on a price list. In the illustrative estimate below, a narrow agent connecting to three systems takes about 70 person-days, roughly $36,100 in developer wages alone. Running it costs from about half a cent to about eleven cents per task in model fees, plus hosting, monitoring and upkeep.
Many agency cost guides give ranges from five figures to several hundred thousand dollars, and few show how the figure was reached. A range that wide says little, because it mixes agents that read one inbox with systems that coordinate several agents across a company. The useful question is which parts of the cost apply to your agent, and how large each part is likely to be.
Anthropic’s guidance on building agents sets the starting point plainly: “Agentic systems often trade latency and cost for better task performance, and you should consider when this tradeoff makes sense.” Source [1] An agent is worth its cost when the task needs judgment that fixed rules cannot supply. When it does not, a simpler workflow is usually cheaper to build and to run.
The Three Parts of an AI Agent's Cost
An AI agent’s cost splits into three parts: building it, running it on each task, and keeping it working after launch. Each part is driven by different decisions and paid on a different schedule, so each one needs its own estimate rather than a single figure.
| Part | When you pay | What drives it | How to estimate it |
|---|---|---|---|
| Build | Once, before launch | Scope, integrations, controls, testing | Person-days of engineering work |
| Run | On every task | Model calls per task, tokens per call, tool fees, retries | Cost per task times monthly task volume |
| Keep running | Every month | Hosting, logging, evaluation reruns, model and prompt updates, review time | A monthly allowance, checked against real usage |
Part
Build
- When you pay
- Once, before launch
- What drives it
- Scope, integrations, controls, testing
- How to estimate it
- Person-days of engineering work
Part
Run
- When you pay
- On every task
- What drives it
- Model calls per task, tokens per call, tool fees, retries
- How to estimate it
- Cost per task times monthly task volume
Part
Keep running
- When you pay
- Every month
- What drives it
- Hosting, logging, evaluation reruns, model and prompt updates, review time
- How to estimate it
- A monthly allowance, checked against real usage
The build is the number most people ask about first. The run cost is the one that decides whether the agent pays for itself, because it grows with every task the agent handles.
What Drives the Build Cost
The build cost of an AI agent is mostly engineering time, set by five decisions: how much the agent may decide, how many systems it touches, what data it reads, which controls it needs, and how thoroughly it is tested. These choices fix most of the agentic AI development cost before anyone writes code.
Scope and Autonomy
An agent that drafts an answer for a person to approve is cheaper to build than one that acts on its own, because every action it can take without review needs its own checks. Narrow the first version to one task with a clear finish line. A single well-defined task is faster to build, easier to test and cheaper to run than a general assistant that tries to handle everything.
Tools and System Integrations
Every system the agent reads from or writes to needs a tool: a defined action with inputs, outputs, permissions and error handling. Integration work is the largest single item in the estimate below, and it grows with the number of systems and how well documented their APIs are. An older system with no API can push the cost up sharply, because someone has to build the access first.
Data Access and Retrieval
If the agent has to look things up in your documents or records, the build includes preparing that data and the search that finds it. Clean, structured records are cheap to use. Scattered files, scanned documents and conflicting versions of the same policy are not.
Controls: Permissions, Approvals and Limits
Controls decide what the agent may do, when it must stop and ask a person, and what happens when something fails. They take real build time: approval steps, permission scopes, step limits, and records of what the agent did and why. The Building Agentic AI Systems guide covers how to design them. For budgeting, the point is that controls are part of the build, not an optional extra.
Evaluation Before Launch
An agent needs a set of test tasks with known good outcomes before it goes live, and someone has to write them. Anthropic’s guidance on agent evaluation suggests starting small: “In reality, 20-50 simple tasks drawn from real failures is a great start.” Source [2] The same article notes why the cost is easy to resent: the value of evals is easy to miss “given that costs are visible upfront while benefits accumulate later.” Source [2] The LLM testing article describes what a useful test set covers.
How to Estimate the Build Cost
The most reliable way to estimate the build cost of an AI agent is to list the work in person-days, then price the days. The table below is an illustrative estimate for one narrow agent that connects to three business systems and sends risky actions to a person for approval.
| Work | Person-days |
|---|---|
| Discovery and process mapping | 6 |
| Tools and integrations for three systems | 20 |
| Agent logic, instructions and structured outputs | 12 |
| Controls: permissions, approval step, step limits, logging | 8 |
| Evaluation set and testing | 16 |
| Deployment and monitoring setup | 8 |
| Total | 70 |
Work
Discovery and process mapping
- Person-days
- 6
Work
Tools and integrations for three systems
- Person-days
- 20
Work
Agent logic, instructions and structured outputs
- Person-days
- 12
Work
Controls: permissions, approval step, step limits, logging
- Person-days
- 8
Work
Evaluation set and testing
- Person-days
- 16
Work
Deployment and monitoring setup
- Person-days
- 8
Work
Total
- Person-days
- 70
To turn days into money, start from a wage. The U.S. Bureau of Labor Statistics puts the 2025 median pay for software developers, quality assurance analysts and testers at $64.44 per hour. Source [3] Seventy days of eight hours at that rate is about $36,100 in wages alone.
That figure is a floor for the labor, not a quote. A company that builds agents also pays for project management, design, overheads and its own margin, and its rates include them. Treat the wage figure as a way to sanity-check the size of a quote, and the person-day list as the thing to compare between quotes. If two estimates differ by a factor of three, the difference is almost always in the scope, the integrations or the testing.
What It Costs to Run an AI Agent, One Task at a Time
The running cost of an AI agent is the model fees for every step of every task, plus any tool fees. An agent costs more per task than a chatbot because it calls the model several times, and each call re-sends the instructions, the tool definitions and everything that has happened so far in the task.
Anthropic’s pricing documentation lists what a tool-using request is billed on: “The total number of input tokens sent to the model (including in the tools parameter)” and “The number of output tokens generated.” Source [4] When the agent uses tools, the API also adds a system prompt for tool use, which Anthropic lists at 286 tokens for Claude Sonnet 5.5 and Haiku 5.5 when the model is left to choose its own tools. Source [4] None of this is unusual. It is simply how an agent works: the model needs the whole task in front of it to choose the next step.
Anthropic measured the effect in its own systems: “In our data, agents typically use about 4× more tokens than chat interactions.” Source [5] That is an average across Anthropic’s own work, so treat it as a direction rather than a rate for your agent.
A Worked Example: One Remittance Email
Take an illustrative accounts-receivable agent. A customer emails to say they have paid; the agent reads the email, looks up the customer, finds the open invoices, checks the amounts, and proposes how to apply the payment for a person to approve. The task takes six model calls.
The assumptions, chosen to be typical rather than flattering:
- Instructions, tool definitions and the tool-use prompt: 3,000 tokens, sent on every call.
- The customer’s email: 800 tokens.
- Each tool result the agent reads: about 1,200 tokens, and each reply the model writes on the way: about 250 tokens.
- The final proposal: 500 tokens.
Because each call carries everything before it, the input grows with every step: 3,800 tokens on the first call, 11,050 on the sixth, and 44,550 across the whole task. Output across all six calls is 1,750 tokens.

Now price it, using the rates the providers listed on 27 October 2026. Claude Sonnet 5.5 and OpenAI’s gpt-6.1-sol are both listed at $2 per million input tokens and $10 per million output tokens. Source [4] Source [6] Claude Haiku 5.5 and OpenAI’s gpt-6-luna, both lower-priced models, are listed at $0.10 and $0.50. Source [4] Source [6] Haiku 5.5’s rate applies to prompts up to 100,000 tokens, which every call here stays well under. Source [4]
| Setup | Cost per task | 3,000 tasks a month |
|---|---|---|
| Mid-tier model, no caching | $0.1066 | $319.80 |
| Mid-tier model, instructions cached | $0.0724 | $217.20 |
| Small model, no caching | $0.0053 | $15.99 |
Setup
Mid-tier model, no caching
- Cost per task
- $0.1066
- 3,000 tasks a month
- $319.80
Setup
Mid-tier model, instructions cached
- Cost per task
- $0.0724
- 3,000 tasks a month
- $217.20
Setup
Small model, no caching
- Cost per task
- $0.0053
- 3,000 tasks a month
- $15.99
Three things stand out. First, input is about 84% of the mid-tier bill, so the length of the context matters more than the length of the answer. Second, the same task done as one chatbot-style call (the email and the instructions in, a 500-token answer out) would cost $0.0126, so this agent costs about eight times as much per task. Third, the choice of model moves the bill by a factor of twenty, which is why testing a smaller model is worth the effort.
The cached row assumes the 3,000-token instructions are read from the provider’s cache on every call. Both providers list cached input for the two mid-tier models at $0.10 per million tokens, while writing to the cache costs slightly more than normal input ($2.50 per million in both price tables), so the saving depends on the cache staying warm between tasks. Source [4] Source [6] The AI chatbot cost breakdown explains caching in more detail.

What the Example Leaves Out
Model fees are not the whole run cost. Tasks that fail and run again add their full cost again, so a 10% retry rate adds roughly 10% to the bill. Some tools charge per call: OpenAI lists web search at $10 per 1,000 calls and file search at $2.50 per 1,000 calls, on top of the tokens they add. Source [6] And the approval step costs people’s time. If one task in five goes to a person who spends three minutes on it, 3,000 tasks a month means 30 hours of review, which belongs in the budget alongside the model fees.
Costs That Continue After Launch
An AI agent keeps costing money after launch through hosting, logging, evaluation reruns, updates when models or business rules change, and the time people spend reviewing its work. These costs are easy to leave out of a first budget because none of them appears in the build quote.
A widely cited Google paper on machine learning systems warned that “it is common to incur massive ongoing maintenance costs in real-world ML systems.” Source [7] Agents inherit the same problem with new causes. Model providers retire older models: Anthropic’s documentation says “Applications relying on Anthropic models may need occasional updates to keep working,” and that requests to a retired model fail. Source [8] A model change means re-running the evaluation set, and sometimes adjusting instructions until the results match again.
Plan a monthly allowance for these items:
- Hosting and storage. The servers that run the agent, the database of task records, and any stored documents it searches.
- Logging and tracing. A record of every step the agent took, which you need both to debug failures and to measure cost per task.
- Evaluation reruns. Running the test set after every change to instructions, tools or model. Anthropic notes that once evals exist, “latency, token usage, cost per task, and error rates can be tracked on a static bank of tasks.” Source [2]
- Updates. Changes to policies, systems the agent connects to, and the model it runs on.
- Review time. The hours people spend approving or correcting the agent’s work.
Fossilite’s guide to software maintenance cost after launch covers what to budget for in maintenance after launch for software in general, and most of it applies to agents too.
How to Lower AI Agent Cost Without Breaking It
The cheapest way to lower an AI agent’s running cost is to cut the number of model calls per task, then move each remaining call to the smallest model that still passes your tests. Caching and batch processing help after that. Check every change against the evaluation set: a cheaper agent that gets more tasks wrong is not cheaper.
- Use fewer steps. If part of the task always runs the same way, make it ordinary code rather than a model decision. Anthropic recommends “finding the simplest solution possible, and only increasing complexity when needed.” Source [1]
- Test smaller models. OpenAI’s guide to building agents suggests you “build your agent prototype with the most capable model for every task to establish a performance baseline,” and then “try swapping in smaller models to see if they still achieve acceptable results.” Source [9] In the worked example, that change alone moves the monthly bill from about $320 to about $16.
- Route by difficulty. Anthropic lists “Routing easy/common questions to smaller, cost-efficient models” as a use for routing. Source [1] Send simple steps to a small model and keep the larger one for the hard ones.
- Trim what goes back into the context. Tool results are often the largest part of the input. Return only the fields the agent needs, not the whole record.
- Cache the repeated part. Put the instructions and tool definitions first and unchanged, so they can be read from the cache.
- Batch work that can wait. Anthropic’s Batch API gives “a 50 percent discount on both input and output tokens” for requests that do not need an immediate answer. Source [4]
How to Budget for an AI Agent
A budget for an AI agent should state the build cost once and the running cost as a monthly figure built from cost per task. Measure cost per task on a small set of real tasks before launch, then replace the estimate with real numbers from the agent’s own records after the first month.
The monthly running cost can be written as one line:
Monthly cost = tasks per month × cost per task × (1 + retry rate) + tool fees + hosting and monitoring + review hours × hourly cost + an allowance for updates
To fill it in:
- Count the tasks. Use last quarter’s volume for the process the agent will take over, not a hoped-for figure.
- Trace one task. Write down each step the agent will take and roughly how much text each step reads and writes, as in the worked example.
- Price two models. Work out cost per task on a mid-tier model and a small one, so you know the range before you test.
- Add the people. Estimate how many tasks will go to a person and how long each review takes.
- Set the limits. Decide the most you will pay for one task and in one month, and build those limits into the agent (see the FAQ below).
The cost drivers section of the Building Agentic AI Systems guide lists the same drivers from the design side, which helps when you are deciding how to structure the agent rather than what it will cost.
When an AI Agent Is Not Worth the Cost
An AI agent is not worth its cost when the task follows fixed rules, when volume is too low to repay the build, or when each task is worth less than the agent costs to run and supervise. In those cases a script, a simple workflow or a person is usually the better choice.
Compare the value of one task with the cost of one task. If a person currently spends ten minutes on each remittance email, the agent in the worked example saves that time for about eleven cents in model fees plus its share of hosting and review. If each task saves thirty seconds, the same agent may never repay its build. The AI Agent vs AI Assistant comparison helps when the answer is that a person with a good assistant would do the job for less, and the Agentic AI Use Cases guide shows which kinds of work tend to repay an agent.
How SensViz Can Help
SensViz designs and builds AI agents around a specific task, with the tools, approval steps, limits and evaluation set the task needs. Before giving a delivery estimate or quote, we confirm the use case, the systems involved, the data the agent must read and how its work will be checked, because those decide most of the cost.
If you are weighing the AI agent development cost for your process, our agentic AI development service describes how we work, and our pricing page explains what shapes a project’s cost. When you are ready, tell us about the task and we can work through the estimate with you.
Frequently Asked Questions
These answers cover the questions buyers ask most often once the build quote is on the table.
Do You Pay for an AI Agent When It Is Not Running Tasks?
An AI agent costs nothing in model fees when it is idle, because providers charge per token used. Other costs continue: servers, databases and logs are billed whether or not tasks run, and some hosted tools charge for storage by the day. OpenAI, for example, lists file search storage at $0.10 per GB per day, with 1 GB free. Source [6]
Does a Multi-Agent System Cost More Than a Single Agent?
A multi-agent system usually costs more to run than a single agent, because several agents call the model on the same task. Anthropic reports that “multi-agent systems use about 15× more tokens than chats,” far above its single-agent figure, and says they “require tasks where the value of the task is high enough to pay for the increased performance.” Source [5]
Can You Set a Hard Limit on What an AI Agent Spends?
An AI agent’s spending can be capped per task and per month. Agent frameworks can stop a run after a set number of steps: OpenAI’s Agents SDK raises an error when a run exceeds its max_turns limit. Source [10] At account level, Anthropic’s spend limits “set a maximum monthly cost an organization can incur for API usage.” Source [11]
How Long Does It Take to Build an AI Agent?
Building an AI agent takes as long as its scope, integrations and testing require. The illustrative 70 person-days above is about three and a half months for one engineer, or around seven weeks for two working in parallel. Add time for your own team to grant system access, answer process questions and review test results.
Sources
- Anthropic. Building effective AI agents. (opens in a new tab)
- Anthropic. Demystifying evals for AI agents. (opens in a new tab)
- U.S. Bureau of Labor Statistics. Software Developers, Quality Assurance Analysts, and Testers (Occupational Outlook Handbook). (opens in a new tab)
- Anthropic. Pricing (Claude Platform Docs). (opens in a new tab)
- Anthropic. How we built our multi-agent research system. (opens in a new tab)
- OpenAI. Pricing (OpenAI API documentation). (opens in a new tab)
- D. Sculley et al. Hidden Technical Debt in Machine Learning Systems. Advances in Neural Information Processing Systems 28 (2015). (opens in a new tab)
- Anthropic. Model deprecations (Claude Platform Docs). (opens in a new tab)
- OpenAI. A practical guide to building agents (PDF). (opens in a new tab)
- OpenAI. Running agents (OpenAI Agents SDK documentation). (opens in a new tab)
- Anthropic. Rate limits (Claude Platform Docs). (opens in a new tab)



