ZAI Subscription Guide
Positioning
ZAI is one of the providers currently recommended by the docs preset for Claude Code. Its GLM Coding plans and multi-model mapping suit developers who want to use Claude Code as their main daily tool.
Good fit for
- You want a plan built specifically for coding scenarios
- You need fairly complete mappings for the Claude tiers
- You want one service that covers Claude Code, Cline, and other tools
Key things to notice
- The current preset marks ZAI as a recommended provider.
- It offers an Anthropic-compatible endpoint that Claude Code can use directly.
- The preset includes default model mappings such as
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 |
Plans, promotions, and benefits change over time. If you mostly care about current pricing, check the provider’s subscription page directly.
Suggested next steps
- Confirm which plan or API key activation path you want to use.
- Open the Claude Code entry in the unified AI Agent CLI page and continue to Anthropic’s official install and reference docs.
- When you are done, verify the connection by running
claude --versionlocally, checking your configuration files, or sending a real request.
Next steps
HagiCode
HagiCode is an agentic coding workspace. Rich, convenient UI interactions make planning, agent execution, and project work approachable and easy to navigate, creating an engaging development experience.
Explore an engaging development experience through rich, convenient UI interactions.
- 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.
- InterestingRich, convenient UI interactions make planning, agent execution, and project work approachable and easy to navigate.
Download for Windows
Share HagiCode
Turn ideas into shipped software.
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.
- Smart
- OpenSpec workflows turn intent into a path from proposal to shipped change.
- Efficient
- Multi-agent execution runs research, build, and review in parallel.
- Fun
- Rich UI interactions make planning, agent work, and projects easier to follow.
© 2026 HagiCode | Powered By hagilight-starlight@0.21.0 | Branch: main | Commit: 951128b | Built:

