ZAI Subscription Guide
Positioning
Section titled “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
Section titled “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
Section titled “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
Section titled “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
Section titled “Default model mapping”| Claude tier | Default model |
|---|---|
| Sonnet | glm-4.7 |
| Opus | glm-5 |
| Haiku | glm-4.5-air |
Suggested next steps
Section titled “Suggested next steps”- Confirm which subscription tier or API activation path you want to use.
- Return to the Claude Code setup guide and place the base URL plus token into
settings.jsonor environment variables. - Validate the connection locally after setup.
Next step
Section titled “Next step” Back to overview Compare other recommended providers or restart your selection from the overview page.
Continue with Claude Code setup See the provider setup path, example configuration, and tier mapping guidance.
Open subscription page Go directly to the subscription or campaign page for ZAI.