# Unexpected Gemini API Billing Spike

**URL:** <https://discuss.ai.google.dev/t/unexpected-gemini-api-billing-spike/114095>\
**Category:** Gemini API\
**Tags:** billing\
**Created:** [January 5, 2026, 5:11am UTC](https://discuss.ai.google.dev/t/unexpected-gemini-api-billing-spike/114095 "2026-01-05T05:11:25Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![BrokeCoder](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/brokecoder/32/76385_2.png) [@BrokeCoder](https://discuss.ai.google.dev/u/BrokeCoder)\
**Post date:** [January 8, 2026, 3:13am UTC](https://discuss.ai.google.dev/t/unexpected-gemini-api-billing-spike/114095/7 "2026-01-08T03:13:57Z")

</div>

Yes, I’m looking at a bill of $6,909 for calls to GenerativeLanguage.GenerateContent over about a month, none of which I made. I had quickly created an API key during a live Google training session. I never shared it with anyone and it’s not pushed to any public (or private) repo or website. Whomever got a hold of it made over a billion requests, 99% of which returned 429 errors. 429s are not supposed to be billed, so the $6k+ is a result of the 1% of calls which succeeded.

[![Screenshot 2025-12-23 225357](https://d3qe71uytubmmx.cloudfront.net/original/3X/b/e/bef53cce8bc8ce5f69d67e10e8d41a739c3e5946.png)](https://d3qe71uytubmmx.cloudfront.net/original/3X/b/e/bef53cce8bc8ce5f69d67e10e8d41a739c3e5946.png "Screenshot 2025-12-23 225357")

I opened a support case and they said:

_Generally, any usage on an account that was not caused by a direct error on Google’s side is technically considered “valid usage” even if the activity was unintended by you. A specialized team has raised a consultation with the Product Team. They are currently conducting a deeper investigation to clarify the specific usage details and ensure our findings are completely accurate. I have explicitly requested them to check if we can retrieve request headers or originating IP addresses that could help you identify how the key was being utilized_…_Our specialized team investigation concluded that no leaked API keys were detected in your project_…

_The key was not found in public repositories (a standard “leak” check), but they did not provide specific details on the methodology used to reach that conclusion. I understand that this lack of detail is frustrating and leaves your questions about the validity of the traffic unanswered._

I made the mistake during a live training session to not properly restrict the API key, and didn’t catch the high usage in the cloud console until it added up to thousands. Even after I disabled the API another $2k+ registered. It was just for a quick test and never used it again personally.

---

_[View the full topic](https://discuss.ai.google.dev/t/unexpected-gemini-api-billing-spike/114095)._
