Skip to content

Select language

Current language: English

ZAI Subscription Guide

Edit page

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, 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

Plans, promotions, and benefits change over time. If you mostly care about current pricing, check the provider’s subscription page directly.

Suggested next steps

  1. Confirm which plan or API key activation path you want to use.
  2. Open the Claude Code entry in the unified AI Agent CLI page and continue to Anthropic’s official install and reference docs.
  3. When you are done, verify the connection by running claude --version locally, 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.

Visit HagiCodeRead the documentation
  • 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

Get it from Microsoft StoreAll downloads

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.