I am encountering an issue when trying to access the ChatGPT (gpt-3.5-turbo and others) model using my API key.
DESCRIPTION
When I make this call…
curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-proj-sEcrETsEcrETsEcrETsEcrETsEcrETsEcrETsEcrETsEcrET" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Hello, how are you?"}]
}'
…the following error is being returned…
{
"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": null,
"code": "insufficient_quota"
}
}
DETAILS
- API Key: [api-key]ETsEcrET
- Subscription Plan: “Plus” (USD $20/month)
- Steps Taken: Verified model name, checked subscription plan, attempted using
gpt-3.5-turbo
successfully, verified current quota, verified for more projects, double check on API Key.
Any ideas on how I can resolve this?
NOTE: I have a subscription to OpenAI, but we don’t really have support, just “AI Bots” and an open forum… Absurd…