> ## Documentation Index
> Fetch the complete documentation index at: https://doc.chathub.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAI

使用 OpenAI API 添加一个新的自定义聊天机器人。

## 准备工作

前往 [OpenAI API 密钥页面](https://platform.openai.com/api-keys)获取你的 **OpenAI API 密钥**。

## 配置

![](https://mintlify.s3.us-west-1.amazonaws.com/chathub-5dac209e/images/custom-bots/openai.png)

本示例使用 `gpt-4o` 模型。

你可以在 [OpenAI 网站](https://platform.openai.com/docs/models/overview)查看所有可用模型。
