Concept

What Is Z.ai? Zhipu AI, GLM-5.2 & Open Weights, Explained

Z.ai is the international brand of Zhipu AI, a Chinese lab spun out of Tsinghua University that builds the open-weights GLM model family. It rebranded internationally in July 2025, listed on the Hong Kong Stock Exchange in January 2026, and its June 2026 flagship, GLM-5.2, currently sits at the top of the independent Artificial Analysis index among open-weights models. But here is the part the vendor pages skip: on standard coding tasks, quality has converged. In our own executed benchmark GLM 5.2 scored a perfect 9/9 - the same as nine other models, including GPT-5.5 at about 4.4x the cost. So GLM's real edge is not raw pass rate; it is open weights and long-horizon work.

What is Z.ai - Zhipu AI, the GLM model family, GLM-5.2 pricing and our tested benchmark

What Z.ai is

Z.ai is the international brand of Zhipu AI, a Chinese AI lab that builds the open-weights GLM (General Language Model) family. If you have seen the name Z.ai on a model card, a pricing page, or a benchmark leaderboard and wondered whether it is a new company, a wrapper, or a rebrand - it is a rebrand. Same lab, same models, new global name. Its current flagship, GLM-5.2, is an open-weights model that as of July 2026 tops the independent Artificial Analysis index among open-weights systems.

How this is sourced. Company, brand and model-line facts are verified against Z.ai and Zhipu materials and reputable reporting (Wikipedia, VentureBeat, Z.ai docs), and are date-stamped because this space moves fast. Pricing and self-hosting figures come from secondary sources and are labeled approximate. The coding results are our own - executed against hidden tests with real billed cost and latency. See our coding-cost benchmark for the full harness and dataset. Primary reference: Z.ai docs.

From Zhipu AI to Z.ai

Zhipu AI was founded in 2019 as a spinoff from Tsinghua University's Knowledge Engineering Group, co-founded by Tang Jie and Li Juanzi. In July 2025 the company rebranded internationally to Z.ai and changed its legal name to Knowledge Atlas Technology. On January 8, 2026 it completed an IPO on the Hong Kong Stock Exchange - described as China's first major LLM company to go public - with a market cap reported above HK$52bn (~US$6.6bn). Pre-IPO it raised over US$1.2bn from backers including Alibaba, Tencent, Meituan, Xiaomi and Saudi Arabia's Prosperity7 Ventures. (Treat the financial figures as approximate; several trace to search summaries rather than filings.)

The GLM model family

Z.ai's product is the GLM line, and it has shipped quickly. The short timeline:

ModelReleasedNotes
GLM-4Aug 2024The general-purpose base of the modern line.
GLM-4.5Jul 2025First wave of MIT open-weights releases.
GLM-4.6Sep 2025Coding-focused iteration.
GLM-5Feb 2026Major jump in reasoning and long-horizon work.
GLM-5.2Jun 2026Current flagship; open weights, tops Artificial Analysis (open).

Two things stand out. First, the cadence: a new flagship every few months, so any claim you read has a short shelf life - always check the date. Second, the license posture: since 2025 Z.ai has released GLM under the free/open-source MIT License, which is unusually permissive for a frontier-class model. We cover the reasoning-tier jump in our GLM-5 review and the flagship itself in the GLM-5.2 review.

GLM-5.2, the flagship

Per Z.ai's own documentation, GLM-5.2 ships with an approximately 1M-token context window, up to 128K output, multiple thinking modes, function calling and MCP tool integration, and strong long-horizon coding. It is widely reported to be open-weights with core weights under MIT - we state that as reported, since we could not confirm the exact license scope of GLM-5.2 specifically from Z.ai's own docs page in this pass. On the independent Artificial Analysis Intelligence Index it leads open-weights models, and VentureBeat reports it beats GPT-5.5 on several long-horizon coding benchmarks at roughly one-sixth the cost. That long-horizon, agentic strength - not standard-task quality - is where GLM-5.2 earns its keep.

We tested GLM 5.2: 9/9 at $1.99

Most write-ups quote Z.ai's own first-party GLM-5.2 numbers. We ran our own. In the DataLLM Lab coding benchmark (July 2026, 13 models, 9 generate-code-then-run-hidden-tests tasks), GLM 5.2 scored a perfect 9/9 at $1.99 per 1,000 tasks, 12.3s average latency - the sixth-cheapest of the 13. The headline finding is not GLM's score; it is that 10 of 13 models also scored 9/9. On standard coding tasks, quality has converged. What did not converge was cost: the same 9/9 spanned an 88x price range, from Qwen3 Coder Next at $0.10 to GPT-5.5 at $8.83.

Same 9/9 score, 88x cost spreadReal cost per 1,000 tasks · 9 executed tasks · DataLLM Lab · July 2026GPT-5.5$8.83Claude Opus 4.8$4.05GLM 5.2$1.99Claude Sonnet 5$1.67Kimi K2.7-Code$1.34DeepSeek V4-Flash$0.13Qwen3 Coder Next$0.10
Chart: DataLLM Lab - real cost (token usage × list price) per 1,000 tasks for models that all scored 9/9, July 2026. GLM 5.2 (highlighted) lands mid-pack. GPT-5.5 got the identical score at ~4.4x the cost.
ModelScore$/1,000 tasksAvg latency
GPT-5.59/9$8.83-
Claude Opus 4.89/9$4.05-
GLM 5.29/9$1.9912.3s
Kimi K2.7-Code9/9$1.3410.4s
DeepSeek V4-Flash9/9$0.1314.5s
Qwen3 Coder Next9/9$0.107.0s

