Back to models

Z.AI

GLM-5.1

  • Released
  • Open weights
  • MIT
Intelligence Index

Reasoning setting

26.1
Measured · Artificial Analysis v4.3.2
API price from
$1.40 in / $4.40 out / 1M tokZ.AI · direct API
Context window
202.75K tok

Performance profile

ReasoningArchived source
86.8%
GPQA Diamond
CodingArchived source
44.8%
SciCode
Cost efficiencyArchived source
25.6pts / $
Intelligence ÷ eval cost

Capabilities

Context window

Modalities

Reasoning mode

Reasoning trade-offs

Source (opens in a new tab)
Intelligence Index v4.3.2
GLM-5.1
Cost per task (USD)
GLM-5.1Thinking
Intelligence Index
26.1
Cost / task
$1.02
Evaluation time
17.9m

Pricing & access

API route
Z.AIAPI
Tier & contextStandard

USD per 1M tokens

Input
$1.40
Output
$4.40
Cached input
$0.26

Run locally

GGUF
Context
Estimated memory

~476.7 GiB

RAM + VRAM

Estimate assumptions

One text chat at the selected context, with a 16-bit cache and app allowance. Operating system and image processing are extra; optimized caches can use less.

512 GiB RAMwithout GPU offload

Memory budgetOne text chat
Weights
432.6 GiB
Context cache
0.8 GiB16-bit cache
App allowance
43.3 GiB
Download
464.5 GB11 files · keep together
Disk space
~516 GB
Get GGUF (opens in a new tab)
Set up in Ollama · Q4_K_M · 8K context

Save the following as Modelfile. The context matches the estimate above.

FROM hf.co/unsloth/GLM-5.1-GGUF:Q4_K_M
PARAMETER num_ctx 8192

Then run these commands in your terminal:

ollama create llmcurrent-local -f Modelfile
ollama run llmcurrent-local

Ollama import instructions (opens in a new tab) · For LM Studio or Jan, open the app’s model search, enter unsloth/GLM-5.1-GGUF, choose Q4_K_M, and set context to 8,192 tokens in the app’s model settings. Software links above open each app’s setup guide.

Benchmarks

Full leaderboardSource (opens in a new tab)

Humanity’s Last Exam

Frontier reasoning

GLM-5.1 · ReasoningArchived

  1. 1Claude Opus 5.5Max61.4%
  2. 2Claude Fable 5.1Max59.1%
  3. 3Gemini 4 ArgonHigh57.1%
  4. 4Claude Sonnet 5.5Max55.0%
  5. 5GPT-6 AstraMax54.7%
  6. 6Muse Wonder FullMax53.6%
  7. 7GPT-6.1 SolMax52.9%
  8. 8Muse WonderMax50.1%
  9. 9MiMo-V2.6-ProReasoning49.4%
  10. 10Muse Spark 1.3Max48.7%

Peers use their best measured result on this benchmark.