All posts

What an AI Agent Actually Costs to Run

The build is a one-off cost. The model bill arrives every month. These are the things that decide how big it is, and the design choices that keep it under control.

21 November 2026Creative Square Agency

Introduction

"What will it cost to run?" is a fair question, and it often gets a vague answer.

The honest one is that it depends on a few things you can control. An agent's running cost is mostly decided by how it is designed.

What you pay for

Model providers charge per token, which is roughly a piece of a word. You pay for what you send in and for what the model writes back. Output usually costs several times more than input.

So the bill comes down to four things:

  • How many times the model is called
  • How much text goes in each time
  • How much text comes back
  • Which model is used

Everything below is a way of reducing one of those four.

Use the right model for each step

Providers offer models in tiers, and the price difference between the smallest and the largest is large.

Most steps in an agent don't need the best model. In our projects the split usually looks like this:

  • Small, fast model: classifying documents, extracting fields, routing a question, planning a search
  • Mid-tier model: writing reports, answering questions, scoring how well something fits
  • Top model: rare, hard cases only

In Fin Agent, per-invoice extraction runs on the small tier, because it happens for every document. Reports and chat use the middle tier. The largest model is kept for the few hard analyses.

Choosing the model per task, and not once for the whole system, is usually the biggest saving available.

Don't send the model what code can handle

Every item you filter out in code is a model call you don't pay for.

In Tender Agent, country, contract value, deadline and notice type are checked in code. Only the notices that pass go to the model for scoring. Notices that were scored yesterday are skipped entirely.

This is cheaper, and it is also more reliable: rules with exact answers belong in code.

Cache what repeats

Agents send the same long instructions with every call: the system prompt, the tool descriptions, the company profile. Prompt caching lets the provider reuse that part at a much lower price.

It needs a little care in how prompts are structured. The stable parts go first and the parts that change go last. For an agent that makes many calls with the same instructions, it is well worth doing.

Keep the answers short and structured

Since output costs the most, ask for what you need and nothing more.

A model that fills in a fixed structure, such as a score, a reason and three risks, writes far less than one asked to "analyse this document". The result is also easier to check and to store.

Measure every run

You can't manage a cost you can't see. Our agent dashboards show the token count and cost for each step of each run.

That makes the expensive step obvious. It is usually one step, and usually for a dull reason: a document sent in full when a summary would do, or a strong model used where a small one is enough.

Set limits

A few guardrails prevent surprises:

  • A maximum number of items per run
  • A maximum number of retries when a step fails
  • A stop when a loop isn't making progress
  • A monthly budget alert at the provider

An agent stuck in a loop is the classic way to get an unexpected bill. A hard limit makes it impossible.

How to estimate before you build

A rough estimate takes ten minutes:

  1. Count how many items you process per day
  2. Estimate how many model calls each one needs
  3. Take a typical document and count its length
  4. Multiply by the current price of the model you plan to use
  5. Add a margin for retries and growth

Then run a pilot on real data and compare. Real documents are always messier than the estimate.

Closing

Running costs are a design decision. Pick the model per step, filter in code first, cache what repeats, keep outputs short and measure every run.

Talk to us about your use case or read about our AI agents and workflows service.

Got a process that eats your team's time?

Tell us about it. We'll give you an honest view of whether AI can help, and what it would take to build.