What does an AI agent cost to build and run?
Updated · 6 min read
The short answer
Most of the cost of an AI agent is not the model. It is connecting the agent to your systems, building the evaluation set that proves it works, adding the guardrails and approval steps that make it safe, and the monitoring that keeps it working after launch. Model usage is usually the smallest line, and the easiest to measure.
The way to keep the budget honest is to pay for a short, fixed pilot on one real workflow, with a baseline agreed up front, before committing to a full build. At Wideline that starts with a two-week discovery sprint and an agent pilot that does not go live unless it beats the agreed baseline.
Where the build cost goes
An agent that does real work is a small software system with a model inside it. The build effort splits roughly into these parts, and the first three usually outweigh the rest.
- Integrations: reading from and writing to your CRM, email, documents, databases or ERP, with permissions you control.
- Evaluation: a set of real past cases with known right answers, so every change to prompts, tools or model can be scored before it ships.
- Guardrails and approvals: limits on what the agent may do on its own, and a person approving anything with real consequences, such as sending, paying or deleting.
- The agent itself: prompts, tool definitions, retrieval over your knowledge base, and the logic that decides when to hand over to a person.
- Interface: where people review, approve and correct the agent, often inside a tool they already use.
- Monitoring: logs of every step, cost per task, error alerts and a way to replay a bad case.
What makes it cost more
Cost rises with the number of systems the agent touches, how messy the input is (scanned documents, free-text emails, several languages), how much is at stake when it is wrong, and how much the agent may do without a person. An agent that drafts replies for a human to send is far cheaper to make safe than one that sends them itself.
Regulated data adds work too: where it may be stored, which model providers may see it, and how long logs are kept. Settle these during scoping, because they can rule out a model or a hosting option.
Running costs
Model providers charge per token, published on their pricing pages, and the bill scales with how many tasks the agent handles and how much text each one reads and writes. Measure cost per task during the pilot and you can forecast the monthly bill from your own volumes rather than guessing.
Add hosting, monitoring and the people time to review flagged cases and keep the evaluation set current. Models change and your processes change, so budget for regular small improvements, not a one-off build.
Budgeting a pilot
A pilot should answer one question: does an agent do this workflow well enough, at an acceptable cost per task? Keep it narrow.
- Pick one workflow with clear inputs, a measurable outcome and enough volume to matter.
- Agree the baseline before building: today’s accuracy, time per case or cost per case.
- Collect 50 to 200 real past cases with known right answers as the evaluation set.
- Run the agent with a person approving every action, and score it against the baseline.
- Decide with numbers: go live, extend, or stop.
How Wideline prices it
Most builds start with a two-week discovery sprint. We map the problem, the people and the data, then give you a scope, an architecture, a clickable prototype and a plan for the build. For something smaller, start with a five-day second opinion.
For agents, the pilot carries a guarantee: it does not go live unless it beats the baseline we agree with you up front. If it misses, two more weeks are on us, or you stop and pay half of the remaining milestone.
Questions
- Is it cheaper to use an off-the-shelf AI tool?
- Often, yes, for generic tasks such as meeting notes or writing help. A custom agent pays off when the work depends on your own systems, data and rules, or when you need an audit trail of what the agent did and why.
- Which model should we budget for?
- Budget for the system around the model and keep the model swappable. Prices and quality change quickly, so the evaluation set lets you switch to a cheaper or better model when one appears, and prove it still works.
- How long does a pilot take?
- A focused pilot on one workflow typically takes a few weeks after the discovery sprint, depending on how many systems it touches and how quickly the evaluation cases can be gathered.