How Much Does an AI Agent Cost per Month to Run?

The model bill is the part everyone can calculate. Retries, long context, tools and the people who supervise the agent are what make real budgets so different from the estimate.

How Much Does an AI Agent Cost per Month to Run? — Troiana insight cover

In short

An AI agent might cost a few dollars a month on a budget model for light tasks, a few hundred for a business workflow, or thousands for a high-volume customer-facing system, plus tools, hosting and human oversight. The main drivers are tasks per month, steps per task, context size and the model. Agents re-send context with each step, so caching and short context can change costs dramatically.

Why agents cost more than chatbots

A chatbot usually makes one model call per question. An agent makes many: it plans, calls a tool, reads the result, thinks again and calls another tool. Each step can resend the whole conversation so far. So costs can grow quickly as a task runs on. For the basics, see what an AI agent is. For build costs, see how much it costs to build an AI agent.

The formula

Monthly model cost ≈ tasks per month × tokens per task × price per token

And tokens per task depends on the number of steps and on how much context each one carries. Measure these from a real test, since guesses are usually too low.

Three worked budgets

We've used current list prices, checked on 4 November 2026. See our LLM API pricing comparison. The token counts are illustrative assumptions.

Example 1: light internal assistant. Summarises support tickets, for 500 tasks a month, with 5,000 input and 500 output tokens per task.

Example 2: multi-step business workflow. Researches leads and drafts emails, with 2,000 tasks a month, 8 steps each, averaging 20,000 input and 1,000 output tokens per step.

  • Total: 320 million input, 16 million output
  • Sonnet 5.5, with no caching: (320 × $2) + (16 × $10) = $800
  • Sonnet 5.5, with 80% of input cached at $0.10: (64 × $2) + (256 × $0.10) + (16 × $10) = $128 + $25.60 + $160 = about $314, before cache-write fees
  • GPT-6.1 Terra, with no caching: (320 × $1) + (16 × $5) = $400

Note how caching more than halves that bill.

Example 3: customer-facing support agent. 50,000 conversations a month, 4 steps each, with 10,000 input and 500 output tokens per step.

  • Total: 2,000 million input, 100 million output
  • GPT-6 Luna: (2,000 × $0.10) + (100 × $0.50) = $250
  • Sonnet 5.5, with no caching: (2,000 × $2) + (100 × $10) = $5,000

So model choice can change a bill by twenty times. Whether a cheaper model is good enough is what you have to find out. If it causes more escalations to staff, then it may cost you more overall.

Model cost per month, on a log scale
Light assistant, DeepSeek Flash$0.53
Light assistant, Sonnet 5.5$7.50
Business workflow, Sonnet, 80% cached$314
Business workflow, Sonnet, no caching$800
High volume, GPT-6 Luna$250
High volume, Sonnet, no caching$5,000
$1$100$10,000
Calculated from the token totals and list prices above, checked on 4 November 2026. Model cost only: tools, hosting and human time come on top.

The costs people forget

Retries and failures. Agents can loop, and each attempt costs money. Set limits on the number of steps.

Tools. Search APIs, scraping and data providers can cost more than the model. For example, Google lists $14 per 1,000 grounded searches beyond its free allowance, and DeepSeek lists $0.75 per 1,000 search or fetch requests.

Hosting and infrastructure. Servers, queues, databases, vector stores and logging. See background jobs and queues.

Monitoring and evaluation. Tracing tools, and also the runs needed to test changes. See how to log and debug AI features and how to evaluate an LLM feature.

Human oversight. This can be the largest cost of all. Someone has to review outputs, handle exceptions and improve the agent. A “free” agent that needs an hour a day from someone isn't free.

Maintenance. Models get deprecated, APIs change and prompts need tuning.

Errors. A wrong refund or a bad email to a customer has a cost too. Weigh that against the savings. See how to put a human in the loop.

Vendor platforms. Some agent platforms charge per task, resolution or seat, on top of or instead of tokens. Compare what you'd pay at your real volume.

How to reduce the cost

  1. Use prompt caching. Keep the stable parts of your prompt at the start, so that they can be cached. It's often the largest saving.
  2. Route by difficulty. Use a cheap model for simple steps, and a stronger one for hard ones. See how to choose an LLM for your product.
  3. Limit steps and budgets. Stop any task that goes beyond a set limit, and flag it for review.
  4. Shrink context. Summarise older steps, send only what's relevant, and trim tool output. See context engineering vs prompt engineering.
  5. Use batch pricing for non-urgent work. Several providers offer half-price batches.
  6. Don't use an agent where a script will do. If the steps are fixed, then normal code is cheaper, faster and more reliable. Add a model only where you need judgement. See n8n vs LangGraph.
  7. Cache results. Don't look up or generate the same thing twice.
  8. Set hard spending limits with each provider.

More in how to control AI API costs and what an AI feature costs to run.

Compare it with the alternative

An agent's cost only means something when it's set against what it replaces. Work out:

  • What does the task cost today, in staff time?
  • What share can the agent really complete, without human help?
  • What does each error cost?
  • What's the cost per successful task, including review?

Be sceptical of promises of full automation. Start with one narrow workflow, measure for a month, and then expand.

How to estimate yours

  1. Build a small prototype for a single workflow.
  2. Log tokens, steps and tool calls for 50 real tasks.
  3. Take the average, then look at the worst 10%, because outliers drive costs.
  4. Multiply by your volume, then add a margin for retries and growth.
  5. Add tools, hosting and human time.

If you're planning an agent and want a realistic budget, book a call.

Common questions

How much does an AI agent cost per month?

It ranges from a few dollars for light tasks on a budget model to thousands for high-volume, customer-facing work. Tokens, steps per task, tools, hosting and human oversight all matter. Measure a small prototype on real tasks to get a reliable figure.

Why are AI agents more expensive than chatbots?

Agents make many model calls for each task, and each call can resend the growing conversation. Add tool calls and retries, and token use can be far higher than for a single question and answer. Caching and context limits help.

How can I reduce AI agent costs?

Use prompt caching, route simple steps to cheaper models, limit steps per task, shorten context, batch non-urgent work and use ordinary code where judgement isn't needed. Set hard spending limits, and track cost per successful task.

Is an AI agent cheaper than a human employee?

For some narrow, repetitive tasks, it can be, but compare carefully. Count model, tool and hosting costs, along with the staff time spent reviewing outputs and fixing errors. Agents usually change what people do, rather than removing the need for them.

Have something worth building right?