- 01
Estimate one step
Input tokens are the instructions plus the history so far; output tokens are what the model writes. At $2 per million input and $10 per million output (Claude Sonnet 5.5 list prices), a step with 7,500 tokens in and 500 out costs $0.015 + $0.005 = $0.02.
- 02
Multiply by steps and runs
A 10-step run at an average of $0.02 a step is $0.20. At 200 runs a day that's $40 a day, about $1,200 a month. Use the agent cost calculator to plug in your own numbers and model.
- 03
Add room for the bad runs
Retries, tool errors and loops make some runs 5 or 10 times longer than average. Budget for them, because the bill counts every one.
- 04
Measure the real numbers
Give the agent its own Fuse key. The dashboard shows its real spend per day and per request, so you can replace estimates with data after a week.
.envFUSE_BASE_URL=https://fuse.ospalabs.com/v1 FUSE_API_KEY=fz_your_fuse_key
- 05
Cap it
Set a daily ceiling a bit above the expected spend. A normal day stays under it; a loop stops at it.
What does an AI agent cost per month? A simple way to work it out
Updated October 2026
An agent's cost is runs × steps × cost per step. The catch is that agents usually resend the whole conversation on every step, so each step costs more than the last, and a run that goes in circles costs far more than an average one.
Here's a worked example, then how to measure your real numbers and put a ceiling on them.
Questions
Why is my agent more expensive than my estimate?
Usually the growing context: step 10 sends everything from steps 1 to 9 again. Summarizing history or capping it brings the cost per step down.
Do cheaper models always make agents cheaper?
Per step, yes. Per task, not always: a weaker model can take more steps or fail more often. Measure cost per finished task, not per call.