Google Cloud official cloud logo with the headline Your Google Cloud alert is not a brake, for a news explainer on Google Cloud spend caps after a runaway Vertex AI bill

Google Cloud Spend Caps After a C$76K Vertex AI Bill: What Builders Should Set Today

Short answer: Google Cloud spend caps are budgets with a real off switch: once the estimated cost of one eligible service in one project crosses your monthly cap, Google pauses new usage of that service instead of just emailing you. They cover the Gemini API, Gemini Enterprise Agent Platform (formerly Vertex AI), Cloud Run and Cloud Run functions, and they are generally available now. The caveat: enforcement takes minutes, not zero time, and anything that runs past the cap is still billed.

This matters this week because a developer’s overnight Gemini 2.5 Flash job on Vertex AI turned into a C$75,951 bill, and the story hit more than 600 points on Hacker News. The poster says a C$286 monthly budget and its alerts never stopped anything, the early cost anomaly alert arrived 9 hours and 42 minutes after spend began, and Google Cloud billing support refused an adjustment and passed the balance to collections. If you run batch jobs or agents on Google’s AI APIs, the difference between an alert and a cap is the whole story.

Key points

  • Budget alerts only notify. Spend caps pause new requests to the capped service in that project.
  • Eligible services: Gemini API (generativelanguage.googleapis.com), Gemini Enterprise Agent Platform, formerly Vertex AI (aiplatform.googleapis.com), Cloud Run and Cloud Run functions. Compute Engine, GKE, BigQuery and Cloud SQL are not covered.
  • Scope: one project and one service per cap, on a monthly period that resets automatically on the first of the month.
  • Caps use gross, estimated list price costs that ignore credits and discounts, so usage paid by startup credits still counts toward the cap.
  • In-flight requests finish and are charged, Provisioned Throughput is never halted, and Google says overages beyond the cap are billed as normal.
  • Alerts go to billing admins and project owners at 50%, 80% and 100% of the cap, and caps can be managed through the Cloud Billing Budgets API.

What happened with the C$76K Vertex AI bill

According to the Reddit post, spending began around 10 pm Eastern while a Gemini 2.5 Flash workload ran overnight. Google’s documentation says early anomaly signals for Gemini API and Vertex AI arrive with an expected latency of 20 to 40 minutes. The poster says the first anomaly email came at 7:42 am, valued the spike at $13,572 and could not name the product responsible.

By then, C$36,302 in startup credits were gone and spend had passed the C$286 budget. The poster says the 50%, 80% and 100% budget emails never arrived and the 120% email landed after every job had been switched off. What finally stopped the job was a declined C$8,600 card charge. The billing console reportedly showed C$0 owed while further charges kept landing that afternoon.

Google’s billing support closed both cases, called it a runaway Vertex AI job and said the account did not qualify for an adjustment. The poster says C$63,896 is still owed, the account is suspended and Google Collections is now involved. We have not verified the account details independently; the timeline is the poster’s account, but the alert latency and lag behavior match what Google’s own docs describe.

How Google Cloud spend caps work

A normal Cloud Billing budget watches settled billing data, which Google says is typically available within a day and can take more than 24 hours. That is fine for monthly reporting and useless at 3 am when a loop is calling a model thousands of times a minute. Think of a budget alert as a smoke detector that rings after the kitchen has burned: accurate, but too late to save dinner.

Google Cloud spend caps work on faster, estimated costs instead. Google’s announcement says caps for AI services trigger within minutes of usage, and once triggered, all new usage of that service in that project pauses for the rest of the month. Resources are not deleted, and you can lift the cap manually, after which services can take up to an hour to recover. Google also added a spend caps API inside the existing Budgets API, so you can attach a cap to every new sandbox project as it is created.

The limits are just as important. A cap covers exactly one project and one service, so a project that uses both the Gemini API and Vertex AI needs two caps. It does not touch persistent resources such as VMs or storage, which keep running and billing. And because Google warns that enforcement is not instant, its docs advise setting the cap slightly below the most you can afford to lose.

What it means for builders

If you call Gemini through Vertex AI or the Gemini API, a spend cap is now the minimum safety setting, not an optional extra. That is especially true for cheaper, high volume models such as Gemini 4 Neon, where a low price per token makes it easy to forget how fast a loop multiplies it.

A practical setup takes a few minutes:

  1. Put each batch job or agent experiment in its own project, so one runaway job cannot drain a shared budget.
  2. In Billing, open Budgets and alerts, create a new budget scoped to that single project and to aiplatform.googleapis.com or generativelanguage.googleapis.com, and turn on the spend cap. Existing alerts-only budgets cannot be converted, so create a new one.
  3. Set the cap below your real pain threshold, because requests in flight still complete and bill.
  4. Add your own kill switch in code: count calls or tokens per hour and stop the worker when it jumps far above normal. One Hacker News commenter described exactly this after a stuck background loop ran up a Google Maps API bill.
  5. Pay with a card that has a hard limit you can live with, as a last line of defense.

Usage-based billing surprises are not unique to Google. We saw a quieter version when OpenAI tightened GPT-6.2 usage limits after a billing fix, and if you sell an AI product, Claude linked billing shows one way to move the token bill onto the customer instead of carrying it yourself. If you are comparing a second provider anyway, ask each one how hard limits work before you sign up; the Hetzner Inference API we covered recently is one EU-hosted pay per token option to put on that list.

How Google compares with AWS and Azure

AWS now offers spend limits on projects in its new account experience. When a project reaches its monthly limit, AWS pauses the whole project and stops its resources, with a minimum limit of $20 and alerts at 50%, 75% and 90%. It is rolling out gradually to new customers, works on up to 10 projects, and paused project data is deleted after 90 days if you never come back. Azure’s spending limit still applies only to free and credit based subscriptions, not pay as you go.

Our take: Google’s version is narrower than AWS’s because it only stops four API services, but for runaway model calls, which is what burned this developer, it is the control that matters. The bigger problem is defaults. Caps are opt in, and most developers only find out they exist after the first bad night.

What to watch

  • Whether Google responds publicly to the case or changes its adjustment policy for anomaly alerts that arrive far outside the documented window.
  • Whether spend caps expand beyond four services to Compute Engine, GKE and BigQuery, and whether multi-service or folder level caps arrive.
  • Whether any major cloud makes hard caps the default for new pay as you go accounts with AI APIs enabled.

Sources

Leave a Comment

Your email address will not be published. Required fields are marked *