NOUMENOpen app

Z.ai · Efficient

GLM-4 Long

Added Jan 1, 2024

Compare models

Choose up to 3 models to compare.1 of 3 chosen

Loading models…

Use in the app

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.

Compare models

Choose up to 3 models to compare.1 of 3 chosen

Loading models…

GLM-4 LongZ.aiThis modelGPT 5.6 LunaOpenAIRemove
ProviderZ.aiOpenAI
Discovery tierEfficientEfficient
AddedJan 1, 2024Jul 9, 2026
Limits
Context window1M1.05MBest
Max output4.1K128KBest
Average output252 tokens281 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
ReasoningNoYes
ToolsNoYes
VisionNoYes
Structured outputNoYes
PDF inputNoYes
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
3.8Catalog models by score55.1

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

Developers

Use it through the API

Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.

Read the quickstart
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

Other Z.ai models, starting with the same family.