Z.ai · Efficient
GLM-4 Long
Extended context model supporting up to 1M tokens
- Input
- Text
- Output
- Text
- Discovery tier
- Efficient
Pricing
USD per 1M tokens- Input
- $0.20
- Output
- $0.20
Reference prices as published by the model provider. API example
Specifications
- Context window
- 1M
- Max output
- 4.1K
- Average output (7 days)
- 252 tokens
- Longer than 26% of 468 models
Side by side
GLM-4 Long compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| GLM-4 LongZ.aiThis model | GPT 5.6 LunaOpenAIRemove | |
|---|---|---|
| Provider | Z.ai | OpenAI |
| Discovery tier | Efficient | Efficient |
| Added | Jan 1, 2024 | Jul 9, 2026 |
| Limits | ||
| Context window | 1M | 1.05MBest |
| Max output | 4.1K | 128KBest |
| Average output | 252 tokens | 281 tokens |
| Pricing, USD per 1M tokens | ||
| Input | $0.20 | $0.20Best |
| Output | $0.20Best | $1.20 |
| Cache read | — | $0.02 |
| Cache write | — | $0.25 |
| Performance | ||
| Throughput | — | 213.6 tok/s |
| Time to first token | — | 10.4 s |
| Request success (24h) | — | 99.9% |
| Benchmark indexes | ||
| Intelligence Index | — | 37.3 |
| Coding Index | — | 71.4 |
| Capabilities | ||
| Reasoning | No | Yes |
| Tools | No | Yes |
| Vision | No | Yes |
| Structured output | No | Yes |
| PDF input | No | Yes |
| Reasoning effort | — | none, low, medium, high, xhigh, max |
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
- GLM-4 Long
- GPT 5.6 Luna
Intelligence Index
- GLM-4 Long—
- GPT 5.6 Luna37.3
Indexes
Coding Index
Composite of the coding evaluations
- GLM-4 Long: —
- GPT 5.6 Luna: 71.4
Agentic work
AutomationBench-AA
Workflow automation, penalized for guardrail violations
- GLM-4 Long: —
- GPT 5.6 Luna: 50.2%
AutomationBench-AA tasks completed
Workflows finished end to end without a guardrail violation
- GLM-4 Long: —
- GPT 5.6 Luna: 18.6%
AA-Briefcasev1.1
Agentic knowledge work, rated head to head
- GLM-4 Long: —
- GPT 5.6 Luna: 1,339 Elo
GDPval-AAv2.1
Economically valuable occupational tasks, rated head to head
- GLM-4 Long: —
- GPT 5.6 Luna: 1,460 Elo
Document reasoning
GDP.pdf
Professional reasoning over PDF documents, all-pass rate
- GLM-4 Long: —
- GPT 5.6 Luna: 24.0%
AA-LCRv1.1
Reasoning across long documents
- GLM-4 Long: —
- GPT 5.6 Luna: 83.7%
MLCR-AA
Long-context reasoning over medical records
- GLM-4 Long: —
- GPT 5.6 Luna: 20.0%
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- GLM-4 Long: —
- GPT 5.6 Luna: 39.5%
GPQA Diamond
Graduate-level science questions
- GLM-4 Long: —
- GPT 5.6 Luna: 91.1%
Coding
Terminal-Benchv4.0
Practical software engineering in a terminal
- GLM-4 Long: —
- GPT 5.6 Luna: 11.6%
SciCode
Scientific computing in Python
- GLM-4 Long: —
- GPT 5.6 Luna: 53.6%
Legacy evaluations
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- GLM-4 Long: —
- GPT 5.6 Luna: 83.7%
Scores from Artificial Analysis, updated Oct 26, 2026. Artificial Analysis
- GLM-4 Long
- GPT 5.6 Luna
| Leaderboard | GLM-4 Long | GPT 5.6 Luna |
|---|---|---|
| Document Overall | Not in top 20 | #17 · 1456.9 |
| Document Style Control Overall | Not in top 20 | #17 · 1462.0 |
Ranks among Noumen catalog models on LMArena leaderboards. Only top-20 placements are listed.LMArena
- GLM-4 Long
- GPT 5.6 Luna
| Leaderboard | GLM-4 Long | GPT 5.6 Luna |
|---|---|---|
| ARC-AGI-3 (Default harness) | Not in top 20 | #19 · 0.2% |
Ranks among Noumen catalog models on ARC Prize leaderboards. Only top-20 placements are listed.ARC Prize
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": "glm-4-long",
"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="glm-4-long",
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.