ospalabs
Free tool

What would a runaway loop cost you?

A retry bug, an agent that never stops, or a cron job left on. Set the numbers to what your app sends and see the bill the next morning, with and without a ceiling.

60
6,000
1,200
14 h
$25
Bill for this loop$0.0240 per call
Without a ceiling$1,210
Behind Fuse$25.00

The fuse blows after 17 minutes. The next 49,359 calls are stopped before they reach the provider. That is $1,185 you never get billed for.

Token cost only, at list price, no caching. 50,400 calls over 14 h.

Questions

How is the cost per call worked out?
Input tokens times the model's input price plus output tokens times its output price, at list price per million tokens, with no prompt caching.
Why does a ceiling stop the bill at the limit?
Fuse reserves each request's worst case before forwarding it, so the request that could cross the ceiling is refused with 402 and never reaches the provider.
Are these the latest prices?
They come from Fuse's price table when this page was published. Your provider's invoice is final.