How to use it
Use your real figures where you can: chats per day and average turns from your chatbot dashboard, and your cost per turn from your provider bill (one month's usage cost divided by the turns it bought). For the stuck-chat fields, be honest about the bad case: how many turns could one conversation reach before a person notices, and what share of chats might plausibly get stuck in a month? The example button loads invented numbers, clearly labeled fictional, so you can see the shape first.
The one rule behind the plan: a limit written down before the bad night is a guard; the same limit invented after the bill arrives is just a lesson. Maximum turns, a per-chat cap and a daily hard cap are cheap to set and expensive to skip.
This calculator covers the fifth AgentCheck check — loops and answers that never end. The other free tools cover the rest: the Permissions Checker (connections, keys, limits, logging), the Answer Match Checker (prices and policies vs. the bot's answers) and the Self-Test Scorecard (pushy and tricky prompts).
The example (120 chats a day, 6 turns on average, $0.02 a turn, a stuck chat reaching 200 turns, 1% of chats stuck) is invented on purpose — replace every number with your own.
Your estimate
Normal month: –
Stuck chats: –
–
Your guard plan
Want someone watching after the limits are set?
This calculator sizes the risk and names the limits. The AgentCheck Audit ($149 one-time) talks to your bot through its public chat window the way customers do and delivers a written report across all five checks. The AgentCheck Full Audit ($299 one-time) adds the setup review — connections, key storage, hard limits and logging — plus a free re-check within 30 days. Agent Guard ($49/month, cancel anytime) keeps watching from the outside: scheduled re-checks, alerts when answers change, and a written review after every bot update. No passwords, no API keys and no code access are ever requested; full refund if work hasn't started yet.
This tool is general information about sizing a chatbot's loop and budget risk. It is not financial, legal or security advice and not a certification. Every figure comes from the numbers you enter; a low estimate does not guarantee a low bill. AgentCheck is not affiliated with, endorsed by, or certified by OWASP or NIST; its checklists are built on those public frameworks.
Frequently asked questions
What does the Chatbot Loop and Budget Guard Calculator do?
You enter how many chats your bot handles a day, how long a normal chat runs, what one turn costs you, and how far a stuck chat could run before anyone notices. The calculator works out your normal monthly turn volume and cost, what looping chats add on top at the share you choose, and a concrete guard plan: a maximum-turns limit, a per-chat cost cap, a daily alert level and a daily hard cap. Everything runs in your browser — nothing is uploaded.
Where do I find my cost per turn?
Use your own provider bill: divide one month's usage cost by the number of turns (messages the bot processed) in the same month. If you do not have that split yet, run the calculator with a rough figure to see the shape of the risk, then replace it with your real number. The calculator never invents a price for you — every dollar figure comes from the numbers you type in.
What is a looping chat, exactly?
A chat that should have ended but keeps going: the bot repeats itself, the visitor (or another bot) keeps answering, and every extra turn costs usage. It can start from a confusing answer, a tool that keeps retrying, or a visitor who will not stop. The risk is not one long chat — it is that nobody notices for hours, and the same pattern repeats across many chats.
How did you choose the recommended limits?
They are starting points built from your own numbers, not rules from any platform: the maximum-turns suggestion is three times your average chat length, the alert level is 125% of a normal day's cost, and the hard daily cap is 150%. Tighten or loosen them to fit your business — the point is that a written limit exists before the bad night, not after the bill.
Can this calculator stop a loop on my bot?
No. It does not connect to your chatbot, your provider or any account, and it changes nothing. It shows you the size of the exposure and the limits to set in your own chatbot or provider settings. Agent Guard ($49/month, cancel anytime) watches from the outside afterwards: scheduled re-checks of the public chat, alerts when answers change, and a written review after every bot update.
Is a low exposure score a guarantee my bill is safe?
No. This is an estimate from the numbers you enter, on one day. Real bills depend on your provider's pricing, retries inside tools you connect, and traffic you did not expect. It is not financial, legal or security advice and not a certification. The AgentCheck Full Audit ($299 one-time) reviews the setup behind the chat — connections, key storage, hard limits and logging — from the details you share, with a written report.