#Gen AI 360 course
9 messages · Page 1 of 1 (latest)
Hey I Have a small doubt even after creating a OpenAI API Key and i set it as env variable but when i am trying to run the code llm(text) I end up getting an error. You exceeded your current quota, please check your plan and billing details.
@lusty cobalt
We have a channel for those questions, please ask them in #gen-ai-360 ! We have people from the towards ai team to help out! 🙂
Cc. @bold mirage for this api key question
Cc @bright silo too
Hey @exotic cobalt, welcome to the course! You are right, OpenAI do not give the initial free credits anymore. However, they drastically reduced their API pricing. You need to add your credit card information to be able to use the API. We estimated you could be charge a total of $3 to complete the course. Also, you can run an open-source LLM locally which can be replaced by the OpenAI API in all lessons. For more information please read the "Expected Cost of OpenAI Usage" section in the "Course Introduction" lesson. It is the very first lesson.
Hey @next notch and welcome to the course! There could be a couple of reasons for the error you are experiencing. First, make sure to add your credit card information before attempting using the API. More information on this in the "Expected Cost of OpenAI Usage" from the "Course Introduction" lesson. (The very first lesson)
If you already done that, in some cases it might take some time for you to be able to use a newly generated API key. Give it some time and try again. Ultimately, there is a guide from OpenAI that worth checking out regarding this error: https://help.openai.com/en/articles/6891831-error-code-429-you-exceeded-your-current-quota-please-check-your-plan-and-billing-details
Oops... Sorry... Wil do so from next time 😅
Will first try out other open source llms instead of openai api. Thanks for the suggestion ☺️