How To Fix The “You Exceeded Your Current Quota Please Check Your Plan And Billing Details” On OpenAI

If you’re a frequent user of OpenAI’s language model API, you may have encountered the error message “you exceeded your current quota please check your plan and billing details.”

Either you are using ChatGPT or DALL-E you can get same error if exceeded the assigned number of API calls.

This error can occur when you have reached the maximum number of API calls allowed under your current plan.

In this article, we will explain what causes this error and how you can fix it.

What Causes The “You Exceeded Your Current Quota” Error?

The “you exceeded your current quota” error occurs when you have reached the maximum number of API calls allowed under your current plan.

OpenAI offers a variety of plans with different levels of access to the API, and each plan has a different number of API calls that can be made per minute or per month.

If you exceed this number, you’ll see “you exceeded your current quota please check your plan and billing details” error message and won’t be able to make any more API calls until the next billing period or after the certain amount of time.

you exceeded your current quota please check your plan and billing details

How To Fix The “You Exceeded Your Current Quota Please Check Your Plan And Billing Details” On OpenAI

There are a few ways to fix the “you exceeded your current quota” error and regain access to the API.

Option 1: Make API Call According To Your Plan

For Free trial users, the organization-level rate limit is set to 20 requests per minute and 150,000 tokens per minute.

This means that a user can make up to 20 API requests per minute, and the total number of tokens generated by those requests cannot exceed 150,000 per minute.

For Pay-as-you-go users, the rate limits are higher. In the first 48 hours after signing up for the plan, users are limited to 60 requests per minute and 250,000 davinci tokens per minute.

PlanRequests/minuteTokens/minute
Free Trial20150,000
Pay-as-you-go (48hrs)60250,000
Pay-as-you-go (after)3,000250,000
Codex2040,000
Edit20150,000
Image50N/A
DALL·E API50

Option 2: Check Your API Usage

Make sure that you are not making more API calls than your plan allows.

If you are unsure of how many calls you have made, you can check this information in the “Billing” section of the OpenAI platform.

Option 3: Upgrade Your Plan

The easiest way to fix the error is to upgrade your plan.

OpenAI offers several plans with higher API call limits, so you can choose the one that best fits your needs.

Upgrading your plan will give you more API calls, which will allow you to generate more text and avoid the error.

Option 4: Wait Until The Next Billing Period

If you don’t want to upgrade your plan, you can wait until the next billing period to regain access to the API.

At the start of the next billing period, your API call limit will be reset, and you’ll be able to make more calls without seeing the error message.

Option 5: Optimize Your API Calls

If you’re on a tight budget and can’t upgrade your plan or wait until the next billing period, you can try to optimize your API calls.

This might mean using the API more efficiently, such as by reusing the same text generation multiple times instead of generating new text each time.

Additionally, you can also try to use the API in a more targeted manner, such as generating only the specific text you need, instead of generating large amounts of text that you may not use.