Tools / Chat & Assistants / Z.ai (GLM)

Z.ai (GLM)

Zhipu's GLM models and a low-cost coding plan for AI agents

China Chat & Assistants Freemium Open weights / open source
Visit Z.ai (GLM) ↗ Facts checked 4 Dec 2026

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

  1. Low-cost coding agentPower Claude Code or Cursor with GLM through the Coding Plan instead of a pricier subscription.
  2. Agentic office workUse the plan with agent tools for documents, research and office automation.
  3. Self-hosted modelsDeploy open GLM weights inside your own infrastructure.
  4. 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

US prices before tax. Quarterly billing saves 20% and yearly billing 30% (Lite from $12.60/month). Usage is metered in credits; peak hours (weekdays 14:00 to 18:00 Singapore time) consume quota faster. Checked 4 Dec 2026 — confirm on the official website before buying.

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)

  1. Try the free assistant at chat.z.ai.
  2. For coding, subscribe to the GLM Coding Plan at z.ai/subscribe.
  3. Create an API key and follow Z.ai's guide to connect it to Claude Code, Codex, Cursor or OpenCode.
  4. Schedule heavy jobs outside peak hours to stretch your quota.
  5. 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

China Chat & Assistants Freemium

Chat assistant and developer API from Chinese AI lab DeepSeek, known for its open-weights models.

DeepSeek · Web, iOS, Android, API

Kimi

China Chat & Assistants Freemium

Moonshot AI's assistant, known for long-context reading and very large open-weight models.

Moonshot AI · Web, iOS, Android, API
China Chat & Assistants Freemium

Alibaba's AI assistant and model family, with widely used open-weight models for developers.

Alibaba · Web, iOS, Android, API
United States Coding Freemium

AI-first code editor that writes, edits and explains code across a whole project.

Anysphere · Mac, Windows

Related news

Sources used for this profile