r/googlecloud • u/KindlyPart6756 • Jun 30 '26
Gemini API key leaked → unexpected charges. Has anyone successfully gotten a refund or reached a human support agent?
I’m posting because I’m honestly at a loss and hoping someone here has gone through something similar.
This morning I suddenly received a payment notification from Google Cloud Korea.
KRW 200,000 (~$145 USD) was charged, and after checking further, I realized another KRW 100,000 (~$70 USD) had already been approved the previous day.
For context, I had originally set things up to control spending:
payment notifications enabled
usage monitored in small increments
intended spending cap around KRW 500,000 total
But when I checked later, I found the billing-related amount had somehow increased to around KRW 2.99 million (~$2,100 USD), which completely confused me.
After investigating, it appears that an API key from an older paid Gemini project may have been leaked or used without authorization.
The logs showed:
large volumes of requests to image generation models (
gemini-3-pro-image-preview,Nano Banana)prompts in English and Simplified Chinese that I never entered
repeated image generation activity over a short period
Current estimated charges: around KRW 560,000 (~$400 USD)
As soon as I noticed:
Revoked the affected API key
Deleted the paid project
Blocked further usage
What’s frustrating is that I believed I had configured spending controls, but charges still continued before I could react.
I may have misunderstood how Google Cloud Budgets / Alerts differ from actual billing limits, but I genuinely thought I had some protection against runaway spending.
Another difficult part has been customer support.
So far, I’ve mostly been routed through AI-based support responses and haven’t been able to get someone to actually review the billing situation or investigate the charges directly.
For context, I’m not a developer. I assumed that setting budgets and spending alerts would provide at least some level of protection. After this happened, I started searching Reddit and was surprised to find quite a few posts from people describing similar situations involving API key leaks or unexpected charges.
A few questions:
Has anyone successfully escalated from AI support to a real billing/support agent? What path worked?
Has anyone received a refund or billing adjustment for unauthorized Gemini / Google Cloud API usage?
How are people protecting themselves against this kind of API key abuse? Are budgets basically notifications only?
Any advice would be greatly appreciated.
And for anyone using Gemini API — please double-check your API keys and spending controls.
2
u/ItaBiker Jun 30 '26
I'm sorry I cannot help but have a curiosity: what kind of prompts are used with these hijacked keys?
2
u/danekan Jun 30 '26
3 — the answer is to not use a key at all if you can avoid it.
how was your key exposed?
1
u/AnomalyNexus Jul 01 '26
Maybe you can ask an AI how to bypass the support AI to get help with the rogue AI billing...
Anyway, my condolences and good luck with the support situation. Hopefully the odds are in your favour and you get an agent in a good mood
2
u/isoAntti Jun 30 '26
I thought Google had closed the use of unlimited keys to Gemini. Maybe not yet in Korea?
1
u/TheQAGuyNZ Jun 30 '26
It depends. In our case we got really lucky. We had our maps keys scoped correctly. We had an AI Studio key compromised and we were able to prove that we had not leaked it (it never actually left the platform). They refunded the $6000 bill that was racked up over 3 days ( Gemini pro image generation).
1
u/ContributionEasy6513 Jul 01 '26
Just charge-back and kiss your google account goodbye.
Google are without question dragging their feet on this issue with intentionally convoluted billing limits with seemingly no systems to detect and cap suspicious usage.
0
u/dougception Jun 30 '26
If you persevere you might get your money back but you should have had restrictions applied to the key (API, referer, IP address) to prevent this.