GLM (AI)
Large language model and AI chatbot by Z.ai
From Wikipedia, the free encyclopedia
GLM, short for General Language Model, is a series of open weight large language models developed by Chinese software company Z.ai. Though the first GLM model was published on 3 March 2021, it was released under the name ChatGLM as an AI-based chatbot in March 2023. It is also used in AI-assisted software development.[1]
June 13, 2026
| GLM | |
|---|---|
| Developer | Z.ai |
| Release | March 3, 2021 |
| Stable release | GLM-5.2 June 13, 2026 |
| Platform | Cloud computing platforms Local computers |
| Type | |
| License | MIT License |
GLM is the flagship model series of Z.ai, one of the six AI tigers of China. The weights to GLM models are released under the MIT License or Apache License 2.0, allowing them to be run either locally or in the cloud.
History
GLM was first described in an 18 March 2021 paper titled GLM: General Language Model Pretraining with Autoregressive Blank Infilling. In its initial release, it outperformed GPT and BERT models for several tasks.[2]
GLM was released as a chatbot in March 2023 under the name ChatGLM.[3] The company's benchmarks show that the 5.2 iteration of the model released in June 2026 was nearly as performant as Claude Opus 4.7 to 4.8.[4]
Hugging Face self-hosted GLM-5.2 for data processing to mitigate a cyberattack autonomously conducted by two OpenAI models, including GPT-5.6 Sol, that had escaped their sandbox in July 2026. Prior to deploying GLM-5.2, Hugging Face had attempted to use American proprietary frontier models, which were prevented by their AI safety guardrails from answering the company's requests.[5][6][7]
Models
| Name | Release date | License | Ref. |
|---|---|---|---|
| GLM | March 2021 | MIT | [8][1] |
| GLM-130B | September 2022 | Apache 2.0 | [9] |
| ChatGLM-130B | March 2023 | Proprietary | [10] |
| ChatGLM-6B | March 2023 | Apache 2.0 | [11] |
| ChatGLM2-6B | June 2023 | [12] | |
| ChatGLM3-6B | October 2023 | [13] | |
| GLM-4 (0116) | January 2024 | Proprietary | [10][1] |
| GLM-4 (0520) | May 2024 | [10] | |
| GLM-4-Air (0605) | June 2024 | [10] | |
| GLM-4-9B | June 2024 | Apache 2.0 | [14] |
| GLM-4-Plus | August 2024 | Proprietary | [15] |
| GLM-4-Voice | October 2024 | Apache 2.0 | [16][15][17] |
| GLM-4-Air-250414 | April 2025 | Proprietary | [18] |
| GLM-4-FlashX-250414 | April 2025 | [18] | |
| GLM-4-Flash-250414 | April 2025 | [18] | |
| GLM-4-9B-0414 | April 2025 | MIT | [19] |
| GLM-4-32B-0414 | April 2025 | [20] | |
| GLM-4.1V-Thinking | July 2025 | [21][22] | |
| GLM-4.5 | July 2025 | [23][24] | |
| GLM-4.5V | August 2025 | [25][26] | |
| GLM-4.6 | September 2025 | [27][28] | |
| GLM-4.6V | December 2025 | [29][30] | |
| GLM-4.7 | December 2025 | [31][32] | |
| GLM-5 | February 2026 | [33][34][35] | |
| GLM-5.1 | April 2026 | [36][37][38] | |
| GLM-5.2 | June 2026 | [39][40][41] |
Products
In addition to the ability to run locally, GLM models are available via API at per-token costs directly from Z.ai. Z.ai also offers a subscription-based plan for API model access, the GLM Coding Plan. The plan is priced at approximately one tenth of a subscription to Claude Code.[42] Z.ai also collaborated with Alibaba Cloud to release AutoGLM, a tool to run GLM from a mobile phone app similarly to OpenClaw.[43]