Models/Z.ai/GLM 5.1

GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

01

Identity

204,800Context in
128,000Context out
2026-04-07 (OpenRouter created 1775578025)Released
OpenWeights
Canonical name
GLM 5.1
Aliases
z-ai/glm-5.1, zai-org/GLM-5.1
Continuum hosted id
Not listed as a Continuum hosted id
OpenRouter slug
z-ai/glm-5.1
Hugging Face
zai-org/GLM-5.1
Modalities
text
Open weights Not on Continuum host list Open

Context window on the 2026-08-19 OpenRouter row: 204,800 tokens.

Max completion tokens on that row: 128,000.

Input / output on that row: $0.97 / $3.04 per 1M tokens.

Architecture fields: text->text · Other.

Hugging Face id on that row: zai-org/GLM-5.1.

02

Should I use this for coding agents

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks.

When you want the 2026-04-07 catalog SKU, not a later rename.

DeepSWE

No official DeepSWE mini-swe-agent row for this identity on the public board we fetched.

omitted, not invented as of 2026-08-13 source
Artificial Analysispublished integer
41
bench
Artificial Analysis
version
Intelligence Index
harness
published integer
metric
Intelligence Index
value
41
independent as of 2026-08-19 source
Vals Index

We did not open a vals.ai card for this identity. Chip omitted.

omitted, not invented as of 2026-08-19 source

Ranked view: Best coding models: the independent leaderboard puts this row and every other card that carries an independent coding score on one board, with the confidence intervals left visible.

Named benches, printed only

Copied from AA or vals HTML we opened. 0.0% placeholder bars are omitted. Do not average these into the hero tiles, and do not invent CI, $/task, or steps for Artificial Analysis.

BenchPrintedNoteSourceURLAs of
GDPval-AA v2 37.9% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
τ³-Banking 13.6% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
Terminal-Bench v2.1 61.8% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
SciCode 43.8% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
Humanity's Last Exam 30.1% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
GPQA Diamond 86.8% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
CritPt 4.6% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
AA-Omniscience Accuracy 23.7% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
AA-LCR 68% Printed on the AA Intelligence Evaluations grid for GLM-5.1 (Reasoning). Not a DeepSWE chip. Artificial Analysis GLM-5.1 source 2026-08-19
03

When not to use it

Trust this before you buy

  • When you need a Continuum-hosted SKU from this lab, use the hosted card on this hub instead of this catalog row.
  • $0.97 in / $3.04 out per 1M on the 2026-08-19 OpenRouter row. Context 204,800 in / 128,000 out.
  • Need a denser published sibling on this hub? GLM 5.3 is the card already on the cluster.

Plus is $25/mo with $25 weekly hosted usage. The Mac app stays free with your own keys. Get Plus is not Download for Mac.

04

Artifact and Hugging Face downloads

Artifact

SPDX / license
mit
Total params
HF safetensors.total: 753,864,139,008 stored tensors
Native precision
HF tensors BF16 + F32
Repo size
HF API usedStorage 1,507,756,036,618 bytes
HF created
2026-04-03T09:28:47.000Z
Official HF repo
zai-org/GLM-5.1
HF downloads
78,163
HF likes
1,841

Official weights id on the 2026-08-19 OpenRouter row: zai-org/GLM-5.1. Community GGUF is a quant, not a second Continuum card.

Official weights

This is the model repo, not Download for Mac. Downloads and likes from the Hugging Face API on 2026-08-19.

Hub file tree

Safetensor shards
282
Shard bytes
1,507,735,819,176 bytes
Other file bytes
25,673,628 bytes
Tree file count
300
Hub usedStorage
1,507,756,036,618 bytes

usedStorage and the sum of .safetensors sizes can differ (LFS pointers, non-shard files, duplicate copies). Cited separately. Source: recursive tree API, 2026-08-19.

