AI agent development cost in 2026: build and run

Most AI agent price tags cover the build and skip the monthly bill. This guide prices both, line by line, with a dated source for every figure, so you can take one sourced table to your CFO.

In short

AI agent development costs $8,000 to $50,000 for a basic single agent (4 to 8 weeks), $50,000 to $400,000 for a multi-agent workflow and $150,000 to $500,000 or more for an enterprise autonomous system (market ranges, Keyhole Software, October 2026). Other guides it reviewed put an all-in production run cost at $3,200 to $13,000 a month. First-year totals run from about $21,500 to $720,000 or more.

Basic single agent build
$8,000 to $50,000, 4 to 8 weeks (market range, Oct 2026) Source: Keyhole Software
Multi-agent workflow build
$50,000 to $400,000, 16 to 36 weeks (market range, Oct 2026) Source: Keyhole Software
Monthly run cost
$3,200 to $13,000 (market range, Oct 2026) Source: Keyhole Software
First-year total cost
$21,500 to $720,000+ (market range, Oct 2026) Source: Keyhole Software

What does an AI agent cost? Key takeaways

  • Build: market ranges run from $8,000 for a basic single agent to $500,000 or more for an enterprise autonomous system (Keyhole Software, 2026).
  • Run: other guides Keyhole Software reviewed put an all-in production run cost at $3,200 to $13,000 a month, per the same source.
  • First year: about $21,500 for a simple agent, up to $720,000 or more for a multi-agent system, per the same source.
  • Engineering, not tokens, drives the build bill: engineering time is 60% to 70% of build cost (Keyhole Software, 2026). In our worked example below, 12 months of tokens on gpt-6.2-astra ($181,440) exceeds a basic-tier build.
  • Model choice moves the token bill by up to 80 times in our sample: the same traffic costs $189 or $15,120 a month at 24 November 2026 list prices (Anthropic, 2026; OpenAI, 2026; Google, 2026).

How much does it cost to build an AI agent in 2026?

The table below shows the three build tiers Keyhole Software published in October 2026, which combine the low and high quotes in nine agency pricing guides published February to August 2026 (Keyhole Software, 2026). These are list prices from firms that sell development services, not audited project actuals, so treat them as market ranges. Quotes for the same tier can differ by 5 times or more between firms.

Tier What it does (example) Build cost (market range) Timeline
Basic single agent One defined task with prompt-based logic and one or two integrations, such as drafting ticket replies for a human to approve $8,000 to $50,000 4 to 8 weeks
Multi-agent workflow Several agents split a process, such as reading, checking and routing invoices $50,000 to $400,000 (mid-market typically $80,000 to $250,000) 16 to 36 weeks
Enterprise autonomous system Agents act across many systems with limited human review and audit trails $150,000 to $500,000+ 6 to 12+ months

The ranges are wide because "agent" covers very different software. A basic agent is one agent with prompt-based logic, a defined task and one or two integrations. Adding retrieval over your documents moves it toward the $30,000 to $80,000 that Keyhole's single-guide table gives for a RAG-powered agent. A multi-agent workflow adds orchestration, error handling between steps and far more testing. Published quotes put multi-agent systems at roughly 2 to 3 times the cost of a single tool-using agent, with a second guide showing 2.5 to 3.5 times (Keyhole Software, 2026). Voice agents sit apart: Keyhole lists $10,000 to $300,000+ to build one, plus speech and telephony charges on the run bill.

If your agent sits inside a larger product, see our guide to custom software development cost in 2026.

What it costs to run an AI agent every month

Other guides that Keyhole Software reviewed put an all-in production run cost at $3,200 to $13,000 a month, and $4,200 to $18,000 for multi-agent systems, covering model usage, retrieval, monitoring and tuning (Keyhole Software, 2026).

The table below lists the recurring upkeep line items Keyhole Software compiled from published estimates, as of October 2026.

Line item Monthly cost (market range) What it pays for
Monitoring and observability tools Under $200 to enterprise contracts Tracing every model call and tool call
Monitoring and evaluation labor $200 to $1,000 Someone reading traces and fixing failures
Prompt updates and model upgrades $1,000 to $2,500 Re-testing when a provider ships or retires a model
Security and access control $500 to $2,000 Keys, permissions, audit logs

Keyhole Software also counts integration drift at $1,000 to $3,000 per integration per year (Keyhole Software, 2026): APIs change, fields get renamed and the agent breaks quietly.

What model tokens cost at today's list prices

Token spend follows one formula: requests per month, times tokens per request, times price per token, for input and output separately, plus fixed hosting. Output tokens cost 5 times as much as input tokens on eight of the nine models in the table below.

The token table covers the model only. Retrieval adds its own lines: embedding documents when you index and re-index them, plus a vector database or search service priced by storage and queries.

The table below shows a sample of standard paid-tier API list prices in US dollars per million tokens, copied from each provider's official pricing page on 24 November 2026 (Anthropic, 2026; OpenAI, 2026; Google, 2026).

Provider Model Input per 1M tokens Output per 1M tokens Note
Anthropic Claude Opus 5.5 $4.00 $20.00 Cache hits $0.20
Anthropic Claude Sonnet 5.5 $2.00 $10.00 Cache hits $0.10
Anthropic Claude Haiku 5.5 $0.10 $0.50 Prompts up to 100,000 tokens; $0.50 and $2.50 above that
OpenAI gpt-6.2-astra $8.00 $40.00 Cached input $0.40
OpenAI gpt-6.2-sol $2.00 $10.00 Cached input $0.10
OpenAI gpt-6-luna $0.10 $0.50 Cached input $0.01
Google Gemini 4 Neon $3.00 $15.00 Context caching $0.15
Google Gemini 3.8 Flash $0.75 $3.75 Rises to $1.50 and $7.50 on 1 January 2027
Google Gemini 3.5 Flash-Lite $0.30 $2.50 Context caching $0.03

All three providers offer a batch mode at about half price for work that does not need an instant answer, such as overnight document processing (Anthropic, 2026; OpenAI, 2026; Google, 2026). Re-check prices on the day you build your budget.

A worked example: one support agent, nine models

This is an illustration, not a quote. Assume a support agent handles 30,000 conversations a month. Each conversation makes 6 model calls (classify, rewrite the search query, plan, call a tool, draft, check), and each call sends 8,000 input tokens and returns 500 output tokens. That is 1.44 billion input tokens and 90 million output tokens a month.

The table below applies the 24 November 2026 list prices above to that traffic, with no caching or batch discounts.

Model Input cost Output cost Monthly total
Claude Haiku 5.5 or gpt-6-luna $144 $45 $189
Gemini 3.5 Flash-Lite $432 $225 $657
Gemini 3.8 Flash (2026 price) $1,080 $337.50 $1,417.50
Gemini 3.8 Flash (from 1 January 2027) $2,160 $675 $2,835
Claude Sonnet 5.5 or gpt-6.2-sol $2,880 $900 $3,780
Gemini 4 Neon $4,320 $1,350 $5,670
Claude Opus 5.5 $5,760 $1,800 $7,560
gpt-6.2-astra $11,520 $3,600 $15,120

Per conversation, that is about $0.006 on the smallest models, $0.13 on Claude Sonnet 5.5 or gpt-6.2-sol and $0.50 on gpt-6.2-astra (our arithmetic on the table above), a unit cost to compare with a platform's per-conversation fee.

This example holds input flat, but real agents resend the growing conversation and tool results on every step, and Keyhole Software cites Anthropic engineering analysis putting a single tool-using agent at about 4 times the tokens of a standard chat interaction and a multi-agent system at about 15 times (Keyhole Software, 2026). Measure tokens per conversation on your own prototype before you trust any estimate.

First-year total cost of ownership

The table below shows the first-year totals by tier that Keyhole Software reports. All figures come from one June 2026 pricing guide, so build, run and first-year numbers are consistent (Keyhole Software, 2026). Each total is higher than build plus 12 months of run cost alone, so ask any vendor what its first-year number includes.

Agent Build (market range) Monthly run (market range) First-year total
Simple or rule-based agent $15,000 to $40,000 $200 to $800 $21,500 to $56,000
RAG-powered agent $30,000 to $80,000 $500 to $2,500 $46,000 to $126,000
Tool-using autonomous agent $60,000 to $150,000 $1,500 to $6,000 $94,000 to $252,000
Multi-agent system $120,000 to $400,000+ $4,000 to $20,000+ $204,000 to $720,000+

From year two, plan for maintenance of 15% to 25% of the original build cost each year, with some guides citing up to 30% (Keyhole Software, 2026).

What drives the price up or down

Number of agents

Each additional agent adds a hand-off that can fail, which is why multi-agent quotes land at 2 to 3 times a single tool-using agent (Keyhole Software, 2026).

Integrations

