Runaway AI bill right now? The first 10 minutes.

July 19, 2026

This one’s for the person who found this page by searching in a mild panic. Your agent has been looping, or a key leaked, or the number in the billing console is climbing and you don’t know why — and it’s still happening. Good news: you can stop most of the bleeding in about ten minutes. Do it in this order, because the order is what saves the money.

Don’t read the whole playbook first. Every minute you spend understanding the problem is a minute the meter keeps running. Stop it, then understand it.

Minute 1–2: Kill the key

The fastest way to stop the spend is to make the thing doing it stop working. Revoke the API key at the provider — in the OpenAI / Anthropic / Google Cloud console, not in your own app’s config. A call can’t bill a key that no longer exists. This is faster and more certain than trying to redeploy your app, restart the agent, or find the bug.

If it’s a cloud key (Gemini/Bedrock/Vertex tied to a cloud project), and you can’t tell which key, you can go one level up in the next step — but if you can see the offending key, kill it now.

Don’t worry yet about breaking legitimate traffic. A few minutes of your real feature being down is cheaper than the runaway. You can mint a fresh, restricted key in a moment.

Minute 3–5: Trace what’s calling

Now find the source so you don’t fly blind:

Minute 6–8: Cap the account (the real stop, not the alert)

Killing the key stops the current attacker. Now put a floor under the account so the next surprise can’t run unbounded — and understand the trap: a budget alert does not stop anything. It emails you. You need the action that disables.

Stop it first, understand it second — every minute reading is billed.

Minute 9–10: Preserve the evidence

Before you close the console, screenshot everything — because you may get this money back:

That timeline is your case. Providers waive first-time accidental and abuse-driven bills more often than people expect — and the strongest fact is “their own system flagged it and I shut it down within minutes.” (Full waiver playbook: how to get an AI overage waived.)

Then — and only then — fix it so it can’t happen twice

Once the fire’s out, the permanent fixes are the boring, one-time ones:


If you’re in the middle of one of these right now and want a second set of eyes, or you want the guardrails put in before the next one, that’s exactly what I do. It’s just me, so it comes straight to me and I reply fast. Send me what’s happening — I’ll help you stop the bleed and, if you want, wire the fail-closed cap + per-feature attribution so there’s no next time. A prevented runaway pays for the whole thing.

Free live workshop: cap your AI spend (Oct 8)

A hands-on 90-minute session — wire a fail-closed spend cap + cost-aware rate limiting against a real stack, live, so a leaked key or runaway agent can't run up your bill. Full details & times → Save your seat (and get each new lesson as it lands):

Double opt-in — one email to confirm. The lessons are free; the course is optional. No spam, unsubscribe anytime.