How to fix "You exceeded your current quota, please check your plan and billing details"
UPDATE: Beginning March 2024, OpenAI requires all API accounts to purchase credits to continue using the API keys. Follow this guide to learn more...
This issue happens when your OpenAI API account has a billing problem. It usually because you haven’t entered your billing details yet, or you haven't purchased credits yet. OpenAI requires all API accounts to have a valid payment method on-file.
Official help content from OpenAI
This is the instruction from OpenAI:
This error message indicates that you have hit your maximum monthly budget for the API. This means that you have consumed all the credits or units allocated to your plan and have reached the limit of your billing cycle. This could happen for several reasons, such as:
You are using a high-volume or complex service that consumes a lot of credits or units per request.
You are using a large or diverse data set that requires a lot of requests to process.
Your limit is set too low for your organization’s usage.
To resolve this error, please follow these steps:
Check your usage limit and monthly budget in your account settings here. You can see how many tokens your requests have consumed here.
If you are using a free plan, consider upgrading to a pay-as-you-go plan that offers a higher quota.
If you need a usage limit increase, you can apply for one here under Usage Limits section. We will review your request and get back to you as soon as possible.
Helpful Link:
Last updated