How to Get a ChatGPT API Key

  1. Visit the official OpenAI platform:
    https://platform.openai.com/
  2. If you do not have an account, click Sign Up and register with your email.
    If you already have an account, click Log In.
  3. After logging in, go to your API Keys page from the sidebar.
  4. Click Create new secret key, name it anything you like, and confirm.
    Copy your new API Key and keep it safe.
  5. Add a payment method and top up your account to use the API.
Note: Never share your API key. If compromised, delete it immediately and create a new one.
💡 Official Pricing (Aug 2025)

Billed per 1M tokens (input + output).
1 token ≈ 3–4 English characters (~750 words ≈ 1,000 tokens).

gpt-4o

Input: $5.00 | Cached: $2.50
Output: $20.00

Highest quality multimodal

gpt-4o-mini

Input: $0.60 | Cached: $0.30
Output: $2.40

Cheaper, good quality

gpt-5

Input: $1.25 | Cached: $0.125
Output: $10.00

New, more capable

gpt-5-mini

Input: $0.25 | Cached: $0.025
Output: $2.00

Balanced cost/performance

gpt-5-nano

Input: $0.05 | Cached: $0.005
Output: $0.40

Ultra cheap for bulk tasks

Source: OpenAI API Pricing — may change over time.

⬅️ Back to Translator