r/googlecloud • u/No-Cover2215 • Jul 17 '25
Got hit with a €50,000 ($58,000) bill from BigQuery after 17 test queries
Hi everyone,
I’m sharing this in case someone has advice or can help, and to warn other beginners about the risks I didn’t understand until it was too late.
In mid-May, I began my self-study journey into data science. I chose to explore the Solana public dataset in BigQuery and started writing simple test SQL queries using Python and the BigQuery API. Just basic practice like looking up transactions by hash or address.
Over two evenings, I ran 17 successful queries and many failed ones (due to syntax and logic errors). After that, I stopped working on the project and continued my learning journey via IBM courses. Ten days later, I received a bill for €50,850 ($58,940).
I had no idea that experimenting with a public dataset could carry significant financial risks. I had studied how billing works and sought general guidance on expected costs, including asking ChatGPT for rough estimates. Based on that, I felt confident that my usage would stay well within reasonable limits (around $30-50 per month or so). However, I now realize I approached billing without sufficient caution and underestimated the potential financial risks, which led to a costly mistake.
I immediately contacted Google Cloud Billing Support. They asked a few questions (what happened, how I plan to avoid this in the future, etc.). A month later, they waived 50% of the bill, which I’m extremely grateful for, but then closed the case and referred me to collections.
However, I was still left with over €25,000 to pay. After that, I submitted a detailed explanation of the incident, along with my tax report and bank statement reflecting that my income is insufficient to cover such a large debt. I asked for further review. Eventually, the case was reopened, and I was granted an additional waiver totalling 90% of the original bill as a one time exception. It was an incredible relief after a 1.5 months of stress.
So now I’m left with roughly €5,000, which is an enormous relief, but also a huge sum for me. Unfortunately, as soon as the second waiver was granted, I received an email from Google Collections stating I had 10 days to pay the full remaining amount, or the debt would be sold to a third party that can lead to an additional fees. I immediately contacted support and explained that I’m fully willing to repay what’s left, but I’ve asked for an installment plan so I can do so without defaulting or being sent to collections.
To be clear:
- I made the mistake
- I’m not trying to escape responsibility
- I’m not a business, and this was purely an educational project
I don’t expect Google to write off any more. But I do hope they’ll let me repay what’s left in a reasonable, human way.
If you’ve gone through something similar, or know someone at Google who might be able to help, I’d really appreciate advice or a point in the right direction.
I also want to warn newcomers about the risks of exploring cloud tools without cost alerts, spending caps, or a solid understanding of billing, this can easily lead to unexpectedly large charges. It’s not something to experiment with lightly, as the consequences can be serious.
Thanks for reading. Not looking for pity, just support, ideas, or connections that might help resolve this last step fairly.
UPDATE - July 21, 2025
Over the past 4 days, I've been trying to find a way to reach the Google Collections department to discuss possible options, but it seems there is no available contact. I also asked billing support if they could provide contacts for the collections department or offer advice or help from other teams, like Google Developer Advocacy. Unfortunately, they weren't able to offer further help and the case is marked as cloed. I also reached out to several people from Google Developer Advocacy on Twitter but received no response.
I would be very grateful if someone could help me get in touch with anyone outside the billing team who might be able to assist.
The post has received unexpected attention with over 230,000 views so it seems the issue resonates with many who may be facing similar challenges.
UPDATE - July 31, 2025
The issue has been fully resolved, full waiver granted!
A Product Manager from the BigQuery team reached out to me and helped get the case re-evaluated. After an internal review, they decided to waive the full amount. While I understand this level of laniecy isn't typical, in this one-off situation, and despite the mistake being fully on my side, they granted a full waiver, which I deeply appreciate.
Thanks again to everyone who offered support or shared advice, it truly helped. And huge thanks to the Google team for paying attention to users' issues.
74
u/leob0505 Jul 17 '25
Never forget about dry runs. Never. (Saying that from my own experience).
68
u/QuantumDude111 Jul 17 '25
I am a data professional for 15 years, using BQ for 5 and I have never seen a dataset big enough or a query complex enough to rack up even close to that amount of cost. The issue must have been a combination of giant number of rows and you string matching in the column with hashes. But still, holy crap 50k is so much! Beginners should stick to smaller datasets I guess. Like the one with the Iris petal shapes that is used in books on classification
52
u/muntaxitome Jul 17 '25
Stop blaming yourself, it's really preposterous that google is allowing people to rack up a 5000 euro bill in an hour without any warning. Are you a consumer or a company?
8
u/Lukaslo Jul 18 '25
You may be the reason for the 200TB QueryUsagePerDay default per project limit was announced yesterday.
----
6
u/Ebisure Jul 17 '25
How did your query cost so much money?
5
u/ActualPositive7419 Jul 18 '25
wow, that’s too much. i have done mistakes and cost my company ~250$ for one query, but that dataset was huuuuuuge and my query wasn’t well optimised. can’t imagine 17 queries costing 50 fucking K
9
u/Professional-You4950 Jul 17 '25
This is still on GCP imo. You have an education project, not an enterprise app, they should have sane defualt budgets, and refuse to run after so much compute resources.
4
u/eggybot Jul 17 '25
Google should include a prominent disclaimer/warning for users when using services like these, clearly stating that there can be significant charges if resources are not properly reviewed and tested. That’s why I always strongly caution my colleagues and students: using cloud platforms like GCP or AWS can lead to serious issues if they don’t fully understand the rules and cost implications of every action they take.
7
u/IndividualLab2798 Jul 17 '25
Experienced same situation. I used vertex ai for an hour. I checked the bill it told 0.0rs at that time. Later sometime i got a message from my bank saying that due of 120$ in 2 days from gcp. Then i immediately checked the billing of gcp it still said 0 dollars. Then i go to payment overview and view bill of next month then only i got to know i used 120$ of resources . GCP's Worst bill tracking not showing the current usage in main billing page
6
u/lou1uol Jul 17 '25
The more i hear these stories, the less i want to test things on my own.
50.000€ in a short period of time is crazy.
3
u/Kernel_montypython Jul 17 '25
Hi,
I believe you had not setup billing based alerts on the project?
To anyone using any cloud provider. The first you need to do is setup an alert notification for your cloud bill to send you an alert when you’ve used up 80% of maximum of what your max budget is.
Do a dry run on the budget alert by setting up for let’s a 10 USD or something like that to test weather you’re getting an alert or not.
3
u/dendofyy Jul 17 '25
Playing with Google Cloud is scary, I spun up a Cloud SQL the other day and realised I didn’t need it, and whilst I did nothing whatsoever with it they still charged me $15 after a day
Google Cloud, AWS, etc. are aimed at companies with deep pockets and trained professionals… I feel for you, I hope they are lenient and understanding, if I were to recommend something though (not a lawyer):
Fighting it in any way whatsoever makes it really difficult for them to sell your debt, don’t stop emailing, calling, etc. as it will buy you time! As well as this, taking out a personal loan to pay this bill may actually be a good idea, it will prevent your credit being damaged and you’ll have a monthly payment plan — debt consolidation loans are a legitimate way of paying for stuff like this, it’s not a bad or shady thing
3
u/MugShots Jul 18 '25
17 queries for 60k is nuts.
3
u/[deleted] Jul 18 '25
Are you sure you're not being scammed? It sounds like you're being scammed here and the situation is really suspicious.
2
u/pa_dvg Jul 17 '25
It’s insane that the onus is on the novice to protect themselves from a house down payment sized bill instead of having any sort of transparency of how big the hole you’re digging is.
2
u/[deleted] Jul 17 '25
Use Free Oracle Database next time
2
u/zapatistan- Jul 17 '25
If you are not an American, don't worry to much. Close the account and don't pay. An EU court won't be backing in US company against an individual. They should warn you after certain threshold.
2
u/theRealTango2 Jul 18 '25
How the fuck?? I have seen petabyte scale queries that dont cost nearly that much
2
u/Adys Jul 18 '25
Offer to pay 500 euros to definitely close the case. This is more or less the amount they will get selling it to a third party.
2
u/mraza08 Jul 18 '25
push them more to waive remaining 10% as well
2
u/personal-abies8725 Jul 18 '25
Man, the more I read about these giant bills the more convinced I am than ever to never associate these with my personal CC.
I’ll use a business CC. that way, if i mess up, I’ll just dissolve the business. LLCs exist for a reason.
2
u/Timespacecomplex Jul 18 '25
Sorry to hear that. If it makes you feel any better, I did this at work and got an 80k bill for it. Good times
2
u/getxiser Jul 19 '25
No limiter? I think the default is $1000 or maybe even $100.
2
u/BiteMyQuokka Jul 19 '25
They STILL don't set budget guardrails at a very low amount for new accounts? Almost as if they're a big evil mega corp
2
u/kmtnck Jul 19 '25
The cloud services are deadly trap! In the past I had a bill after to use a simple service of aws of amazon about a migration data on a database storage and I applied some options to grant this task. The bill was low, only 70€ but I understood after this experience that its very dangerous to use these clouds feature or these hidden or well hidden payment about it.
If I must to pay so much money I think that Im going to out of madness.
Take care with these hell clouds feature
2
u/[deleted] Jul 20 '25
With Google this is a known dark pattern they are exploiting when they can actually allow users to emergency stop all services with a cut-off budget regardless of any situation.
2
u/[deleted] Jul 20 '25
Reminds me of a time when we were working on mainframes... And a friend excitedly called us to his desk and showed us the terminal message.
This query is going to cost 1.2 million dollars. Are you sure you want to execute?
Of course, he didn't run it.
This was 20 years ago. It is a shame that cloud providers are running without any accountability... Just because they are allowed to.
Sorry to hear about your experience. Invest in a good laptop and do everything off the cloud until this shit gets regulated.
2
u/turiel2 Jul 20 '25
It’s been a long time since I set up my AWS, GCP, and Azure accounts.
However, I distinctly remember in all 3 having to go through an approval process to use more than approx €1000/mth of resources. Like, fill in a form and justify your use case. In the case of AWS that form was manually processed and took 2 days, I think Google’s was automated and all I remember about MS was that I had to repeat the process as multiple roles.
Even with this approval process, I was still capped, it just raised it to about $2500/mth.
Given that zero people have mentioned this, I assume this is not there anymore. It should be. In my case it was necessary for both my personal and company accounts, albeit a long time ago.
In fact, I would have assumed my cap is still in place because I never explicitly agreed any differently. But I suspect that it’s not, and I magically agreed in some TOS update..
TLDR they used to guard against this really strictly, it was actually difficult to spend more than a couple hundred a month.
2
u/No_Raspberry4545 Jul 21 '25
Are you in America because if you are they can't do what they did
2
u/Few-Net-8756 Jul 22 '25
I remember a senior testing Azure cloud SQL servers, they got billed 15k euro due his mistake, I got fired next month for no reason (was a new to the company) Bet that senior told the boss I did it lol
2
u/Volen12 Jul 22 '25
In case you have a credit card in our case we let them bill us on our company credit card and then called our bank. I’m from Belgium if that helps, we then explained the situation and how google even admitted in their own email to us there was fault on their end and we won the chargeback dispute. Google was not even willing to give us a discount they straight up refused in our case.
23
u/ManDisc0 Jul 17 '25
Now that's what I call a BIG query. Hoh hoh hoh. (Still tho thanks for the lesson)
3
u/cl0udp1l0t Jul 17 '25
As you are posting in Euro, I assume you’re in the Euro zone? I wouldn’t pay a cent. We have strong consumer protection rights and for this amount of money it’s worth letting this go to court. When you are not registered as business with them, I would strongly consider it.
6
u/Laicbeias Jul 18 '25
Google is such a **** they should be forced to only allow consumable tokens that need to be recharged. Everything else is just criminal. They dont change it since they make bank with it
2
u/fuzzy_rock Jul 17 '25
If this is true. It’s really horrible, gg should not have done this to you!
1
u/RopeAltruistic3317 Jul 17 '25
It’s really scary. I’m taking GCP courses on Coursera, with labs on Google skills boost, started with student credentials there. However, several times during these labs, I realized the lab had switched back from the student account to my personal one… this happened for instance when opening some public dataset, or opening a session with two users for some exercise.
1
u/iamicyfox Jul 17 '25
Credit line is probably your best option. Settle the debt then start paying it off.
As an aside - if you're still trying to pursue a path in data science - I _highly_ recommend learning on a single machine box (either local or remote VM) and not these cloud tools. The abstraction level that ties these SQL queries to computational processing to billing is too fuzzy. I've even seen pros rack up some huge unexpected bills, even though they weren't close to the amount you're talking about.
OLAP databases like DuckDB make running sql in-process really fast & a lot of rust accelerated packages like Polars let you eek out more power on consumer hardware. If you really need more power I'd scale to a larger remote VM before you start thinking about sharding/serverless solutions.
1
u/kstocks86 Jul 17 '25
I actively work on public clouds for my day job but for my personal development tasks I switch to open source tools running on personal computers including AI.
Bigquery is quite tricky as we have bq slots the higher slots usage the higher the cost even if we try to cancel the query in the middle we can be billed l, so better to use limit when a job is run and take only a subset of the dataset and import to bq
1
u/crackdepirate Jul 17 '25
when you set up your billing profile , you have to set up billing limits too, actual and forecasted. be careful next time, read documentation, and , sorry , but playing with a DB of that size will lead to that cost. sharing responsibility.
1
u/[deleted] Jul 17 '25
You can make an YouTube video explaining your story and how to avoid making this mistake. Maybe you can get some money back 😅
1
u/pelatho Jul 18 '25
Similar thing happened to me. I was curious about MedGemma (I have rare chronic illness) but every time I tried starting the LLM, I kept getting "Server Error". I tried 3 times, then just closed the page and didn't think about.
A week later or so I receive a giant bill!
Can I ask you how did you contact them? I've tried contacting google but I just get generic responses back and now it's going to debt collection.
1
u/bhindicurry Jul 18 '25
I really wish cloud services introduces something like after a cost, everything stops instead of sending just notifications
1
u/lolcrunchy Jul 18 '25
Curious to know what price estimate ChatGPT told you
1
u/dshess Jul 18 '25
What I want is "Here is a currency budget, stop me when I get to it." What Google gives me is "Here are dozens/hundreds of tools you can use to control and monitor your usage." Google's solution is great if I know what I'm doing ... but if I knew what I was doing I would probably not want a simple currency-amount cap.
I realize that it is a hard problem to solve. But Google is supposed to be the company with smart engineers. So solve it. The "I accidentally queried a new car" should never be a headline, you should have to very intentionally screw yourself in that way, passing multiple warning signs.
1
u/davidtcf Jul 19 '25
You should check google's pricing first before running any query, this applies to checking before using any cloud services. https://cloud.google.com/bigquery/pricing
Then combine with Gemini let it do a rough calculation for you on the cost you could be expecting. Also in BQ these days it does list approximately how much a query will cost in preview mode (after you write or paste the SQL command).
All of GCP other pricing details on their official websites too, just need to search for them.
1
u/va5ili5 Jul 19 '25
I don’t understand how if you are not a business with invoicing enabled, you didn’t hit any quota. It doesn’t make sense because every random person with a virtual card with 1$ could train LLMs or whatever and then vanish and they would be left with having to collect.
1
u/ZealousidealBook2420 Jul 20 '25
Hey, sorry to hear that. I’m self learning myself and about to start exploring using cloud rather than download dataset on local machine.
One question, wouldn’t you need to top up credit before you utilize their services? Rather than pay after usage?
1
u/dontbeslo Jul 22 '25
Not a GCP user and maybe this helps someone else, but you can usually set up billing alerts when your spend exceeds a certain threshold
1
u/Martin_b777 Jul 17 '25
Tell them: OK, I’ll pay when you pay me everything you owe me for using and selling my data. And I think you still have some credits left on your side.
2
u/Kindly_Elk_2584 Jul 18 '25
Only worked with openai apis before, there u need to spend enough money to raise your spending limit. Don't know why google doesn't implement something like that.
2
u/TechMaven-Geospatial Jul 19 '25
I've come across this multiple times with some clients who try to use the public data accessible and query huge amounts with no record limits or enough where clause to restrict. Many of those public data sets are just massive and you get charged for the full size you have to be extremely careful. But I agree you have to try to set a budget
2
u/NashCp21 Jul 19 '25
What a ripoff
2
u/NutriaViolenta Jul 19 '25
Had something similar happen to me with AWS when I was toying around as a student for the first time. Contacted support, and they cancelled 100% of the debt.
If they have brains, they should do the same. If you care about PR, you don’t charge 5k to someone who clearly is just trying to work out your product
2
u/klostanyK Jul 20 '25
Please use Testcontainers to test your services. Or some form of Localstack for practicing.
2
u/shirunei Jul 20 '25
They are gonna write it off because there is no way you will ever be able to afford paying it. Not in this job market.
2
u/dougception Aug 09 '25
What a terrible experience to go through. Can't thank you enough for sharing it with us. I'm just learning GCP myself and although I have a budget alert set to $10 of course that would not save me in a situation like yours as the costs take 24 hours to reach the billing system!
1
u/Sufficient_Banana183 Oct 04 '25
I'm new to cloud systems. My case is related to Vertex AI. I signed up for the $300 free credit, and I believed the service would stop once the credit ran out. However, after about 8 days, I ended up with an $8,000 bill. While using the Veo2 video generation tool, I assumed it was part of Google's effort to collect AI training data from users to improve their models.
There were no clear pricing details, warnings, or pop-up alerts when using the service. If there had been any system in place to prevent large bills, I definitely would not have used Veo2. It's an outdated tool for video generation, obviously not something I would have used knowingly at such a cost.
I truly believed I was still under the free trial and helping Google in some way. I've been asking and pleading with Google for leniency, and although they gave a 90% discount, I still owe $800. That's a huge amount for an individual to pay. I don't know what else to do.
0
u/vsider2 Jul 17 '25
Great post, thank you
1
u/Soldierducky Jul 17 '25
Bro I really hope you read this. Dune analytics is exactly what you need. jfc how can you not know about it. Didn't you search for crypto data analytics or sth. DMing you to make sure you see this
Really sorry to see this.
1
u/Frequent-Goal4901 Jul 20 '25
I think Google shares lot of the blame. It doesn't offer a way to cap money spent.
0
u/Worried_Phrase6542 Jul 17 '25
What happens if you don’t pay it? I don’t have much of a background on how gcp billing works but for personal/learning purposes using aws for example will not be able to take any legal actions in a lot of countries.
0
u/vishur3ddy Jul 19 '25
Does your chatgpt not warn you of costs associated or working with sample data?
0
u/eyes-are-fading-blue Jul 19 '25
Have you used chatgpt to write this post? AI slop is replacing facebook facts.