CostMonStart free

Case studies

Anatomy of a runaway bill

Every one of these really happened, and every one is publicly documented. Here's what happened, what it cost, and the leading indicator that would have flagged it in real time instead of on next month's invoice.

Every figure below comes from a public source, linked at the end of each entry, verified as of 2026-07-23. Where a bill was later reduced or waived, that's stated in the outcome — this page reports what happened, not the most dramatic version of it.

8documented incidents cataloged below
6distinct ways a bill runs away — credentials, loops, traffic, AI agents
$500 millionthe largest documented bill on this page (Anthropic (Claude))

Leaked credentials

Leaked AWS keys spin up ~600 mining instances overnight

$5,994AWS~12 hours

What happened. AWS access keys committed to a public GitHub repository were found by an automated bot within hours. Attackers used them to spin up roughly 600 EC2 instances across multiple regions; a normal $17-a-month account jumped to a $5,994.08 bill in about half a day, caught only because AWS itself emailed a fraud warning.

The signal that would have flagged it

A sudden instance-hours spike across regions the account doesn't normally use. 600 new instances is a step change no baseline-comparison alert would miss, hours before a human would otherwise notice.

Outcome. AWS credited back $5,980.70 of the bill once the compromise was reported.

Source: WP Tavern →

S3 keys leak to GitHub, bots spin up 140 servers in five minutes

$2,375AWSovernight

What happened. A Rails security tool accidentally published Andrew Hoffman's Amazon S3 keys to a public GitHub repository. He pulled the keys within five minutes of noticing — but that was enough time for a bot that continuously scans GitHub for AWS keys to spin up 140 EC2 servers for Bitcoin mining overnight.

The signal that would have flagged it

The same instance-count/region anomaly as the Hellyer case above — and a reminder that even a five-minute exposure window is long enough for automated credential-scanning bots to act.

Outcome. Amazon refunded the $2,375 bill, as it had for other similar cases reported around the same time.

Source: The Register →

Misconfiguration / runaway loop

A Lambda function that triggered itself runs up ~$10,000 in a week

~$10,000AWS1 week

What happened. A Lambda function set to react to S3 API activity via CloudTrail wrote back to the same bucket that triggered it, creating a self-sustaining invocation loop. A routine AWS account check flagged spend already over $7,500 mid-month; by the time every affected function's concurrency was forced to zero to stop it, the account had run up close to $10,000 for the week, up from a normal baseline of a few dollars a day.

The signal that would have flagged it

An invocation-rate or daily-cost-velocity alarm on the Lambda/S3 pair. The loop was invisible to any dashboard that only tracks errors, since every invocation in the loop succeeded.

Outcome. The team stopped the loop by zeroing out concurrency on every Lambda function in the account. AWS later shipped built-in recursive-loop detection between Lambda and S3 (October 2024) — years after this incident.

Source: Asankha Perera →

Traffic spike / DDoS

A 3 MB MP3 turns into a $104,500 bandwidth bill

$104,500Netlify4 days

What happened. jyutping.org, a free-tier static site that normally used well under 10 GB of bandwidth a month, saw a sudden traffic spike that pushed daily bandwidth to a peak of 60.7 TB — traced to a single 3 MB MP3 file being downloaded an enormous number of times over four days.

The signal that would have flagged it

A bandwidth/egress anomaly alert. A peak of 60.7 TB in a single day against a monthly baseline under 10 GB is a spike of more than 1,000x — the kind of leading indicator a real-time cost view flags the same day, not four weeks later on an invoice.

Outcome. Netlify's CEO confirmed the $104,500 overage was fully waived once the story reached Hacker News; the company's stated policy is not to enforce free-tier overage charges that come from unexplained traffic spikes rather than a clear violation.

Source: Cybernews →

Viral scaling

A viral week turns Cara's Vercel bill into $96,280

$96,280Vercel1 week

What happened. Cara, a social app for artists positioning itself against AI-generated art on larger platforms, grew from 40,000 to 650,000 users in a week as creatives migrated off Meta's platforms. Serverless function invocations spiked along with that growth, and the resulting Vercel bill for that week came to $96,280.

The signal that would have flagged it

A function-invocation / compute-volume anomaly. A user base multiplying more than 15x in a week drives a matching surge in serverless invocations — a usage-velocity spike a real-time spend view surfaces well before the bill lands, days of runway to add caching or rate limits instead of finding out after the invoice.

Outcome. Vercel said its team had tried to reach the founder proactively as usage climbed, but the emails were missed during the growth spike; the two companies worked together afterward on cost mitigation.

Source: TechCrunch →

AI / agent runaway

An enterprise skips usage limits, spends $500 million on Claude in a month

$500 millionAnthropic (Claude)1 month

What happened. An AI consultant told Axios that one of their enterprise clients rolled Claude out company-wide without per-user spending caps or usage limits. Engineers running parallel, long-context coding sessions, alongside employees using it for trivial tasks, drove the account to a $500 million bill in a single month.

