Guide · agent costs

How much does an AI agent cost per run?

The short answer

An agent run is not one model call. It is a loop of calls, and every call pays for the tokens it reads and writes. The cost of one run is:

cost per run = steps × (1 + retry rate) × cost per step
cost per step = (fresh input tokens × input price
               + cached input tokens × cache-read price
               + output tokens × output price) ÷ 1,000,000

Prices are quoted per million tokens. Multiply the cost per run by runs per day to get the daily bill, and by days per month for the monthly one.

What drives the number

Typical agent profiles

These are the starting presets in the AgentTab calculator (assumptions, not measurements):

AgentInput tokens/stepOutput tokens/stepStepsRetry rateCacheable
Coding agent40,0002,0002510%80%
Research agent60,0003,000158%60%
Customer support bot6,00040045%70%
Inbox triage bot3,00030023%50%

For a coding agent that means 25 × 1.1 = 27.5 model calls per run, each reading 40,000 tokens: about 1.1 million input tokens per run before caching.

Get your own number

Open the cost calculator — current list prices for many models, with caching and routing savings itemized. Want to know whether a pricier agent is worth it? Compare scores in the Arena.