How to create OpenAI API keys

GPT-3 is a neural network model created by OpenAI that generates text. It is trained on a large corpus of text and can generate text in response to a prompt.

Account creation

To use OpenAI through API, you must create a free account and generate keys. Fortunately, it is pretty straightforward.

1. Sign up here https://beta.openai.com/signup. You can use your Google or Microsoft account to sign up if you don't want to create using an email/password combination. You may need a valid mobile number to verify your account.

2. Now, visit your OpenAI key page https://beta.openai.com/account/api-keys or click the menu item "View API keys"

3. Create a new key by clicking the "Create new secret key" button. See the image for reference.

That's all. You can use this key in your applications. 

Remember, the key created has access to both GPT-4 and ChatGPT models. You don't need separate API keys.

Cost

Please note that you will be charged based on your monthly usage. The cost structure is as follows: 750 words (aka 1000 tokens). Below is a table representing the cost per 1000 tokens:

Model                                 Cost

GPT-4 (8k Context)        $0.03

GPT-4 (32k Context)      $0.06

GPT-3 (Davinci)               $0.02

GPT-3.5 Turbo                 $0.002 (10x cheaper than GPT-3)

Whisper (Audio).             $0.006 / minute

For example, if you use 2500 tokens per day of GPT-3 Davinci for 20 days a month, you will be charged $1 per month, i.e. 0.02 * 2.5 * 20.

Setting limits

OpenAI gives $18 free credits, which you can consume within the first 3 months. This is a great way to test the service.

If you plan to use it regularly, you need to add your credit card information here https://beta.openai.com/account/billing/payment-methods

Otherwise, you will run into usage limit errors.

You can also set up a usage limit if you have a paid set up, say, $10/month at

https://beta.openai.com/account/billing/limits

· · ·

Check out Elephas, which makes it easy to use GPT-3 / GPT-4 features on your Mac. Write emails, documents, and blogs in seconds, and rewrite sentences to different tones without leaving your application. Now, it supports loading your own documents.

· · ·

Sign up now

Get a deep dive into the most important AI story of the week. Deliverd to your inbox for free!

Kamban S

Kamban is the founder of Elephas, a native Mac app for seamless AI writing. He writes articles on the latest AI developments and is fueled by his passion for AI's potential. Kamban is committed to user experience and enthusiastic about the future of AI in education and data-driven decision-making. His goal? To make AI user-friendly for everyone.

Elephas

Meet Elephas - Your AI-Powered Knowledge Assistant. Your Personal ChatGPT for all your files. Transform information overload into actionable insights. Organize vast knowledge. Access ideas efortlessly. Save 10 hours a week