Skip to content

GLM Coding Plan 速查表

只查不学。命令与数字以能打开的官方页为准。本页默认国内。海外端点见 docs.z.ai/devpack/tool/others

最后核实:2026-08-19。

端点

来源:quick-starttool/othersFAQlatest-model

协议 / 场景Base URL
Anthropic Messagehttps://open.bigmodel.cn/api/anthropic
OpenAI Chat Completionhttps://open.bigmodel.cn/api/coding/paas/v4
Cherry Studio(FAQ 单独写出带尾斜杠)https://open.bigmodel.cn/api/coding/paas/v4/
Codex(仅 latest-model;国内适用工具卡未列入)https://open.bigmodel.cn/api/v1
套餐过期后其它工具走资源包(FAQ)https://open.bigmodel.cn/api/paas/v4

错端点 = 套餐额度用不上。

个人积分

来源:overview

套餐5 小时积分每周积分
Lite2,00010,000
Pro12,00060,000
Max28,000140,000
  • 5 小时:请求消耗 5 小时后动态刷新。
  • 周积分:自下单起每 7 天刷新。
  • 模型积分 =(输入 Token × Input 系数 + 缓存命中 Token × Cached Input 系数 + 输出 Token × Output 系数)/ 10000
  • MCP 积分 = 调用次数 × Output 系数
  • 非高峰模型调用按基础积分 50% 抵扣。高峰:周一至周五 14:00–18:00(UTC+8)。
产品InputCached InputOutput
GLM-5.36.91.724
GLM-5-Turbo5.71.521
GLM-4.74.61.216
GLM-4.6V(视觉 MCP)1.20.32.7
联网搜索 / 网页读取 / 开源仓库 MCP1.2

overview 用 GLM-5.3、缓存命中 90.9% 估算每周 Token:Lite 0.43~0.87 亿;Pro 2.63~5.26 亿;Max 6.13~12.26 亿。上沿 = 全部非高峰 0.5×;下沿 = 全部高峰 1×。

团队积分见 team:标准版 15,000 / 66,000;高级版 35,000 / 155,000。团队页抵扣表仍写 GLM-5.2,与 overview 的 GLM-5.3 表并存;系数数字相同,模型行名不同。

刊例价只看 订阅页,本表不抄人民币。

指定工具(国内)

来源:tool/others,2026-08-19。

Coding Agent: Claude Code、Claude for IDE、OpenCode、ZCode、TRAE、CodeBuddy、Lingma、Qoder、Kilo、MonkeyCode、Cline、Droid、Roo、Crush、Goose、Cursor。

通用 Agent(次级调度 / 尽力交付): OpenClaw、Cherry Studio、Hermes Agent。

Helper 自动装载只有:Claude Code、OpenCode、Crush、Factory Droid(coding-tool-helper)。

各工具配置页:https://docs.bigmodel.cn/cn/coding-plan/tool/<slug>。MonkeyCode 在 https://docs.bigmodel.cn/cn/guide/develop/monkeycode

Coding Tool Helper

包名:@z_ai/coding-helper。前提:Node.js >= v18.0.0。二进制:coding-helper / chelper

bash
npx @z_ai/coding-helper
npm install -g @z_ai/coding-helper
coding-helper
coding-helper init
coding-helper lang show
coding-helper lang set zh_CN
coding-helper auth
coding-helper auth glm_coding_plan_china <token>
coding-helper auth revoke
coding-helper auth reload claude
coding-helper doctor
coding-helper --help
coding-helper --version

海外对应 auth:coding-helper auth glm_coding_plan_global <token>;语言:coding-helper lang set en_USdocs.z.ai helper)。

Claude Code 安装与套餐环境变量

bash
npm install -g @anthropic-ai/claude-code
claude --version
claude
claude update

国内脚本(仅 macOS / Linux):

bash
curl -O "https://cdn.bigmodel.cn/install/claude_code_env.sh" && bash ./claude_code_env.sh

settings.jsonenvtool/claude):

ANTHROPIC_AUTH_TOKEN套餐 API Key
ANTHROPIC_BASE_URLhttps://open.bigmodel.cn/api/anthropic
API_TIMEOUT_MS3000000
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC1

切到 GLM-5.3 的映射抄 latest-model,不要抄 tool/claude FAQ 旧表。

Cursor

国内官方原文
资格高级会员及以上,否则 The model GLM does not work with your current plan or api key
协议OpenAI
Base URLhttps://open.bigmodel.cn/api/coding/paas/v4
模型名大写,官方示例 GLM-5.2

套餐 MCP(Claude Code 一键)

bash
claude mcp add -s user zai-mcp-server --env Z_AI_API_KEY=YOUR_API_KEY -- npx -y "@z_ai/mcp-server"
claude mcp add -s user -t http web-search-prime https://open.bigmodel.cn/api/mcp/web_search_prime/mcp --header "Authorization: Bearer YOUR_API_KEY"
claude mcp add -s user -t http zread https://open.bigmodel.cn/api/mcp/zread/mcp --header "Authorization: Bearer YOUR_API_KEY"

视觉环境变量:Z_AI_API_KEY(必需)、Z_AI_MODEZHIPUZAI,默认 ZHIPU)。网页读取见 reader

常见错误

症状先查
1113 余额不足 / 扣账户余额工具名单 + Base URL(FAQ)
Cursor 自定义模型失败Cursor 会员档 + 大写模型名
Helper Network ErrorHTTP_PROXY / HTTPS_PROXY
EACCESnvm / npx / sudo
MCP 连不上Node 18+、Z_AI_API_KEYZ_AI_MODE 与 Key 区域一致

术语索引

一行钩子,解释在 术语表

术语钩子
GLM Coding Plan指定工具订阅,不是聊天产品
指定工具名单外调用不吃套餐
Coding 端点/api/paas/v4 不是同一口
积分5 小时 + 每周双上限
次级调度OpenClaw 等通用 Agent 的尽力交付
团队套餐 Key与平台其它 Key 不通用
Coding Tool Helper装载器,不是 Agent

高质量信息源

最后核实:2026-08-19。只收录亲自打开过的页。

一手官方(国内)

来源用途
套餐概览模型、积分、边界
快速开始订阅与选工具
使用须知并发、共享、退款
FAQ1113、升级、MCP
适用工具指定名单与端点
Claude Code安装与 settings.json
Cursor自定义模型
一键安装助手Helper 命令
如何切换模型GLM-5.3 映射
团队版席位与团队积分
视觉 / 搜索 / 读取 / Zread MCP套餐 MCP
订阅协议使用规范
llms.txt文档站全文索引
npm @z_ai/coding-helper包名与 bin

海外镜像

来源用途
docs.z.ai/devpack/overview海外套餐总览(含 “Starting at just 18 USD per month”)
docs.z.ai/devpack/tool/others海外工具名单与 api.z.ai 端点
docs.z.ai/devpack/extension/coding-tool-helperglm_coding_plan_global
z.ai/subscribe海外订阅页

控制台

来源用途
个人套餐概览Key、续订、风控申诉
用量统计5 小时 / 周额度
费用明细是否扣的是编码套餐

访问提示bigmodel.cn/glm-coding 是 SPA,无头抓取常只有 loading。事实以 docs.bigmodel.cn.md 为准。

相关页面

为前端工程师打造 · 基于 VitePress 构建