GLM-5.1
GLMFeaturedMITtext

GLM-5.1

Updated Nov 7, 2026
Parameters
744B
Context
2,097,152
License
MIT
Q4 GGUF
464.5 GB
Updated
Nov 7, 2026

Q4 GGUF download: unsloth/GLM-5.1-GGUF - 464.5 GB on disk, read 2026-10-31. VRAM figures above are estimates; this is the actual file size.

Hosted API cost & speed

What it costs to rent this model instead of running it locally

MetricValue
Input (per 1M tokens)$1.19
Output (per 1M tokens)$3.74
Median speed (hosted API)77 tok/s

Median across hosted providers, measured by Artificial Analysis - updated 2026-11-07. Local llama.cpp speed depends on your hardware — see the hardware pages for estimates.

Arena rating (LMArena)

Human preference wins from head-to-head chat battles

MetricValue
Overall arena rating1462.8
Rank (overall)#40
Battle votes66,771

Overall rating published by LMArena on 2026-10-28 - a pairwise human-preference Elo across live chat battles; higher is better. Fetched 2026-11-07. Open-weights models compete head-to-head with proprietary ones here — no benchmark prompts, just what people pick.

Standard benchmarks

Performance across standard evaluations

BenchmarkScore
MMLU86
GSM8K95.3
GPQA Diamond86.8

Source: Artificial Analysis component evals - updated 2026-11-07. Other scores are carried over from the site's initial dataset - no source on record, not re-verified.

Will it run on your hardware?

Pick your GPU memory - see which quantizations fit, and the cheapest card for the rest

Too big for 24 GB at any quant
0 of 1 quantizations fit GLM-5.1 with real runtime overhead.
FP16
1488 GB
fits tight too big

Need an exact figure for your context length? Use the VRAM calculator.

Run it locally

Copy-paste - running in under a minute

vLLMOpenAI-compatible API
vllm serve zai-org/GLM-5.1

New to this? Start with Ollama · serve to many users with vLLM.

Deep dive

Notes, sources, and the full write-up

GLM-5.1Link to this section

GLM-5.1 is Z.ai's 744-billion parameter hybrid MoE flagship for agentic engineering. It ships under the cleanest MIT license of any frontier-weight model, achieves state-of-the-art on SWE-Bench Pro (58.4%), and is built to sustain productivity over hundreds of tool-calling rounds - the longer it runs, the better the result.

What makes GLM-5.1 specialLink to this section

  1. Cleanest MIT license in the frontier tier - no modifications, no extra conditions. True open.
  2. SWE-Bench Pro 58.4% - leads the leaderboard among open models
  3. Long-horizon agentic design - stays effective over hundreds of rounds and thousands of tool calls
  4. MCP integration built-in - native Model Context Protocol support
  5. 200K context - extended sessions with full project awareness
  6. GlmMoeDSA architecture - hybrid Gated DeltaNet linear attention + sparse MoE
  7. 15.9k HF likes - one of the most popular models on HuggingFace

BenchmarksLink to this section

BenchmarkGLM-5.1GLM-5Qwen3.6-PlusMiniMax M2.7DeepSeek V4 Pro-Max
SWE-Bench Pro58.455.156.656.2-
AIME 202695.395.495.189.8-
GPQA-Diamond86.286.090.487.090.1
HLE (w/ Tools)52.350.450.6--
Terminal-Bench 2.063.556.261.6--
NL2Repo42.735.937.939.8-
MCP-Atlas71.869.274.148.8-

Source: Z.ai GLM-5.1 model card and technical report. Verified against independent benchmarks where available.

VRAM requirementsLink to this section

PrecisionVRAMRecommended Hardware
FP8~410 GBNVIDIA L40S (x8), NVIDIA A6000 (x6)
Q4 (GGUF)~165 GBNVIDIA A6000 (x3)

GLM-5.1 requires enterprise GPU infrastructure. The 40B active parameters keep inference costs manageable relative to its 744B total size.

How to runLink to this section

# Via vLLM (0.19.0+)
vllm serve zai-org/GLM-5.1 --port 8010 --tensor-parallel-size 8

Community quotesLink to this section

How it comparesLink to this section

GLM-5.1 fills a specific niche: it is the best model for teams that need a permissively licensed, long-horizon agentic workhorse. It beats DeepSeek V4 Pro on SWE-Bench Pro and Terminal-Bench, trails on pure knowledge tasks, and offers the cleanest license terms of any model in its class.

Compared to Kimi K2.6: GLM-5.1 lacks vision but has a truly clean MIT license (vs Modified MIT) and MCP built-in. On agentic benchmarks, it competes head-to-head while having the advantage of simpler licensing.

Use it withLink to this section

vLLM, KTransformers, Open WebUI

When to use something elseLink to this section

If you need vision capabilities, Kimi K2.6 or Qwen3.6 27B are better choices. If coding benchmarks alone drive your decision, DeepSeek V4 Pro edges ahead on Codeforces. For teams without multi-GPU servers, none of these models run locally - consider Gemma 4 31B instead.

From the community

What users are saying

“![blue sky air image](https://cdn-uploads.huggingface.co/production/uploads/65b7c980cdaebfe1349b1aa5/fayNTVn0t2U9Q-b5Rrsuk.jpeg)”

“@AImhotep > My MTP line: Thanks for the tip! I started using ngram-map-k4v recently and it does seem to speed up TG on some models like new MiniMax-M2.7 and GLM-5.1. That seems like a very good acceptance ratek, I'll try you numbers! > I wonder how KLD looks like in vanila llama.cpp in comparison.”

“我在进行豆包专家模式与智普5.1进行技术碰撞时,出现了如下情况:GLM5.1认为自己是chatgpt ![image](https://cdn-uploads.huggingface.co/production/uploads/696d9e5bf0558a561d54393a/kT2TV3M6xtGPCQwE6LK9u.png)”

Frequently asked

Quick answers to common questions

How much VRAM does GLM-5.1 need?

GLM-5.1 with 744B parameters needs approximately 1488 GB at Q4_K_M quantization. Use our VRAM calculator for an exact estimate.

Is GLM-5.1 better than other GLM models?

GLM-5.1 scores 86 on MMLU. It has 744B parameters with 2,097,152 context - a strong choice for agentic-engineering, long-horizon-tasks, swe-bench.

What license is GLM-5.1 under?

GLM-5.1 is released under the MIT license, making it suitable for most commercial and personal projects.

What hardware runs GLM-5.1 well?

With 744B parameters, GLM-5.1 requires adequate VRAM. High-end GPUs like the RTX 4090 (24GB), RTX 5090 (32GB), or Mac Studio with unified memory are good options. Check our hardware directory for specific recommendations.

What is the best quantization for GLM-5.1?

Q4_K_M is the recommended sweet spot - ~98% of FP16 quality at ~27% of the size. Step up to Q5_K_M or Q8_0 only if you have spare VRAM. Use our VRAM calculator to compare.

How long can GLM-5.1's context window handle?

GLM-5.1 supports a 2,097,152-token context window - enough for very long documents, codebases, or multi-turn conversations. Real-world usable context may vary by implementation.

What models compete with GLM-5.1?

GLM-5.1 competes with other 372B–1116B. Browse our model directory for comparisons, benchmarks, and community reviews to find the best fit.

Compare & pair with

Similar models and recommended hardware

Nearby options

Similar models and compatible hardware by spec