Remix.run Logo
▲ simonw 5 hours ago

This is why I hate budget alerts over hard caps. I like being able to sleep.

▲jusonchan81 27 minutes ago | parent | next [-]

Happened to us on Bedrock. Used time be $30-$40 and one day it spiked to $6000!

Turns out API calls took longer than our timeouts when the model changed and we kept retrying. (Face Palm)

We have asked AWS to do a review but it also led us to remove that retry code and measure token spend on our platform itself and stop based on token limits. For failed calls we estimate input tokens and put an estimation for output. Conservative token count to limit spend.

▲luckydata 3 hours ago | parent | prev | next [-]

I worked on that feature before being laid off from Google Cloud. The problem is the data pipeline for billing in Google Cloud is very complicated and takes hours to reconcile. There are ways to make this faster but it was a hugely complicated clusterfuck to do so.

▲modeless an hour ago | parent | next [-]

Look, this isn't complicated. Individual customers shouldn't bear the cost of Google's internal complexity. Google should budget for the overage caused by their own billing systems being inadequate, amortize the cost across all customers, and work on improving internal infrastructure to reduce that cost over time. Otherwise Google's incentives are not aligned with customers.

▲LoganDark an hour ago | parent [-]

What you just explained sounds a lot more complicated than simply stopping whatever resource once a spend limit is hit.

▲cowlevel 4 minutes ago | parent | next [-]

How does the resource know your spend limit is hit? You hit a storage bucket and, presumably, that bucket is generating hourly reports towards billing, not contacting it on every single request.

▲pnt12 44 minutes ago | parent | prev [-]

The precious post just said it's a cluster fuck. I believe it: such a complex system may not be easy to bill down by the minute instantly.

And agree in full with the OP: as long as incentives are not aligned and it's seen as a problem not for them, but for the customer problem, it will never be prioritized.

▲londons_explore 2 hours ago | parent | prev | next [-]

Google should just do their best, and write off any usage which exceeds the user-set cap.

If any billing delay gets abused at scale, fix those specific abuses.

▲tempest_ 2 hours ago | parent [-]

Exactly, a poor system should favor the client as that is on you. If it always favours the company then there will never be any incentive internally to fix it because no one is going to see "lost revenue from bad billing" on the books.

▲cuu508 2 hours ago | parent [-]

That's what a "Don't be evil" company would do.

▲exhilaration 2 hours ago | parent | prev | next [-]

Ha, that's funny, I've read comments here on HN from Amazon developers that the AWS billing code is a giant pile of spaghetti and everyone is afraid to touch it. Looks like it's a common problem.

▲soco 2 hours ago | parent | next [-]

As long the mistakes are always in favor of the company, there's also not much incentive to fix it.

▲zulban 27 minutes ago | parent | prev [-]

It's spaghetti because it benefits the company.

▲fg137 2 hours ago | parent | prev | next [-]

Maybe this is a conspiracy theory but I don't really think so. At least it's how things work at my $dayjob.

If Google's upper management really thinks "no hard cap" is a serious issue, they'd have fixed it years ago, even with ugly workarounds.

The fact that it barely exists even today means Google doesn't care. In fact, Google is financially incentivized to not work on this but instead screw over its customers.

Which is why, even though my $dayjob is a large company, we don't use Google's cloud services except specific services like Vertex AI where there is no alternative. Not about budget/spend cap, it's just we don't trust them or their services.

▲colechristensen 2 hours ago | parent [-]

Hard caps aren't a feature of particular interest to the largest section of their revenue. They don't care because their main customers don't care. You're allowed to spend $100/mo on GCP but you're not their target audience.

▲luckydata an hour ago | parent [-]

Hard cap was just hard to implement because of the way the system was structured. It was definitely a priority and I'm sure someone is working on that. I remember during my time on the Finops team a customer blew themselves up with a bad BigQuery job that racked up millions of dollars in billing overnight, it created a huge headache for everyone involved.

▲imdsm 3 hours ago | parent | prev | next [-]

Did...anyone take over your work when you left? :S

▲subscribed 43 minutes ago | parent | next [-]

Autonomous Gemini agent will eventually spot the gap and reconcile it

▲stevewodil 3 hours ago | parent | prev | next [-]

