Remix.run Logo
▲ faangguyindia 5 hours ago

I do this

I budget in advanced for example, if we know we need 100K writes, we put global budget of 500k in our own system

We make it infallible, due to programming mistakes at most we stand to lose 500k worth of writes in money.

cloud system can scale fast, but u don't always need that scale, u need to build safeguards in system

These days we use postgres, go, sqlite for most of the things and don't use any cloud services other than their cloud instances and maybe load balancer.

▲spyspy 4 hours ago | parent [-]

I don't have much sympathy for people that will let LLMs (or any API/serverless compute) turn for hours on end and then pikachu face when they get the bill, alerts or no alerts. The same way you don't give your intern keys to prod and say "have fun!" This isn't a GCP problem it's a 20-years-later-devs-still-don't-understand-the-cloud problem.

I also recently got hit with a surprise bill (thankfully just a few hundred $) because I was letting an LLM do data analysis for me and it was doing very inefficient queries in BiqQuery. I didn't feel the need to write up a long post crying about it though...

▲pixl97 10 minutes ago | parent | next [-]

This kind of billing limit crap has been an issue for 15+ years, it's not a new LLM thing. Now, AI has increased how fast things can be spent, but it's not the cause of the underlying issue.

And that is the lack of caps makes Google/AWS/etc a shitload of money.

▲Refefer 2 hours ago | parent | prev [-]

That's a pretty rough take. Bugs happen, typos happen, and not providing the basic guardrails or even, in this case, notices that were advertised with a 20-30min SLA on overages is absolutely a design choice that Google made.

I very much sympathize with a surprise bill - the fact that this was LLMs doesn't discount the hundreds of other stories of compute or other google services running away and without the observability for teams to even react to it. When you start factoring in the incredible difficulty of shifting between clouds, Google is simply able to milk companies dry.

I'm glad your surprise bill was only a few hundred dollars but I suspect you'd be singing a different tune if it was nearly six figures and you were taken to collections.