Setting Up GLM 5.2 in Claude Code with the Z.ai Coding Plan
Melvin Vivas · X post · 2026-06-21 · Open on X
Topics: AI Dev Tools & Productivity, LLM Fundamentals · Level: intermediate
Summary
The creator shares his settings for running GLM 5.2 inside Claude Code through the Z.ai coding plan. The settings themselves were in an image, so only the setup is described here. It shows that Claude Code can point to a third-party, Anthropic-compatible model provider.
Key points
- Claude Code can run GLM 5.2 through Z.ai's coding plan.
- This works through Claude Code settings that point to Z.ai's Anthropic-compatible endpoint (https://api.z.ai/api/anthropic, per a related post).
Resources mentioned
- Z.ai (@Zai_org) on X · person · x.com · free
Official X account of Z.ai, maker of the GLM models and the GLM coding plan.
Also in: Open models now dominate token volume on Vercel AI Gateway (Melvin Vivas on X · notes), GLM 5.3 Open Weights Release Delayed for Framework Support (Melvin Vivas on X · notes), AI News Roundup: Claude Fable 5, Scientist AI, ZCode, NVIDIA RL (Melvin Vivas on X · notes), Trying ZCode by Z.ai with GLM 5.2 on a Mac (Melvin Vivas on X · notes) and 9 more - GLM Coding Plan (Z.ai) · tool · z.ai · paid
Z.ai's subscription plan for GLM coding models, for use in agents and IDEs.
Also in: ZCode: official coding environment for GLM models (Melvin Vivas on X · notes), GLM-5.1 Now Available on the GLM Coding Plan (Melvin Vivas on X · notes), GLM-5-Turbo: A Fast GLM-5 Variant for Agents Like OpenClaw (Melvin Vivas on X · notes) - Claude Code · tool · code.claude.com · paid · recommended by both Bashiri Smith & Melvin Vivas
Build agents and pipelines from the terminal; the guide's main agentic coding tool.
Also in: Create Claude Code Plugins with /plugin-authoring (Melvin Vivas on X · notes), Claude Code mods: customize behavior and UI with plugins (Melvin Vivas on X · notes), AI Engineer Roadmap Overview: From ML Foundations to RAG, Agents & Ops (Bashiri Smith on Facebook · notes), SkillsBento: Free Plugin Marketplace for Codex and Claude Code (Melvin Vivas on X · notes) and 101 more
Try this
- Configure Claude Code settings to use GLM 5.2 via the Z.ai coding plan.
More in AI Dev Tools & Productivity
- Claude Code Agent View: Manage Sessions Without Extra Terminal Tabs
- Instant Docs for Any GitHub Repo with Devin DeepWiki
- Use GPT 5.5 on High Reasoning in ChatGPT for Better Ideas
- GLM 5.2 Is Fast and Free in Devin Desktop
- Devin Desktop's Adaptive Mode Balances Cost and Quality
- Claude Code Agent View: Manage Multiple Agents Without Extra Terminals