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

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.

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.
  • FunHero Dungeon turns long coding sessions into a visible, collaborative adventure with heroes, progress, and achievements.

HagiCode at a glance

  • HagiCode workbench showing a session kanban board with Pending, In Progress, and Archived columns.
    The workbench: every session on one kanban board.
  • HagiCode proposal stage bar from Created to Archived, with the Execution Completed stage highlighted and an Archive Plan button.
    A proposal moves from created to drafted, reviewed, executed, and archived.
  • HagiCode Hero Dungeon panel named Ember Keep, listing three running heroes with their level, progress, and story text.
    Hero Dungeon: heroes run the work while you follow progress, levels, and story.

Download for Windows

Get it from Microsoft StoreAll downloads