
Tsinghua's GLM-5.2 matches ChatGPT and Claude on benchmarks, costs 5-7x less, and offers a million-token context window under an MIT license.
A Chinese university lab just built one of the best AI models of 2026, matching ChatGPT and Claude at a fraction of the price.
Tsinghua University started a research project in 2021. Five years later, the lab created GLM-5.2, an open-source model that independent benchmarks now call the best open-source AI of the year. In coding tasks, it edges past both Claude and ChatGPT, according to published benchmark scores.
GLM, or General Language Model, launched through Z.ai in June 2026. It targets coding and agentic work – multi-step tasks where the model plans, executes, and iterates without human intervention. The newcomer entered a closed-door race and immediately outperformed its rivals.
Why the One-Million-Token Context Window Matters
One million tokens equals roughly 750,000 words, or about ten novels. Every AI has a limited context window – a word limit within which it retains memory. For most models like ChatGPT and Claude, that limit sits around 100,000 tokens. GLM-5.2's window is ten times larger.
A software developer can paste an entire codebase into GLM-5.2 and the model reasons across all of it at once, without forgetting earlier sections. That is a practical leap for debugging, refactoring, and large-scale code review.
MIT License: What Open-Source AI Looks Like in 2026
Most AI models operate like vending machines – pay, receive output, never see the mechanism. GLM-5.2 is different. The MIT license, the most permissive open-source license available, allows anyone to download, modify, and build commercial products from the code without paying royalties or meeting revenue thresholds.
AI models charge by the token, roughly three-quarters of a word. GLM-5.2 costs five to seven times less than established models. That price gap is reshaping the market.
Two Changes Coming to the AI Market
First, prices will drop. A frontier-quality model at such minimal cost forces competitors to follow. Second, AI labs outside the United States now have a template for reaching international benchmarks. More regional players may emerge.
One Quirk: Identity Confusion
Ask GLM-5.2 who it is, and it sometimes answers "Claude." Correct it, and it holds firm. The explanation: Z.ai trained the model on massive internet data, a significant portion of which included Claude's responses. That training left an imprint on its self-identification. It is a quirk, not a flaw – its reasoning and code remain entirely its own.
Try GLM-5.2 directly. The David-and-Goliath battle in AI is just getting started.
Drafted by a large language model from the source reporting linked above, then screened by automated publishing checks. It is not read by a journalist before publication. Some articles cite our Alpha Score. Verify prices and figures against the original source. Educational coverage, not personalized advice.