Rate Limit Error

I’m getting this same error, using code-davinci-002

Rate limit reached for default-code-davinci-002 in organization org-XXXX on tokens per min. Limit: 40000.000000 / min. Current: 80000.000000 / min. Contact support@openai.com if you continue to have issues.

However email support and no reply, very frustrating…

  • Added payment card to file, still the same error
  • I created a new API key, still the same error

Waiting 10 mins… and it started working!! I hope it stays this way.

1 Like

Has this been resolved? Getting the same issue and none of the suggested solutions seem to help.

2 Likes

I am getting the same issue and it is almost March. The Codex used to work for me.
I guess I will just stick with CoPilot for coding help.

1 Like

hi I have the same error But I haven’t done it even once till date… But today when I did chat completion in python with the help of “ChatGpt” API. what should i do

1 Like

I am facing the same issue when I tried to use engine=“text-davinci-002”, I didn’t make any request so no way I reached my limit

please if you have any solution let me know

Note: I just use my account for using chatGPT I don’t know if this will be considered in the usage limit

3 Likes

are you using engine=“text-davinci-002”?

1 Like

I am having the same problem and all I am using is their basic example for creating names for your pet. I have added billing credentials and am currently at 0.02$. Anyone got any ideas for what is going on?

1 Like

Me too. same problem. Does anyone know what to do?

1 Like

Same issue :

raise self.handle_error_response(

openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.

How do I fix this ?

2 Likes

Same issue: i add a payment method but was helpless

RateLimitError: You exceeded your current quota, please check your plan and billing details

1 Like

My account is premium and I have the same issue. I used the model “gpt-3.5-turbo”

1 Like

Having same issue, everything was working fine… says I’ve only spent like $10 in usage and so I shouldn’t even be close to running out but getting this same error as of last night out of nowhere

1 Like

same issue. i have just created my account so there is no way i have reached rate limit.

2 Likes

Same issue, even new accounts face the problem

2 Likes

Hi,

Following advice from the forums to resolve the issue.

Error:

Retrying langchain.llms.openai.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details..

Currently, trying:

Solutions to try:

  • :white_check_mark: Add additional payment methods
  • :white_check_mark: Creating a new API key may help resolve the error.
  • :white_check_mark: Waiting before trying again
  • :white_check_mark: Set Usage limits $$
  • Contacting OpenAI support
  • Changing the API model (such as from text-davinci-003 to davinci-codex).

Thank you in advance for any additional help.

Keywords: OpenAI, API, Codex, RateLimitError, model names, billing details, credits, private beta, testing


Updates:

Solved with steps marked with :white_check_mark:.

See, two examples below:

Link to Repository: GitHub - patmejia/langchain: 🦜 🔗 LangChain QuickStart: A Python project demo how to use Modular Abstraction/Chains and OpenAI to build a language model application.

2 Likes

Could you please indicate which specific advise? Thanks

1 Like

Hey, I am using the model-engine “text-davinci-003”. Can you tell which model to update to?

1 Like

Here’s what fixed the issue for me

  • Canceled paid account and renewed it with a different payment method
  • In API Keys under Default Organizations I clicked the dropdown and clicked my organization and resaved it. Making sure to confirm it

Just doing that also reset my soft limit. Afterwards I created a new API key and it fixed it. After all of that the same API key did not fix the problem. I had to create a new one.

  • Switched to paid plan by adding a payment method.
  • Recreated the API keys and used the API with new key

This solved the problem for me.

PS: This was the very first time I invoked the API and got 429 response.

I deleted the api which i had created when i didnt add a payment method .
Then added a payment method, refreshed and created a new api key
The code is not working fine for me.

1 Like