External Publication
Visit Post

Why is there no API for account balance?

OpenAI Developer Community March 12, 2026
Source
jasonware888: > this would be a great need to allow us to get notifications Great news for you. I just set up a system where you can set a budget alert - and even multiple budget alerts - when your monthly spending has exceeded a particular amount. Thanks to your insights, I also improvised a system called “projects”, individual API key containers that can have their own monthly budget notifications. You can assign these to groups of users and tasks, and use the monthly budget to email you when costs approach or exceed expectations. Seeing that wasn’t enough, I thought it would be great if you’d have an API endpoint to monitor your usage in daily buckets, even by individual projects or by types of model use. In your API organization management, in platform.openai.com, please note where you can now create an “admin” key, which can then be used on organization administration endpoints. It seems to be working well enough that I opened it up to all organizations to try. Danger? With all that new knowledge about your API usage, you might even want to take action, such as deleting an API key. Here’s the documentation you’ll need on your path to automating this. Administration Overview | OpenAI API Reference All in 30 minutes since your post requesting such facilities. Thanks for the suggestions!

Discussion in the ATmosphere

Loading comments...