RateLimitError on the very first call. Why

Hi, completely new to langchain and running into the RateLimitError right away.
I have a free account but thought i would be able to have 4RPM according to the limit quota.
All I’m trying is the following… Any help is much appreciated!

llm = OpenAI()
print(llm(“tell me a joke”))

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

Welcome to the forum!

You’ll need to enter payment details in your OpenAI account to use the API here

1 Like