ZAI Subscription Guide
Positioning
ZAI is one of the providers currently recommended by the docs preset set for Claude Code. GLM Coding plans with tier mapping for developers who want Claude Code as a daily driver.
Good fit for
- You want a coding-focused subscription plan
- You need mapped Sonnet/Opus/Haiku defaults
- You expect one provider to work across Claude Code and similar coding tools
Key things to notice
- The current preset metadata marks ZAI as recommended.
- It exposes an Anthropic-compatible endpoint that can be used directly by Claude Code.
- The preset ships default mappings for
glm-4.7,glm-5, andglm-4.5-air.
Integration snapshot
| Item | Value |
|---|---|
| Subscription entry | Open subscription page |
| Official docs / console | Open official page |
| Anthropic-compatible base URL | https://open.bigmodel.cn/api/anthropic |
| Recommended auth env var | ANTHROPIC_AUTH_TOKEN |
Default model mapping
| Claude tier | Default model |
|---|---|
| Sonnet | glm-4.7 |
| Opus | glm-5 |
| Haiku | glm-4.5-air |
Pricing, promotions, and package details can change over time. If cost is your main concern, confirm the latest information directly on the provider page.
Suggested next steps
- Confirm which subscription tier or API activation path you want to use.
- Open the Claude Code entry in the unified AI Agent CLI hub and continue with Anthropic’s official install and reference docs.
- Validate the connection locally after setup.
Next step
Back to overviewCompare other recommended providers or restart your selection from the overview page.
Open the Claude Code official install entryJump to the Claude Code section in the unified AI Agent CLI hub, then continue with Anthropic's official install and reference docs.
Open subscription pageGo directly to the subscription or campaign page for ZAI.
HagiCode
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Dungeon makes the long run visible, so ideas become shipped software.
Turn ideas into polished, usable software with a smarter, faster, and more enjoyable agentic coding workflow.
- SmartOpenSpec workflows turn intent into an executable path, from proposal to design, tasks, and a shipped change.
- EfficientMulti-agent execution keeps research, implementation, and review moving in parallel, across several repositories and the Agent CLIs you already use.
- FunHero Dungeon turns long coding sessions into a visible, collaborative adventure with heroes, progress, and achievements.
HagiCode at a glance

The workbench: every session on one kanban board. 
A proposal moves from created to drafted, reviewed, executed, and archived. 
Hero Dungeon: heroes run the work while you follow progress, levels, and story.
Download for Windows
Share HagiCode
Ecosystem Sites
Quick Links
Community
© 2026 HagiCode | Powered By hagilight-starlight@0.9.2 | Branch: main | Commit: b74d888 | Built: