Two cards price the same 1,000 replies on Claude Opus 5.5 at $20 per million output tokens and 1,000 output tokens per call. Up to six model calls per reply cost $120 in output; at most two calls cost $40, a two-thirds cut.

AI agent development cost and how long it takes

Thinking about an agent for your own systems? A price range by tier tells you nothing about your plan. Here is the part you can work out today, and what sets the rest.

What does AI agent development cost, to build and to run?#

An AI agent has two costs: the monthly cost to run it, worked out from model calls per task, and the cost to build it, set by its tools, systems, tests and approvals. However, they behave very differently. You can look up what goes into the monthly cost today. The cost to build it depends on your systems. As a result, any single figure printed without them is a guess.

Running it and building it, answered on the same three questions. Source: Atyantik Technologies, November 2026.

Running itBuilding it
What it iswhat you pay the model provider each month while the agent worksthe work to connect, test and ship the agent once
What sets the costmodel calls per task, tokens per call, the token price and tasks a monthtools that can change data, the systems it connects to, the test cases it must pass, and where a person must approve
When you can know ittoday, from a test run and the provider's pricing pageonly once those four factors are known for your agent

The monthly cost to run it has four inputs: model calls per task, tokens per call, the token price, and tasks a month. A token is the unit a provider's API (application programming interface) charges by, a short piece of a word. Since calls and tokens per call are design choices, much of that cost is yours to shape.

The cost to build it follows the four factors instead. Which tools can change data? How many systems does the agent connect to? How many test cases must it pass? And where must a person approve an action before it happens? Those four set the work, the testing and the calendar.

For scale, take our case study of a business-to-business pricing assistant, published 11 October 2026. It says "a reply inside a narrowing conversation can take up to six model calls". So the running cost sums below use that one figure. If you would rather have an agent scoped against your own systems, see how our AI agent development work runs.

How do you work out what an AI agent costs to run each month?#

The monthly cost to run an agent is model calls per task times tokens per call times the token price times tasks a month, so the call count matters first. It is easy to price the model and forget the count. Yet a task that takes six calls costs six times a task that takes one. And that holds at any price.

Take the pricing assistant's worst case of six calls per reply, from our case study published 11 October 2026. Then say each call writes 1,000 output tokens, an illustrative figure. At Anthropic's list prices, accessed 28 November 2026, 1,000 such replies cost $120 in output on Claude Opus 5.5. The same replies cost $60 on Claude Sonnet 5.5 and $3 on Claude Haiku 5.5. But those figures leave out input tokens, which come next.

Show data table
Output tokens only, illustrative token count. Source: Anthropic, Claude API pricing, accessed 28 November 2026; six calls per reply from Atyantik's pricing assistant case study.
ItemValue
Claude Opus 5.5120 USD
Claude Sonnet 5.560 USD
Claude Haiku 5.53 USD

At six calls per reply, 1,000 replies cost $120 in output on Claude Opus 5.5 and $3 on Claude Haiku 5.5.

Output cost of 1,000 repliesOutput tokens only, illustrative token count. Source: Anthropic, Claude API pricing, accessed 28 November 2026; six calls per reply from Atyantik's pricing assistant case study.Anthropic, Claude API pricing, accessed 28 November 2026

Next, scale it to a month. Say the agent sends 10,000 replies a month, an illustrative volume. On those dated list prices, that is ten times the figures above. In practice your own numbers come from logs, not guesses. So log the calls per task and the tokens per call on a test run, then multiply.

Monthly cost to run your agent

Put in your agent's model calls per task, tokens per call and tasks a month. It multiplies them by the token price to give the monthly cost to run it, split into input and output.

Your workload, worked example

an assumption, change it

Price per million tokens, Claude Opus 5.5 list price, Anthropic, accessed 28 November 2026

An estimate from dated list prices, not financial advice or a quote. For other tiers, Anthropic lists Claude Sonnet 5.5 at $2 input and $10 output, and Claude Haiku 5.5 at $0.10 and $0.50, per million tokens.

Monthly running cost

$144

Input tokens part
$24
Output tokens part
$120
Cost per task
$0.14

Arithmetic from Anthropic's Claude API pricing page, accessed 28 November 2026. Modelled, not measured.

This calculator is an estimate, not financial advice. Also, it differs from the single-call token calculator in our approval workflow guide, because here the call count is the dial you turn.

Which model tier changes the monthly running cost most?#

On Anthropic's API pricing page, accessed 28 November 2026, Opus 5.5 output costs $20 per million tokens and Haiku 5.5 output costs $0.50. That same pricing page lists Sonnet 5.5 between them at $10 for output. For input, it lists $4 for Opus 5.5, $2 for Sonnet 5.5 and $0.10 for Haiku 5.5. And the Haiku input figure holds for prompts up to 100,000 tokens.

