How to get an OpenAI API Key of ChatGPT
Welcome to our guide on how to obtain an OpenAI API key for ChatGPT! Unlocking the power of OpenAI’s advanced AI models can bring incredible capabilities to GPT Breeze. Let’s dive into the details.
For security reason, GPT Breeze keeps your API token secure in your browser. We don't store it elsewhere, and we don't use it for any other purpose. Any question please email to yourfriend@gptbreeze.io for clarification.
Why Do I Need an OpenAI API Key?
An OpenAI API key provides access to OpenAI models such as GPT-4o mini with stable, reliable, and fast priority access. It operates on a pay-as-you-go basis.
Why is Using an OpenAI API Key Better than ChatGPT Plus?
The API key offers a pay-as-you-go model, while ChatGPT Plus requires a fixed monthly fee of $20. Since GPT-4o mini is dirt cheap, let take the calculation
How much API Key cost?
Approximately $0.031875 per day, less than a dollar a month for summarizing 50 videos each day using GPT-4o mini. Find the calculation at the end of the page for more details.
Steps to Obtain Your OpenAI API Key
1. Create an OpenAI Account:
Visit the OpenAI website platform.openai.com and click “Sign Up” in the top right corner. Fill in your details to register.
Check your email for a verification link from OpenAI and click it to confirm your account. Then return to the OpenAI platform website, click “Log In,” and enter your credentials.
2. Generate an OpenAI API Key:
On the top menu bar, click on the “Dashboard” tab. This will take you to the main dashboard page.
On the left-hand side menu, locate and click on the “API keys” option. This will open the API keys management section where you can view, create, and manage your API keys.
On the API keys page, click on the “+ Create new secret key” button. Name your key for future reference, then click “Create secret key.”
Copy the generated secret key and keep it secure, as you cannot retrieve it later for security reasons. But don't worry; you can always create a new one in case you lose it.
3. Setup OpenAI billing:
OpenAI charges based on usage.
Click on the settings icon located at the top right corner of the page.
In the settings menu on the left-hand side, click on “Billing” under the “Organization” section.
On the billing page, under the “Overview” tab, click on the “Add payment details.” button. Click on this button to enter your payment information and manage your billing settings.
4. Copy your API key to GPT Breeze Extension
Install the GPT extension if you haven't done so already.
After install successfully, open Extensions Menu:
Click on the extensions icon located at the top right corner of the Chrome browser. This icon looks like a puzzle piece.
From the dropdown menu, click on “GPT Breeze.” This will open the GPT Breeze extension settings.
Configure GPT Breeze:
In the GPT Breeze settings window, choose “API GPT-4o mini” from the dropdown menu under “Choose default AI Model.”
Paste your OpenAI API key into the designated field. This key will enable the extension to access the OpenAI services.
For security reason, GPT Breeze keeps your API token secure in your browser. We don't store it elsewhere, and we don't use it for any other purpose. Any question please email to yourfriend@gptbreeze.io for clarification.
Additional Settings:
You can check the API cost by clicking on the “Check API cost” link.
Select your preferred language from the dropdown menu.
Adjust the theme settings if needed to match your preference.
You’re now set to start using OpenAI’s powerful LLM models! Keep your API key secure and dive into the world of AI with GPT Breeze.
What next?
Visit our home page www.gptbreeze.io to explore how to enhance your productivity and learn with the GPT Breeze Extension.
API Key cost calculation
Token usage for summarizing a 15-minute video:
Let’s assume the video transcript has about 1500 words (approximately 100 words per minute).
Each word is roughly 1.5 tokens, so 1500 words would be around 2250 tokens.
For simplicity, let’s assume the summary uses about 500 tokens.
Average token usage per video:
Input tokens: 2250
Output tokens: 500
Total tokens per video: 2750
Cost per video:
Input cost: ( \frac{2250}{1,000,000} \times 0.15 = $0.0003375 )
Output cost: ( \frac{500}{1,000,000} \times 0.60 = $0.0003 )
Total cost per video: ( $0.0003375 + $0.0003 = $0.0006375 )
Cost for 50 videos:
Total cost per day: ( 50 \times 0.0006375 = $0.031875 )
So, summarizing 50 videos each day would cost you approximately $0.031875 per day, les than a dollar a month.