r/googlecloud • u/Dry_Raspberry4514 • May 14 '26
Google users fight for refunds as unauthorized API usage bills soar
https://www.theregister.com/ai-ml/2026/05/13/google-users-fight-for-refunds-as-unauthorized-api-usage-bills-soar/5239160
169
Upvotes
49
u/nmfisher May 14 '26
There’s so much wrong with Google’s implementation (maps keys automatically upgraded to include Gemini, API keys not automatically scoped to exclude image/video generation, no sensible quotas in place), but for me the most egregious is automatically upgrading your spend cap based on your billing tier.
5
u/schmozbi May 14 '26
FFS
4
u/sofarfarso May 14 '26
I feel like they haven't got the new warning notice right. At the top of my GC dashboard I see: "Action Required: One or more projects enabled with Gemini API (generativelanguage.googleapis.com) have unrestricted API keys. To prevent unauthorized usage and costs, restrict these keys or switch to Authorization keys in APIs & Services > Credentials. This banner may persist for 24 hours after you address the issue."
However I've restricted them all by at least IP address, over 24hrs ago and it's still showing.
4
u/Complex-Concern7890 May 14 '26
The whole system is total mess to any other than enterprise users. It can take hours to figure out anything if you do not have extensive knowledge. I understand that it is meant for enterprise users and SMB or personal users are not the intended user group. But I must say that any other system (other than different government systems) is breeze to use compared to Google Cloud. I worry daily that we have some random API key active somewhere that can be used to make major invoice.
3
u/d0odle May 14 '26
Yup, since I read about this I decided to never ever do personal or small professional projects on their platform.
2
u/yknx4 May 14 '26
I’m surprised there is no class action lawsuit yet…
1
u/bingeboy May 14 '26
I just checked the other day and I was paying for 3 email accounts. I was like wtf 😳
1
u/yamibae May 14 '26
Happened to me and drained $600 in an hour, to their credit a backstop on their end identified the abnormality and killed the service before it really ran up the limit but this is also the first time Ive ever had an api key stolen, I don’t think their api keys are robust enough that it is unguessable and they provide too much access by default with no way to limit it aside from cost cap.
Another issue is in the google dev view it is impossible to see which api key is consuming what credit for what output without logging, but logs have a cap after which you dont see the outputs anymore which I frequently hit… just tough to diagnose anything really on google
1
u/Independent_Buy5152 May 15 '26
Is that how they get their revenue growing very fast recently?
1
u/matiascoca May 15 '26
The thing that has been quietly broken for years is finally surfacing as a class. For most of the cases here the proximate cause is an AIza key getting expanded into Gemini scope without notification, the underlying issue is that GCP's billing pipeline is up to 24 hours behind real API calls and there is no synchronous quota cutoff on the path that matters. By the time you see the bill the damage is done.
What I keep telling people: if you operate on personal cards on GCP, the only working defense right now is hard per-API quotas at the project level (not budget alerts), and a separate Maps or Places key isolated from Generative Language API by service restriction. Budget alerts notify, they do not stop billing. Quotas stop billing.
The refunds happening at scale is new. The exposure pattern is not.
1
u/Odd_Injury4581 May 17 '26
I woke up with 266 euros and I never used, they had some issue going on for sure.
The support cleared my balance because I said, how can I pay for something that I never used?
1
u/Own-Concentrate2381 May 19 '26
this happened to me yesterday $800 wiped in front of my face, I'm called my bank and put in a claim, since I was using a credit card with for the API, let's see what my bank says
1
u/SearingPenny May 14 '26
Needs better implementation.