QUICK SHORTCUT
1.- Go to OpenAI's Platform website at platform.openai.com and sign in with an OpenAI account.
2.- Once you are in your profile (you can check it in the top left corner), click on the ‘Dashboard’ section in the top right corner of the page and in the side menu select ‘API Keys’.
3.- Click on ‘Create new secret key’ to generate a new API key.
PROCEDURE
To begin, head to OpenAI’s official platform website. (platform.openai.com). If you haven’t already, create an account following the simple steps on the website. After that, you can enter the email address and password linked to your OpenAI account to sign in or log in with an existing Google or Microsoft account.
Once you’ve created an account or have logged into an existing account, you’ll see your name and your profile icon at the top-left corner of OpenAI’s platform homepage.
To obtain an API key, click on the ‘Dashboard’ section in the top right corner to bring up a side menu. Then click on the option "API Keys".
July 2024 - Rev02
At this point, you’ll be on a page that has an option to “Create new secret key” near the center. If you do not have an API key, click this button to get one.
soon as possible. (COPY IT) Once the window showing it closes, you won’t be able to reopen it.
IS AN OPENAI API KEY FREE?
You can create an OpenAI API key for free. New free trial users receive $5 (USD) worth of credit. However, this expires after three months. Once your credit has been used up or expires, you can enter billing information to continue using the API of your choice. Keep in mind that if you don’t enter any billing information, you will still have login access but won’t be able to make further API requests.
OpenAI enforces rate limits at the organization level; if you’re using their tools for business, you’ll have to pay depending on a few factors. Rate limits are measured in two ways: RPM (requests per minute) and TPM (tokens per minute).
If you’re looking for specific costs based on the AI model you want to use (for example, GPT-4 o gpt-3.5-turbo, as used in ChatGPT), check out OpenAI’s AI model pricing page. In many cases, the API could be much cheaper than a paid ChatGPT Plus subscription—though it depends how much you use it. For a complete overview of exact rate limits, examples, and other helpful information, visit OpenAI’s Rate Limits page.
HOW TO FIX ‘INCORRECT API KEY PROVIDED’
Before you send email complaints to Oct8ne, you should check the following:
Avoiding the above-mentioned errors can quickly and easily solve your problem and let you get back to work as soon as possible.
To enable users to better organize themselves, openai has introduced the concept of ‘Projects’ on its website. This will allow a more detailed tracking of the use of API Keys, among other advantages.
By default, every account/organization will have an already created project called ‘Default project’ (you can see it in the top left corner). Only the owner of the organization will be able to create new projects. If you want to know more about it you can click here or access through the following link: https://help.openai.com/en/articles/9186755-managing-your-work-in-the-api-platform-with-projects#h_df54c41515
Openai, despite having introduced this new feature and recommending its use, allows users to make use of the pre-project functionality when creating API Keys (at least for now, it is possible that it will be removed).
In the ‘Dashboard > API Keys’ section, near the center of the screen, you can find the message to return to that previous section by clicking on the ‘View user API Keys’ button: