惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CXSECURITY Database RSS Feed - CXSecurity.com
V2EX - 技术
V2EX - 技术
美团技术团队
NISL@THU
NISL@THU
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MyScale Blog
MyScale Blog
C
Cybersecurity and Infrastructure Security Agency CISA
W
WeLiveSecurity
博客园 - 聂微东
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Help Net Security
GbyAI
GbyAI
G
GRAHAM CLULEY
The Last Watchdog
The Last Watchdog
U
Unit 42
罗磊的独立博客
B
Blog RSS Feed
K
Kaspersky official blog
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
Know Your Adversary
Know Your Adversary
IT之家
IT之家
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Y
Y Combinator Blog
S
Secure Thoughts
P
Privacy & Cybersecurity Law Blog
S
Schneier on Security
Last Week in AI
Last Week in AI
Hacker News: Ask HN
Hacker News: Ask HN
L
LINUX DO - 热门话题
雷峰网
雷峰网
Martin Fowler
Martin Fowler
Recent Commits to openclaw:main
Recent Commits to openclaw:main
N
Netflix TechBlog - Medium
T
Tor Project blog
The GitHub Blog
The GitHub Blog
The Hacker News
The Hacker News
F
Fortinet All Blogs
Webroot Blog
Webroot Blog
Spread Privacy
Spread Privacy
Cloudbric
Cloudbric
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Schneier on Security
Schneier on Security
人人都是产品经理
人人都是产品经理
P
Privacy International News Feed
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
The Exploit Database - CXSecurity.com
Microsoft Security Blog
Microsoft Security Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
docs(providers): rewrite GLM, Runway, and Vydra with code-verified setup · openclaw/openclaw@6aaf235
vincentkoc · 2026-05-06 · via Recent Commits to openclaw:main

@@ -1,37 +1,61 @@

11

---

2-

summary: "GLM model family overview + how to use it in OpenClaw"

2+

summary: "GLM model family overview and how to use it in OpenClaw"

33

read_when:

44

- You want GLM models in OpenClaw

55

- You need the model naming convention and setup

66

title: "GLM (Zhipu)"

77

---

889-

# GLM models

9+

GLM is a model family (not a company) available through the [Z.AI](https://z.ai) platform. In OpenClaw, GLM models are accessed through the bundled `zai` provider with refs like `zai/glm-5.1`.

101011-

GLM is a **model family** (not a company) available through the Z.AI platform. In OpenClaw, GLM

12-

models are accessed via the `zai` provider and model IDs like `zai/glm-5`.

11+

| Property | Value |

12+

| ------------------- | --------------------------------------------------------------------------- |

13+

| Provider id | `zai` |

14+

| Plugin | bundled, `enabledByDefault: true` |

15+

| Auth env vars | `ZAI_API_KEY` or `Z_AI_API_KEY` |

16+

| Onboarding choices | `zai-api-key`, `zai-coding-global`, `zai-coding-cn`, `zai-global`, `zai-cn` |

17+

| API | OpenAI-compatible |

18+

| Default base URL | `https://api.z.ai/api/paas/v4` |

19+

| Suggested default | `zai/glm-5.1` |

20+

| Default image model | `zai/glm-4.6v` |

13211422

## Getting started

15231624

<Steps>

1725

<Step title="Choose an auth route and run onboarding">

18-

Pick the onboarding choice that matches your Z.AI plan and region:

26+

Pick the onboarding choice that matches your Z.AI plan and region. The generic `zai-api-key` choice auto-detects the matching endpoint from the key shape; use the explicit regional choices when you want to force a specific Coding Plan or general API surface.

192720-

| Auth choice | Best for |

21-

| ----------- | -------- |

22-

| `zai-api-key` | Generic API-key setup with endpoint auto-detection |

23-

| `zai-coding-global` | Coding Plan users (global) |

24-

| `zai-coding-cn` | Coding Plan users (China region) |

25-

| `zai-global` | General API (global) |

26-

| `zai-cn` | General API (China region) |

28+

| Auth choice | Best for |

29+

| ------------------- | --------------------------------------------------- |

30+

| `zai-api-key` | Generic API key with endpoint auto-detection |

31+

| `zai-coding-global` | Coding Plan users (global) |

32+

| `zai-coding-cn` | Coding Plan users (China region) |

33+

| `zai-global` | General API (global) |

34+

| `zai-cn` | General API (China region) |

273528-

```bash

29-

# Example: generic auto-detect

30-

openclaw onboard --auth-choice zai-api-key

36+

<CodeGroup>

313732-

# Example: Coding Plan global

33-

openclaw onboard --auth-choice zai-coding-global

34-

```

38+

```bash Auto-detect

39+

openclaw onboard --auth-choice zai-api-key

40+

```

41+42+

```bash Coding Plan (global)

43+

openclaw onboard --auth-choice zai-coding-global

44+

```

45+46+

```bash Coding Plan (China)

47+

openclaw onboard --auth-choice zai-coding-cn

48+

```

49+50+

```bash General API (global)

51+

openclaw onboard --auth-choice zai-global

52+

```

53+54+

```bash General API (China)

55+

openclaw onboard --auth-choice zai-cn

56+

```

57+58+

</CodeGroup>

35593660

</Step>

3761

<Step title="Set GLM as the default model">

@@ -56,45 +80,42 @@ models are accessed via the `zai` provider and model IDs like `zai/glm-5`.

5680

```

57815882

<Tip>

59-

`zai-api-key` lets OpenClaw detect the matching Z.AI endpoint from the key and

60-

apply the correct base URL automatically. Use the explicit regional choices when

61-

you want to force a specific Coding Plan or general API surface.

83+

`zai-api-key` lets OpenClaw detect the matching Z.AI endpoint from the key shape and apply the correct base URL automatically. Use the explicit regional choices when you want to pin a specific Coding Plan or general API surface.

6284

</Tip>

63856486

## Built-in catalog

658766-

OpenClaw currently seeds the bundled `zai` provider with these GLM refs:

67-68-

| Model | Model |

69-

| --------------- | ---------------- |

70-

| `glm-5.1` | `glm-4.7` |

71-

| `glm-5` | `glm-4.7-flash` |

72-

| `glm-5-turbo` | `glm-4.7-flashx` |

73-

| `glm-5v-turbo` | `glm-4.6` |

74-

| `glm-4.5` | `glm-4.6v` |

75-

| `glm-4.5-air` | |

76-

| `glm-4.5-flash` | |

77-

| `glm-4.5v` | |

88+

The bundled `zai` provider seeds 13 GLM model refs. All entries support reasoning unless marked otherwise; `glm-5v-turbo` and `glm-4.6v` accept image input as well as text.

89+90+

| Model ref | Notes |

91+

| -------------------- | -------------------------------------------------- |

92+

| `zai/glm-5.1` | Default model. Reasoning, text only, 202k context. |

93+

| `zai/glm-5` | Reasoning, text only, 202k context. |

94+

| `zai/glm-5-turbo` | Reasoning, text only, 202k context. |

95+

| `zai/glm-5v-turbo` | Reasoning, text + image, 202k context. |

96+

| `zai/glm-4.7` | Reasoning, text only, 204k context. |

97+

| `zai/glm-4.7-flash` | Reasoning, text only, 200k context. |

98+

| `zai/glm-4.7-flashx` | Reasoning, text only. |

99+

| `zai/glm-4.6` | Reasoning, text only. |

100+

| `zai/glm-4.6v` | Reasoning, text + image. Default image model. |

101+

| `zai/glm-4.5` | Reasoning, text only. |

102+

| `zai/glm-4.5-air` | Reasoning, text only. |

103+

| `zai/glm-4.5-flash` | Reasoning, text only. |

104+

| `zai/glm-4.5v` | Reasoning, text + image. |

7810579106

<Note>

80-

The default bundled model ref is `zai/glm-5.1`. GLM versions and availability

81-

can change; check Z.AI's docs for the latest.

107+

GLM versions and availability can change. Run `openclaw models list --provider zai` to see the catalog rows known to your installed version, and check Z.AI's docs for newly added or deprecated models.

82108

</Note>

8310984110

## Advanced configuration

8511186112

<AccordionGroup>

87113

<Accordion title="Endpoint auto-detection">

88-

When you use the `zai-api-key` auth choice, OpenClaw inspects the key format

89-

to determine the correct Z.AI base URL. Explicit regional choices

90-

(`zai-coding-global`, `zai-coding-cn`, `zai-global`, `zai-cn`) override

91-

auto-detection and pin the endpoint directly.

114+

When you use the `zai-api-key` auth choice, OpenClaw inspects the key shape to determine the correct Z.AI base URL. Explicit regional choices (`zai-coding-global`, `zai-coding-cn`, `zai-global`, `zai-cn`) override auto-detection and pin the endpoint directly.

92115

</Accordion>

9311694117

<Accordion title="Provider details">

95-

GLM models are served by the `zai` runtime provider. For full provider

96-

configuration, regional endpoints, and additional capabilities, see

97-

[Z.AI provider docs](/providers/zai).

118+

GLM models are served by the `zai` runtime provider. For full provider configuration, regional endpoints, and additional capabilities, see the [Z.AI provider page](/providers/zai).

98119

</Accordion>

99120

</AccordionGroup>

100121

@@ -104,7 +125,13 @@ can change; check Z.AI's docs for the latest.

104125

<Card title="Z.AI provider" href="/providers/zai" icon="server">

105126

Full Z.AI provider configuration and regional endpoints.

106127

</Card>

107-

<Card title="Model selection" href="/concepts/model-providers" icon="layers">

128+

<Card title="Model providers" href="/concepts/model-providers" icon="layers">

108129

Choosing providers, model refs, and failover behavior.

109130

</Card>

131+

<Card title="Thinking modes" href="/tools/thinking" icon="brain">

132+

`/think` levels for the reasoning-capable GLM family.

133+

</Card>

134+

<Card title="Models FAQ" href="/help/faq-models" icon="circle-question">

135+

Auth profiles, switching models, and resolving "no profile" errors.

136+

</Card>

110137

</CardGroup>