Let me ask on blind

▲Brotkrumen 3 hours ago | parent | prev [-]

The way it sounds he either wasn't replaced by anybody or by 200 people.

▲luckydata an hour ago | parent [-]

I was a PM, the team is still there. I promise you that no matter how complicated you think that system is, it's 100x more complicated than that. When I started on that team someone handed me a "simplified" diagram of the data pipeline and it took me two days and multiple meetings to understand it.

▲ProblemFactory 2 hours ago | parent | prev | next [-]

> The problem is the data pipeline for billing in Google Cloud is very complicated and takes hours to reconcile.

It is trivial for Google to offer hard budget caps: cap the bill at the configured number and eat the cost of offering the services that go over it.

The complicated clusterfuck suddenly becomes the important KPI to work on for thousands of engineers.

▲maccard 10 minutes ago | parent [-]

What happpens if I upload hundreds of TB of data and the monthly storage costs exceed the cap - are Google on the hook for it?

▲zulban 29 minutes ago | parent | prev | next [-]

You've been tricked. It's not a hard problem - the business makes it a hard problem because they earn more doing that. It's a dark pattern.

Getting charged $167 instead of $80,000 when the user wanted a cap at $80 is NOT a hard problem.

▲serial_dev 2 hours ago | parent | prev | next [-]

Hugely complicated and benefits the company: gets done in a couple of months.

Somewhat complicated and fukcs over the customer, bringing in a ton of money to the company: decades spent complaining about how impossible of a challenge it is.

▲cogman10 2 hours ago | parent | prev | next [-]

We were a large client for google cloud and it was shockingly shoddy. I got the distinct impression that 3 guys owned 30 projects and none of them had time for even basic work.

▲SV_BubbleTime 3 hours ago | parent | prev [-]

Sorry, I’m not buying that. A technical problem is hard for a tech company.

If you wanna tell me like, oh yeah, this manufacturer can’t get their product on the shelves and billing on time because they’re a manufacturer yeah that kind of tracks.

No. I refuse to accept that these tech giants have tech problems that they didn’t just introduce themselves and refuse to fix because it isn’t sexy.

Oh po lil Mom and Pop Google just doesn’t get my empathy for billing issues.

▲sandworm101 4 hours ago | parent | prev | next [-]

>> This is why I hate budget alerts over hard caps. I like being able to sleep.

This is why I hate cloud services generally. I don't want to wake up in a panic because I think I might have added an extra zero to something. When I think of all the AI-related typos I have made on local AI servers, I do not want to think what would happen if I repeated those mistakes with a clouded/hosted AI service.

▲alberto467 4 hours ago | parent [-]

Sure but a local ai server capable of running models comparable to the new Google ones will run you more then 76k.

▲embedding-shape 3 hours ago | parent | next [-]

The problem is not "This will cost X USD or this will cost you X*2 USD", the problem is that you cannot properly plan and lock down the pricing. A local AI server costs what it cost to acquire + the electricity, and even electricity rates you can lock. Use a cloud service without hard caps, and best you can do is estimate.

▲jsiepkes 3 hours ago | parent [-]

> is that you cannot properly plan and lock down the pricing

Google changes their pricing all the time. Google Workspace started out as something like 5 bucks per user with unlimited space with advanced endpoint management. Look at where we are now.

▲MassiveQuasar 3 hours ago | parent [-]

We’re talking about price changing from hour to hour; it IS insane that hard caps don’t exists.

▲sandworm101 3 hours ago | parent | prev | next [-]

Well, clouded services are more than just AI models. But the local servers I manage are for things that cannot be comfortably handled by cloud services.

▲ceejayoz 3 hours ago | parent | prev | next [-]

I won’t wake up having accidentally ordered 20 of them, though.

▲zer00eyz 3 hours ago | parent | prev [-]

You're 1/5th of the way there TBH. (thats the air cooled version of the bleeding edge from nvida).

Peal back the curtain, and go look at costs. The markup to serve massive numbers is what is expensive - and has the massive premiums attached.

▲sandworm101 an hour ago | parent [-]

Yes but many people/organizations prefer a higher+predictable over lower+risk of occasional mega bills. And again, some tasks just should not be trusted to an outside service.

