Chat assistant and developer API from Chinese AI lab DeepSeek, known for its open-weights models.
Z.ai (GLM)
Zhipu's GLM models and a low-cost coding plan for AI agents
Key takeaways
Zhipu AI's chat assistant and GLM model family, with open-weight models popular for coding.
Best for
- Developers who want a cheap subscription for coding agents
- Using GLM inside Claude Code, Codex, Cursor or OpenCode
- Teams that want MIT-licensed open models to self-host
- High-volume agent workloads on a budget
- Company
- Zhipu AI (Z.ai)
- Headquarters
- Beijing, China
- Founded
- 2019 (Zhipu AI)
- Pricing
- Free chat; GLM Coding Plan from $18/month
- Platforms
- Web, API
- Website
- chat.z.ai
What is Z.ai (GLM)?
Z.ai is the international brand of Zhipu AI, a Beijing company founded in 2019 out of Tsinghua University research. Zhipu develops the GLM (General Language Model) family and has become one of China’s leading AI labs, popular in particular with developers who use its models for coding agents.
Z.ai’s most talked-about product is the GLM Coding Plan, a subscription that plugs GLM models into more than 20 coding tools, including Claude Code, Codex, OpenCode, Cursor and Z.ai’s own ZCode. At $18 per month for the Lite tier, and cheaper with yearly billing, it is one of the least expensive ways to run a coding agent all day, which is why it often comes up as a budget alternative to US subscriptions.
The model line moves quickly. GLM-5.2, launched in June 2026, was released under the permissive MIT licence. GLM-5.4, the latest flagship, is available first to Coding Plan users, while the public per-token API currently goes up to GLM-5.3. There is also a free web assistant at chat.z.ai.
The plan’s usage is measured in credits with five-hour and weekly limits, and peak hours consume quota faster, so it pays to read the rules. For developers willing to learn them, Z.ai offers strong coding models at a fraction of Western prices.
Key features
GLM-5 model family
GLM-5.4 is Zhipu's latest flagship, first available to Coding Plan users; GLM-5.3 is the newest model on the public API.
GLM Coding Plan
One subscription that works in more than 20 coding tools, including Claude Code, Codex, OpenCode, Cursor and Z.ai's ZCode.
1M-token context
Recent GLM models handle very long inputs, suitable for large repositories.
Open weights under MIT
Models such as GLM-5.2 were released under the MIT licence for commercial use and self-hosting.
Z.ai Chat
A free web assistant for chat, search, writing and building slides or web pages.
Developer API
Per-token API access to GLM models, with OpenAI-compatible endpoints.
Use cases
- Low-cost coding agentPower Claude Code or Cursor with GLM through the Coding Plan instead of a pricier subscription.
- Agentic office workUse the plan with agent tools for documents, research and office automation.
- Self-hosted modelsDeploy open GLM weights inside your own infrastructure.
- Prototyping AI appsBuild and test with the API at low cost.
Z.ai (GLM) pricing
Z.ai Chat
Free
- Web assistant with GLM models
Coding Plan Lite
$18/month
- Base usage, weekly and 5-hour credit limits
- Works in 20+ coding tools
Coding Plan Pro
$80/month
- About 6x Lite usage
- Faster access to new models
Coding Plan Max
$168/month
- Highest usage for heavy agent work
Team plans
Per seat
- Central billing, admin, data security
API
Per token
- GLM-5.3 and earlier models
Pros & cons
Pros
- Much cheaper than US coding subscriptions for heavy agent use
- Works inside popular coding tools you already use
- Permissive MIT licence on open models
- Strong coding performance among open models
Cons
- Newest flagship GLM-5.4 is not yet on the per-token API
- Credit and peak-hour rules take time to understand
- Consumer chat app is less polished than the big assistants
How to get started with Z.ai (GLM)
- Try the free assistant at chat.z.ai.
- For coding, subscribe to the GLM Coding Plan at z.ai/subscribe.
- Create an API key and follow Z.ai's guide to connect it to Claude Code, Codex, Cursor or OpenCode.
- Schedule heavy jobs outside peak hours to stretch your quota.
- To self-host, download open GLM weights from Hugging Face.
Who is Z.ai (GLM) for?
Developers
Running coding agents all day at lower cost.
Startups
Building AI products with open, commercially usable models.
Engineering teams
Team plans with admin and billing controls.
Frequently asked questions
What is the GLM Coding Plan?
A subscription from Z.ai that gives access to GLM models inside coding tools such as Claude Code, Codex, Cursor and OpenCode. It costs $18, $80 or $168 per month, with discounts for quarterly and yearly billing.
Is Z.ai the same as Zhipu AI?
Yes. Z.ai is the international brand of Zhipu AI, a Beijing company founded in 2019 that develops the GLM models.
Are GLM models open source?
Many are released with open weights; GLM-5.2, for example, uses the MIT licence, allowing commercial use and modification.
Can I use GLM-5.4 through the API?
Not yet. As of late November 2026, GLM-5.4 is available to Coding Plan users, and Z.ai says the API will follow after a security assessment.
Z.ai (GLM) alternatives
Moonshot AI's assistant, known for long-context reading and very large open-weight models.
Alibaba's AI assistant and model family, with widely used open-weight models for developers.
AI-first code editor that writes, edits and explains code across a whole project.
Related news
China Telecom open-sources a 285B-parameter model trained only on Huawei chips
Xing4.1-Preview was trained on a cluster of 8,192 Huawei Ascend 910C processors with no Nvidia hardware, one of the largest open models built entirely on China's domestic AI stack.
Alibaba launches Qwen4-Max, keeps its new flagship closed
The first model of Alibaba's Qwen4 generation targets agents and professional work at lower API prices. Unlike its predecessor, the weights are not being released.
China drafts export controls on 23 AI technologies, then clears DeepSeek and MiniMax for overseas use
Beijing's new framework puts models, agents and computing clusters under export rules for the first time. Within a week, its two most prominent open-model developers said they had completed registration.
Cursor review: the AI code editor built around agents
Cursor has grown from an AI autocomplete into a platform for coding agents. Powerful for developers, but costs scale with usage.
Nvidia Nemotron 3 Ultra review: the fastest big open model from the US
Nvidia's 550-billion-parameter open model is quick and cheap to run for agents, but still trails the best Chinese open models on most benchmarks.
Ai2 releases Olmicro, five fully open small models for AI research
The Seattle non-profit published models from 275 million to 2.7 billion parameters together with training data, code and 1,707 intermediate checkpoints.