Costs and buying

What an AI agent costs to run each month

A running agent costs model fees, the tools around it and someone to look after it. This article works out each one with current prices.

By the duyan team · Updated · 4 min read

Costs and buying

In short

  • The monthly bill has three parts: model fees, tools and hosting, and support.
  • Model fees are tokens per task, times tasks a month, times the model's price.
  • For 2,000 invoices a month, our example's model fees run from $3.90 to $390, by model.
  • In that example, support costs more than the model fees.
  • Measure tokens on 20 of your own tasks before you trust any estimate.

The three parts of the bill

An agent that runs every day costs money in three places. The AI provider charges model fees for the text the agent reads and writes.

The agent also needs somewhere to run, and some tools it calls charge per use. Then someone has to look after it as your work changes.

How model fees add up

Providers charge per million tokens, with a higher price for text out than text in. A token is a small piece of text, about 4 characters of English.

To get the monthly fee, multiply tokens per task by tasks per month. Then multiply by the price per token.

An agent rarely makes one call per task. It reads, calls a tool and reads the result. Each step resends the earlier text.

So count the tokens for the whole task, across every step.

A worked example: reading supplier invoices

Take an agent that reads supplier invoices and enters them in your accounts. It handles 2,000 invoices a month.

Say each invoice takes 4 steps. Across those steps the agent reads about 12,000 tokens and writes about 1,500.

Each month it reads 24 million tokens (12,000 × 2,000). It writes 3 million (1,500 × 2,000).

Here is the model fee on current models, as of November 2026.

A worked example: reading supplier invoices
ModelPrice per million tokens, in / outMonthly fee: 24M in + 3M outPer invoice
Claude Haiku 5.5 or gpt-6⁠-⁠luna$0.10 / $0.5024 × $0.10 + 3 × $0.50 = $3.900.2 cents
Gemini 3.8 Flash$0.75 / $3.7524 × $0.75 + 3 × $3.75 = $29.251.5 cents
gpt-6.1⁠-⁠terra$1 / $524 × $1 + 3 × $5 = $392 cents
Claude Sonnet 5.5 or gpt-6.1⁠-⁠sol$2 / $1024 × $2 + 3 × $10 = $783.9 cents
Claude Fable 5.1 or gpt-6⁠-⁠astra$10 / $5024 × $10 + 3 × $50 = $39019.5 cents

The token counts are an example. Yours will differ with your documents and your instructions.

Google lists a lower price for Gemini 3.8 Flash until 31 December 2026. From 1 January 2027 it costs $1.50 in and $7.50 out.

The same month would then cost $58.50.

A cheap model is only a saving if it gets the work right. Pick the cheapest model that passes a set of your own past cases.

What makes the model bill grow

  • Volume. Twice the invoices means twice the fee.
  • Longer prompts. Instructions, examples and earlier steps are resent at every step. A prompt that doubles in length roughly doubles the input cost.
  • Retries. A step that fails and retries all night can spend a month's budget.
  • Thinking. Some models reason before they answer. OpenAI, Anthropic and Google bill those hidden tokens as output.
  • Price changes. Some prices rise on a set date. Check the date beside any price you plan around.

Two discounts pull the other way. Fixed instructions can be cached, and rereading them costs a fraction of the input price.

Work that doesn't need an answer straight away can use each provider's batch service. It costs half the usual price.

Tools and hosting

Some tools an agent calls charge per use. Anthropic's web search costs $10 per 1,000 searches, as of November 2026.

Google gives 5,000 search requests a month free across its Gemini 3 and newer models. After that it charges $14 per 1,000.

The agent also runs on a server or cloud service, and may need a database. For one small agent, these can come to tens of dollars a month.

The person who looks after it

Someone has to read the agent's alerts and fix what breaks. It also needs updates as supplier formats change and providers retire models.

That person can be on your team or with whoever built it. Our run and support is from $600 a month for one system, agents included.

Each further system adds from $300 a month.

What it adds up to

Take the invoice agent on Claude Sonnet 5.5. Model fees are $78, and say tools and hosting are $40.

With support at $600, the month costs $718. That is about 36 cents per invoice ($718 ÷ 2,000).

Set that against the minutes a person now spends on each invoice. In this example, support is the largest line on every model in the table.

How to estimate yours this week

  1. Count the tasks from last month's records.
  2. Run 20 typical tasks through a test version. Read the token counts on the provider's usage page.
  3. Multiply the average tokens per task by tasks per month, then by the price.
  4. Add a margin for retries and growth, such as 30%.
  5. Set a spending cap at that figure before the first live run.

Priced before we start

A 2⁠-⁠week pilot is $2,400, and builds start at $15,000, fixed. Run and support is from $600 a month. Any model fees go to your own account, never marked up.

Sources

  1. Anthropic, "Pricing" (Claude API), claude.com (accessed 5 November 2026)
  2. Anthropic, "Pricing" (Claude Platform docs), platform.claude.com (accessed 5 November 2026)
  3. OpenAI, "Pricing" (API docs), developers.openai.com (accessed 5 November 2026)
  4. OpenAI, model pages for gpt-6⁠-⁠luna, gpt-6.1⁠-⁠terra and gpt-6.1⁠-⁠sol, developers.openai.com (accessed 5 November 2026)
  5. Google, "Gemini Developer API pricing", ai.google.dev (redirects to aistudio.google.com) (accessed 5 November 2026)
  6. Google Cloud, "Generative AI on Vertex AI pricing", cloud.google.com (accessed 5 November 2026)
  7. OpenAI, "Reasoning models", developers.openai.com (accessed 5 November 2026)
  8. Anthropic, "Steering thinking" (Pricing section), platform.claude.com (accessed 5 November 2026)
  9. Google, "Understand and count tokens", ai.google.dev (accessed 5 November 2026)

Get a fixed price in writing

Tell us the job. Within three working days, a two⁠-⁠page scope with one price on it. You owe nothing for it.

One fixed price per scope.