How it is calculated
The calculator adds up, step by step, what one task spends and multiplies it by the tasks per day, the retries and the days in the month. At each step it pays for input tokens (the whole accumulated context), output tokens and the tools used.
- Task input = steps × initial context + context added per step × (0 + 1 + 2 + … + steps − 1).
- Cost per task = input ÷ 1,000,000 × input price + output ÷ 1,000,000 × output price + steps × tool cost.
- Spend per day = cost per task × tasks per day × (1 + retries).
- Suggested limit = expected spend × (1 + margin), rounded up to two significant digits.
Why a 10-step agent costs more than 10 times one call
At every step the agent sends everything before it back to the model: its instructions, what it already thought and what the tools returned. So the input context grows and the last step costs more than the first. Railway explains this with a worked example of cost per agent run (Railway, estimating the cost of an AI agent).
If you only multiply the cost of one call by the number of steps, the budget comes out short. This tool models the growth with the field "Context added per step".
How to choose the limit
The suggested limit is the expected spend plus the margin you pick. A low margin stops a loop sooner but may reject normal busy days; a high margin gives room but lets more spend through if something fails. Start at 50% and adjust with real usage.
A number in a calculator protects nothing by itself. The limit has to be enforced by a system the agent cannot edit, not by an instruction inside the prompt. Read the spending limits guide and the guide to giving an agent a budget.
What the "If the agent runs away" panel shows
The panel assumes an agent that repeats steps with a lot of context, at the speed you set, with nobody stopping it. It tells you what it would spend in an hour and over a night, and how long it would take to reach the suggested daily limit. It is the worst case to weigh when choosing the limit, not a forecast.
Frequently asked questions
Is what I type sent to a server?
No. The calculation happens in your browser and the page does not send the values you type. No sign-up is needed either.
Where do the prices come from?
From you. The starting values are an example and are not any provider's prices; prices change, so copy them from your model's official page on the day you calculate.
Does it work if my agent also pays for APIs or other services?
Yes. Use the "Tool cost per step" field to add what you pay for each API or service call.
Does Nouron Pass enforce this limit?
Nouron Pass is designed to enforce per-payment, daily and monthly limits outside the agent. Today it is in early access and runs in the Sandbox; it does not process real payments yet.
Try these limits in the Sandbox
Nouron Pass is designed to enforce limits outside the agent. Today it runs in the Sandbox. Reserve your spot and we will write to you when your access opens.