On my very first call to the OpenAI API:
from openai import OpenAI
client = OpenAI()
chat_completion = client.chat.completions.create(
model="gpt-3.5-turbo",
messages=[{'role': 'user', 'content': 'Hello world'}]
)
I get the following error:
RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
I have a free account and haven’t set any billing details. However, according to this, I should have access to 3 requests/minute, 200 requests/day.
On the Usage dashboard I can confirm I haven’t performed any API request yet. Do I need to set up a paid account?