GLM Models
GLM 模型
Section titled “GLM 模型”GLM 是一个模型家族(不是公司),可通过 Z.AI 平台使用。在 OpenClaw 中,GLM
模型通过 zai 提供商访问,模型 ID 形式如 zai/glm-5。
CLI 设置
Section titled “CLI 设置”# Coding Plan Global,推荐给 Coding Plan 用户openclaw onboard --auth-choice zai-coding-global
# Coding Plan CN(中国区域),推荐给 Coding Plan 用户openclaw onboard --auth-choice zai-coding-cn
# 通用 APIopenclaw onboard --auth-choice zai-global
# 通用 API CN(中国区域)openclaw onboard --auth-choice zai-cn{ env: { ZAI_API_KEY: "sk-..." }, agents: { defaults: { model: { primary: "zai/glm-5" } } },}- GLM 版本和可用性可能会变化;请查看 Z.AI 的文档以获取最新信息。
- 示例模型 ID 包括
glm-5、glm-4.7和glm-4.6。 - 关于提供商详情,请参阅 /providers/zai。