An alert isn't a kill switch: How fast eight AI providers actually stop your spending

A developer got a bill of around 76,000 Canadian dollars for an overnight AI job on Google Vertex AI. He says the alert arrived almost ten hours late. We checked eight providers: What actually stops the spending, how long does it take, and what keeps costing you money even after the stop?

Analysis Dec 6, 2026 10 min read Original analysis by our editors
Illustrative image, AI-generated

What's going on

On December 4, a post from the r/googlecloud subreddit hit the Hacker News front page with more than 600 points and nearly 350 comments. The title: “Google sent me to collections: GCP's 20-min AI alert fired 10h late ($76K bill).” According to excerpts quoted in the thread, the developer ran an overnight job with Gemini 2.5 Flash on Vertex AI, Google's cloud AI platform. According to Google's docs, a cost anomaly alert should have fired within 20 to 40 minutes. Instead, the first email arrived about 9 hours and 42 minutes late. A budget alert set at C$286 never fired at all. He only noticed the problem when his credit card was declined. The final bill came to C$75,951, and according to his account the debt was sent to a collections agency. Google hasn't commented publicly, so the claims are unverified. One commenter dates the incident to September. At that point, Google's spend caps, which actually block spending, were only available in preview.

Our thesis: an alert is a smoke detector, not a circuit breaker. And most hard stops aren't really hard either. We read the documentation from eight providers to find out what actually stops the spending.

Why alerts almost always come too late

Budget alerts run on billing data. That data gets collected, priced and only then reported. Microsoft openly says that costs show up in Azure Cost Management “8 to 24 hours after usage.” At AWS, budget data is updated “up to three times a day,” according to the docs, usually 8 to 12 hours after the last update. Google says actual costs typically appear “within a day,” sometimes later.

For scale: according to the excerpt quoted on Hacker News, the developer had already spent around C$49,200 by the time the first email arrived. Spread over almost ten hours, that's roughly $80 per minute. Our math: at that rate, even a ten-minute delay costs about $800. An alert that arrives hours later is almost as expensive as no alert at all. That's why real hard stops work with estimated live costs instead of finalized billing data. But they have gaps too.

Google: two systems, neither of them hard

The Gemini API via AI Studio has three brakes. The first is prepaid credit: you pay upfront, at least $5 and at most $5,000. Once the credit runs out, every key on the billing account stops working and returns a 402 error. The second is fixed monthly limits per tier, applied per billing account: $250 in Tier 1, $2,000 in Tier 2. The third is custom per-project limits, which Google calls “experimental.” For all of them, billing lags “about 10 minutes” behind, and any overage in that window is charged. An overdrawn prepaid balance is deducted from your next top-up. Google also says “long-running tasks such as batch processing and agent sessions” can cost more than the limit. There are no limits for individual API keys.

A case from the Google developer forum in May 2026 shows what that looks like in practice: a user set an €8 limit for Deep Research Max. They were billed for more than 26 million input tokens, around €138 over the limit.

For Vertex AI, now called Gemini Enterprise Agent Platform, the spend caps from Cloud Billing apply. According to Google's blog, they've been generally available since October 31. Each cap applies to exactly one project and one service. Only the Gemini API, Vertex AI, Cloud Run and Cloud Run functions are supported. Google says the caps kick in for AI services “within minutes.” The Firebase docs, however, state plainly that spend caps are “not hard caps.” Even after a cap is hit, you'll still be charged for:

  • requests that are already running,
  • always-on resources like compute and storage,
  • Provisioned Throughput, meaning reserved compute capacity. According to Google, it is “never stopped.”

A plain budget without a cap stops nothing at all.

OpenAI, Anthropic, Mistral: real stops with some slack

OpenAI offers hard limits at three levels: organization, project and individual API key. Once a limit is reached, the API returns a 429 error. But the block is “not immediate,” and “a small amount of additional usage” can slip through. Important: you have to switch the limit on explicitly with “Enforce a hard limit.” As recently as June 2025, support confirmed in the developer forum that project limits only sent notifications. For prepaid credit, auto-recharge is on by default during setup. OpenAI itself warns:

“Don't rely on prepaid credits as an immediate spending stop.”

The docs don't say whether batch and fine-tuning jobs stop when a limit is hit.

Anthropic sets a fixed monthly limit per tier: $500 in Start, $1,000 in Build, $200,000 in Scale. Custom tier customers have no such limit. Below that, you can set your own limits for the whole organization and for each workspace. There are no per-key limits. How fast the block kicks in isn't documented. There's a catch in the fine print: a limit on the default workspace may not cover usage via the Console, Managed Agents and Claude Code. Payment is usually via prepaid credit, and auto-reload is optional.

Mistral offers the most granular controls: limits for organization, workspace, user group, individual users and API keys. A request has to stay under every applicable limit, or you get a 402 error. Billing is usage-based via pre-purchased credits. The docs don't mention any delay.

AWS and Azure: new stops with lots of exceptions

