Everything about GLM-5
GLM-5 in numbers: price per token, context window, independent benchmark scores and comparable models, based on public data checked on October 22, 2026.
Data as of October 22, 2026
Key figures
| Developer | Zhipu AI (Z.ai) |
|---|---|
| Released | February 12, 2026 |
| Context window | 204,800 tokens (≈ 307 pages) |
| Maximum output | 131,072 tokens |
| Input price | $0.60 per million tokens (developer's price) |
| Output price | $2.69 per million tokens |
| Open weights | Yes |
| Reasoning mode | Yes |
| Tool calling | Yes |
| Structured output (JSON) | Not disclosed |
| Accepted inputs | text |
| Providers offering it | 44 |
| Capability index | 77.2 / 100 |
| Parameters | 753.9 billion |
| License | mit |
| Hugging Face downloads (30 days) | 977,411 |
GLM-5 at a glance
Zhipu AI (Z.ai) released GLM-5 on February 12, 2026. It has a reasoning mode: it can "think" before answering, which helps with multi-step problems but uses more tokens, and therefore more money. It is an open-weight model: you can host it yourself on infrastructure you control, and 44 API providers listed on models.dev also offer it. That makes it 8 months old as of October 22, 2026.
We file it under open-weight models (68 models in this category on the site).
Benchmark results
According to results published by Epoch AI (checked on October 22, 2026), GLM-5 has a capability index of 77.2 out of 100, computed on 4 benchmarks from our basket.
It is not among the top 30 of the weekly ranking.
- GPQA Diamond (PhD-level science questions): 87.8% — the best tracked model, Gemini 4 Argon, reaches 96.4%
- OTIS Mock AIME (competition mathematics problems): 80% — the best tracked model, GPT-5.5 Pro, reaches 100%
- SWE-bench Verified (fixing real software bugs): 72.1% — the best tracked model, Claude Opus 4.7, reaches 83.5%
- Terminal-Bench (agent tasks in a terminal): 52.4% — the best tracked model, GPT-5.5, reaches 84.7%
Technical specifications
Its context window reaches 204,800 tokens, roughly 307 pages of text at 500 words per page: enough for a long report or several contracts at once. A single answer can run to 131,072 tokens.
It accepts as input: text.
It can call tools (functions, APIs), which makes it a possible foundation for an AI agent.
The weights are published on Hugging Face (zai-org/GLM-5): 753.9 billion parameters, mit license and 977,411 downloads over the last 30 days. See also our list of open-source models.
How much does GLM-5 cost?
GLM-5 costs $0.60 per million input tokens and $2.69 per million output tokens (developer's price, checked on October 22, 2026).
In practice, an agent task that reads 20,000 tokens and writes 2,000 costs about $0.017, or $17.33 for 1,000 such tasks.
That is 2.7 times the median output price of open-weight models ($1).
Tokens read back from cache cost $0.15 per million, which helps an agent that keeps resending the same context.
To estimate your own budget, use the agent cost calculator.
When to choose it
Given its category, GLM-5 is mainly aimed at projects where you want control over your data or hosting, or want to adapt the model to your field.
Its Terminal-Bench result (52.4%, above the median of tracked models) makes it a serious candidate for coding agents.
Before adopting it, test it on your own examples: benchmarks measure standard tasks, not your job.
Alternatives
In the same category, the models closest to GLM-5 are:
- Kimi K2.5 (Moonshot AI, index 78.1) — see the comparison
- GLM-5.3 (Zhipu AI (Z.ai), index 78.8) — see the comparison
- Muse Spark Open (Meta, index 75.2) — see the comparison
- Kimi K3 (Moonshot AI, index 80.7) — see the comparison
Independent benchmark scores
| Benchmark | What it measures | Score |
|---|---|---|
| GPQA Diamond | PhD-level science questions | 87.8% |
| OTIS Mock AIME | competition mathematics problems | 80% |
| SWE-bench Verified | fixing real software bugs | 72.1% |
| Terminal-Bench | agent tasks in a terminal | 52.4% |
Similar models
- Kimi K2.5 · Moonshot AI · index 78.1 · Compare GLM-5 and Kimi K2.5
- GLM-5.3 · Zhipu AI (Z.ai) · index 78.8 · Compare GLM-5 and GLM-5.3
- Muse Spark Open · Meta · index 75.2 · Compare GLM-5 and Muse Spark Open
- Kimi K3 · Moonshot AI · index 80.7 · Compare GLM-5 and Kimi K3
Comparisons
Other Zhipu AI (Z.ai) models
- GLM-5.3-Flash · September 18, 2026
- GLM-5.2 · June 13, 2026
- GLM-5.1 · April 7, 2026
- GLM-4.7 · December 22, 2025
Frequently asked questions
How much does GLM-5 cost?
As of October 22, 2026, GLM-5 costs $0.60 per million input tokens and $2.69 per million output tokens (developer's price). A task that reads 20,000 tokens and writes 2,000 costs about $0.017.
What is the context window of GLM-5?
204,800 tokens, roughly 307 pages of text. An answer can reach 131,072 tokens.
Is GLM-5 open source?
Its weights are published under the mit license: you can install it on your own servers. Check the license before commercial use.
How good is GLM-5?
Its capability index is 77.2 out of 100 (4 benchmarks, Epoch AI data).
Can you build an agent with GLM-5?
Yes: it can call tools, the two basic building blocks of an agent.
Data sources
- Models.dev — Model data: models.dev (open-source project)
- OpenRouter — Market prices cross-checked with OpenRouter
- Epoch AI — AI Benchmarking Hub — Epoch AI, “AI Benchmarking Hub”, epoch.ai, CC BY 4.0
- Epoch AI — Data on AI Models — Epoch AI, “Data on AI Models”, epoch.ai, CC BY 4.0
- Hugging Face Hub — Data: Hugging Face Hub
Data as of October 22, 2026
Report an error
Does a figure, a date or a fact look wrong? Tell us: every report is checked.