API error: 429 You exceeded your current quota, please check your plan and billing details

In the past few weeks, I’ve been trying to add my OpenAI API to a project I’m building. However, even though everything seems to be set up correctly—I have available funds and the configuration appears to be fine—it still doesn’t work. I keep getting the same error despite everything being in order, and the API key is even linked to the correct project.

But the funds I have in the API ($4.98) don’t seem to be recognized or counted as they should be.

Welcome to the developer community, @Vin.77.

Can you provide a bit more information about the API call that is triggering the error?

With that context, the community can take a closer look and offer more targeted guidance.

The error shows up when I try to make a normal request to the OpenAI API from my project. I’m using my API key in the Authorization header (Bearer), and everything seems set up correctly on that side.

What’s confusing is that I keep getting a 429 “insufficient_quota” error, even though I still have $4.98 available in my account. The key is linked to the right project, and billing looks active, so it doesn’t make sense that the API behaves like I have no quota left.

I already checked the basics—API key, request format, and project configuration—and everything seems fine. At this point, it feels like the balance just isn’t being recognized properly.

Hi,

I recommend you to check this topic:[March 8+] API Error 429…check plan or billing details = Monthly Billed Accounts Switched to Prepaid

If that doesn’t help, I’d contact OpenAI Support through the Help Center chat at https://help.openai.com.