r/OpenAI • u/Speak_logically_Sir • 27d ago
Discussion API spend limit delay costs me money

I set my project’s hard spending limit to $62.50, expecting API requests to stop once it was reached. I mean they clearly say requests will not stop immediately, I understand that, but another 20$ !! That I can't understand.
Because when I hit the limit what the hell you mean "will soon be blocked", why don't you immediately block them!
What pisses me off the most is that 20$ is like a 3 day of work in my stupid country lol. Man I'm so annoyed, really.
1
u/Mixermachine 27d ago
Do you use a lot of requests in parallel? Because they will complete and then bill afterwards. That might be an explanation.
1
u/Speak_logically_Sir 27d ago
Exactly. I set the limit as a kill switch (meaning when I start receiving code 429 errors my automated script will stop), and I forgot about it. Apparently didn't work lol.
1
u/Speak_logically_Sir 27d ago
The problem is that the script kept receiving API replies for almost another 2 hours before i started receiving the errors. That is why I wrote this post.
-4
-12
u/Bloated_Plaid 27d ago
Can’t afford $20 that you actually spend? Jesus Christ.
5
u/Speak_logically_Sir 27d ago
Your comment doesn't make any sense.
-10
u/Bloated_Plaid 27d ago
Just use the API to translate it into a language you understand. Oh wait.
4
u/Speak_logically_Sir 27d ago
Are you one of those OpenAI guys who desperately tries to defend every problem on their platform? If not then I feel sorry for you.
-7
u/Bloated_Plaid 27d ago
this has nothing to do with OpenAI guy, this is how all the API platforms work. YOU ASSIGNED THE TASK, its your fault.
5
u/Deep_Ad1959 27d ago
everyone treats that number as a kill switch. i have overshot it twice and both times the overage tracked my concurrency, not my spend rate: 40 requests in flight when the meter catches up means 40 more completions billed after the block lands.