Skip to content

ZAI Subscription Guide

Edit page

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, and glm-4.5-air.

Integration snapshot

ItemValue
Subscription entryOpen subscription page
Official docs / consoleOpen official page
Anthropic-compatible base URLhttps://open.bigmodel.cn/api/anthropic
Recommended auth env varANTHROPIC_AUTH_TOKEN

Default model mapping

Claude tierDefault model
Sonnetglm-4.7
Opusglm-5
Haikuglm-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

  1. Confirm which subscription tier or API activation path you want to use.
  2. Open the Claude Code entry in the unified AI Agent CLI hub and continue with Anthropic’s official install and reference docs.
  3. Validate the connection locally after setup.

Next step