{"id":756889,"date":"2026-03-28T08:04:38","date_gmt":"2026-03-28T00:04:38","guid":{"rendered":"https:\/\/www.alphaseek.cn\/?p=756889"},"modified":"2026-03-28T08:04:38","modified_gmt":"2026-03-28T00:04:38","slug":"%e6%99%ba%e8%b0%b1glm-5-1%e6%a8%a1%e5%9e%8b%e5%85%ac%e5%b8%83%ef%bc%8c%e6%89%80%e6%9c%89coding-plan%e7%94%a8%e6%88%b7%e5%9d%87%e5%8f%af%e8%b0%83%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.alphaseek.cn\/?p=756889","title":{"rendered":"\u667a\u8c31GLM-5.1\u6a21\u578b\u516c\u5e03\uff0c\u6240\u6709Coding Plan\u7528\u6237\u5747\u53ef\u8c03\u7528"},"content":{"rendered":"<p>IT\u4e4b\u5bb6 3 \u6708 27 \u65e5\u6d88\u606f\uff0c\u667a\u8c31\u5b98\u65b9\u73b0\u5df2\u516c\u5e03 GLM-5.1 \u6a21\u578b\uff0c<strong>\u6240\u6709 Coding Plan \u7528\u6237\uff08Max\u3001Pro \u548c Lite\uff09\u5747\u53ef\u8c03\u7528<\/strong>\u3002<\/p>\n<p><img data-lazyload=\"https:\/\/x0.ifengimg.com\/res\/2026\/11D50D64D4E187D3F82E3DF9D1F112B2CF46DEE4_size36_w640_h538.jpg\" src=\"https:\/\/tech.ifeng.com\/c\/data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEXy8vJkA4prAAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==\" style=\"display:block; margin-left:auto; margin-right:auto\" alt=\"\u667a\u8c31GLM-5.1\u6a21\u578b\u516c\u5e03\uff0c\u6240\u6709Coding Plan\u7528\u6237\u5747\u53ef\u8c03\u7528\"  \/><\/p>\n<p>IT\u4e4b\u5bb6\u9644 Claude Code\u3001OpenClaw \u542f\u7528 GLM-5.1 \u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p>Claude Code\uff1a<\/p>\n<p>\u524d\u7f6e\u5de5\u4f5c\uff1a<\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cClaude Code \u7684\u6a21\u578b\u73af\u5883\u53d8\u91cf\u5982\u4e0b\uff1a<\/p>\n<p>ANTHROPIC_DEFAULT_OPUS_MODEL\uff1aGLM-4.7<\/p>\n<p>ANTHROPIC_DEFAULT_SONNET_MODEL\uff1aGLM-4.7<\/p>\n<p>ANTHROPIC_DEFAULT_HAIKU_MODEL\uff1aGLM-4.5-Air<\/p>\n<p>\u7b2c\u4e00\u6b65\uff1a\u4fee\u6539\u914d\u7f6e\uff1a<\/p>\n<p>Windows \u7528\u6237\uff1a\u6309\u201c~\/.claude\/settings.json\u201d\u8def\u5f84\u627e\u5230\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>macOS \u7528\u6237\uff1a\u6253\u5f00\u201c\u7ec8\u7aef\u201d\uff0c\u8f93\u5165\u201cvim ~\/.claude\/settings.json\u201d<\/p>\n<p>\u7136\u540e\u5c06 settings.json \u4fee\u6539\u4e3a\u4ee5\u4e0b\u6837\u5f0f\uff0cMac \u7528\u6237\u6539\u5b8c\u540e\u8bb0\u5f97\u201c:wq\u201d\u4fdd\u5b58\uff1a<\/p>\n<p>{ &quot;env&quot;: { &quot;ANTHROPIC_DEFAULT_HAIKU_MODEL&quot;: &quot;glm-4.5-air&quot;, &quot;ANTHROPIC_DEFAULT_SONNET_MODEL&quot;: &quot;glm-5.1&quot;, &quot;ANTHROPIC_DEFAULT_OPUS_MODEL&quot;: &quot;glm-5.1&quot; } }<\/p>\n<p>\u7b2c\u4e8c\u6b65\uff1a\u786e\u8ba4\u6a21\u578b\u5df2\u7ecf\u5207\u6362\uff1a<\/p>\n<p>\u6253\u5f00\u65b0\u7684\u7ec8\u7aef\u7a97\u53e3\uff0c\u8fd0\u884c Claude \u5e76\u4e14\u542f\u7528 Claude Code\uff0c\u7136\u540e\u8f93\u5165\u201c\/status\u201d\u68c0\u67e5\u6a21\u578b\u662f\u5426\u6b63\u786e\u5207\u6362<\/p>\n<\/p>\n<p>OpenClaw\uff1a<\/p>\n<p>\u7b2c\u4e00\u6b65\uff1a\u66f4\u65b0\u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<p>\u4ece\u201c~\/.openclaw\/openclaw.json\u201d\u76ee\u5f55\u4e2d\u627e\u5230\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u5c06\u201cglm-5.1\u201d\u6dfb\u52a0\u5230\u201cmodels.providers.zai.models\u201d\u6570\u7ec4\u4e2d\u3002\u628a\u4ee5\u4e0b\u5bf9\u8c61\u8ffd\u52a0\u5230\u6570\u7ec4\u4e2d\u6700\u540e\u4e00\u4e2a\u6a21\u578b\u4e4b\u540e\u3002\u5982\u679c JSON \u8bed\u6cd5\u8981\u6c42\uff0c\u8bf7\u52a1\u5fc5\u6dfb\u52a0\u9017\u53f7\uff1a<\/p>\n<p>{ &quot;id&quot;: &quot;glm-5.1&quot;, &quot;name&quot;: &quot;GLM-5.1&quot;, &quot;reasoning&quot;: true, &quot;input&quot;: [ &quot;text&quot; ], &quot;cost&quot;: { &quot;input&quot;: 0, &quot;output&quot;: 0, &quot;cacheRead&quot;: 0, &quot;cacheWrite&quot;: 0 }, &quot;contextWindow&quot;: 204800, &quot;maxTokens&quot;: 131072}<\/p>\n<p>\u7136\u540e\u66f4\u65b0\u201cagents.defaults.model.primary\u201d\u7684\u9ed8\u8ba4\u6a21\u578b\uff1a<\/p>\n<p>&quot;primary&quot;: &quot;zai\/glm-5&quot;,<\/p>\n<p>\u63a5\u7740\uff0c\u628a\u4e0a\u9762\u7684\u4ee3\u7801\u6539\u4e3a\u4ee5\u4e0b\u6837\u5f0f\uff1a<\/p>\n<p>&quot;primary&quot;: &quot;zai\/glm-5.1&quot;,<\/p>\n<p>\u5728\u201c agents.defaults.models\u201d\u6dfb\u52a0\uff1a<\/p>\n<p>&quot;zai\/glm-5.1&quot;: {}<\/p>\n<p>\u7b2c\u4e8c\u6b65\uff1a\u66f4\u65b0\u914d\u7f6e\u53c2\u8003<\/p>\n<p>\u4ee5\u4e0b\u662f\u53c2\u8003\u4ee3\u7801\uff0c\u7528\u4e8e\u5c55\u793a\u66f4\u65b0\u540e\u7684\u914d\u7f6e\u5e94\u8be5\u662f\u4ec0\u4e48\u6837\u5b50<\/p>\n<p>1\u3001\u201cmodels.providers.zai.models\u201d\u90e8\u5206\uff1a<\/p>\n<p>&quot;models&quot;: [ { &quot;id&quot;: &quot;glm-5&quot;, &quot;name&quot;: &quot;GLM-5&quot;, &quot;reasoning&quot;: true, &quot;input&quot;: [&quot;text&quot;], &quot;cost&quot;: {&quot;input&quot;: 0, &quot;output&quot;: 0, &quot;cacheRead&quot;: 0, &quot;cacheWrite&quot;: 0}, &quot;contextWindow&quot;: 204800, &quot;maxTokens&quot;: 131072 }, { &quot;id&quot;: &quot;glm-4.7&quot;, &quot;name&quot;: &quot;GLM-4.7&quot;, &quot;reasoning&quot;: true, &quot;input&quot;: [&quot;text&quot;], &quot;cost&quot;: {&quot;input&quot;: 0, &quot;output&quot;: 0, &quot;cacheRead&quot;: 0, &quot;cacheWrite&quot;: 0}, &quot;contextWindow&quot;: 204800, &quot;maxTokens&quot;: 131072 }, { &quot;id&quot;: &quot;glm-5.1&quot;, &quot;name&quot;: &quot;GLM-5.1&quot;, &quot;reasoning&quot;: true, &quot;input&quot;: [&quot;text&quot;], &quot;cost&quot;: {&quot;input&quot;: 0, &quot;output&quot;: 0, &quot;cacheRead&quot;: 0, &quot;cacheWrite&quot;: 0}, &quot;contextWindow&quot;: 204800, &quot;maxTokens&quot;: 131072 }]<\/p>\n<p>2\u3001\u201cagents.defaults.model.primary\u201d\u90e8\u5206\uff1a<\/p>\n<p>&quot;model&quot;: { &quot;primary&quot;: &quot;zai\/glm-5.1&quot;, &quot;fallbacks&quot;: [&quot;zai\/glm-4.7&quot;]}<\/p>\n<p>3\u3001\u201cagents.defaults.models\u201d\u90e8\u5206\uff1a<\/p>\n<p>&quot;models&quot;: { &quot;zai\/glm-5&quot;: {&quot;alias&quot;: &quot;GLM&quot;}, &quot;zai\/glm-4.7&quot;: {}, &quot;zai\/glm-5.1&quot;: {}}<\/p>\n<p>\u505a\u5b8c\u4ee5\u4e0a\u66f4\u6539\u540e\uff0c\u8fd0\u884c\u201copenclaw gateway restart\u201d\u547d\u4ee4\u91cd\u542f\u7f51\u5173<\/p>\n<p>\u91cd\u542f\u540e\uff0c\u60a8\u5e94\u8be5\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 GLM-5.1 \u6a21\u578b\uff0c\u60a8\u53ef\u4ee5\u5728\u7ec8\u7aef\u8fd0\u884c\u201copenclaw tui\u201d\u8fdb\u5165\u804a\u5929\u754c\u9762\u3002<\/p>\n<p>(\u6765\u6e90\uff1a\u65b0\u6d6a\u79d1\u6280)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IT\u4e4b\u5bb6 3 \u6708 27 \u65e5\u6d88\u606f\uff0c\u667a\u8c31\u5b98\u65b9\u73b0\u5df2\u516c\u5e03 GLM-5.1 \u6a21\u578b\uff0c\u6240\u6709 Coding Plan \u7528\u6237\uff08M [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"views":17,"_links":{"self":[{"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=\/wp\/v2\/posts\/756889"}],"collection":[{"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=756889"}],"version-history":[{"count":0,"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=\/wp\/v2\/posts\/756889\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=756889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=756889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alphaseek.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=756889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}