How to Get Your OpenAI LLM API Key

A step-by-step guide on obtaining an API key for OpenAI's Language Models to use with Olly.

This guide will walk you through the process of obtaining an API key for OpenAI's Language Models.

OpenAI API Key Setup

Steps to Obtain Your API Key

  1. Access the API Keys Page

  2. Log In or Sign Up

    • If you have an account, log in.
    • If you're new, sign up for an OpenAI account.
  3. Create a New Secret Key

    • Click on the "Create new secret key" button.
  4. Set Up Your Key

    • Fill in the required details for your new key.
    • Confirm to create the key.
  5. Receive Your API Key

    • Once created, you'll be provided with your new API key.
    • The key should start with "sk-proj-…" followed by alphanumeric characters.
    • Make sure to copy and store this key securely, as it won't be shown again.

Ensuring API Usage

  1. Check Your Account Balance

    • To use the API, your account needs sufficient credits.
    • Check your balance by:
  2. Top Up If Necessary

    • If your account balance is zero, you'll need to add funds to continue using the API.

Important Notes

  • Keep your API key confidential and secure.
  • Regularly rotate your API keys for enhanced security.
  • Monitor your usage to avoid unexpected charges.