The signal that would have flagged it

Per-user or per-team spend ceilings paired with a daily normalized-cost view. Anthropic's own enterprise console offers admin dashboards and usage limits, but they have to be configured before the spend happens, not discovered after the invoice.

Outcome. The company has since put cost controls in place; the incident — alongside similar pullbacks reported at Microsoft and Uber — is widely cited as accelerating a broader shift toward AI spend governance.

Source: Tom's Hardware →

100 coding agents run up $1.3 million in OpenAI tokens in 30 days

$1.3 millionOpenAI30 days

What happened. Peter Steinberger, creator of the open-source OpenClaw project, posted a screenshot showing $1,305,088.81 in OpenAI API charges over 30 days — 603 billion tokens across 7.6 million requests, generated by roughly 100 autonomous Codex agents reviewing PRs, hunting bugs, and opening features with no per-project budget ceiling.

The signal that would have flagged it

A per-project cost ceiling paired with token-spend-velocity tracking. Steinberger himself later pointed to one specific setting — Codex's high-throughput "Fast Mode" — as the single biggest driver: turning it off alone would have cut the bill to roughly $300,000.

Outcome. OpenAI covered the bill as part of supporting the project. Steinberger has been explicit that it was run deliberately, with no budget constraint, as a stress test of what AI-assisted development looks like when token cost isn't a factor.

Source: Tom's Hardware →

Billing bug / anomaly

AWS's own billing console briefly shows customers trillion-dollar estimates

up to $2.5 trillion (never actually charged)AWS~1 day

What happened. A unit-pricing bug in AWS's estimated-billing computation subsystem briefly showed some customers cost forecasts running from a few million dollars up to roughly $2.5 trillion — with some screenshots circulating even higher. The displayed figures were never real usage or charges.

The signal that would have flagged it

None on the customer side — the anomaly sat inside AWS's own estimate pipeline, not real usage. The takeaway here is different: a spend record you keep independently of a single provider's live console isn't exposed to that provider's own display bugs.

Outcome. AWS paused estimated-bill updates so the figures wouldn't climb further, said the displayed numbers never reflected actual charges, and had corrected estimates back within about a day. No customer was actually billed the erroneous amounts.

Source: The Next Web →

What this adds up to

What every one of these has in common

The invoice was never the fast path

In every case above, something else moved before the dollar figure did — a bandwidth spike, an instance count, a function-invocation rate, a token-throughput curve. None of these bills were the first sign of trouble; they were the last, and by far the slowest.

Per-service dashboards can all stay green at once

The sharpest example on this page is the $500 million Claude month: every individual account, every API key, every workload was technically functioning exactly as configured. Nothing errored. Nothing was down. The only thing wrong was the total — and no per-service uptime or error-rate dashboard is built to show a total across providers at all.

One normalized view is the actual fix

Every leading indicator above lives on a different provider's console, in a different unit, on a different schedule. Catching the next one before it becomes an invoice means watching normalized, cross-provider spend daily, with anomaly alerting on top — which is the entire premise CostMon is built on.

FAQ

Common questions about runaway bills

Will AWS, Vercel, or Netlify refund a surprise bill like this?

Sometimes, but there's no guarantee. Several incidents above were waived or refunded after the story reached Hacker News or Reddit and got public attention — Netlify's CEO and Amazon support have both stepped in on viral cases. A provider's discretionary goodwill isn't a cost control, though: most affected accounts never go viral, and providers have said publicly that a full waiver is the exception, not the norm.

Do spending limits or budget alerts prevent this?

They help, but a limit nobody configures doesn't fire, and a monthly budget alert can still arrive weeks after a loop or a leak started. Several incidents above happened on accounts that had no per-service or per-key limits set at all. The gap this page keeps pointing at isn't the absence of a feature — most providers offer one — it's that the feature has to be turned on before the incident, and someone has to actually be watching a number that updates daily, not monthly.

How fast can spend actually be detected, realistically?

Every incident above had a leading indicator — a bandwidth spike, an instance count, a function-invocation rate, a token-throughput curve — that moved hours or days before the dollar figure showed up on an invoice. The technical bottleneck isn't detection speed, it's that most teams are only looking at one provider's native console, if they're looking at a live number at all, instead of a normalized, cross-provider view that flags an anomaly the same day it starts.

Why do AI/agent incidents keep showing up here specifically?

Because an AI agent has no natural request-per-response ceiling the way a plain API call does. A runaway loop, a misconfigured retry, or — as with several cases above — simply no per-user or per-project budget at all, can turn ordinary usage into a five- or seven-figure bill while every underlying service reports 200 OK the entire time. Per-service uptime dashboards have nothing to flag; only a spend-specific view catches it.

See what your stack really costs.

Connect your first providers in minutes and give finance and engineering one number they both trust. Flat pricing — never a percentage of your bill or your savings.

Esc