This is the line buyers underestimate most. Keyhole Software lists these market ranges per connection: REST API $3,000 to $8,000, CRM $8,000 to $20,000, ERP $15,000 to $50,000, and legacy or custom systems $20,000 to $80,000 (Keyhole Software, 2026). An agent that reads from Salesforce and writes to SAP can spend more on those two connections than on everything else. Ask how each connection will be built. Many vendors now publish tool servers based on the Model Context Protocol (MCP) that an agent can call. Where one exists, the work shifts from writing a connector to securing and testing it.

Autonomy

The more an agent does without a person approving it, the more engineering goes into permissions, rollback and limits. Keyhole Software reports 25 to 60 engineering hours per workflow for an assistive agent, 40 to 100 for semi-autonomous and 90 to 170 for fully autonomous (Keyhole Software, 2026).

Guardrails, evaluation and compliance

Per Keyhole Software, human-in-the-loop review adds 10% to 15% to the base build, evaluation infrastructure adds 10% to 20% to infrastructure cost, and the compliance premium ranges from 5% to 30% by industry (Keyhole Software, 2026).

Agent security goes beyond API keys. An agent that reads email, web pages or uploaded files can be steered by instructions hidden in that content, known as prompt injection. Defenses are architectural: the narrowest permission per tool, separate read and write tools, human approval for irreversible actions, and a log of every tool call. Ask any vendor what a misled agent can still do.

Personal data rules differ by market: the GDPR in the EU (European Commission), the UK GDPR in the UK (legislation.gov.uk), the Personal Data Protection Law in Saudi Arabia (SDAIA), and Federal Decree-Law No. 45 of 2021 in the UAE, where the DIFC also has its own Data Protection Law, DIFC Law No. 5 of 2020 (UAE Government). In the EU, the AI Act (Regulation (EU) 2024/1689) sets risk-based rules that depend on the use case (European Commission, 2026). Ask your counsel which apply to your agent and from when.

Data location has a price too. Anthropic charges 1.1 times standard rates for US-only inference on Claude 4.6 and later models, and regional endpoints on Amazon Bedrock and Google Cloud carry a 10 percent premium (Anthropic, 2026). OpenAI adds 10% for regional processing (data residency) endpoints on models released on or after 5 March 2026 (OpenAI, 2026). US-only inference is a US residency option; for EU, UK, UAE or Saudi data, ask which regions keep inference and logs where your counsel needs them.

Retrieval or fine-tuning

Most business agents start with retrieval-augmented generation (RAG): the agent searches your documents at question time and answers from what it finds. Keyhole Software reports that fine-tuning adds 4 to 8 weeks and 15% to 30% to the build (Keyhole Software, 2026). For strict output formats, use the provider's structured output feature first. Fine-tune for a consistent style that prompting cannot hold, or to move a narrow, high-volume task onto a smaller model, and only after retrieval is measured. Our LLM integration and RAG service covers the retrieval layer.

Who builds it and what their time costs

Engineering time is 60% to 70% of an agent's build cost (Keyhole Software, 2026), so the hours and the rate drive the build price. Model choice is the largest lever on the token line of the monthly bill.

The table below compares the cost of the main ways to staff an agent build, from the sources in the last column.

Option Cost (market range) Source and date
US AI or ML engineer, in-house $170,750 median base; about $244,000 a year fully loaded Keyhole Software, Oct 2026
US senior AI consultants $80 to $180 or $150 to $250 an hour, depending on the guide Keyhole Software, Oct 2026
Eastern Europe partners $80 an hour median for agentic AI engineers; $65 for senior developers Accelerance, Nov 2026
Latin America partners $85 an hour median for AI roles; $58 for senior developers Accelerance, Nov 2026
Asia partners $40 an hour median for AI roles; $35 for senior developers Accelerance, Nov 2026

Accelerance's November 2026 survey of 50 partners found rates broadly held, with a premium for AI skills: a global median of $60 an hour for a senior developer and $75 for agentic AI, applied AI and AI platform engineers (Accelerance, 2026). These bands do not cover the UK or Western Europe.

As an illustration, take a 600-hour agent build (the hours are an assumption, not a sourced figure). At $40 an hour it costs $24,000. At $80 to $85 it costs $48,000 to $51,000. At $80 to $250 it costs $48,000 to $150,000. Same hours, roughly a six-fold spread. At the top of the US band those hours exceed the $50,000 ceiling of the basic tier, so ask every vendor for the hours behind the price.

Build or buy: a custom agent or an agent platform

Packaged agent products charge per conversation or per seat, for example Salesforce Agentforce at $2 per conversation, while agent platforms meter credits or compute (Keyhole Software, 2026). A custom agent costs more up front, then you pay your own token bill.

A middle option now exists: the model provider hosts the agent runtime. Anthropic's Claude Managed Agents, for example, bills tokens at standard rates plus $0.08 per session-hour of running time (Anthropic, 2026).

To compare options, price a platform at your monthly conversation volume, price the custom run cost with the formula above, and compare both over 12 months including build. The table below maps common situations to the option that may fit.

Your situation May fit Why
Standard use case (FAQ, ticket triage) on a mainstream help desk Platform Fastest start; the vendor carries upkeep
Deep writes into your ERP, CRM or legacy systems Custom Check whether a platform reaches those systems at all
High volume, where per-conversation fees add up Custom or hybrid Compare your own token bill with per-conversation pricing at your volume
Sensitive data with residency rules Custom You choose the model provider, region and logging
You want to switch models as prices change Custom, built model-agnostic Switching still means re-running your test set and adjusting prompts; ask for a model layer that swaps providers without rewriting the agent

How to budget an AI agent project without surprises

  1. Fund a proof of concept first. Test answer quality on your real data before funding the build. Magora's UK price list starts an AI proof of concept from £10,000 for 4 to 6 weeks (Magora, 2026).
  2. Write the scope down. List the tasks, the systems the agent touches, the autonomy level and a measured "good enough" score. At CodeYep, build work does not start until both sides have agreed that scope in writing.
  3. Pick a billing model that matches the uncertainty. Fixed price suits a well-defined first agent; time and materials suits open-ended tuning. See rates and engagement models and fixed price and time and materials.
  4. Put the model account in your name and set a cap. Set a spending limit in the provider console. Cap each task too: a maximum number of steps, a token budget and a timeout inside the agent, because a failed tool call can trigger retries that resend the whole context.
  5. Budget evaluation and monitoring from day one. Keep a test set of real questions and score the actions as well as the answers: right tool, right arguments, stopping and asking for approval when required. Re-run it on every prompt, model or tool change, and add live failures weekly.
  6. Carry upkeep as a line item. Budget 15% to 25% of the build each year as all-in maintenance (prompt updates, model upgrades, integration upkeep), and use the monthly items above as a cross-check.

Hidden costs that cause overruns

Quotes often miss data preparation (cleaning the documents and records the agent will read) and the evaluation set, and both land on you if the quote leaves them out. Ask for each as a named line. Owning the prompts and evaluation set makes switching providers cheaper. Agent type predicts cost less than integration depth does: support, sales, voice and document agents fall in the same tiers, and what moves them is the systems they connect to (Keyhole Software, 2026).

How to estimate AI agent ROI and payback

Multiply the hours the agent saves each month by the loaded hourly cost of that work, subtract the monthly run cost, and divide the build cost by the result. That gives months to payback.

What to ask any vendor before you sign an AI agent quote

These questions make two quotes comparable:

  • Which tasks, integrations and autonomy level does this price include?
  • What is your estimate of my monthly token bill, and on which model?
  • Who owns the model provider account, and is usage marked up?
  • How will you measure quality, and do I get the test set?
  • Who owns the code, prompts and evaluation data?

Our own answers to the ownership questions: the client owns the code and intellectual property we write for them, assigned in the contract, and repositories and cloud accounts are set up in the client's name. See how we scope and build agents on our AI agent development page, or send us your agent scope to start the conversation.

Where the published numbers disagree

Read a quote's scope line before its price. The table below shows the main gaps in the October 2026 Keyhole Software data and their cause.

Figure One figure Another figure Cause
Basic agent build $8,000 to $50,000 (tier range) $15,000 to $40,000 (TCO row) The tier range combines nine agency guides; the TCO row comes from one June 2026 guide with its own tier definitions
Multi-agent cost 2 to 3 times a single agent 2.5 to 3.5 times Two guides; Keyhole Software calculated each multiplier from that guide's own tier table
Multi-agent monthly run $4,200 to $18,000 (other guides, all-in) $4,000 to $20,000+ (Keyhole TCO tier) Different source sets; the ranges overlap, so budget from the wider one

How we built these numbers

This guide is maintained by CodeYep. Build, run and first-year figures come from Keyhole Software's October 2026 analysis of more than 45 sources dated June 2025 to August 2026. They are list prices, not audited actuals, published by firms that sell development services, and Keyhole Software and Magora are themselves development firms. Partner rates come from Accelerance's November 2026 survey. Token prices come from the official Anthropic, OpenAI and Google pricing pages. The worked examples are our own arithmetic. Every source was opened on 24 November 2026. Figures were last checked on 24 November 2026.

