StatusCode: 429, ReasonPhrase: 'Too Many Requests'

Hello,

I’ve using API for personal project, I added 5$ to upgrade my tier to $120 per month, but after a few days my credit grants was fully used but my monthly budget is still not fully used $4.78/$120. Yet I’m 429 error (“too many requests”), I’m still getting the error after one day so I don’t think it’s TPM issue.

I don’t understand why API usage is limited to credit grants, and what is the use of monthly budget if it’s not used for API request.

Here’s both my credit grants and monthly budget usage for reference:

TL;DR: you’re out of API credits. On the credit grants screen, $0.00/$5.00 means no money left. Go here to check your balance and purchase more: https://platform.openai.com/settings/organization/billing/overview


Adding an initial payment for API credit purchase, $5 minimum, is simply required to fund ANY usage of the API. API calls will only succeed when you have an adequate positive balance. The API will return a 429 error along with a message “check your plan and billing details” when you are out of funds.

The monthly budget cutoff screen, and its consumption showing just for the current month (while you likely also had February usage), is not directly related to your current credit balance.

You can also set that monthly limit and an emailed warning level to your own lower threshold for safety in your account settings if you want, so that it then would show something lower than $120.

That monthly limit is more oriented to monthly-billed accounts from the past, who basically had that large of a “credit line”. The tier system, and continuing to purchase credits before you are out, will increase this monthly limit faster than you can reach it.

2 Likes

So if I understand this correctly, credit grants balance (currently $0) is the actual balance that I can use for API request, while monthly budget is simply the mothly spending cap. And basically there is no free credit for API usage, am I correct?

1 Like

You’ve got it. You need a funded account that can pay for the API calls you request.

OpenAI used to give a $5 free credit for the first new account per phone number, but this was discontinued long ago (likely due to abuse).