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

# 接入工具

## 一、适用工具

GLM Coding Plan 仅限在以下官方支持的指定工具与产品环境中使用，用户不得将订阅权益用于以下范围之外的工具或场景。

### 1. Coding Agent 工具

点击并进入下方您想使用的工具文档，参考对应的接入文档接入即可。

> [card] [ZCode（1.5 倍用量）](https://docs.bigmodel.cn/cn/coding-plan/tool/zcode.md)
>
> 将最强大的 AI Agents 与现有工具链结合，让您在熟悉的流程中完成规划、编码、评审与上线。

> [card] [Claude Code](https://docs.bigmodel.cn/cn/coding-plan/tool/claude.md)
>
> Anthropic 推出的 AI 编程助手，可理解代码库、跨文件修改代码，并支持运行命令与测试。

> [card] [Claude for IDE](https://docs.bigmodel.cn/cn/coding-plan/tool/claude-for-ide.md)
>
> Claude Code 的 IDE 插件，支持 VS Code 和 Jetbrains。

> [card] [Codex](https://docs.bigmodel.cn/cn/coding-plan/tool/codex)
>
> OpenAI 推出的 AI 编程智能体，能帮你编写、审查和调试代码。

> [card] [OpenCode](https://docs.bigmodel.cn/cn/coding-plan/tool/opencode.md)
>
> 面向开发者的开源 Coding Agent，在终端中提供代码生成、编辑与任务执行能力。

> [card] [Pi Coding Agent](https://docs.bigmodel.cn/cn/coding-plan/tool/pi.md)
>
> 极简的终端编码代理，核心小巧，可通过扩展灵活扩展。

> [card] [TRAE](https://docs.bigmodel.cn/cn/coding-plan/tool/trae.md)
>
> 能独立完成各类开发任务的 AI 编辑器。

> [card] [CodeBuddy](https://docs.bigmodel.cn/cn/coding-plan/tool/codebuddy.md)
>
> 基于 AI 的全流程智能编程工具。

> [card] [Lingma](https://docs.bigmodel.cn/cn/coding-plan/tool/lingma.md)
>
> 您的智能编程助手。

> [card] [Qoder](https://docs.bigmodel.cn/cn/coding-plan/tool/qoder.md)
>
> 面向真实软件的智能体编程平台。

> [card] [Kilo](https://docs.bigmodel.cn/cn/coding-plan/tool/kilo.md)
>
> 高效的 VS Code 插件，用于代码生成和项目管理。

> [card] [MonkeyCode](https://docs.bigmodel.cn/cn/guide/develop/monkeycode)
>
> 在线 AI 开发平台，无需安装，内置云端开发环境。

> [card] [Cline](https://docs.bigmodel.cn/cn/coding-plan/tool/cline.md)
>
> VS Code 的 AI 编程插件，支持代码生成和文件操作。

> [card] [Droid](https://docs.bigmodel.cn/cn/coding-plan/tool/droid.md)
>
> 企业级 AI 编码代理，运行在终端中处理端到端工作流。

> [card] [Roo](https://docs.bigmodel.cn/cn/coding-plan/tool/roo.md)
>
> 智能的 VS Code 插件，用于项目的代码编写重构。

> [card] [Crush](https://docs.bigmodel.cn/cn/coding-plan/tool/crush.md)
>
> 终端 AI 编程工具，支持 CLI 和 TUI 界面。

> [card] [Goose](https://docs.bigmodel.cn/cn/coding-plan/tool/goose.md)
>
> AI Agent 工具，支持本地运行和自动化工程任务。

> [card] [Cursor](https://docs.bigmodel.cn/cn/coding-plan/tool/cursor.md)
>
> AI 优先的代码编辑器，支持自定义模型配置。

### 2. 通用 Agent 工具

> [!TIP]
>
> GLM Coding Plan 大部分用户是在 Coding Agent 场景使用，我们优先保障编程任务请求。
>
> 对于以下所支持的通用 Agent 工具，采用次级调度与尽力交付策略，Coding Agent 任务享有资源抢占优先权，高负载下以下通用 Agent 工具任务将自动触发包括动态排队、限流等公平使用策略。

> [card] [AutoClaw（1.5 倍用量）](https://docs.bigmodel.cn/cn/coding-plan/tool/autoclaw)
>
> 深度适配 GLM 模型的工作助手，融合法律，金融等专业领域知识库和工作流。

> [card] [WorkBuddy](https://docs.bigmodel.cn/cn/coding-plan/tool/workbuddy.md)
>
> 全场景职场 AI 智能体工作台，可自主拆解任务并交付完整成果。

> [card] [OpenClaw](https://docs.bigmodel.cn/cn/coding-plan/tool/openclaw.md)
>
> 可在本地设备运行的开源 AI 助手，支持多平台使用，并可通过 Skills 扩展能力。

> [card] [Cherry Studio](https://docs.bigmodel.cn/cn/coding-plan/tool/cherry-studio.md)
>
> AI 应用程序集成开发环境，支持多种模型接入。

> [card] Hermes Agent
>
> 开源自进化 AI 智能体，持久记忆越用越聪明。

## 二、编程端点

GLM Coding Plan 支持 Anthropic 协议和 OpenAI 协议两种接入方式，接入时请注意配置正确的 `Base URL`：

| 协议类型 | Base URL |
| - | - |
| Anthropic Message 协议 | `https://open.bigmodel.cn/api/anthropic` |
| OpenAI Chat Completion 协议 | `https://open.bigmodel.cn/api/coding/paas/v4` |
| OpenAI Response 协议 | `https://open.bigmodel.cn/api/v1` |

**核心步骤**

1. 根据您的工具选择适配的协议（Anthropic Message 协议或 OpenAI Chat Completion 协议）
2. 配置正确的 Base URL
3. 输入 API Key 并选择 GLM 模型

> [!WARNING]
>
> 请根据您使用的工具选择正确的端点地址。错误配置端点将导致无法使用 GLM Coding Plan 套餐额度。

## 三、配置示例

下面以 **Cline** 为例，展示如何通过 OpenAI Compatible 协议接入 GLM Coding Plan。

### 1. 安装 Cline 插件

1. 打开 VS Code，点击左侧插件市场图标
2. 在搜索框中输入 `cline`，找到 `Cline` 扩展
3. 点击 `Install` 按钮进行安装，安装完成后选择信任开发者

### 2. 配置 API 端点

在 Cline 中选择 `Use your own API Key`，然后按照以下配置填入相关信息：

* API Provider：选择 `OpenAI Compatible`
* Base URL：输入 `https://open.bigmodel.cn/api/coding/paas/v4`
* API Key：
  * 个人版套餐（或领取体验卡）的用户，通过 [个人编程套餐 > 套餐概览](https://bigmodel.cn/apikey/coding-plan-per)，新建 API Key
  * 团队版套餐的成员，通过 [团队编程套餐 > 我的套餐](https://bigmodel.cn/apikey/coding-plan-team)，新建 API Key
* 模型：选择"使用自定义"，并输入您要使用的 GLM 模型编码（如：`glm-5.2`）
* 其他配置：
  * 取消勾选 Support Images
  * 调整 Context Window Size：根据您使用的模型调整（`glm-5.2` 为 `1000000`，其它模型为 `200000`）

### 3. 开始使用

完成配置后，即可开始使用。在输入框中描述您的需求，模型将协助您完成代码编辑、生成、重构、调试等。


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