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

# Trae

> 在 Trae 中添加自定义模型

Trae 自带的 AI 对话可以接入自定义模型，Claude 和 GPT 用同一个 API Key，请求地址都填 `https://ai.axuremart.com`。还没有 API Key 的话，先看[获取 API Key](https://docs.axuremart.com/api-key.md)。

进入「设置 - 模型」页面，点击「添加模型」，选择「自定义模型」。

> [tab] Claude 模型
>
> ![Trae 添加 Claude 模型](https://mintcdn.com/agent-pm/oHetu81dZtjYE4sA/images/img-28.png?fit=max\&auto=format\&n=oHetu81dZtjYE4sA\&q=85\&s=43214fe1f2c342c56b5c556e3c884c87)
>
> ![Trae 配置 Claude 模型](https://mintcdn.com/agent-pm/oHetu81dZtjYE4sA/images/img-29.png?fit=max\&auto=format\&n=oHetu81dZtjYE4sA\&q=85\&s=462405197536ccc3602b16745744adca)

> [tab] GPT 模型
>
> ![Trae 添加 GPT 模型](https://mintcdn.com/agent-pm/oHetu81dZtjYE4sA/images/img-30.png?fit=max\&auto=format\&n=oHetu81dZtjYE4sA\&q=85\&s=078cef5bd19a2f6f9def019f30fe25fe)
>
> ![Trae 配置 GPT 模型](https://mintcdn.com/agent-pm/oHetu81dZtjYE4sA/images/img-31.png?fit=max\&auto=format\&n=oHetu81dZtjYE4sA\&q=85\&s=a7ae741686e295a938854cc918024ac3)

> [!NOTE]
>
> 截图里如果还带 `/v1` 后缀，以本页文字为准，请求地址填 `https://ai.axuremart.com`。

如果想在 Trae 里用插件，看 [Claude Code 插件](https://docs.axuremart.com/claude-code/vscode.md) 或 [Codex 插件](https://docs.axuremart.com/codex/vscode.md)，步骤和 VSCode 一样。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.