AWS introduced AI budgets at re:Invent on December 1 that can block new Bedrock requests. Technically, AWS does this by switching a Service Control Policy to “deny,” a rule that prohibits certain actions for entire accounts. AWS says the block kicks in “within minutes,” and usage in that window is billed. The limitations are significant:

  • The block only applies per account and has to be set up from the organization's management account.
  • The management account itself is exempt.
  • Provisioned Throughput and batch jobs that are already running keep going.

Per-user or per-group budgets are only in preview, and they only send warnings. Dollar limits per user, group or IAM role that apply before the model call only arrive with Bedrock Gateway. It's in private preview and doesn't have pricing yet.

On Azure, the classic budgets in Cost Management only send warnings and don't block anything, according to Microsoft. Since November, Microsoft Foundry has offered “Cost Controls” in preview. They track costs in real time and block with a 429 error, scoped to a project, deployment, agent or session. The docs are upfront about the gaps:

  • The request that crosses the limit still runs to completion.
  • Changes take up to 15 minutes.
  • If Foundry “can't check” a request in time, it goes through anyway.
  • Provisioned Throughput deployments aren't counted at all.
  • Only GPT and o-series models are supported.

What's already generally available is per-project token quotas via the AI gateway in Foundry.

Prepaid by design: OpenRouter and DeepSeek

OpenRouter, a middleman between many model providers, works with prepaid credit. On top of that, each key can get its own credit limit that resets daily, weekly or monthly. There are also budgets for workspaces and users. For some prepaid accounts, OpenRouter estimates the cost of each request upfront, so lots of simultaneous requests can't overdraw the balance. Even so, the docs explicitly mention negative balances. A setting controls whether requests using your own provider keys (BYOK) count toward the limit.

DeepSeek only offers prepaid, according to its docs: once the balance is empty, you get a 402 error telling you to top up. The docs don't mention per-key limits.

The safest settings at a glance

Provider Type of brake Scope Documented delay Keeps running despite the block Safest setting
Gemini API (AI Studio) prepaid, tier limit, project cap (experimental) billing account, project approx. 10 min. batch, agent sessions, negative balance small prepaid amount + low project cap
Vertex AI spend cap (GA since Oct.) project × service “minutes” in-flight requests, Provisioned Throughput, resources cap per project, separate project per agent
OpenAI hard limits, prepaid organization, project, key “not immediate” small overage, negative balance per-key limit + auto-recharge off
Anthropic monthly limit per tier, custom limits, prepaid organization, workspace not documented gaps in the default workspace dedicated workspace with a limit, auto-reload off
AWS Bedrock AI budget with block account (per user only in preview) “minutes” Provisioned Throughput, batch, management account agent in its own account, daily budget with block
Azure OpenAI Cost Controls (preview), token quotas resource down to session real time, changes up to 15 min. the request that crosses the limit, Provisioned Throughput token quota in the AI gateway + Cost Control
OpenRouter prepaid + per-key limits account, workspace, key cost estimate before the request (partial) negative balance possible daily limit per key
Mistral limits + prepaid credits organization down to key not documented unclear per-key limit for each agent
DeepSeek prepaid only account not documented unclear top up in small amounts

The underrated risk: stolen keys

Not every cost explosion is your own bug. In the “React2Keys” campaign, CloudSEK and BleepingComputer report that around 50,000 credentials from roughly 400 organizations were stolen between November 9 and 19. They included keys for OpenAI, Anthropic and Gemini. The attackers used stolen Claude Code tokens to run requests at the victims' expense. Here too, an alert the next morning won't help. Only a limit on the individual key will. A 2025 case shows how expensive even an experiment can get: an overnight fine-tuning run on Vertex AI cost a student £11,550, even though she had set a budget alert at £5. Google waived only part of the amount.

Our verdict

Our take: the thesis holds. None of the eight providers documents a stop that kicks in instantly and without exceptions. Even the best options talk about “minutes,” “about 10 minutes” or “not immediate.” Reserved capacity, running batch jobs and agent sessions slip through the cracks almost everywhere. On the plus side, a lot has changed in recent months: OpenAI, AWS, Google and Microsoft have all added real hard stops. Some are still in preview, though, and they often only apply to entire accounts or projects.

If you let agents run overnight, combine three layers:

  1. Prepaid credit with auto-recharge turned off, loaded with an amount you could afford to lose if things go wrong.
  2. A limit per key or project, so one agent or one stolen key can't drain everything.
  3. Your own check before every call, in a gateway or in your code. As one post on dev.to advises, that means a running cost total and a hard cap per agent run on steps, tokens and runtime.

You know the token counts of every response immediately. So a brake like this reacts in milliseconds instead of hours. The provider's alert is still useful, but only as a smoke detector.

Sources

#costs#api#cloud#agents#security#comparison

Ask the AI assistant

Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.

Connecting …

The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.

Comments

What do you think? Already tried it? Write it here, no sign-up needed.

  1. Loading comments …

Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.