How to Get an OpenAI API Key: Step-by-Step Guide

How to Get an OpenAI API Key: Step-by-Step Guide

OpenAI3 min read

Create an OpenAI Account

Go to platform.openai.com and click "Sign Up". You can register with email, or use your Google, Microsoft, or Apple account.

Important: Use platform.openai.com (not chat.openai.com). The API platform is separate from ChatGPT. Verify your email and phone number to complete the setup.

Generate Your API Key

Once logged in, go to platform.openai.com/api-keys and click "Create new secret key". Name it something like "OpenGnothia".

Your key (starting with "sk-") will be shown only once. Copy it immediately and save it somewhere safe — you won't be able to see it again.

Use Your Key in OpenGnothia

Open OpenGnothia, go to Settings, and paste your OpenAI API key into the designated field. That's it — you can now start using the GPT-based AI therapist.

Note: A ChatGPT Plus subscription does not include API access. You need to add credits separately at platform.openai.com/usage. If your key isn't working, check that you have sufficient credits and no extra spaces in the key.

Pricing

OpenAI API uses pay-as-you-go pricing. Available models include: GPT-4o (newest, most versatile), GPT-4o mini (fast, affordable), and GPT-4 (powerful).

New accounts may receive starter credits. For current pricing details, visit openai.com/pricing.