▲spyspy 5 hours ago | parent | prev | next [-]

GCP does have those too

https://docs.cloud.google.com/billing/docs/how-to/budgets-sp...

▲fg137 4 hours ago | parent | next [-]

You didn't scroll to this section

https://docs.cloud.google.com/billing/docs/how-to/budgets-sp...

The number of supported services is shamefully small.

Vertex AI is there, but according to the other comment here, it only became available recently.

▲jffry 4 hours ago | parent | next [-]

TFA also mentions this, in their introductory paragraph:

> Weeks later, Google shipped spend caps and admitted normal budgets lag by hours

▲MassiveQuasar 3 hours ago | parent [-]

Then don’t sell 20min services if it lags by hours?

▲perks_12 4 hours ago | parent | prev [-]

Not only this, you have to setup a budget cap for every service, not all services at once.

▲londons_explore 2 hours ago | parent | prev | next [-]

Even those can lead to an unlimited bill:

"Note: Even though faster than reports, the enforcement of spend caps isn't instant and any cost overages are billed as normal.".

▲leni536 2 hours ago | parent [-]

These caps are as hard as jelly then.

▲jsw97 4 hours ago | parent | prev | next [-]

[dead]

▲ripraptor 5 hours ago | parent | prev | next [-]

[dead]

▲hack1312 5 hours ago | parent | prev [-]

Unfortunately for the person who prompted AI to make the Reddit post, GCP spend caps weren’t GA until October 30th this year, while their issue happened in September.

▲knollimar 4 hours ago | parent | prev | next [-]

They made the Ai tokens for GCP prepay after this but the tokens expire ffs.

Googles model could do my job for my but I wouldn’t pay them with shitty terms like this

▲ 2 hours ago | parent [-]
[deleted]
▲nicce 4 hours ago | parent | prev | next [-]

I don’t use any service provider that does not offer hard caps. If they don’t have it, it is a decision and always against the benefits of the end-user. It is pure manipulation if they say that they don’t want the service go down in critical moment. It is customer’s choice to enable that feature.

▲InsidiousWombat 4 hours ago | parent | next [-]

ALso if they really wanted that they'd have performance caps whenever possible.

I just want request limiter to enable above certain spend per day/week, not to take the site down, not to take in all the traffic from what can be attack or a misconfiguration.

▲traceroute66 4 hours ago | parent | prev [-]

> I don’t use any service provider that does not offer hard caps.

Same here. No hard cap. No business.

I don't buy any of the frankly lame excuses the cloud providers try for not having hard caps.

And no, "alerts" are not the same thing, not even with the most generous imagination.

▲altcognito 4 hours ago | parent [-]

AWS recently went out of their way to add some "feature" by which they check what your "max" payout is.

Nothing, and I mean nothing can be more galling and insulting than "we can't implement hard caps" but we can absolutely spend time to find out how to empty your bank account.

https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2...

Note, my comment about bank accounts is inaccurate hyperbole, they aren't directly taking money out of your bank account, they have to do it indirectly.

▲traceroute66 4 hours ago | parent [-]

Thanks for the link.

    If AWS still can't verify enough funds after several attempts, AWS restricts your account. These restrictions prevent you from using new resources, expanding usage, or linking new accounts.
As you say, galling and insulting. The paragraph above translated into plain english:

"we can spend time to find way to stop you doing new stuff, but we absolutely can't figure out a way to stop you spending money on the stuff you've already started, you can continue racking up that bill".

▲ghaff 3 hours ago | parent | prev | next [-]

The alternative is putting some company out of business because of a usage spike. Like it or not, the hyperscalers have decided to collectively cater to companies that have a generally different risk profile from low budget individuals. There are different options for people looking for hard caps--often from the same companies.

▲miohtama 3 hours ago | parent | prev | next [-]

This is why you supply fake contact information to Google

▲fn-mote 3 hours ago | parent [-]

This is foolish. People with $100k bills are running real businesses that need real contact information.

▲nmi_dev 4 hours ago | parent | prev | next [-]

[dead]

▲pr337h4m 4 hours ago | parent | prev [-]

When you sleep with an AI inference provider, wear a condom. (OpenRouter)

▲ 2 hours ago | parent [-]
[deleted]