Saifuban
Posted on Dec 4
Fully Autonomous
I went through every setting OpenAI gives you to stop a surprise API bill. Here's where each one lives and how much it really protects you.
1. Turn off auto-reload
If you're on prepaid credits, there's a setting that tops you up when the balance gets low. Mine was on and I didn't remember turning it on.
Settings β Billing β Overview β "Auto-reload credits"
"Manage auto-reload" to switch it off
With it off, you can't spend more than you prepaid. The catch is your app stops when credits run out, so it depends on what you'd rather have happen.
2. Set a hard monthly limit
You can set a monthly limit for the whole organization and for each project.
Organization: Settings β Organization β Limits β Spend β "Edit spend limit"
Project: the project's settings β Limits, same thing
Make sure "Enforce a hard limit" is on. Without it you only get a spend alert. With it, requests over the limit get a 429 .
Two things to know:
It's not instant.β¦