The takeaway is a decision rule: on ordinary coding, do not pay for the name. GPT-5.5 and GLM 5.2 delivered the same 9/9, but GPT-5.5 cost about 4.4x more per task. That does not mean all ten 9/9 models are interchangeable everywhere - our tasks are standard, not hard agentic or repo-scale work, and that is exactly where GLM-5.2's long-horizon strength is supposed to separate. It means that if standard-task pass rate is what you are buying, GLM 5.2 is priced sensibly, and the models worth a premium have to prove it on the hard stuff. See how it stacks up against the cheapest strong open coder in our GLM-5 vs DeepSeek comparison.

Call GLM-5.2 and 300+ models with one key

Route GLM-5.2, DeepSeek, Qwen and Claude through a single OpenAI-compatible endpoint, compare them on your own tasks, and switch by changing the model name.

Pricing & access

Z.ai sells GLM two ways. There is a subscription GLM Coding Plan, reported at roughly $18/mo Lite, $72/mo Pro and $160/mo Max, with discounts of about 10% monthly, 20% quarterly and 30% yearly. And there is pay-per-token API pricing, reported around $1.40 per million input tokens and $4.40 per million output, with a cached-input rate near $0.26 per million. Two cautions: these figures come from secondary pricing/SEO sources rather than Z.ai's live pricing page, so verify current numbers before you commit; and the plan structure suits heavy coding-agent use, while the token API suits variable or bursty workloads. Our GLM Coding Plan breakdown walks through which tier fits which usage pattern.

Open weights & self-hosting

The open-weights posture is GLM's real differentiator, and it cuts both ways. On one hand, MIT-licensed weights mean no per-token lock-in and the option to run on your own hardware. On the other, GLM-5.2 is heavy: full weights are reported around 1.51 TB, and a realistic single-box consumer machine is something like a Mac Studio M3 Ultra with 256 to 512GB of unified memory. That is a serious purchase, and those figures are secondary-source, so treat self-hosting as demanding rather than casual. For most teams the practical access path is a hosted API - which is where a gateway helps: you get GLM-5.2 plus 300+ other models behind one key, and can A/B it against DeepSeek or Qwen without re-plumbing. If self-hosting is the goal, weigh the field first in our best open-source LLM guide.

Who Z.ai is for

Choose GLM-5.2 if you want a frontier-class open-weights model with a permissive license, need long-horizon or agentic coding rather than one-shot snippets, or want a hedge against closed-model lock-in. Look elsewhere if you only need standard coding at the lowest cost - Qwen3 Coder Next and DeepSeek V4-Flash matched GLM's 9/9 for a fraction of the per-task price in our test. And treat every version and price above as a July 2026 snapshot: GLM-5 shipped in February and GLM-5.2 in June, so a newer GLM could land at any time. The safest way to keep up is to keep GLM-5.2 one model name away and re-benchmark when the next one drops.

FAQ

What is Z.ai?

The international brand of Zhipu AI, a Chinese lab spun out of Tsinghua University in 2019. It rebranded from Zhipu AI to Z.ai in July 2025, makes the open-weights GLM family, and IPO'd in Hong Kong on January 8, 2026.

Is Z.ai the same company as Zhipu AI?

Yes - Z.ai is just the global-facing brand of Zhipu AI. Same company, same GLM models. Inside China it is still widely called Zhipu AI.

What is GLM-5.2?

Z.ai's flagship LLM (June 2026). Per its docs: ~1M-token context, up to 128K output, thinking modes, function calling and MCP tools, strong long-horizon coding. Reported open-weights with core weights under MIT; tops Artificial Analysis among open models.

How did GLM 5.2 score in your benchmark?

9/9 at $1.99 per 1,000 tasks, 12.3s latency - sixth-cheapest of 13 models (July 2026). Ten of 13 hit 9/9, so quality converged; the cost spread across those identical scores was 88x.

How much does GLM-5.2 cost?

A GLM Coding Plan subscription (reported ~$18/$72/$160 per month for Lite/Pro/Max) or pay-per-token API (reported ~$1.40/M in, ~$4.40/M out, ~$0.26/M cached). Figures are from secondary sources - verify the live page.

Can I self-host GLM-5.2, or should I use an API?

You can - the weights are open - but they are heavy (~1.51 TB, realistically a 256-512GB Mac Studio M3 Ultra). For most people a hosted API is simpler; you can call GLM-5.2 through the DataLLM Lab gateway with one key alongside 300+ models.

Written by
Kevin Fan

Founder of DataLLM Lab, the unified LLM gateway. Kevin tests models the boring way — same prompts, real costs, unedited outputs — and writes up what the runs actually show.

One API for every model

One API, every model.

Get a single API key for Claude Opus 4.7, GPT-5.4, and 300+ more — with automatic price comparison and routing to the best model for every request.