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

Adding a payment method using a credit card Will not cunt towards the billing of your credit card? Is it safe to use a credit card in that scenario?

After losing myself in this long thread for half an hour, I decided to summarize it with a little help from ChatGPT. :sweat_smile:

1 Like

hi.
where does it let u add payment card?? can’t find it lol…

Summary created by AI.

Several users in the thread mentioned experiencing an openai.error.RateLimitError message when trying to use Codex. Common reasons suggested for these errors included exceeding quota limits, expired credits, and needing to update model names. @tom.doerr proposed updating Codex’s model names, which seemed to resolve the issue for @sps. @rhyzhang suggested adding credit card information to their account as a potential solution.

Some users suggested reaching out to OpenAI support for assistance or even waiting before trying again. @mejia shared the list of potential solutions, including adding payment methods, creating a new API key, waiting before retrying, setting usage limits, contacting OpenAI, and changing the API model. Creating new API keys, adding a payment method, and switching the model seemed to resolve the issue for various users like @ps.maynard02, @seal_7, and @mayurnawal007.

Despite applying these solutions, however, some users, such as @supernova, continued to encounter the same rate limit error. It is important to note that your personal account can be impacted by your usage of the codex models, as highlighted by @gobesit369, who noted using chatGPT.

See: Advice and answers from the OpenAI Team rate limit

It worked fo me just changing key code to single inverted quotes while initializing OpenAi access token

1 Like