In this guide, we'll walk you through everything you need to know before adding your OpenAI API Key. We'll cover how to create an OpenAI account, verify it, set up billing, and generate a new API key. We'll also touch on the ChatGPT Plus subscription plan and what it entails. Let's dive in!
1️⃣ Difference between ChatGPT Plus and OpenAI API access.
ChatGPT Plus is a subscription plan that costs $20/month. It provides you with general access to ChatGPT. However, this subscription plan only covers usage on their limited web interface chat.openai.com and does NOT include access to the OpenAI API.
2️⃣ Create an OpenAI account (If you don't have a current account)
If you've signed up for ChatGPT in the past, log in using the same email address and password at https://platform.openai.com.
If you don't have an account yet, follow these steps:
Fill in your information, including your email address and password.
Accept the conditions by clicking on "Agree" and you are done!
NOTE: In order to verify your account and create your API Key, you will need to validate your phone number and email address. OpenAI takes security very seriously and this helps protect your account.
Setting Up Billing (Verify that your account is paid)
OpenAI charges for use of its API on a usage basis. So, if you haven't already set up a payment method for billing, you'll need to do so. Otherwise, the API Key you just created won't work.
Note: Make sure the email and mobile number you use are not registered with another OpenAI account. Otherwise, you won't be eligible for the $5 free trial.
Once you're successfully logged in at https://platform.openai.com:
Click the User Menu at the top-right of your screen and choose Manage account.
After the page reloads, click Billing in the left side menu (or directly go to https://platform.openai.com/account/billing/overview).
You'll find a grey Set up paid account button in the center of your screen. Click that button and fill in your company details and credit card.
OpenAI has changed its model from "pay-as-you-go" to "prepaid". So to activate your API you will need to purchase your initial amount of credits, with at least $5 upwards.
3️⃣ Generating a New API Key
Now that you've set up billing, it's time to generate a new API key.
Log into your OpenAI account.
Click on the icon with your account name in the top right corner of your screen.
Click View API keys from the dropdown menu.
Click Create new secret key to generate a new API key.
Name your secret API key. It's a good idea to have different keys for different apps and sites, so make sure you name it something that will help you remember what it's for.
Click Create secret key.
Next, you will see your secret key that has been generated. Make sure to copy your secret key and paste it into whatever application you need it for. It's very important that you copy this key and save it somewhere secure, as you won't be able to retrieve it again for security reasons. You'll need this key to authenticate your applications with OpenAI's services.
Note: Don't use the abbreviated API Key in Promptitude.
If the API Key doesn’t have the general structure or seems to be incomplete, you may need to generate a new one to copy and paste into Promptitude.
And there you have it! You're now equipped with all the knowledge you need to add your OpenAI API Key.
Remember, having an OpenAI API key unlocks a wide range of powerful capabilities, from access to advanced AI models to the development of intelligent applications. So, keep your API key secure and enjoy the power of AI at your fingertips!