Within one provider, the gap between the top and bottom tier is larger than any other single input. So the tier you pick moves the monthly cost more than any cut to tokens per call. Try the cheapest tier that passes your test cases first.

Show data table
List prices per million tokens. Source: Anthropic, Claude API pricing, accessed 28 November 2026.
Dimensioninputoutput
Claude Opus 5.54 USD20 USD
Claude Sonnet 5.52 USD10 USD
Claude Haiku 5.50.1 USD0.5 USD

Claude Haiku 5.5 output costs $0.50 per million tokens against $20 on Claude Opus 5.5, a fortyfold gap.

Claude list prices per million tokensList prices per million tokens. Source: Anthropic, Claude API pricing, accessed 28 November 2026.Anthropic, Claude API pricing, accessed 28 November 2026

Anthropic's own page describes Haiku 5.5 as built "for high-volume, latency-sensitive tasks such as classification, extraction, and routing". Many agent steps are exactly that. For example, the pricing assistant case study, published 11 October 2026, notes that most messages are "a classification or a short extraction". Therefore a mix often wins. Use a small model for the routine steps and a larger one only where a step needs it.

The trade-off is quality. If a cheaper tier fails one case in ten, it can cost more in fixes than it saves. So the tier choice waits on your test cases.

What do caching and batch discounts do to the cost of running an agent?#

On OpenAI's API pricing page, accessed 28 November 2026, cached input for gpt-6.2-sol costs $0.10 per million tokens against $2.00 for fresh input. Cached input is a prompt the provider has already stored, so a repeat costs far less.

An agent resends the same instructions and tool definitions on every call. So cached input pricing and batch discounts cut the part of the monthly cost that repeats. Anthropic's pricing page, accessed 28 November 2026, says tool requests are priced on input tokens "including in the tools parameter". Also, that page adds 286 tokens of built-in tool instructions on Opus 5.5, Sonnet 5.5 and Haiku 5.5 when a tool is present.

gpt-6.2-sol input price per million tokenscached input costs far less

$2.00

Fresh input

$0.10

Cached input

On OpenAI's API pricing page, accessed 28 November 2026, cached input for gpt-6.2-sol costs $0.10 per million tokens against $2.00 for fresh input.

gpt-6.2-sol input price per million tokens (US dollars per million tokens)
OptionUS dollars per million tokens
Fresh input$2.00
Cached input$0.10

Source: OpenAI, API pricing, 2026

Each provider handles the repeat in its own way. On Anthropic's page, accessed 28 November 2026, a cache hit on Claude Opus 5.5 costs $0.20 per million tokens. But a five-minute cache write there costs 1.25 times the base input price, per the prompt caching guide. On the same date, Google's Gemini pricing page lists context caching for Gemini 4 Argon at $0.10 per million tokens. Meanwhile OpenAI's page lists cached input for gpt-6.2-astra at $0.40.

Batch work is the other discount. Anthropic's Batch API is a way to send many requests to run later. Its pricing page, accessed 28 November 2026, gives "a 50 percent discount on both input and output tokens". On the same date, OpenAI's batch table halves gpt-6.2-astra input from $8.00 to $4.00. However, a batch suits overnight jobs, not a person waiting on a chat reply.

Still, these three providers are not ranked here, and many others publish prices too.

Why does the cost of running an AI agent grow after launch?#

Google's Gemini API pricing page, accessed 28 November 2026, lists Gemini 4 Argon input rising from $2.00 to $4.00 per million tokens on 1 December 2026. A monthly cost worked out at launch goes stale. In practice, calls per reply creep up, prompts get longer, and providers change list prices on a date you do not choose.

Show data table
Source: Google, Gemini Developer API pricing, accessed 28 November 2026.
DimensionThrough 30 November 2026From 1 December 2026
Input2 USD4 USD
Output10 USD20 USD
Context caching0.1 USD0.2 USD

Every Gemini 4 Argon price line doubles on 1 December 2026: input $2.00 to $4.00, output $10.00 to $20.00 and context caching $0.10 to $0.20.

Gemini 4 Argon price per million tokensSource: Google, Gemini Developer API pricing, accessed 28 November 2026.Google, Gemini Developer API pricing, accessed 28 November 2026

The first cause is creep. As a team adds checks and steps, calls per reply grow. Our case study of the pricing assistant, published 11 October 2026, puts it plainly: "The calls add up." On the client's test system, that study records, the median time per message rose from 3.2 to 6.6 seconds over three months.

The second cause is longer prompts. Each new tool adds its definition to every call. Google's page, accessed 28 November 2026, also says that for Gemini 4 Argon "every token the model processes is counted and billed, including thinking tokens". And Anthropic's page on the same date lists a higher Haiku 5.5 input price once a prompt passes 100,000 tokens.

The third cause is the price itself. Google's change doubles every line in the table above, on a date set by Google. As a result, a figure from launch day is an estimate with a date on it. So redo the sums each quarter, and watch calls per reply as closely as the price.

What drives the cost of building an AI agent?#

Four factors set the cost to build an agent: tools that can change data, the systems it connects to, the test cases it must pass, and where a person approves. A tier label such as "simple" or "advanced" says none of this. Those four factors say all of it.

The four factors that set the cost to build, and where each shows in shipped work. Source: Atyantik case studies of a pricing assistant, an MCP server and purchase order entry, October 2026.

FactorWhat it adds to the workWhere it shows in shipped work
Tools that can change datapermission checks, a safe default, an audit trailwrites stay off until an operator switches them on
Systems it connects toone connection, sign-in check and failure path per systema price only from the client's pricing system, after a sign-in check
Test cases it must passchecked cases to collect, run and keep currenteach step returns output the next step can check
Where a person must approvea review screen and a hand-off for eacha person checks flagged fields, then sends the draft order

First, tools that can change data. An agent that only reads is far simpler than one that writes. Take our case study of an MCP server for a commerce platform, published 12 October 2026. It records 24 typed tools, and "writes stay off until an operator switches them on". MCP, the Model Context Protocol, is a standard way to hand an agent a set of tools.

Second, the systems it connects to. In the pricing assistant study, published 11 October 2026, the price comes only from the client's pricing system. And it comes only after the backend checks who is signed in. So each system adds a connection, a sign-in rule and a way to fail.

Third, the test cases, the checked examples that prove the agent works. Fourth, where a person must approve. In our purchase order case study, published 12 October 2026, "a person checks the flagged fields before one click sends a draft order to the store". So each approval point is a screen to build. Once you know these four factors for your agent, you know the shape of the build.

How do test cases and human approval add to the cost of building an agent?#

In the Measuring Agents in Production study on arXiv, run from April to November 2025, 74% of deployed agents rely primarily on human evaluation. arXiv is an open archive of research papers. Agents in production lean on people to judge their output, and they stop for a person within a few steps. So the test cases and the approval points are build work, not extras.

Show data table
Source: Measuring Agents in Production, arXiv 2512.04123, survey April to November 2025.
ItemValue
Execute at most 10 steps before human intervention68%
Prompt off-the-shelf models instead of weight tuning70%
Depend primarily on human evaluation74%
Construct prompts manually79%

In the survey, 68% of deployed agents execute at most 10 steps before human intervention and 74% depend primarily on human evaluation.

What production agent teams doSource: Measuring Agents in Production, arXiv 2512.04123, survey April to November 2025.arXiv (Measuring Agents in Production), survey April to November 2025

The same paper, with its survey run April to November 2025, finds that "68% execute at most 10 steps before human intervention". It adds that 47% stop in fewer than five. In other words, a person stays in the loop. So that person needs a screen, a clear view of what the agent proposes, and a way to say no.

Testing takes work too. In that 2025 survey, human review (74%) and a model grading another model's answers (52%) both beat rule-based checks (42%). Each method needs checked examples, and someone has to write them. Meanwhile 70% of those teams prompt models they did not train, per the same paper. So the work sits in prompts, tests and screens, not in training a model.

Treat the test cases as part of the build from week one. If they wait for the last week, the tier choice and the call count both wait with them.

How long does it take to build an AI agent?#

The calendar for building an AI agent is set by three waits: access to the systems it connects to, a set of checked test cases, and sign-off on actions that change data. How long an agent takes depends less on writing the code than on those three waits.

The first wait is access. You cannot test an agent against a system it cannot reach, and access often needs another team's sign-off. Our case study of the pricing assistant, published 11 October 2026, notes that our software engineer joined after the first workflow existed. That order is common, because the systems and their owners are there before the agent is.

The second wait is the test cases. Checked cases come from the people who know the work, and they have day jobs. So start collecting them on day one, while the first version is still being written.

The third wait is sign-off on writes. In the MCP server study, published 12 October 2026, writes stay off until an operator allows them. Then someone with authority has to agree what the agent may change, and that meeting is rarely quick.

The same pricing study lists one lesson for next time: "run the catalogue's own vocabulary through the provider's filter in the first week". In short, the risks that cost weeks show up early when you test real data early. But no week count appears here, because a credible one depends on your three waits.

