GLM4
GLM-4 is the fourth-generation base model Zhipu AI announced on January 16, 2024 for its API and the ChatGLM app. Zhipu reported performance approaching GPT-4 across many benchmarks, with a 128K-token context and agent features such as web browsing and code execution. It has since been retired.
At a glance
- Context window
- 128K tokens
- Max output
- —
- Historical text input / output · per 1M tokens
- — / —
- Knowledge cutoff
- —
A place to remember
Retired, not forgotten.
- Released
- 16 Jan 2024
- Endpoint retired
- 30 Dec 2025
- Time in service
- 714 days
Superseded · Successor: GLM-4-9B
“Zhipu’s 2024 flagship. Superseded, and then superseded again.”
3 leaderboards · 0 top-three finishes · Best rank #19. The full model record remains below.
Benchmark snapshot
Best result in each categories
AcademicGSM8K
87.6Historical report (mode unspecified) · #19 of 67
CodingHumanEval
72.0Historical report (mode unspecified) · #48 of 100
Benchmark details
3 results · Best published score per benchmark, grouped by category
| Benchmark · setting | Score | Rank |
|---|---|---|
| Academic | ||
| GSM8K Historical report (mode unspecified) · Mathematics | 87.6 | 19 / 67 |
| MMLU Historical report (mode unspecified) · Knowledge Exams | 81.5 | 43 / 114 |
| Coding | ||
| HumanEval Historical report (mode unspecified) · Code Generation & Editing | 72.0 | 48 / 100 |
Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.
Back to benchmark snapshot ↑Specifications
- Provider
- Zhipu AI
- Model type
- Foundation model
- Released
- January 16, 2024
- Endpoint retired
- 2025-12-30
- Architecture
- Undisclosed
- Context window
- 128K tokens
- Input
- Text
- Output
- Text
- Weights
- Closed / API only
- Commercial use
- Proprietary
Capabilities
GLM4 vs competitors
Comparable results only · record is GLM4's wins–losses
| Benchmark | GLM4This model | vs Gemma 3 - 27B (IT)Record 1–2 | vs Phi-4-mini-instruct (3.8B)Record 1–2 | vs Moonlight-16B-A3B-InstructRecord 3–0 | vs Qwen2.5-MaxRecord 0–3 |
|---|---|---|---|---|---|
| MMLU | 81.5 | 78.6 | 67.3 | 70.0 | 87.9 |
| HumanEval | 72.0 | 87.8 | 74.4 | 48.1 | 73.2 |
| GSM8K | 87.6 | 95.9 | 88.6 | 77.4 | 94.5 |
Primary sources
- GLM4 announcementdatalearner.com
On the stone
Memories and epitaphs, kept separately from model reviews.
Epitaphs from visitors
Nobody has written on this stone yet. The first line is yours.
Community discussion
Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.
Sign in with Google to rate this model and leave a comment.
No community comments yet.
