This is why I hate budget alerts over hard caps. I like being able to sleep.
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.
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.
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
when I signed up for Google App Engine for the first version of Neptune's Pride in about 2010 we did have a hard cap. If I remember correctly I set it at $20 a month.
[dead]
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.
This is why you supply fake contact information to Google
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.
When you sleep with an AI inference provider, wear a condom. (OpenRouter)
[dead]
GCP does have those too
https://docs.cloud.google.com/billing/docs/how-to/budgets-sp...
>> 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.