Three waits that set the calendarThree waits that set the calendar, running in parallel from day one.

Which three choices set your AI agent pricing?#

Choose the cheapest model tier that passes your test cases, then the fewest model calls a task needs, then the approval points your riskiest action demands. What it costs to run each month follows from those three choices, in that order.

First, the tier. On Anthropic's pricing page, accessed 28 November 2026, Haiku 5.5 output is one fortieth of the Opus 5.5 price. So run your test cases on the smallest tier first, and move up only on the steps that fail.

Second, the call count. Our case study of the pricing assistant, published 11 October 2026, describes a design "with at most two model calls per message", down from up to six. Take the illustrative 1,000 output tokens per call and Anthropic's list prices from 28 November 2026. Then 1,000 replies on Opus 5.5 would fall from $120 to $40 in output. That is a two-thirds cut, if the two-call design holds on your cases. The study also notes that an off-topic message "stops after one model call". So routing in code saves calls before any model runs.

Third, the approval points. Put a person before every action that changes data, as the purchase order and MCP studies do. Then remove a checkpoint only when your test cases show it is safe to.

Output cost of 1,000 replies on Claude Opus 5.5a two-thirds cut

$120

Up to six model calls per reply

$40

At most two model calls per reply

Take the illustrative 1,000 output tokens per call and Anthropic's list prices from 28 November 2026: 1,000 replies on Opus 5.5 would fall from $120 to $40 in output.

Output cost of 1,000 replies on Claude Opus 5.5 (US dollars in output, at an illustrative 1,000 output tokens per call)
OptionUS dollars in output, at an illustrative 1,000 output tokens per call
Up to six model calls per reply$120
At most two model calls per reply$40

Source: Anthropic, Claude API pricing, 2026

When is an AI agent the wrong fit for the job?#

An agent is the wrong fit when the steps never change, because a fixed workflow or plain code does the same job with no model cost at all. In a press release of 25 June 2025, Gartner forecasts that over 40% of agentic AI projects will be canceled by the end of 2027. It says they will be canceled "due to escalating costs, unclear business value or inadequate risk controls". So three cases call for something else.

First, fixed steps. If every run follows the same path, a workflow tool is the better choice. Our comparison of n8n and custom AI agents shows where a workflow tool, such as n8n, is enough.

Second, a single judgment. If the task is one classification or one extraction, one model call inside ordinary code does it. Then you have one call to price and one answer to test, not a loop.

Third, low volume. If a person handles the task in a few minutes a few times a week, a good form and a checklist beat any agent. The monthly cost to run it would be small, but the cost to build it would never pay back.

Three cases where an agent is the wrong fit, from the post. Source: Atyantik Technologies, November 2026.

CaseBetter choiceWhat is left to price
Fixed stepsa workflow tool, or plain codeno model cost at all
A single judgmentone model call inside ordinary codeone call to price and one answer to test
Low volumea good form and a checklista cost to build that would never pay back

Where do the neighbouring cost questions get answered?#

Each neighbouring question has its own page: building versus assembling an agent, the token cost of one approval workflow, and what AI does to the cost of building software. First, whether to assemble an agent in a workflow tool or build one is in our n8n versus custom agents comparison. Then the token cost of one approval step, with its own calculator, is in the approval workflow guide.

Next, what AI does to the cost of building software is in does AI make custom software cheaper. And the drivers behind any first release are in MVP development cost drivers, where MVP means minimum viable product.

If you want an agent scoped against your systems, read about our AI agent development work. If you would rather add people to your own team, see how to hire AI software engineers. Still, the provider pricing pages linked above are enough on their own to work out what your agent will cost to run today.

Questions this post answers

What goes into AI agent development cost?
AI agent development cost has two parts: the cost to build the agent and the monthly cost to run it. The cost to build it is set by four factors: the tools that can change data, the systems it connects to, the test cases it must pass, and where a person must approve.
What does an AI agent cost to run each month?
Multiply model calls per task by tokens per call, the token price and tasks a month. Take six calls and an illustrative 1,000 output tokens per call. At Anthropic's list prices accessed 28 November 2026, 1,000 replies cost $120 in output on Claude Opus 5.5 and $3 on Claude Haiku 5.5.
How much does it cost to build an AI agent?
How much it costs to build an AI agent depends on four factors, not a tier. They are the tools that can change data, the systems it connects to, the test cases it must pass, and where a person must approve. So a figure quoted without those four cannot be checked.
How long does it take to build an AI agent?
The calendar is set by three waits more than by coding. They are access to the systems the agent connects to, a set of checked test cases, and sign-off on actions that change data. So start all three on day one to shorten it.

Keep reading