What drives the cost of an AI agent, to build and to run
Two AI agents that look alike in a demo can differ hugely in cost. The difference comes from a handful of decisions: how much the agent does on its own, what it connects to, how you check its work and how often it runs.
Ask what an AI agent costs and the honest answer is “it depends”. That’s not very useful on its own. So here’s what it depends on: the decisions that move the cost of building an agent, and the ones that move the cost of running it every month after launch.
We don’t publish prices, because the same request can mean very different things. Once you know these factors, though, you can compare quotes, cut scope with confidence and spot a proposal that has skipped something important.
Part 1: What drives the cost of building it
1. How much the agent does on its own
This is the biggest single factor. An agent that drafts a reply for a person to send is a much smaller build than one that sends it. An agent that suggests a refund is smaller than one that issues it.
Every step the agent takes on its own needs:
- rules for what it may and may not do
- checks that catch a wrong action before it does damage
- a clear record of what it did and why
Start with the agent preparing work and a person approving it. Give it more freedom step by step, as the numbers show it can be trusted.
2. What it connects to
Agents earn their keep by working inside your existing tools: the CRM, the inbox, the ticketing system, the accounting software. Each connection adds work:
- Clean, documented APIs are the quick case.
- Old systems, missing APIs or screens the agent has to read take much longer.
- Writing back to a system (creating, updating, paying) costs more than reading from it, because mistakes there are real.
The number of systems matters, but their quality matters more. One awkward legacy system can outweigh three modern ones.
3. The state of your data
If the agent answers questions or makes decisions from your documents and history, that material has to be findable, current and allowed to be used.
- Well-organised, up-to-date sources mean the build can focus on the agent itself.
- Scattered, duplicated or outdated documents mean cleaning and structuring them first, which is often the hidden half of the project.
- Regulated or confidential data adds work on where it can be stored and which AI providers may see it.
4. How you check that it’s good enough
An agent without tests is a demo. A production agent needs a set of real examples with known correct outcomes, and a way to run it again after every change.
The stricter the quality bar, the more examples and review rounds it takes to reach it. An internal assistant can launch with a modest test set. An agent that touches customers’ money needs a much larger one, plus tests for the cases it must refuse.
5. Guardrails, permissions and audit
Fintech, health and other regulated teams need more than a working agent. They need limits on what it can access, approval steps for sensitive actions, logs an auditor can read and a way to switch it off quickly. This is a real share of the work, and a proposal that leaves it out isn’t cheaper. It’s incomplete.
6. Where people meet it
An agent that works behind the scenes, or inside a tool your team already uses such as Slack, needs little interface. One that customers talk to inside your product needs design, edge cases, error messages and support for when it hands over to a person.
Part 2: What drives the cost of running it
1. Model usage
You pay the AI provider for the text the model reads and writes. The monthly bill comes down to three things:
- How much each task uses: long documents and long conversations cost more than short, focused ones.
- Which model does the work: the most capable models cost noticeably more per task than smaller ones, which handle simple steps well.
- How many tasks run: usage usually grows once people trust the agent.
Good engineering keeps this in check: a smaller model for easy steps, caching for repeated context, and only the information the task needs.
2. Human review time
This is often the largest running cost, and it rarely appears in the AI bill. If a person checks every output, their time is part of the price of the agent. The goal is to target review: check everything at first, then only the cases the agent is unsure about or where a mistake is expensive.
3. Monitoring and re-testing
Models change. Providers release new versions and retire old ones, and the same prompt can behave differently afterwards. A running agent needs its test set re-run when that happens, plus monitoring that flags rising error rates or costs before your users notice.
4. Infrastructure and tools
Hosting, a search index over your documents, logging and any paid third-party services the agent calls. Usually a smaller share than model usage and review, but worth listing in full.
5. Upkeep
The systems the agent connects to change their APIs, your processes change, and new kinds of requests appear. Budget for regular small improvements, not just fixes when something breaks.
How to keep the cost down
- Start narrow: one workflow, done well, with a measurable result.
- Keep a person in the loop where mistakes are expensive, and nowhere else.
- Measure cost per task from the first week, next to the quality numbers.
- Use the cheapest model that passes your tests for each step.
- Set a spending limit with the AI provider, so a bug can’t become a surprise bill.
Questions to ask before you accept a quote
- What will the agent do on its own, and what needs a person’s approval?
- Which systems does it read from, and which does it write to?
- How will quality be measured, and on how many real examples?
- What will each task cost to run, and how was that estimated?
- What happens when the AI provider changes or retires the model?
- Who owns the code, the prompts and the test sets?
How we quote
Every engagement starts with a free 30-minute call, then a one-week AI audit. The audit answers the questions above for your workflow and ends with a written proposal: a fixed scope, a fixed quote for the pilot and an estimate of the running costs. You own all code, prompts and evaluation sets from the first commit.
Want help with this? See AI agents & automation: Agents that read, decide and act inside your tools, with human approval where it matters.
See the serviceHave a workflow that should run itself?
Book a 30-minute call. You’ll get an honest answer, even if it’s “don’t use AI for this”.