Questions buyers ask

How much does a simple AI agent cost to build?

Keyhole Software's October 2026 review of published pricing puts a basic single agent at $8,000 to $50,000 and 4 to 8 weeks. Simple here means one defined task with prompt-based logic and one or two integrations, such as drafting ticket replies for a person to approve. An agent that answers from your document set is a retrieval build, which the same review prices at $30,000 to $80,000 in its single-guide comparison.

What does an AI agent cost per month to run?

Other guides that Keyhole Software reviewed put an all-in production run cost, covering model usage, retrieval, monitoring and tuning, at $3,200 to $13,000 a month, and $4,200 to $18,000 for multi-agent systems. Its simple-agent example uses $200 to $800 a month. Volume drives the swing: conversations per day, model calls per conversation, context length and which model tier you pick. Price your own traffic against the provider's current list.

How long does it take to build an AI agent?

Published market ranges are 4 to 8 weeks for a basic single agent, 16 to 36 weeks for a multi-agent workflow and 6 to 12 months or more for an enterprise autonomous system, per Keyhole Software in October 2026. A short proof of concept before the build is common. The schedule usually slips on integrations and evaluation, not on the model work.

Why are integrations so expensive?

An agent is only useful when it can read from and act in your systems. Keyhole Software lists $3,000 to $8,000 for a REST API connection, $8,000 to $20,000 for a CRM, $15,000 to $50,000 for an ERP and $20,000 to $80,000 for legacy or custom systems. One guide cited by Keyhole puts integration at 35% to 55% of total cost on mid-to-large builds, while another guide it cites says 5% to 15%, so treat the share as scope-dependent.

Is it cheaper to hire an in-house AI engineer?

A median US AI or ML engineer costs about $244,000 a year fully loaded on a $170,750 base, according to Keyhole Software, which puts a four-person in-house agent team at roughly $975,000 a year. For a company with one or two agent programs, it finds an agency engagement is usually the smaller number. Hire in-house when agent work is continuous, or for upkeep once the agent proves its value.

Should we use RAG or fine-tune a model?

Start with retrieval for most business agents. It keeps answers tied to your current documents, and you update knowledge by updating the index. Keyhole Software reports that fine-tuning adds 4 to 8 weeks and 15% to 30% to the build. For strict output formats, use the provider's structured output feature first. Fine-tune for a consistent style that prompting cannot hold, or to move a narrow, high-volume task onto a smaller model, and only after retrieval is measured.

Who should own the LLM API account?

You should, in most cases. When the model provider bills you directly, you see every token, set your own spending caps and keep the account if you change vendors. If a vendor passes usage through, ask whether they add a markup and how you get the raw usage data. Ask this question before you sign any AI agent quote.

What does compliance add to an AI agent budget?

Keyhole Software reports a compliance premium of 5% to 30% depending on industry, on top of 10% to 15% for human review steps and 10% to 20% of infrastructure cost for evaluation. Data residency can also raise model prices: Anthropic charges 1.1 times standard rates for US-only inference on Claude 4.6 and later models, and OpenAI adds 10% for regional endpoints on models released from 5 March 2026. Which rules apply to your data is a question for your counsel.

Sources

  1. Keyhole Software Agentic AI Development Cost in 2026: Pricing by Complexity, Approach, and Cost Driver Accessed November 24, 2026
  2. Anthropic Pricing (Claude Platform Docs) Accessed November 24, 2026
  3. OpenAI API pricing Accessed November 24, 2026
  4. Google Gemini Developer API pricing Accessed November 24, 2026
  5. Accelerance Software Engineering in 2026: Rates Held, Expectations Rose Accessed November 24, 2026
  6. Magora UK Software Development Pricing 2026: Day Rates Accessed November 24, 2026
  7. European Commission Data protection explained Accessed November 24, 2026
  8. legislation.gov.uk Regulation (EU) 2016/679 (United Kingdom General Data Protection Regulation) Accessed November 24, 2026
  9. SDAIA SDAIA Laws and Regulations Accessed November 24, 2026
  10. UAE Government Data protection laws Accessed November 24, 2026
  11. European Commission AI Act Accessed November 24, 2026

What do you need built?

Start with the system you have and the change you want to make. We reply with questions, not a pitch.

Discuss your project