PathBytes
model-00001-of-00282.safetensors5,342,821,416
model-00002-of-00282.safetensors5,351,970,840
model-00003-of-00282.safetensors5,360,347,320
model-00004-of-00282.safetensors5,360,347,208
model-00005-of-00282.safetensors5,359,985,352
model-00006-of-00282.safetensors5,360,347,320
model-00007-of-00282.safetensors5,360,347,320
model-00008-of-00282.safetensors5,360,347,144
model-00009-of-00282.safetensors5,359,985,416
model-00010-of-00282.safetensors5,360,347,312
model-00011-of-00282.safetensors5,360,347,288
model-00012-of-00282.safetensors5,363,494,088
model-00013-of-00282.safetensors5,356,838,488
model-00014-of-00282.safetensors5,360,347,312
model-00015-of-00282.safetensors5,360,347,224
model-00016-of-00282.safetensors5,359,985,336
model-00017-of-00282.safetensors5,360,347,320
model-00018-of-00282.safetensors5,360,347,312
model-00019-of-00282.safetensors5,360,347,160
model-00020-of-00282.safetensors5,359,985,400
model-00021-of-00282.safetensors5,360,347,320
model-00022-of-00282.safetensors5,360,347,296
model-00023-of-00282.safetensors5,360,347,112
model-00024-of-00282.safetensors5,359,985,464
model-00025-of-00282.safetensors5,360,347,320
model-00026-of-00282.safetensors5,360,347,232
model-00027-of-00282.safetensors5,359,985,328
model-00028-of-00282.safetensors5,360,347,320
model-00029-of-00282.safetensors5,360,347,320
model-00030-of-00282.safetensors5,360,347,168
model-00031-of-00282.safetensors5,359,985,392
model-00032-of-00282.safetensors5,360,347,320
model-00033-of-00282.safetensors5,360,347,312
model-00034-of-00282.safetensors5,360,347,104
model-00035-of-00282.safetensors5,359,985,456
model-00036-of-00282.safetensors5,360,347,320
model-00037-of-00282.safetensors5,360,347,248
model-00038-of-00282.safetensors5,364,851,048
model-00039-of-00282.safetensors5,351,970,832
model-00040-of-00282.safetensors5,360,347,320
model-00041-of-00282.safetensors5,360,347,216
model-00042-of-00282.safetensors5,359,985,344
model-00043-of-00282.safetensors5,360,347,320
model-00044-of-00282.safetensors5,360,347,320
model-00045-of-00282.safetensors5,360,347,144
model-00046-of-00282.safetensors5,359,985,416
model-00047-of-00282.safetensors5,360,347,312
model-00048-of-00282.safetensors5,360,347,288
model-00049-of-00282.safetensors5,363,494,080
model-00050-of-00282.safetensors5,356,838,496
model-00051-of-00282.safetensors5,360,347,312
model-00052-of-00282.safetensors5,360,347,224
model-00053-of-00282.safetensors5,359,985,336
model-00054-of-00282.safetensors5,360,347,320
model-00055-of-00282.safetensors5,360,347,312
model-00056-of-00282.safetensors5,360,347,160
model-00057-of-00282.safetensors5,359,985,400
model-00058-of-00282.safetensors5,360,347,320
model-00059-of-00282.safetensors5,360,347,296
model-00060-of-00282.safetensors5,360,347,112
model-00061-of-00282.safetensors5,359,985,464
model-00062-of-00282.safetensors5,360,347,320
model-00063-of-00282.safetensors5,360,347,232
model-00064-of-00282.safetensors5,359,985,328
tokenizer.json20,217,442
model.safetensors.index.json5,433,823
README.md10,751
chat_template.jinja4,672
.gitattributes1,570
config.json1,379
LICENSE1,065
tokenizer_config.json760
.eval_results/claw-eval.yaml464
.eval_results/terminal_bench_2_claudecode.yaml239
.eval_results/terminal_bench_2.yaml196
.eval_results/MathArena--hmmt_feb_2026.yaml194
generation_config.json193
.eval_results/MathArena--aime_2026.yaml186
.eval_results/swe_bench_pro.yaml184
.eval_results/hle_with_tools.yaml181
.eval_results/gpqa.yaml170
.eval_results/hle.yaml159

Showing the first 64 of 282 safetensor shards, plus 18 other files. The snapshot was capped at 64 shards when the tree API was read on 2026-08-19, so the remaining 218 are on the Files tab, not on this page. Totals above are the full tree API sum, not this slice. Byte sizes are Hub tree API size fields, never invented.

05

Continuum serving

OpenRouter slug z-ai/glm-5.1 on the 2026-08-19 catalog.

First party: https://docs.z.ai/.

Not on the Continuum host list fetched 2026-08-19.

Continuum hosted id not on the host list

We list first-party and OpenRouter, plus Continuum only when the live public allowlist named the id. This is not a 15-host routing table.

06

Economics

OpenRouter 2026-08-19: $0.97 in / $3.04 out per 1M tokens. Context 204,800 in / 128,000 out.

No separate internal-reasoning price on that row.

Price this model Opens the pricing calculator preloaded with GLM 5.1.
07

Provenance

ClaimSourceAs of
OpenRouter id z-ai/glm-5.1; context 204800; created 1775578025; $0.97 / $3.04 per 1MOpenRouter /api/v1/models2026-08-19
AA Intelligence Index 41; 9 printed Index benchesArtificial Analysis model page2026-08-19
OpenRouter id z-ai/glm-5.1, context 204,800OpenRouter /api/v1/models2026-08-19
HF downloads 78,163Hugging Face API zai-org/GLM-5.12026-08-19
HF safetensors.total: 753,864,139,008 stored tensors; HF API usedStorage 1,507,756,036,618 bytes; created 2026-04-03T09:28:47.000Z; HF tensors BF16 + F32Hugging Face API zai-org/GLM-5.12026-08-19
282 safetensor shards; shard bytes 1,507,735,819,176; tree files 300Hugging Face tree API zai-org/GLM-5.12026-08-19
08

Compare, FAQ, and Get Plus

No other card in this cluster shares a published DeepSWE official row we can put next to this one. We will not compare on vendor-blog numbers.

Continue through Z.ai's model family with GLM 5V Turbo.

FAQ

Why does the lab blog disagree with DeepSWE or Scale?

Lab posts pick a harness, an effort, a split, and sometimes a private eval set. DeepSWE publishes the official mini-swe-agent row with cost, tokens, and steps. Scale SWE-bench Pro only counts when the public shared-harness board has a row we can fetch. A higher lab number is usually a different test, not a better one.

OpenAI-compatible call

No Continuum hosted id is verified for this model, so this page does not invent a curl target. Use the first-party API or the OpenRouter slug z-ai/glm-5.1.

Plus is $25/mo with $25 weekly hosted usage. The Mac app stays free with your own keys. Get Plus is not Download for Mac.