An overnight AI job cost one developer nearly €49,000: here's how to set a hard spending limit
A developer says a single runaway overnight job on Google Vertex AI, Google Cloud's business AI platform, left them with a bill of about C$76,000, or nearly €49,000. According to their post on Reddit, the budget alert arrived almost ten hours late. An alert like that is no emergency brake, but every major provider does let you set a real stop.

Explained in 30 seconds
- According to a Reddit post that went viral on December 4, a runaway overnight job on Google Vertex AI cost a developer about C$76,000, nearly €49,000.
- A regular budget alert only sends an email and stops nothing; real brakes are Spend Cap Budgets at Google, hard monthly limits at OpenAI and Anthropic, and per-key limits at OpenRouter.
- Turn off auto top-ups, cap requests per minute and put AI experiments on a separate payment card with a low limit.
A ChatGPT Plus, Claude Pro or Google AI Pro subscription costs around $20 a month, and that number never goes up. Hook AI up through an API instead – the technical connection that lets your own software talk directly to an AI model – and plug it into a script, an n8n automation or an AI agent, and the rules change. You now pay per token, roughly a chunk of text the model reads or writes, and there's no built-in ceiling. More and more freelancers and small businesses are building these setups, often without a brake for a loop that never stops.
One Google Cloud user showed on Reddit how badly that can go. On December 4 the story also spread on Hacker News, where it drew a flood of comments. An automated overnight job on Vertex AI ran out of control, according to the post. The user had set a monthly budget of C$286, with alerts at 50, 80, 100 and 120 percent. Google promises that its early anomaly alerts land within 20 to 40 minutes, the user writes, but this warning showed up almost ten hours late.
By then the damage was done. The final bill came to about C$76,000, or nearly €49,000. A formal request to adjust the bill was opened on October 16 and closed the same day, according to the post. The debt was eventually handed to a collections agency. As far as we know, Google hasn't commented publicly on the case.
A budget alert warns you, but it doesn't stop anything
The biggest misunderstanding is in the word budget. A regular budget alert in Google Cloud just sends an email once you pass a threshold. It doesn't turn off the tap. Billing systems also don't track usage to the second, so a fast script can burn through hundreds or thousands of dollars before anything happens. And with prepaid credit, automatic top-ups may be switched on, charging your card again and again while the loop keeps running.
With AI agents, costs climb even faster. They work in loops and often resend a big chunk of the conversation at every step, sometimes up to a million tokens. The priciest models, GPT-6.2 Astra and Claude Fable 5.2, cost $8 per million input tokens and $40 for output. On December 1 Google doubled the price of Gemini 4 Carbon and Argon to $4 and $20, as we covered in our piece on that price hike. But even a cheap model gets expensive when it's called thousands of times an hour.
| Provider | How you pay | Real hard stop? | Biggest trap | Best protection |
|---|---|---|---|---|
| Google Cloud / Vertex AI | Billed afterwards, pay as you go | Only with a Spend Cap Budget | A regular budget alert stops nothing | Spend Cap on test projects plus low per-minute quotas |
| Google AI Studio | Free or prepaid from $5 | Yes, at zero balance and with a Spend Cap | Heavy spikes can overshoot a little | Small balance plus a Spend Cap per project |
| OpenAI API | Prepaid credit | Yes, empty balance and hard monthly limit | Auto-recharge refills credit; your usage tier is no ceiling | Auto-recharge off plus a hard monthly limit |
| Anthropic (Claude API) | Prepaid credit | Yes, limits per organization and workspace | Without your own limit, the tier cap of $500 to $200,000 applies | Auto-reload off plus a low limit per workspace |
| OpenRouter | Prepaid credit | Yes, per API key | A key without its own limit can drain your whole balance | A separate key per agent with a $5 to $25 cap |
Google Cloud: turn on a Spend Cap and lower your quotas
At Google, never rely on a standard budget alert as your brake. For test, hobby and development projects, use the newer Spend Cap Budgets, generally available since late October for the Gemini API, Vertex AI and Cloud Run. You get a warning at 50 and 80 percent, and at 100 percent Google pauses new traffic to that service for the rest of the month. Your files stay put, but storage and always-on servers keep costing money.
A Spend Cap always covers one project and one service, per calendar month, at full list price without credits. Google also warns that the cap doesn't kick in instantly, so set it a bit below your true maximum. On top of that, lower your quotas, meaning the maximum number of requests and tokens per minute. Building something small? Then go for Google AI Studio with prepaid credit from $5, which stops your API keys with an error once it runs out.
Use a hard stop like this mainly in test and development projects. If a live service for paying customers runs on it, a sudden block takes their work down too. There, pair low quotas with a daily look at your usage.
OpenAI and Anthropic: auto top-ups off, your own monthly limit on
At OpenAI, go to Settings and then Billing on platform.openai.com. Under Auto Recharge Settings, switch off automatic top-ups, so OpenAI refuses further requests once your balance hits zero. Then go to Organization and Limits, choose Edit spend limit, enter a monthly amount and turn on Enforce a hard limit, because only then will the API reject requests above your limit. Don't confuse this with the monthly cap that comes with your usage tier: that's OpenAI's own capacity limit, not protection for your wallet.
The Claude Console from Anthropic works much the same way. Set a low monthly limit for your organization under Spend limits and split projects into separate workspaces, each with its own lower ceiling. Without your own limit, your tier's default cap applies, which runs from $500 to $200,000 a month. Switch off Auto-reload as well, so your credit doesn't refill on its own. With both providers, heavy parallel traffic can push you just past the limit before the block kicks in.
Extra safety net: one key per agent and a brake in your own code
Testing an AI agent or coding tool? You can route the traffic through OpenRouter. That service gives you access to models from Anthropic, Google and OpenAI, among others, and lets you set a hard dollar limit on each API key, per day, week or month. If one agent goes rogue or a key leaks, only that key stops, at say $10. Your main balance and your credit card stay safe.
Also build a brake into your own code or automation: give an agent a maximum number of steps and keep requests per minute low. Put experimental projects on a separate business or virtual card with a low monthly limit, never on a credit card with tens of thousands to spend. For more on limiting what an agent can do, see our comparison of AI agents that cheat. Start today with one simple check: are automatic top-ups still switched on at your provider?
What does this mean for you?
If you only use AI through a subscription like ChatGPT Plus, Claude Pro or Google AI Pro, you pay a fixed amount and don't run this risk. Created an API key for a hobby project? Turn off automatic top-ups and set a low monthly limit, so a bug in your script never costs more than you want.
Freelancers and small businesses that connect AI agents or automations to a paid API need a hard stop at every provider: a Spend Cap at Google, a monthly limit at OpenAI and Anthropic, or a key limit at OpenRouter. Also lower per-minute quotas, give every project its own key and put experiments on a separate card with a low limit.
What happened with the C$76,000 Google Cloud bill?
According to a Reddit post that went viral on December 4, 2026, an overnight job on Google Vertex AI ran out of control. The budget alert arrived almost ten hours late, the user says, and the final bill reached about C$76,000, nearly €49,000. As far as we know, Google hasn't commented publicly.
Does a Google Cloud budget alert stop my AI usage?
No. A regular budget alert only sends an email once a threshold is passed. You get a real stop with a Spend Cap Budget, which pauses new traffic to a service at 100 percent. Also lower your per-minute quotas, because a Spend Cap doesn't kick in instantly.
How do I set a hard spending limit at OpenAI and Anthropic?
At OpenAI, turn off Auto-recharge under Settings and Billing, then set a monthly amount under Organization and Limits and turn on Enforce a hard limit. In Anthropic's Claude Console, set a low monthly limit for your organization and per workspace, and turn off Auto-reload.
- Google Sent Me to Collections: 20-min Vertex AI alert fired 10 hours late on a C$76K bill (Reddit r/googlecloud)Community
- Google sent me to collections: GCP's 20-min AI alert fired 10h late ($76K bill) (Hacker News)Community
- Manage spend cap budgets (Google Cloud Billing Documentation)Primary source
- Google Cloud spend caps now generally available (Google Cloud Blog)Primary source
- Gemini API billing (Google AI for Developers)Primary source
- Spend limits (OpenAI API Docs)Primary source
- Setting up and managing prepaid API billing (OpenAI Help Center)Primary source
- Rate limits and spend limits (Claude Platform Docs)Primary source
- API Credit and Rate Limits (OpenRouter Documentation)Primary source
Which AI should you choose in 2026? A clear guide to free tools vs. paid plans
There is no single winner across every task. Picking the smartest AI depends on what you write, how many files you upload, and whether paying $20 a month saves real time.
Hands-On & Local AIHow to run AI locally on your PC or Mac with Ollama — without cloud subscriptions
Free apps like Ollama and LM Studio run capable open-weight models like Gemma 4 offline on your own desk. Here is what your RAM can realistically handle and how to start.