Here is the honest version most vendors won't put in writing: a production AI agent is a flat fee — from $8,000 for a standard agent up to about $150,000 for a complex, high-reliability build, roughly 90 days to ship — our published prices — and the model bill everyone worries about is the *cheapest* line in the whole budget. Processing ten thousand support conversations on a fast model runs roughly $37 in tokens (Anthropic's own pricing). The money goes somewhere else entirely, and knowing where is the difference between an agent that pays for itself and one that joins the graveyard.
Because most AI spend right now is being wasted. 95% of enterprise generative-AI pilots deliver no measurable P&L impact (MIT Project NANDA, 2025), and Gartner expects more than 40% of agentic-AI projects to be canceled by the end of 2027 — largely on escalating cost and unclear value (Gartner, 2025). Adoption is nearly universal — 91% of mid-market firms now use generative AI, but only 25% have it integrated into core operations (RSM, 2025). The gap between *using* AI and *getting paid by* AI is an engineering problem — and that's where the real cost lives.
How much does it cost to build an AI agent?
A production AI agent — one agent, one high-value workflow, deployed in your stack with evals and observability — is a flat fee, from $8,000 for a standard agent up to about $150,000 for the most complex builds, and takes about 90 days. A fixed-price diagnostic that ends in a deployed pilot is $25,000. Those are our published prices, and they track what serious mid-market engagements cost.
The spread between $50K and $150K isn't padding — four things move it:
- Integration surface. An agent that reads one system and writes to another is the floor; one orchestrating five tools with human-approval steps is the ceiling.
- Data readiness. If the knowledge the agent needs lives in clean, queryable systems, you save weeks. If it lives in inboxes and PDFs, budget for the pipeline — poor data quality is the top obstacle data leaders name for moving pilots to production (Informatica CDO Insights, 2025).
- Risk profile. A customer-facing agent needs the guardrails, evals, and escalation paths an internal tool doesn't.
- Operating bar. "Works in a demo" and "runs unattended at 2am" are different products.
What does it cost to run once it's live?
Less than you'd guess — for a mid-market workflow, inference is usually cents per transaction, not dollars. Current published per-million-token API prices from the major model vendors:
| Model tier | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
| Claude Haiku 4.5 (high-volume) | $1 | $5 |
| Gemini 2.5 Pro | $1.25 | $10 |
| GPT-5.6 (flagship) | $2.50 | $15 |
| Claude Sonnet 5 (production default) | $3 | $15 |
Sources: Anthropic, Google, and OpenAI pricing pages, 2026. At roughly 3,700 tokens per conversation, processing 10,000 support tickets on Haiku costs about $37 (Anthropic) — and two built-in levers cut it further: prompt caching drops repeat-context reads to a tenth of the price, and batch processing halves it.
That line item is also falling off a cliff. By independent measurement, the price to reach a given capability level has dropped roughly 40× per year (Epoch AI, 2025). Whatever inference costs today, it costs less next quarter. Which is exactly why budgeting an agent around the token bill is a mistake: the durable cost is the engineering, integration, and operation around the model — not the model call.
After launch, models drift, vendors ship breaking changes, and edge cases accumulate. An agent without managed operations degrades quietly until someone notices a month of bad outputs. Budget the retainer — $3,000–$20,000 a month — the way you'd budget hosting for software: the cost of *owning* the system, not an optional add-on.
Where teams actually overspend
Not on tokens — on failed builds. When 95% of pilots return nothing (MIT, 2025) and 40%+ of agentic projects get canceled (Gartner, 2025), the dominant cost in the market is money spent on AI that never reached production. The same MIT study found the pattern that avoids it: buying from or partnering with specialized vendors succeeded about 67% of the time, versus internal builds succeeding roughly a third as often. The expensive path is the demo-grade build that collapses under real load and gets rebuilt — you pay twice. (We wrote the engineering version of this in why your AI pilot never reached production.)
Is an AI agent worth it for a mid-sized company?
If a workflow consumes 15+ hours a week of paid time, usually yes — but model it before you commit. Our AI ROI calculator turns hours-per-week and loaded cost into an annual savings range and a payback period. A workflow burning 20 hours a week at $75/hour costs about $78,000 a year; at 50–70% automatable, a $90K agent pays back inside two years. For scale context, IDC puts the average enterprise return at $3.70 per $1 invested in generative AI — though that's a Microsoft-sponsored study, so treat it as an optimistic ceiling, not a floor.
How to keep the cost down
- Scope to one workflow. Cost and failure risk both scale with surface area. One agent, one painful workflow, in production — then expand.
- Match the model to the job. Most steps don't need the flagship; a cheaper tier handles high-volume classification and extraction at a fraction of the price (see the table above).
- Buy the pattern, build the edge. Partnering beat internal builds roughly 2:1 on success (MIT, 2025); reserve custom engineering for what's genuinely differentiated.
- Gate on evals. An eval suite is the cheapest insurance against paying twice — it catches regressions before they reach production (how we build them).
- De-risk with a fixed-price diagnostic first. A two-week Sprint tells you the real number before you commit — and credits toward the build it scopes.
The short version: the token bill is a rounding error and getting cheaper; the build is real money; the *failed* build is the most expensive thing you can buy. Price the discipline that avoids it. If AI is the core of your product and you can hire senior AI engineers, building in-house wins long-term — we say so in our build vs buy vs embed guide. Otherwise, one production agent on the workflow that's costing you now is the move, and the ROI calculator will tell you whether the math works before you spend a dollar.


