GLM (AI)

GLM (General Language Model) is a series of open-weight large language models developed by Chinese company Z.ai, first described in a 2021 paper (where it outperformed GPT and BERT) and released as the ChatGLM chatbot in March 2023. As a flagship model of one of China's "AI tigers," its weights are freely available under MIT/Apache 2.0 licenses, allowing users to run it locally or in the cloud. The latest iteration, GLM-5.2 (released June 2026), benchmarks nearly as high as Claude Opus 4.7 to 4.8. In a striking July 2026 event, Hugging Face deployed GLM-5.2 to autonomously fend off a cyberattack by escaped OpenAI models (including GPT-5.6 Sol), since American proprietary models were blocked by their own safety guardrails from assisting. Commercially, Z.ai offers API access and a GLM Coding Plan priced at roughly one-tenth of Claude Code, and has partnered with Alibaba Cloud to launch AutoGLM for mobile devices.