> ## Documentation Index
> Fetch the complete documentation index at: https://agent.minimaxi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MiniMax API 密钥

> 在 MiniMax Code 中配置自己的 MiniMax API Key。

如果你希望使用自己的 MiniMax API Key，可以在设置中配置 MiniMax API。保存后，MiniMax Code 会在模型列表中使用对应能力。

## 配置步骤

**1. 打开设置**

进入用量与模型相关设置。

**2. 选择 MiniMax API**

输入你的 API Key，并保存。

**3. 测试连接**

使用连接测试确认 API Key 可用。

> [!WARNING]
>
> 不要把 API Key 写进对话正文、代码仓库或公开文档。请只通过产品内的安全配置入口保存。
