What building an AI agent costs, by capability tier
Three tiers, from retrieval over your documents to an agent that writes. Our effort bands, the levers that move running cost, and why the model is cheap.
Topic: ai
Three tiers, and the money follows permission rather than intelligence. An assistant that answers from your own documents takes one to three weeks of effort. A tool-using agent that reads your systems and drafts work takes four to eight. An agent that writes into systems people depend on takes a quarter, plus evals and guardrails that never quite finish.
An AI agent's build cost tracks what it is allowed to change: reading is cheap, drafting is moderate, and writing into a system people rely on is where the budget goes.
Before pricing any of it, check whether a chatbot or a workflow would do. The workflow answer usually costs far less and fails in ways you can enumerate, which matters more than the invoice.
The three tiers, and what separates them
The tier is a permission question. Each step up adds a class of thing that can go wrong out in your systems, away from your screen, and the engineering that catches it is what you pay for.
| Tier | What it does | Effort shape, our bands | What running cost tracks |
|---|---|---|---|
| 1. Assistant over your documents | Answers from a corpus you control. No tools, no writes | One to three weeks of effort, once somebody owns the corpus | Questions per day and how much context each answer drags in |
| 2. Tool-using agent | Reads your systems, drafts the work, a person confirms every write | Four to eight weeks of effort, plus a business owner for half a day a week | Model calls per turn, conversation length, size of tool results |
| 3. Agent that acts | Writes with guardrails, evals and an audit trail behind it | A quarter to first production, then a standing line in the budget | Everything in tier 2, plus eval runs, guard tests and telemetry |
Those bands are ours, and they count weeks of senior effort rather than calendar time. They assume the system you are connecting to has an API and somebody who can answer questions about it within a day. If your system of record is a spreadsheet in one person's email, add time before tier one starts.
Effort by tier, in weeks of senior effort, from the post's bands: one to three weeks, four to eight weeks, and a quarter to first production. The dashed line marks that the post leaves the end of the third tier open.
Tier one: an assistant over your own documents
Retrieval over a corpus you control, no tools, no writes. The model reads what your search returns and answers in your words. One to three weeks, and the third week usually goes on deciding which documents are true.
The cheap surprise is that you may not need a vector database. The internal assistant we built for a client uses plain keyword scoring. A match in a heading is worth several times a match in the body, the top ten results go to the model, and that is the whole retrieval layer. For a corpus that size it works, and it saved an embedding bill, a database and a re-indexing job to watch forever.
Tier one goes wrong on content, not on retrieval. Three versions of the same policy sit in the corpus, two of them stale, and the assistant quotes whichever it found. That is an editorial problem with an owner's name on it, and nobody puts it in the budget. Half the value of a tier one build is the week somebody spends deleting documents.
Running cost is one model call per question plus retrieval, the cheapest thing here, and it is also where most companies should stop for their first six months.
Tier two: an agent that reads your systems and drafts the work
Tier two reads live data, drafts the output, and hands every write to a person. Four to eight weeks for us, and integration dominates the cost. Each tool is a contract with a system that has its own authentication, its own downtime and its own opinion about what a customer is.
The same assistant is deliberately small: a handful of tools over a knowledge base and the workspace where the roadmap lives. The ones that write sit behind a confirmation the model has to ask for before it may call them. Somebody can finish a product argument in chat and leave a ticket behind them without opening another tab. How that layer gets scoped is in connecting agents to your systems through named tools.
Two decisions in that build removed work instead of adding it. The conversation id is derived from the chat channel and thread, so a thread maps to a conversation with no session table to clean up. We built the table first, and it ran for months before we saw that the id could come from the inputs alone. And a missing credential removes the tools it belongs to at boot instead of leaving them present and broken, which turns a whole class of half-configured environment into one that simply has fewer features.
Budget a business owner at roughly half a day a week for the whole build, spent answering "what should it say when the record is missing", the question that decides whether the thing gets used.
Tier three: an agent that writes
Tier three acts, and the price is everything that stops it acting wrongly. A quarter to first production is our band, with a small senior team. The line does not disappear at launch: most of what we did in the year afterwards was guard work and eval maintenance.
The concrete shape of it comes from the public assistant on a client marketplace we build. The test suite around the model layer covers the deterministic guards, the fast paths that skip the model and the state that has to survive between turns. It also covers the closures that finish the job when the model promised an answer and never fetched one, and prompt cache stability. A good number of those cases were written the week after somebody in public met the bug they describe.
Then the evals, underestimated most of all. Ours replay scripted multi-turn conversations across model and engine configurations, in the harness set out in where AI coding agents fail. A malformed reply repaired into a valid one still counts as a failure, for the reason given in prompts instruct, code enforces.
That machinery costs real weeks and its answer is often no: one build was held back at a gate we had set in advance. What the money buys is protection against quiet failure, the kind a green build hides. These bands come from platforms we build for clients.
The model is the cheap part
Inference prices have fallen fast. Across six benchmarks, the price of buying a fixed level of performance fell by a median of roughly 50 times a year (Epoch AI, March 2025). The range ran from 9 to 900 times depending on how capable a model you need. Epoch's own caution: the steepest declines are recent, so nobody should plan on them continuing. Those figures also follow the cheapest model that clears each bar, and Epoch's September 2026 follow-up notes that essentially no user stays permanently on that cost frontier (Epoch AI, 2026). The saving arrives when you move to a cheaper model and re-test, not while you sit on the one you launched with.
The lines that do not fall are all labour. Integration is a person reading someone else's API docs and finding the field they need is only populated for records created after 2023. Guardrails are code with tests, because a prompt lowers a failure rate and only code sets it to zero, which is the argument in prompts instruct, code enforces. Evals are a dataset somebody curates and keeps curating. Data readiness turns a four-week project into a twelve-week one.
Hold the budget accordingly: the model is the line that can shrink, the engineering around it is the line that does not. If a proposal is mostly model cost, either the scope is tier one or somebody has not priced the rest yet.
Route cheap, and keep the cache stable
Two levers do most of the work on the running bill, and neither is negotiable with a vendor.
The first is a cheap model in front of an expensive one. The public assistant on that marketplace opens every turn with a classifier at temperature zero, capped at 512 tokens and given no reasoning budget. Its entire job is picking the flow and pulling out the entities. Only then does the expensive agent run, so moving a whole class of turn down a tier is a real saving.
The second is prompt caching, which teams break by accident. Every agent's system prompt is a module-level constant that ignores the state it is handed. The state goes in the user message instead, so the cached prefix stays byte-identical across every turn and every loop iteration. A test exists whose only job is to assert the prompt is identical for an empty state and a populated one. The reasoning is written into the test file: a prompt that interpolates flow state churns the cache key every turn and silently kills caching. Nothing breaks, no alarm fires, the bill goes up and stays up until somebody profiles it.
The cheapest token is the one you never send
The other half of running-cost work is arranging for turns that never reach the model. Prefetching is the easiest of it: when the code can already tell a search or an estimate will be needed, it runs the tool first and hands the results over as a pre-fetched block. The agent then composes in one call instead of two, which takes a round trip worth two to four seconds out of the turn.
Some turns need no model whatsoever, and each is a turn the expensive path never sees. Which ones resolve in code is set out in what each shape costs to run and to keep.
Then there is history. Ours is capped at twenty messages, and the reason sits next to the constant: flow state carries the collected data, so history is only there for tone and continuity. Uncapped history is the most common reason a chat feature that looked cheap in week one is expensive by month six. Trimming null fields and long arrays out of the state before serialising takes an afternoon.
What we cannot price until we have seen your data
Ask what an agent costs and our first question back is about your data, because that is where estimates go wrong.
One extraction feature we built turns supplier rate cards into structured pricing. The cards arrive as PDFs, spreadsheets, CSVs and photographs of printouts, every one laid out differently. The model call was the small part; the effort went on defensiveness. Spreadsheets get decoded server-side into text, because vision is unreliable on tables. Output is rebuilt from a fixed list of fields, so invented fields cannot reach the database. A row whose price will not parse as a number is dropped rather than defaulted to zero, because a zero that reaches the backend is a real price nobody spots inside a twenty-zone import.
None of that is model work, and all of it is the difference between a demo and a system somebody bills from. When a quote looks surprisingly cheap, this is the part missing from it.
Common questions
How much does it cost to build an AI agent?
Count it in effort. Plan on one to three weeks for retrieval over your documents. An agent that drafts work from your systems takes four to eight, and one that writes with guardrails and evals behind it takes about a quarter. Integration and data work dominate all three.
Does switching to a cheaper model reduce the bill?
Sometimes, but routing beats swapping. Put a small fast model in front to classify and extract, then call the expensive one only for work that needs it. Whatever the cheap model can settle never reaches the expensive one, which is a bigger lever than the choice of model at either end.
What drives the monthly running cost?
Conversation length, model calls per turn, and how much data each tool result drags into the context. Caching helps only if your system prompt is byte-identical every turn. Turns that resolve without any model call cost nothing, so they are worth engineering for.
Why is there still a bill after launch?
Because an agent is constrained by code, and that code has to keep up with reality. New failure modes turn up, guards get added, evals get re-run against new models, and somebody has to watch the telemetry. In the year after one launch, almost none of our work was new features.
Tell us what you're deciding.
Tell us where you think AI might fit and what data you already hold. On a 30-minute call we'll tell you what we would do first, even if the answer turns out not to involve AI.
More on AI consultancyWhat happens after you get in touch
We reply within one working day
By email, to arrange a time for the call.
A free 30-minute call
With a senior engineer, about what you are building or deciding.
The fee in writing first
If a first step is worth taking, you get its exact fee in writing before any work starts.