> For the complete documentation index, see [llms.txt](https://adri567.gitbook.io/autogpt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adri567.gitbook.io/autogpt/how-to-use/gpt.md).

# GPT

In the GPT section, you can choose between four models offered by OpenAI. Each [model](/autogpt/how-to-use/gpt/models.md) has its strengths and weaknesses. To achieve better results, you can adjust [Temperature](/autogpt/how-to-use/gpt/temperature.md) and [Max Tokens](/autogpt/how-to-use/gpt/max-tokens.md).

You can also switch between *General OpenAI API* or *ChatGPT API*. The ChatGPT API offers two models, including the GPT-3.5-turbo model that is available for everyone. If you wish to use the GPT-4 model, you will need an invitation from the waitlist, which you can join by clicking [here](https://openai.com/waitlist/gpt-4-api).

In the text field below, you can paste your OpenAI API key and click the checkmark button to save it. Your key will be **securely stored** in the keychain. You might be asked to confirm this.

<figure><img src="https://892853070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEuaKTe26wmzERu1xq08z%2Fuploads%2FNSS2cHSIqc7T9siovw8c%2FBildschirm%C2%ADfoto%202023-03-21%20um%2000.02.52.png?alt=media&amp;token=e56d8c32-08b7-4b2e-962a-cb43ce295d07" alt=""><figcaption></figcaption></figure>
