Skip to main content

OpenAI

Official website https://openai.com

OpenAI is an artificial intelligence research organization that aims to develop and promote friendly AI that benefits humanity. It has produced several AI models, including GPT-4, arguably the world's most advanced natural language processing model.

Connect your OpenAI Account

  • Log in with your OpenAI account (or create a new account)
  • Go to the API Keys page on OpenAI.
  • Click the button labeled Create a new secret key
  • A new dialog window containing a text box with your API key will appear.
  • Go to VSCode and Select Your AI
  • Select OpenAI as Provider and a model
  • Paste the API Key here, and click on Connect and Organization ID

Remove Key

To remove your API Key from CodeGPT, click on the provider box and Disconnect.

OpenAI API

You must have credits loaded into your OpenAI account to use this extension. This extension uses the Official OpenAI API, a paid API.

If you do not have credits, the extension will show the following OpenAI API error: You exceeded your current quota; please check your plan and billing details

To review your account and the credits you have available, you must log in with your account at https://openai.com/api/

In the menu, select Manage Account. Then, in the Usage section, you will see the amount of credits available and used.

OpenAI Account

Manage Account

In this image, $13 USD has been used out of $18.

Usage

Credits

API Errors

If you are getting API errors, check the following link: OpenAI API Errors

Typical OpenAI errors