Skip to content
ForgeBase is open source.View on GitHub
FutureForge
AIAutomationPricing8 min read

What is an AI agent, and what does it cost to run one?

An AI agent is software that uses a language model to decide its own steps and tools. Running one can cost a few dollars or a hundred a month in tokens.

By , Founder

What is an AI agent, and what does it cost to run one?

An AI agent is a program that uses a language model to decide what to do next, which tools to call and when the job is done, instead of following a fixed script. Running one costs model usage, billed per token, plus the less visible costs of building, testing and watching it. For a modest support workload, the token bill can range from a few dollars to about a hundred dollars a month depending on the model.

That range is wide because the model you pick matters more than almost anything else. This post explains what an agent is, when you should not use one, and how to estimate the cost before you build.

What is an AI agent, in plain terms?

OpenAI's practical guide to building agents describes agents as "systems that independently accomplish tasks on your behalf." Each one has three parts: a model, a set of tools, and instructions.

  • The model reads the situation and decides the next step.
  • The tools let it act: look up an order, search a document, send an email, update a CRM record.
  • The instructions tell it what the job is, what it may do and when to stop.

The difference from a chatbot is that an agent does things, not just talks. The difference from ordinary automation is that the agent chooses the steps itself.

Agent or workflow: which one do you need?

Anthropic's Building effective agents draws a useful line between two kinds of system:

  • Workflows are systems where models and tools are "orchestrated through predefined code paths." You decide the steps in advance. The model fills in the parts that need judgment, like classifying an email or drafting a reply.
  • Agents "dynamically direct their own processes and tool usage." The model decides the steps as it goes.

The same article is frank about the trade-off. Agentic systems "often trade latency and cost" for better task performance, and more autonomy brings "higher costs, and the potential for compounding errors."

WorkflowAgent
Who decides the stepsYou, in codeThe model, at run time
PredictabilityHighLower
Cost per taskLower and steadyHigher and variable
Good forRepeatable processes with known stepsOpen-ended tasks where steps vary
Failure modeBreaks on cases you did not plan forCan take wrong turns that add up

Most business processes are closer to a workflow than people expect. Invoice extraction, lead routing and report generation all have known steps. A workflow with one or two model calls in it is often enough.

When should you not use an AI agent?

Skip the agent when:

  • The steps are always the same. If you can write the process as a checklist, write it as code. It will be cheaper and easier to debug. Our post on which business process to automate first covers how to spot these.
  • A mistake is expensive and hard to undo. Anthropic's guidance is that high-stakes actions need human oversight. If the agent can issue refunds, change prices or email customers, put a person in front of those actions.
  • You cannot measure whether it worked. If there is no clear way to check the output, you will not know when the agent goes wrong.
  • Speed matters a lot. Agents make several model calls per task. Each call adds waiting time.

A good test: if a simpler workflow gets you most of the result, start there. Add autonomy only where the fixed steps keep breaking.

How is AI usage priced?

Model providers charge per token. A token is a chunk of text, roughly part of a word. You pay separately for input tokens (what you send the model: instructions, documents, conversation history) and output tokens (what it writes back). Output usually costs more per token.

Here are published API prices per million tokens at the time of writing (November 2026). Prices change often, so check each vendor's page before you budget.

ModelInput per 1M tokensOutput per 1M tokensSource
Claude Haiku 5.5$0.10$0.50Anthropic pricing
Claude Sonnet 5.5$2$10Anthropic pricing
Claude Opus 5.5$4$20Anthropic pricing
GPT-5-nano$0.05$0.40OpenAI pricing
GPT-5.4-mini$0.75$4.50OpenAI pricing

Google also offers low-cost Gemini models, but Google has announced model changes for December 2026, so check Google's pricing page directly rather than relying on a figure here.

Two discounts are worth knowing. Anthropic's pricing page lists a Batch API at 50% off for work that does not need an instant answer, and cheaper rates for cached input that the model has seen before. Long, repeated instructions are a good fit for caching.

A worked cost example

Say an agent handles 1,000 support tickets a month. For each ticket it reads about 20,000 tokens of input (instructions, the ticket, order history, help articles) and writes about 1,000 tokens of output.

Monthly totals:

  • Input: 1,000 × 20,000 = 20,000,000 tokens, or 20 million
  • Output: 1,000 × 1,000 = 1,000,000 tokens, or 1 million

Now apply the prices:

ModelInput costOutput costTotal per month
Claude Haiku 5.520 × $0.10 = $2.001 × $0.50 = $0.50$2.50
Claude Sonnet 5.520 × $2 = $401 × $10 = $10$50
Claude Opus 5.520 × $4 = $801 × $20 = $20$100

That is before caching. Notice that input dominates the bill here. Trimming what you send the model on each call often saves more than switching models.

Also notice the 40× gap between the cheapest and most expensive option. Many tasks run fine on a small model. Test the cheaper one first and only move up if the quality is not there.

What are the hidden costs of an AI agent?

The token bill is usually the smallest line. The real costs are elsewhere.

  • Building it. Writing the instructions, connecting the tools, handling the edge cases. This is engineering time, and it is most of the cost.
  • Testing it. You need a set of real examples with known right answers, and you need to rerun them whenever you change the instructions or the model.
  • Monitoring it. Logging every run, watching for failures, and noticing when quality drifts. Anthropic's article recommends limits on retries so a confused agent does not loop and burn tokens.
  • Human review. Someone has to check the outputs that matter. That is staff time, and it does not go to zero.
  • Changes over time. Models get updated or retired. Your process changes. The agent needs upkeep like any other software.

What does human-in-the-loop mean?

Human-in-the-loop means a person approves certain actions before they happen. Anthropic's guidance suggests building in human checkpoints, and says high-stakes actions need human oversight.

In practice, that might look like:

  • The agent drafts a refund, a person clicks approve.
  • The agent sorts incoming leads, a person reviews anything it marks as unsure.
  • The agent prepares a weekly report, a person reads it before it goes out.

This costs some staff time, but it is far cheaper than an agent making a confident, wrong decision with a customer. As trust builds, you can widen what the agent does alone.

Frequently asked questions

Is an AI agent the same as a chatbot?

No. A chatbot answers questions in a conversation. An agent can take actions through tools, like looking up records or updating a system, and decides which steps to take on its own.

Are businesses actually using AI yet?

Usage is growing but uneven. The US Census Bureau found 19.8% of US businesses used AI in the two weeks to May 3, 2026, and 37% of firms with 250 or more staff. Among firms with fewer than 20 staff, it saw no significant change. That is US data, but the pattern of larger firms moving first is worth noting.

Which model should I start with?

Start with the cheapest model that might work, and test it on real examples. In the worked example above, the cheapest Claude model cost $2.50 a month against $100 for the most expensive. Move up only where the small model fails your tests.

How can I reduce the cost of running an agent?

Send less input per call, cache instructions that repeat, use batch processing for work that can wait, and cap retries. Using a fixed workflow instead of a free-roaming agent for the predictable parts also cuts the number of model calls.

Can an AI agent run without anyone watching it?

For low-risk, easily reversed tasks, it can run with light monitoring. For anything involving money, customers or data that is hard to fix, keep a human checkpoint. Anthropic's guidance is that high-stakes actions need human oversight.

Where to go from here

If you have a task in mind and want to know whether it needs an agent, a simple workflow or nothing at all, the AI agents page explains how we scope that question. For fixed, repeatable processes, the automation page is the better starting point.

About the author

Related serviceAI agentsLLM agents with guardrails

Working on something like this?

Send us the problem. A person reads it and replies within one working day.