> ## 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.

# IDE 通用配置

> 在任何支持 Anthropic 协议或 OpenAI 兼容协议的 IDE 中接入本站模型

文档里没有单独介绍的 IDE 或 AI 工具，也可以接入本站的 Claude 模型和 GPT 模型。只要它能添加自定义模型，并且支持下面任意一种协议就行：

* **Anthropic 协议**（Claude 原生协议）
* **OpenAI 兼容协议**

还没有 API Key 的话，先看[获取 API Key](https://docs.axuremart.com/api-key.md)。

## 配置项

在 IDE 的模型设置里找到「自定义模型」或「自定义供应商」，按下表填写。

| 配置项 | 填写内容 |
| - | - |
| 协议 / 供应商类型 | Anthropic 或 OpenAI 兼容，选 IDE 支持的那个 |
| 请求地址（Base URL） | `https://ai.axuremart.com` |
| API Key | 你的 API Key |
| 模型名称 | 想用的 Claude 或 GPT 模型名称，比如 `claude-opus-5-5` |

> [!NOTE]
>
> 令牌分组要和模型对应：用 Claude 模型要勾选 Claude 分组，用 GPT 模型要勾选 `codex` 分组。两种都用就都勾上，见[选择分组](https://docs.axuremart.com/api-key.md#选择分组)。

想同时用 Claude 和 GPT 模型，就各添加一个模型，只改模型名称。

## 测试

保存后，在 IDE 的 AI 对话里选择刚添加的模型，发一条消息，比如「你是什么模型」。正常回复就说明配置成功。

没有回复的话，检查请求地址、API Key 和模型名称是否填对，以及令牌分组是否勾选了对应的模型分组。

配置界面可以参考 [WorkBuddy](https://docs.axuremart.com/tools/workbuddy.md) 和 [Trae](https://docs.axuremart.com/tools/trae.md) 的教程，填法是一样的。


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