GLM-4
by Zhipu AI (Z.ai) · Jan 17, 2024
GLM-4 is a proprietary code model from Zhipu AI (Z.ai), released Jan 17, 2024. It has accepts text, image input.
- Provider
- Zhipu AI (Z.ai)
- Released
- Jan 17, 2024
- Type
- Code model
- Parameters
- Undisclosed
- Context window
- —
- Max output
- —
- Input
- text, image
- Output
- text
- Weights
- Closed
- License
- Proprietary
- Knowledge cutoff
- —
- Status
- Historical
- Training data
- 10000B tokens/words
About GLM-4
We introduce ChatGLM, an evolving family of large language models that we have been developing over time. This report primarily focuses on the GLM-4 language series, which includes GLM-4, GLM-4-Air, and GLM-4-9B. They represent our most capable models that are trained with all the insights and lessons gained from the preceding three generations of ChatGLM. To date, the GLM-4 models are pre-trained on ten trillions of tokens mostly in Chinese and English, along with a small set of corpus from 24 languages, and aligned primarily for Chinese and English usage.
GLM-4 vs alternatives
- GLM-4 vs Gemini 2.0 Pro
- GLM-4 vs Nemotron-4 15B
- GLM-4 vs Gemini 2.0 Flash Thinking
- GLM-4 vs Qwen2.5-Turbo
- GLM-4 vs Multi-Token Prediction 13B
- GLM-4 vs voyage-code-3
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Gemini 2.0 Pro | Google DeepMind | Dec 2024 | — | — | — | — | 135.4 |
| Nemotron-4 15B | NVIDIA | Feb 2024 | 15B | — | — | — | 99.1 |
| Gemini 2.0 Flash Thinking | Google DeepMind | Dec 2024 | — | — | — | — | — |
| Qwen2.5-Turbo | Alibaba (Qwen) | Nov 2024 | — | — | — | — | — |
| Multi-Token Prediction 13B | Meta | Apr 2024 | 13B | — | — | — | — |
| voyage-code-3 | Voyage AI | Dec 2024 | — | — | — | — | — |
| aiXcoder-7B Base | Peking University | Oct 2024 | 7B | — | — | — | — |
| NVLM-H 72B | NVIDIA | Oct 2024 | 72B | — | — | — | — |
More models from Zhipu AI (Z.ai)
All Zhipu AI (Z.ai) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| GLM-5.3-Flashopen | Aug 2026 | 321B | 1M | $0.12 | $0.418 |
| GLM-5.3open | Aug 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.2open | Jun 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.1open | Apr 2026 | 754B | 200K | $0.896 | $3.59 |
| GLM-5open | Feb 2026 | 754B | 200K | $0.598 | $2.69 |
| GLM-4.7open | Dec 2025 | 358B | 200K | $0.448 | $2.09 |
| GLM-4.7-Flashopen | Jan 2026 | 31B | 200K | Free | Free |
| GLM-4.5-Airopen | Jul 2025 | 110B | 128K | $0.12 | $0.896 |
Frequently asked questions
Who made GLM-4?
GLM-4 was developed by Zhipu AI (Z.ai) (China). It was released on Jan 17, 2024.
Is GLM-4 open source?
No. GLM-4 is a proprietary model available only through its provider's API and apps.
Sources: epoch · paper. Last updated 2026-11-22.