Z.ai · Open weights
GLM 5
GLM-5 is a capable open-weight model from Zhipu with advanced reasoning and instruction following.
- Reasoning
- Tools
- Structured output
- Input
- Text
- Output
- Text
- Discovery tier
- Open weights
Pricing
USD per 1M tokens- Input
- $0.60
- Output
- $1.90
- Cache read
- $0.10
Reference prices as published by the model provider. API example
Specifications
- Context window
- 200K
- Max output
- 128K
- Average output (7 days)
- 279 tokens
- Longer than 28% of 468 models
Side by side
GLM 5 compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| GLM 5Z.aiThis model | GLM 5.3 TEEZ.aiRemove | |
|---|---|---|
| Provider | Z.ai | Z.ai |
| Discovery tier | Open weights | Open weights |
| Added | Feb 11, 2026 | Aug 31, 2026 |
| Limits | ||
| Context window | 200K | 1.05MBest |
| Max output | 128K | 131.07KBest |
| Average output | 279 tokens | 1.2K tokens |
| Pricing, USD per 1M tokens | ||
| Input | $0.60Best | $1.40 |
| Output | $1.90Best | $4.40 |
| Cache read | $0.10Best | $0.26 |
| Performance | ||
| Throughput | 78.3 tok/sBest | 48.0 tok/s |
| Time to first token | 3.4 sBest | 4.6 s |
| Request success (24h) | 99.9%Best | 99.7% |
| Benchmark indexes | ||
| Intelligence Index | 27.9 | 44.8Best |
| Coding Index | — | 74.8 |
| Capabilities | ||
| Reasoning | Yes | Yes |
| Tools | Yes | Yes |
| Structured output | Yes | Yes |
| Parallel tools | No | Yes |
| Reasoning effort | — | low, high, max |
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
- GLM 5
- GLM 5.3 TEE
Intelligence Index
- GLM 527.9
- GLM 5.3 TEE44.8
GLM 5: Better than 69% of 326 scored models
Indexes
Coding Index
Composite of the coding evaluations
- GLM 5: —
- GLM 5.3 TEE: 74.8
Agentic work
AutomationBench-AA
Workflow automation, penalized for guardrail violations
- GLM 5: —
- GLM 5.3 TEE: 62.2%
AutomationBench-AA tasks completed
Workflows finished end to end without a guardrail violation
- GLM 5: —
- GLM 5.3 TEE: 29.4%
Harvey LAB-AAv1.1
Legal tasks passed in full, with no material hallucination
- GLM 5: —
- GLM 5.3 TEE: 0.3%
AA-Briefcasev1.1
Agentic knowledge work, rated head to head
- GLM 5: —
- GLM 5.3 TEE: 1,505 Elo
GDPval-AAv2.1
Economically valuable occupational tasks, rated head to head
- GLM 5: —
- GLM 5.3 TEE: 1,649 Elo
Document reasoning
GDP.pdf
Professional reasoning over PDF documents, all-pass rate
- GLM 5: —
- GLM 5.3 TEE: 11.2%
AA-LCRv1.1
Reasoning across long documents
- GLM 5: 75.7%
- GLM 5.3 TEE: 79.7%Top
MLCR-AA
Long-context reasoning over medical records
- GLM 5: —
- GLM 5.3 TEE: 17.2%
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- GLM 5: 29.3%
- GLM 5.3 TEE: 42.3%Top
GPQA Diamond
Graduate-level science questions
- GLM 5: 82.0%
- GLM 5.3 TEE: 91.7%Top
IFBench
Following precise output instructions
- GLM 5: 72.3%
- GLM 5.3 TEE: —
Coding
Terminal-Benchv4.0
Practical software engineering in a terminal
- GLM 5: —
- GLM 5.3 TEE: 41.9%
SciCode
Scientific computing in Python
- GLM 5: —
- GLM 5.3 TEE: 59.0%
Legacy evaluations
Terminal-Bench Hard
Earlier terminal task suite
- GLM 5: 43.2%
- GLM 5.3 TEE: —
τ²-Bench Telecom
Tool use in a customer-support simulation
- GLM 5: 98.2%
- GLM 5.3 TEE: —
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- GLM 5: 75.7%
- GLM 5.3 TEE: 79.7%Top
Scores from Artificial Analysis, updated Oct 26, 2026. Artificial Analysis
Live routing data
Performance and reliability
Recent averages across requests routed for this model. Your own speed depends on prompt length, reasoning effort and load.
- Throughput
- 78.3 tok/s
- Faster than 52% of 253 models
- Time to first token
- 3.4 s
- Quicker than 51% of 253 models
- Prompt cache hits
- 65.5%
- About $0.27 per 1M input tokens with caching
- Request success (24h)
- 99.9%
- Reliable
Cache hits are the share of input tokens recently served from a prompt cache across all requests. They are not a forecast of your own hit rate.
- Healthy (98% or more)
- Degraded (90–98%)
- Down (under 90%)
- No requests
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="z-ai/glm-5",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)Z.ai
Related models
Other Z.ai models, starting with the same family.