Tools

How much does a looping AI agent spend before you notice?

A looping agent repeats steps nonstop and resends its whole context at each step, so its hourly cost is steps per minute × cost of one step × 60. Enter your numbers and see how much it would spend over an unattended night and how much a daily limit would have stopped.

Last updated:

This is an estimate based on the numbers and prices you enter. The starting values are an example, not any model's prices. A real loop can spend less or more.
The loop

How many times the agent repeats its cycle every minute.

What the agent resends at each step. A long context makes every lap cost more.

What the agent writes at each step.

Paid APIs or services each step uses. It can be 0.

Prices (per million tokens)

Use your model's price. The starting value is an example.

Use your model's price. The starting value is an example.

Time and limit

How long it could run before someone notices. Up to 720.

Leave empty or 0 if there is no limit.

The starting values are an example, not any model's prices. Replace them with yours.

Loop cost

Cost per hour
$110.70
Cost over a full day (24 h)
$2,656.80
Cost over the unattended hours
$885.60
Spend with the daily limit
$50.00
What the limit avoids
$835.60
Time until the limit is reached
27 min

A daily limit of $50.00 cuts the spending after 27 min and avoids $835.60.

The calculation runs in your browser. Nothing is sent to any server.

How it is calculated

It is the same loop calculation as the budget calculator, on its own page:

  • Cost of one step = input tokens × input price + output tokens × output price + tool cost.
  • Cost per hour = steps per minute × 60 × cost of one step.
  • Unattended = cost per hour × hours. With a daily limit, the spending is cut at the limit.

The result is calculated in whole millionths of a dollar. If the total does not fit without losing precision, the tool says so instead of showing a doubtful number.

Why an instruction in the prompt does not stop a loop

A loop happens precisely when the agent stops following what it was asked. If the only brake is a sentence in the prompt ("do not spend more than 50 USD"), the loop ignores it like it ignores everything else. The brake has to live in a system the agent cannot edit: spending limits guide.

What to do next

With the hourly cost in view, set a daily limit and a per-payment limit with the spending policy generator, and see which controls you are missing with the security checklist.

Frequently asked questions

What is a looping agent?

An agent that repeats the same cycle (think, call a tool, think again) without ever finishing. Each lap uses tokens and sometimes paid services, so the spending grows while nobody stops it.

Where does the cost of each step come from?

From the tokens you enter and the prices you set. The starting prices are an example and do not match any model; use your provider's.

Does the daily limit cut the spending exactly as the tool shows?

In the calculation, yes: the spending is cut at the limit. In practice it depends on the limit being checked before every payment and enforced by a system the agent cannot change.

Does Nouron Pass stop a loop?

Nouron Pass is designed to enforce daily, per-payment 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.