Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

GLM-5

by Z.ai zai-org/GLM-5

GLM-5 is an open-weight model for text generation from Z.ai, released under MIT License. It has 753.9B parameters and a 202,752-token context. At 16-bit it needs about 1809.3 GB of GPU memory, which fits on 8x MI325X from $16.00 an hour; at 4-bit, 452.3 GB on 2x MI325X from $4.00, at the lowest prices in the SAVRN Index. It draws 1.2M downloads a month.

Join our WeChat or Discord community. Check out the GLM-5 technical blog. Use GLM-5 API services on Z.ai API Platform. One click to GLM-5. [ Paper ] [ GitHub ] We are launching GLM-5, targeting complex systems engineering and long-horizon agentic tasks.

Parameters753.9B
Context202,752
Weights1.5 TB
Licensemit
AccessOpen weights
Monthly Downloads1.2M

Runs On

What it takes to serve GLM-5 (753.9B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 1507.7 GB 1809.3 GB 8x MI325X (256 GB)
Vultr
$16.00 7x MI355X $18.13 · 7x B300 $46.20
8-bit 753.9 GB 904.6 GB 4x MI325X (256 GB)
Vultr
$8.00 5x MI300X $9.25 · 4x MI355X $10.36
4-bit 376.9 GB 452.3 GB 2x MI325X (256 GB)
Vultr
$4.00 2x MI355X $5.18 · 3x MI300X $5.55

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 27, 2026.

GLM-5 on every accelerator the SAVRN Index prices, at every precision

Model Card

By Z.ai, published under mit, revision c183ef8c61fa.

Join our WeChat or Discord community. Check out the GLM-5 technical blog. Use GLM-5 API services on Z.ai API Platform. One click to GLM-5. [ Paper ] [ GitHub ] We are launching GLM-5, targeting complex systems engineering and long-horizon agentic tasks. Scaling is still one of the most important ways to improve the intelligence efficiency of Artificial General Intelligence (AGI). Compared to GLM-4.5, GLM-5 scales from 355B parameters (32B active) to 744B parameters (40B active), and increases pre-training data from 23T to 28.5T tokens. GLM-5 also integrates DeepSeek Sparse Attention (DSA), largely reducing deployment cost while preserving long-context capacity. Reinforcement learning aims…

Read Z.ai's full model card

Join ourWeChat or Discord community.
Check out the GLM-5technical blog.
Use GLM-5 API services onZ.ai API Platform.
One click toGLM-5.

[Paper] [GitHub]

Introduction

We are launching GLM-5, targeting complex systems engineering and long-horizon agentic tasks. Scaling is still one of the most important ways to improve the intelligence efficiency of Artificial General Intelligence (AGI). Compared to GLM-4.5, GLM-5 scales from 355B parameters (32B active) to 744B parameters (40B active), and increases pre-training data from 23T to 28.5T tokens. GLM-5 also integrates DeepSeek Sparse Attention (DSA), largely reducing deployment cost while preserving long-context capacity.

Reinforcement learning aims to bridge the gap between competence and excellence in pre-trained models. However, deploying it at scale for LLMs is a challenge due to the RL training inefficiency. To this end, we developed slime, a novel asynchronous RL infrastructure that substantially improves training throughput and efficiency, enabling more fine-grained post-training iterations. With advances in both pre-training and post-training, GLM-5 delivers significant improvement compared to GLM-4.7 across a wide range of academic benchmarks and achieves best-in-class performance among all open-source models in the world on reasoning, coding, and agentic tasks, closing the gap with frontier models.

Benchmark

GLM-5 GLM-4.7 DeepSeek-V3.2 Kimi K2.5 Claude Opus 4.5 Gemini 3 Pro GPT-5.2 (xhigh)
HLE 30.5 24.8 25.1 31.5 28.4 37.2 35.4
HLE (w/ Tools) 50.4 42.8 40.8 51.8 43.4* 45.8* 45.5*
AIME 2026 I 92.7 92.9 92.7 92.5 93.3 90.6 -
HMMT Nov. 2025 96.9 93.5 90.2 91.1 91.7 93.0 97.1
IMOAnswerBench 82.5 82.0 78.3 81.8 78.5 83.3 86.3
GPQA-Diamond 86.0 85.7 82.4 87.6 87.0 91.9 92.4
SWE-bench Verified 77.8 73.8 73.1 76.8 80.9 76.2 80.0
SWE-bench Multilingual 73.3 66.7 70.2 73.0 77.5 65.0 72.0
Terminal-Bench 2.0 (Terminus 2) 56.2 / 60.7 † 41.0 39.3 50.8 59.3 54.2 54.0
Terminal-Bench 2.0 (Claude Code) 56.2 / 61.1 † 32.8 46.4 - 57.9 - -
CyberGym 43.2 23.5 17.3 41.3 50.6 39.9 -
BrowseComp 62.0 52.0 51.4 60.6 37.0 37.8 -
BrowseComp (w/ Context Manage) 75.9 67.5 67.6 74.9 67.8 59.2 65.8
BrowseComp-Zh 72.7 66.6 65.0 62.3 62.4 66.8 76.1
τ²-Bench 89.7 87.4 85.3 80.2 91.6 90.7 85.5
MCP-Atlas (Public Set) 67.8 52.0 62.2 63.8 65.2 66.6 68.0
Tool-Decathlon 38.0 23.8 35.2 27.8 43.5 36.4 46.3
Vending Bench 2 $4,432.12 $2,376.82 $1,034.00 $1,198.46 $4,967.06 $5,478.16 $3,591.33

*: refers to their scores of full set.

†: A verified version of Terminal-Bench 2.0 that fixes some ambiguous instructions. See footnote for more evaluation details.

Footnote

  • Humanity’s Last Exam (HLE) & other reasoning tasks: We evaluate with a maximum generation length of 131,072 tokens (temperature=1.0, top_p=0.95, max_new_tokens=131072). By default, we report the text-only subset; results marked with * are from the full set. We use GPT-5.2 (medium) as the judge model. For HLE-with-tools, we use a maximum context length of 202,752 tokens.
  • SWE-bench & SWE-bench Multilingual: We run the SWE-bench suite with OpenHands using a tailored instruction prompt. Settings: temperature=0.7, top_p=0.95, max_new_tokens=16384, with a 200K context window.
  • BrowserComp: Without context management, we retain details from the most recent 5 turns. With context management, we use the same discard-all strategy as DeepSeek-v3.2 and Kimi K2.5.
  • Terminal-Bench 2.0 (Terminus 2): We evaluate with the Terminus framework using timeout=2h, temperature=0.7, top_p=1.0, max_new_tokens=8192, with a 128K context window. Resource limits are capped at 16 CPUs and 32 GB RAM.
  • Terminal-Bench 2.0 (Claude Code): We evaluate in Claude Code 2.1.14 (think mode, default effort) with temperature=1.0, top_p=0.95, max_new_tokens=65536. We remove wall-clock time limits due to generation speed, while preserving per-task CPU and memory constraints. Scores are averaged over 5 runs. We fix environment issues introduced by Claude Code and also report results on a verified Terminal-Bench 2.0 dataset that resolves ambiguous instructions (see: https://huggingface.co/datasets/zai-org/terminal-bench-2-verified).
  • CyberGym: We evaluate in Claude Code 2.1.18 (think mode, no web tools) with (temperature=1.0, top_p=1.0, max_new_tokens=32000) and a 250-minute timeout per task. Results are single-run Pass@1 over 1,507 tasks.
  • MCP-Atlas: All models are evaluated in think mode on the 500-task public subset with a 10-minute timeout per task. We use Gemini 3 Pro as the judge model.
  • τ²-bench: We add a small prompt adjustment in Retail and Telecom to avoid failures caused by premature user termination. For Airline, we apply the domain fixes proposed in the Claude Opus 4.5 system card.
  • Vending Bench 2: Runs are conducted independently by Andon Labs.

Serve GLM-5 Locally

Prepare environment

The following open-source frameworks support local deployment of GLM-5:

Deploy

  • vLLM

    shell vllm serve zai-org/GLM-5 \ --tensor-parallel-size 8 \ --gpu-memory-utilization 0.85 \ --speculative-config.method mtp \ --speculative-config.num_speculative_tokens 3 \ --tool-call-parser glm47 \ --reasoning-parser glm45 \ --enable-auto-tool-choice \ --served-model-name glm-5

    Check the recipes for more details.

  • SGLang

    shell sglang serve \ --model-path zai-org/GLM-5 \ --tp-size 8 \ --tool-call-parser glm47 \ --reasoning-parser glm45 \ --speculative-algorithm EAGLE \ --speculative-num-steps 3 \ --speculative-eagle-topk 1 \ --speculative-num-draft-tokens 4 \ --mem-fraction-static 0.85 \ --served-model-name glm-5

    Check the sglang cookbook for more details.

  • xLLM and other Ascend NPU

    Please check the deployment guide here.

  • KTransformers

    Please check the deployment guide here.

Citation

If you find GLM-5 useful in your research, please cite our technical report:

@misc{glm5team2026glm5vibecodingagentic,
      title={GLM-5: from Vibe Coding to Agentic Engineering},
      author={GLM-5-Team and : and Aohan Zeng and Xin Lv and Zhenyu Hou and Zhengxiao Du and Qinkai Zheng and Bin Chen and Da Yin and Chendi Ge and Chenghua Huang and Chengxing Xie and Chenzheng Zhu and Congfeng Yin and Cunxiang Wang and Gengzheng Pan and Hao Zeng and Haoke Zhang and Haoran Wang and Huilong Chen and Jiajie Zhang and Jian Jiao and Jiaqi Guo and Jingsen Wang and Jingzhao Du and Jinzhu Wu and Kedong Wang and Lei Li and Lin Fan and Lucen Zhong and Mingdao Liu and Mingming Zhao and Pengfan Du and Qian Dong and Rui Lu and Shuang-Li and Shulin Cao and Song Liu and Ting Jiang and Xiaodong Chen and Xiaohan Zhang and Xuancheng Huang and Xuezhen Dong and Yabo Xu and Yao Wei and Yifan An and Yilin Niu and Yitong Zhu and Yuanhao Wen and Yukuo Cen and Yushi Bai and Zhongpei Qiao and Zihan Wang and Zikang Wang and Zilin Zhu and Ziqiang Liu and Zixuan Li and Bojie Wang and Bosi Wen and Can Huang and Changpeng Cai and Chao Yu and Chen Li and Chengwei Hu and Chenhui Zhang and Dan Zhang and Daoyan Lin and Dayong Yang and Di Wang and Ding Ai and Erle Zhu and Fangzhou Yi and Feiyu Chen and Guohong Wen and Hailong Sun and Haisha Zhao and Haiyi Hu and Hanchen Zhang and Hanrui Liu and Hanyu Zhang and Hao Peng and Hao Tai and Haobo Zhang and He Liu and Hongwei Wang and Hongxi Yan and Hongyu Ge and Huan Liu and Huanpeng Chu and Jia'ni Zhao and Jiachen Wang and Jiajing Zhao and Jiamin Ren and Jiapeng Wang and Jiaxin Zhang and Jiayi Gui and Jiayue Zhao and Jijie Li and Jing An and Jing Li and Jingwei Yuan and Jinhua Du and Jinxin Liu and Junkai Zhi and Junwen Duan and Kaiyue Zhou and Kangjian Wei and Ke Wang and Keyun Luo and Laiqiang Zhang and Leigang Sha and Liang Xu and Lindong Wu and Lintao Ding and Lu Chen and Minghao Li and Nianyi Lin and Pan Ta and Qiang Zou and Rongjun Song and Ruiqi Yang and Shangqing Tu and Shangtong Yang and Shaoxiang Wu and Shengyan Zhang and Shijie Li and Shuang Li and Shuyi Fan and Wei Qin and Wei Tian and Weining Zhang and Wenbo Yu and Wenjie Liang and Xiang Kuang and Xiangmeng Cheng and Xiangyang Li and Xiaoquan Yan and Xiaowei Hu and Xiaoying Ling and Xing Fan and Xingye Xia and Xinyuan Zhang and Xinze Zhang and Xirui Pan and Xu Zou and Xunkai Zhang and Yadi Liu and Yandong Wu and Yanfu Li and Yidong Wang and Yifan Zhu and Yijun Tan and Yilin Zhou and Yiming Pan and Ying Zhang and Yinpei Su and Yipeng Geng and Yong Yan and Yonglin Tan and Yuean Bi and Yuhan Shen and Yuhao Yang and Yujiang Li and Yunan Liu and Yunqing Wang and Yuntao Li and Yurong Wu and Yutao Zhang and Yuxi Duan and Yuxuan Zhang and Zezhen Liu and Zhengtao Jiang and Zhenhe Yan and Zheyu Zhang and Zhixiang Wei and Zhuo Chen and Zhuoer Feng and Zijun Yao and Ziwei Chai and Ziyuan Wang and Zuzhou Zhang and Bin Xu and Minlie Huang and Hongning Wang and Juanzi Li and Yuxiao Dong and Jie Tang},
      year={2026},
      eprint={2602.15763},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2602.15763},
}

Configuration

Architecture
GlmMoeDsaForCausalLM
Context length (tokens)
202,752
Layers
78
Hidden size
6,144
Feed-forward size
12,288
Attention heads
64
Key/value heads
64
Head dimension
64
Vocabulary size
154,880
Routed experts
256
Experts active per token
8
Model type
glm_moe_dsa

Identity and Version

Repository
zai-org/GLM-5
Publisher
Z.ai
Task
Text generation
Modality
Text
Library
transformers
Parameters
753.9B parameters
Languages
en, zh
Revision
c183ef8c61faee82855eca1ed9bb3a9a7ce3b0b2
First published
2026-02-11
Last updated
2026-08-11

Files and Weights

300 files, 1.5 TB in total. The weights are 282 files totalling 1.5 TB in safetensors.

Weights282 files · 1.5 TB
Configuration13 files · 5.4 MB
Tokenizer2 files · 20.2 MB
Documentation1 file · 12.7 KB
Other1 file · 3.1 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00282.safetensorsWeights5.3 GB 198ef923a7ca
model-00002-of-00282.safetensorsWeights5.4 GB f41e14a00f8f
model-00003-of-00282.safetensorsWeights5.4 GB f5f696f543a4
model-00004-of-00282.safetensorsWeights5.4 GB 21ea9316694e
model-00005-of-00282.safetensorsWeights5.4 GB 447d3150fda6
model-00006-of-00282.safetensorsWeights5.4 GB 5bd92a8fb83f
model-00007-of-00282.safetensorsWeights5.4 GB ca57320e2c33
model-00008-of-00282.safetensorsWeights5.4 GB e848c982bf3f
model-00009-of-00282.safetensorsWeights5.4 GB 67d50e69f80e
model-00010-of-00282.safetensorsWeights5.4 GB 9a18aa0bb820
model-00011-of-00282.safetensorsWeights5.4 GB 86ae5f0fe4ca
model-00012-of-00282.safetensorsWeights5.4 GB 1da09cf92af7
model-00013-of-00282.safetensorsWeights5.4 GB 4c06dc21e2bd
model-00014-of-00282.safetensorsWeights5.4 GB 213d05d35132
model-00015-of-00282.safetensorsWeights5.4 GB b04e317d274b
model-00016-of-00282.safetensorsWeights5.4 GB 25f73b1e9e9f
model-00017-of-00282.safetensorsWeights5.4 GB 18d47fcb369b
model-00018-of-00282.safetensorsWeights5.4 GB 62e23e54f407
model-00019-of-00282.safetensorsWeights5.4 GB 7599267bb1fc
model-00020-of-00282.safetensorsWeights5.4 GB 681e153de4a6
model-00021-of-00282.safetensorsWeights5.4 GB 78b0212db6f9
model-00022-of-00282.safetensorsWeights5.4 GB 947ef24293fc
model-00023-of-00282.safetensorsWeights5.4 GB 1a9b4276d6c1
model-00024-of-00282.safetensorsWeights5.4 GB 3c800de89345
model-00025-of-00282.safetensorsWeights5.4 GB 21446e1f7a06
model-00026-of-00282.safetensorsWeights5.4 GB 6c35662afd87
model-00027-of-00282.safetensorsWeights5.4 GB 4a7a3615c744
model-00028-of-00282.safetensorsWeights5.4 GB 778444540ff8
model-00029-of-00282.safetensorsWeights5.4 GB d908c8177c1d
model-00030-of-00282.safetensorsWeights5.4 GB 6df7b340183a
model-00031-of-00282.safetensorsWeights5.4 GB a658a7bec426
model-00032-of-00282.safetensorsWeights5.4 GB f291e238a4ca
model-00033-of-00282.safetensorsWeights5.4 GB d58b7681a194
model-00034-of-00282.safetensorsWeights5.4 GB 2f9666db39fc
model-00035-of-00282.safetensorsWeights5.4 GB 387257cc5daf
model-00036-of-00282.safetensorsWeights5.4 GB db004f95e3d6
model-00037-of-00282.safetensorsWeights5.4 GB d9a82514d38a
model-00038-of-00282.safetensorsWeights5.4 GB 3bc34ddb1756
model-00039-of-00282.safetensorsWeights5.4 GB 03a420bb2008
model-00040-of-00282.safetensorsWeights5.4 GB 6fed036963f4
model-00041-of-00282.safetensorsWeights5.4 GB 828a8a98d6da
model-00042-of-00282.safetensorsWeights5.4 GB 1cda671076af
model-00043-of-00282.safetensorsWeights5.4 GB a355ca8af109
model-00044-of-00282.safetensorsWeights5.4 GB 6cf07e811b36
model-00045-of-00282.safetensorsWeights5.4 GB 09fd282d19f0
model-00046-of-00282.safetensorsWeights5.4 GB 561c652b5e86
model-00047-of-00282.safetensorsWeights5.4 GB 5129747559ec
model-00048-of-00282.safetensorsWeights5.4 GB 8435f04f035b
model-00049-of-00282.safetensorsWeights5.4 GB 5e2a2d632895
model-00050-of-00282.safetensorsWeights5.4 GB 08849b88b831
model-00051-of-00282.safetensorsWeights5.4 GB ee7b7343878f
model-00052-of-00282.safetensorsWeights5.4 GB e40361d553c6
model-00053-of-00282.safetensorsWeights5.4 GB d09b0ff9598e
model-00054-of-00282.safetensorsWeights5.4 GB dfc61c444884
model-00055-of-00282.safetensorsWeights5.4 GB 91e3b7323079
model-00056-of-00282.safetensorsWeights5.4 GB 2632aaf5c480
model-00057-of-00282.safetensorsWeights5.4 GB fb8011205267
model-00058-of-00282.safetensorsWeights5.4 GB 3052fe2b9fe3
model-00059-of-00282.safetensorsWeights5.4 GB 2bd8c1b238e6
model-00060-of-00282.safetensorsWeights5.4 GB 3f1d04ae9b83
model-00061-of-00282.safetensorsWeights5.4 GB 7585e84643f4
model-00062-of-00282.safetensorsWeights5.4 GB df80d38abd53
model-00063-of-00282.safetensorsWeights5.4 GB d2b17cc7d2ed
model-00064-of-00282.safetensorsWeights5.4 GB 82f32df3b610
model-00065-of-00282.safetensorsWeights5.4 GB 705eab9e3217
model-00066-of-00282.safetensorsWeights5.4 GB 4708b6a2389f
model-00067-of-00282.safetensorsWeights5.4 GB 68ce5e41a898
model-00068-of-00282.safetensorsWeights5.4 GB ce0da7e33111
model-00069-of-00282.safetensorsWeights5.4 GB 499dd1f43502
model-00070-of-00282.safetensorsWeights5.4 GB f435782d215a
model-00071-of-00282.safetensorsWeights5.4 GB 14cb851a9547
model-00072-of-00282.safetensorsWeights5.4 GB affe18157888
model-00073-of-00282.safetensorsWeights5.4 GB 37bd6ae32501
model-00074-of-00282.safetensorsWeights5.4 GB 20a6a32a607f
model-00075-of-00282.safetensorsWeights5.4 GB 388a4d4dc31a
model-00076-of-00282.safetensorsWeights5.4 GB 807bf5e2cd4b
model-00077-of-00282.safetensorsWeights5.4 GB 316499d677b6
model-00078-of-00282.safetensorsWeights5.4 GB 5b7faf14ea9f
model-00079-of-00282.safetensorsWeights5.4 GB 7850598daf6d
model-00080-of-00282.safetensorsWeights5.4 GB 76199a627d04
model-00081-of-00282.safetensorsWeights5.4 GB 9a62db57b83f
model-00082-of-00282.safetensorsWeights5.4 GB f51c3db717de
model-00083-of-00282.safetensorsWeights5.4 GB b52d2eb4d47f
model-00084-of-00282.safetensorsWeights5.4 GB 230286442eb7
model-00085-of-00282.safetensorsWeights5.4 GB 2a7045a6e568
model-00086-of-00282.safetensorsWeights5.4 GB 6219a8182889
model-00087-of-00282.safetensorsWeights5.4 GB ac52ff421ecf
model-00088-of-00282.safetensorsWeights5.4 GB e020f9543430
model-00089-of-00282.safetensorsWeights5.4 GB 99d8757014f6
model-00090-of-00282.safetensorsWeights5.4 GB 82b4d0ba9a4f
model-00091-of-00282.safetensorsWeights5.4 GB 7f950c6a4bf4
model-00092-of-00282.safetensorsWeights5.4 GB 6ad5f2100cb2
model-00093-of-00282.safetensorsWeights5.4 GB ca45bdfff314
model-00094-of-00282.safetensorsWeights5.4 GB 18a76ad4e1ec
model-00095-of-00282.safetensorsWeights5.4 GB da6936b0b1e3
model-00096-of-00282.safetensorsWeights5.4 GB 0edfa86951ce
model-00097-of-00282.safetensorsWeights5.4 GB f87c58929a04
model-00098-of-00282.safetensorsWeights5.4 GB 7f2b3fa4f2fa
model-00099-of-00282.safetensorsWeights5.4 GB 106f6204ed74
model-00100-of-00282.safetensorsWeights5.4 GB 441aac1f8c2f
model-00101-of-00282.safetensorsWeights5.4 GB 5d2e90fa79f2
model-00102-of-00282.safetensorsWeights5.4 GB bceea686fe26
model-00103-of-00282.safetensorsWeights5.4 GB 24bf013ebd5f
model-00104-of-00282.safetensorsWeights5.4 GB ffbacf7ff12a
model-00105-of-00282.safetensorsWeights5.4 GB c8aeb18f4c86
model-00106-of-00282.safetensorsWeights5.4 GB f503c8f87c78
model-00107-of-00282.safetensorsWeights5.4 GB bf80f6bc822b
model-00108-of-00282.safetensorsWeights5.3 GB dc24a167093a
model-00109-of-00282.safetensorsWeights5.4 GB 59d831814d55
model-00110-of-00282.safetensorsWeights5.4 GB afcf77c4e5bd
model-00111-of-00282.safetensorsWeights5.4 GB c8816e1f0232
model-00112-of-00282.safetensorsWeights5.4 GB 0dd46c1bcfb4
model-00113-of-00282.safetensorsWeights5.4 GB 8a653e8eca92
model-00114-of-00282.safetensorsWeights5.4 GB 735b3ebfa877
model-00115-of-00282.safetensorsWeights5.4 GB ed94b338cb03
model-00116-of-00282.safetensorsWeights5.4 GB c95bdb778e32
model-00117-of-00282.safetensorsWeights5.4 GB ee88dc5afdfa
model-00118-of-00282.safetensorsWeights5.4 GB adf006e1a817
model-00119-of-00282.safetensorsWeights5.4 GB 0a5e62cd0706
model-00120-of-00282.safetensorsWeights5.4 GB 95a529cf10b8
model-00121-of-00282.safetensorsWeights5.4 GB ac1c4e7eb5cf
model-00122-of-00282.safetensorsWeights5.4 GB 05da2010b02b
model-00123-of-00282.safetensorsWeights5.4 GB e66409fc4164
model-00124-of-00282.safetensorsWeights5.4 GB 347533060935
model-00125-of-00282.safetensorsWeights5.4 GB d578158c0b0e
model-00126-of-00282.safetensorsWeights5.4 GB 45a8bd0b4c30
model-00127-of-00282.safetensorsWeights5.4 GB 6e15243c6d95
model-00128-of-00282.safetensorsWeights5.4 GB 6dd7e06c7447
model-00129-of-00282.safetensorsWeights5.4 GB b91240728028
model-00130-of-00282.safetensorsWeights5.4 GB b8e741fcabd5
model-00131-of-00282.safetensorsWeights5.4 GB b272d5f46049
model-00132-of-00282.safetensorsWeights5.4 GB 961d7fc93a85
model-00133-of-00282.safetensorsWeights5.4 GB 70584ace37dd
model-00134-of-00282.safetensorsWeights5.4 GB 6379877af2a6
model-00135-of-00282.safetensorsWeights5.4 GB 7d1472421624
model-00136-of-00282.safetensorsWeights5.4 GB 36bff604f021
model-00137-of-00282.safetensorsWeights5.4 GB 393c811d53e5
model-00138-of-00282.safetensorsWeights5.4 GB a02eb2445f06
model-00139-of-00282.safetensorsWeights5.4 GB 6b941058957a
model-00140-of-00282.safetensorsWeights5.4 GB 2ac9b3209e6b
model-00141-of-00282.safetensorsWeights5.4 GB 52ff3811c773
model-00142-of-00282.safetensorsWeights5.4 GB 57373428bb1a
model-00143-of-00282.safetensorsWeights5.4 GB 33f836b470fc
model-00144-of-00282.safetensorsWeights5.4 GB 69d52bf841e1
model-00145-of-00282.safetensorsWeights5.4 GB bd58a95132df
model-00146-of-00282.safetensorsWeights5.4 GB 587536dcc707
model-00147-of-00282.safetensorsWeights5.4 GB d28c5168d74e
model-00148-of-00282.safetensorsWeights5.4 GB e099be802b65
model-00149-of-00282.safetensorsWeights5.4 GB a0b87d5e5ef2
model-00150-of-00282.safetensorsWeights5.4 GB f14ba9f471fa
model-00151-of-00282.safetensorsWeights5.4 GB e7327c37d099
model-00152-of-00282.safetensorsWeights5.4 GB b695d86b83e4
model-00153-of-00282.safetensorsWeights5.4 GB eb0bcf8b0e81
model-00154-of-00282.safetensorsWeights5.4 GB aa474493e70a
model-00155-of-00282.safetensorsWeights5.4 GB 9b886242b9b9
model-00156-of-00282.safetensorsWeights5.4 GB f1d8a1ecad40
model-00157-of-00282.safetensorsWeights5.4 GB de833b7a73fa
model-00158-of-00282.safetensorsWeights5.4 GB 3ff2060bcb39
model-00159-of-00282.safetensorsWeights5.4 GB dc725490edde
model-00160-of-00282.safetensorsWeights5.4 GB 900caf757313
model-00161-of-00282.safetensorsWeights5.4 GB 9bc8c207da52
model-00162-of-00282.safetensorsWeights5.4 GB ff01931a1e3e
model-00163-of-00282.safetensorsWeights5.4 GB 1c2c45ef05a8
model-00164-of-00282.safetensorsWeights5.4 GB db63ec3b3508
model-00165-of-00282.safetensorsWeights5.4 GB eee061abe7b5
model-00166-of-00282.safetensorsWeights5.4 GB 7300026709a4
model-00167-of-00282.safetensorsWeights5.2 GB 0f273b81b4cf
model-00168-of-00282.safetensorsWeights5.4 GB f83df2ac8068
model-00169-of-00282.safetensorsWeights5.4 GB 873046ed232b
model-00170-of-00282.safetensorsWeights5.4 GB 9e8da42d879e
model-00171-of-00282.safetensorsWeights5.4 GB 13b16a023a60
model-00172-of-00282.safetensorsWeights5.4 GB 0071b6a7f0f0
model-00173-of-00282.safetensorsWeights5.4 GB 2a88442411ed
model-00174-of-00282.safetensorsWeights5.4 GB e9c75041d7e8
model-00175-of-00282.safetensorsWeights5.4 GB c20f97dd36c5
model-00176-of-00282.safetensorsWeights5.4 GB afdeed7d5235
model-00177-of-00282.safetensorsWeights5.4 GB 338bb7dce52a
model-00178-of-00282.safetensorsWeights5.4 GB 17d1f798348e
model-00179-of-00282.safetensorsWeights5.4 GB f018736e0463
model-00180-of-00282.safetensorsWeights5.4 GB 9681e7ecf418
model-00181-of-00282.safetensorsWeights5.4 GB 210ee9f9d9fa
model-00182-of-00282.safetensorsWeights5.4 GB 10142128ef7b
model-00183-of-00282.safetensorsWeights5.4 GB edec2e043728
model-00184-of-00282.safetensorsWeights5.4 GB d509676cf8f3
model-00185-of-00282.safetensorsWeights5.4 GB 731b2133f88a
model-00186-of-00282.safetensorsWeights5.4 GB 552f0ff41ef5
model-00187-of-00282.safetensorsWeights5.4 GB 2254e5531ba9
model-00188-of-00282.safetensorsWeights5.4 GB 98e1fec68d4f
model-00189-of-00282.safetensorsWeights5.4 GB 96ac782f2aae
model-00190-of-00282.safetensorsWeights5.4 GB 951120cb2e35
model-00191-of-00282.safetensorsWeights5.4 GB 0ae5183519d3
model-00192-of-00282.safetensorsWeights5.4 GB 8895a214603b
model-00193-of-00282.safetensorsWeights5.4 GB 4257715dd08f
model-00194-of-00282.safetensorsWeights5.4 GB 070f72fd76d3
model-00195-of-00282.safetensorsWeights5.4 GB 86371717b30d
model-00196-of-00282.safetensorsWeights5.4 GB 78e4b6beb12a
model-00197-of-00282.safetensorsWeights5.4 GB 2af1c75f0156
model-00198-of-00282.safetensorsWeights5.4 GB 848e48e22467
model-00199-of-00282.safetensorsWeights5.4 GB c6603b685e17
model-00200-of-00282.safetensorsWeights5.4 GB 61d8974ae43c
model-00201-of-00282.safetensorsWeights5.4 GB 281ee97abf5b
model-00202-of-00282.safetensorsWeights5.4 GB 7e59a9bd7c82
model-00203-of-00282.safetensorsWeights5.4 GB 83750ffb0004
model-00204-of-00282.safetensorsWeights5.4 GB 37bc00cd1eb7
model-00205-of-00282.safetensorsWeights5.4 GB dbf5f972baf4
model-00206-of-00282.safetensorsWeights5.4 GB 5c6a7bab16d9
model-00207-of-00282.safetensorsWeights5.4 GB 644385d5804e
model-00208-of-00282.safetensorsWeights5.4 GB d9fd44e6fbf3
model-00209-of-00282.safetensorsWeights5.4 GB d3e5f7593e2d
model-00210-of-00282.safetensorsWeights5.4 GB 9af91c8b3cee
model-00211-of-00282.safetensorsWeights5.4 GB 1418ba0979bb
model-00212-of-00282.safetensorsWeights5.4 GB b1b734bd20c3
model-00213-of-00282.safetensorsWeights5.4 GB 637a99305c94
model-00214-of-00282.safetensorsWeights5.4 GB 6625f71055cc
model-00215-of-00282.safetensorsWeights5.4 GB 6507cd294a7a
model-00216-of-00282.safetensorsWeights5.4 GB 0a2c6cc4bf7a
model-00217-of-00282.safetensorsWeights5.4 GB b97edbe09347
model-00218-of-00282.safetensorsWeights5.4 GB 449b0b1852c9
model-00219-of-00282.safetensorsWeights5.4 GB 7739919c5d33
model-00220-of-00282.safetensorsWeights5.4 GB 855a1653654e
model-00221-of-00282.safetensorsWeights5.4 GB 834a6aa576a9
model-00222-of-00282.safetensorsWeights5.4 GB 10f412f7378c
model-00223-of-00282.safetensorsWeights5.4 GB a01715d46036
model-00224-of-00282.safetensorsWeights5.4 GB 42035c563013
model-00225-of-00282.safetensorsWeights5.4 GB 2bda49b41c4c
model-00226-of-00282.safetensorsWeights5.2 GB c67213e385cf
model-00227-of-00282.safetensorsWeights5.4 GB 0e0c7590b4a8
model-00228-of-00282.safetensorsWeights5.4 GB 3c8afd7e254d
model-00229-of-00282.safetensorsWeights5.4 GB d70d7144401c
model-00230-of-00282.safetensorsWeights5.4 GB 18749cc70adf
model-00231-of-00282.safetensorsWeights5.4 GB 25816fb83cca
model-00232-of-00282.safetensorsWeights5.4 GB 87210620c80d
model-00233-of-00282.safetensorsWeights5.4 GB 19abce203906
model-00234-of-00282.safetensorsWeights5.4 GB 46b46aa58d0a
model-00235-of-00282.safetensorsWeights5.4 GB 12ee8e01265b
model-00236-of-00282.safetensorsWeights5.4 GB 63c0d1b2cf7b
model-00237-of-00282.safetensorsWeights5.4 GB 0083c4d8fd45
model-00238-of-00282.safetensorsWeights5.4 GB 294f9b1a8bf4
model-00239-of-00282.safetensorsWeights5.4 GB bc6c4f929050
model-00240-of-00282.safetensorsWeights5.4 GB 69ab56c6e7f4
model-00241-of-00282.safetensorsWeights5.4 GB 17cd71d8cc0d
model-00242-of-00282.safetensorsWeights5.4 GB 46bec1bfb8f8
model-00243-of-00282.safetensorsWeights5.4 GB be974b6e221b
model-00244-of-00282.safetensorsWeights5.4 GB 75bde63d276d
model-00245-of-00282.safetensorsWeights5.4 GB 1f62864beb9c
model-00246-of-00282.safetensorsWeights5.4 GB 5b4d31f98bc4
model-00247-of-00282.safetensorsWeights5.4 GB 936218eac5a1
model-00248-of-00282.safetensorsWeights5.4 GB d7075efca9ec
model-00249-of-00282.safetensorsWeights5.4 GB b831eb381928
model-00250-of-00282.safetensorsWeights5.4 GB a2ce8de73ae4
model-00251-of-00282.safetensorsWeights5.4 GB c28e4d67fd06
model-00252-of-00282.safetensorsWeights5.4 GB 5f08724957ec
model-00253-of-00282.safetensorsWeights5.4 GB 295c61c68815
model-00254-of-00282.safetensorsWeights5.4 GB b23fdae7aa78
model-00255-of-00282.safetensorsWeights5.4 GB e5851fa419f3
model-00256-of-00282.safetensorsWeights5.4 GB 11de1e737541
model-00257-of-00282.safetensorsWeights5.4 GB d1fe12d26eae
model-00258-of-00282.safetensorsWeights5.4 GB 6b28016187f3
model-00259-of-00282.safetensorsWeights5.4 GB 5a9324a61809
model-00260-of-00282.safetensorsWeights5.4 GB 91a83234694e
model-00261-of-00282.safetensorsWeights5.4 GB 5a1fc30d04fe
model-00262-of-00282.safetensorsWeights5.4 GB 51883c4c3b40
model-00263-of-00282.safetensorsWeights5.4 GB 584d74da2053
model-00264-of-00282.safetensorsWeights5.4 GB c5ad0a00031b
model-00265-of-00282.safetensorsWeights5.4 GB bd96386529b7
model-00266-of-00282.safetensorsWeights5.4 GB 8a5bbc412ec5
model-00267-of-00282.safetensorsWeights5.4 GB 76967c52be6e
model-00268-of-00282.safetensorsWeights5.4 GB 0e441b6e9660
model-00269-of-00282.safetensorsWeights5.4 GB 98a0e6ec1229
model-00270-of-00282.safetensorsWeights5.4 GB 118a793dee7b
model-00271-of-00282.safetensorsWeights5.4 GB 26fa04bb05b6
model-00272-of-00282.safetensorsWeights5.4 GB 2b5eaa131539
model-00273-of-00282.safetensorsWeights5.4 GB 6cf5baae0daf
model-00274-of-00282.safetensorsWeights5.4 GB c8cb0442be63
model-00275-of-00282.safetensorsWeights5.4 GB 2b4e3e719652
model-00276-of-00282.safetensorsWeights5.4 GB b8e1a2cbb4b3
model-00277-of-00282.safetensorsWeights5.4 GB c8f3f97c2f70
model-00278-of-00282.safetensorsWeights5.4 GB d2bb9fd0a7e4
model-00279-of-00282.safetensorsWeights5.4 GB eedc492419e1
model-00280-of-00282.safetensorsWeights5.4 GB 4bd753fa4686
model-00281-of-00282.safetensorsWeights5.4 GB 546caec63dc6
model-00282-of-00282.safetensorsWeights2.0 GB c1178850422a
.eval_results/MathArena--aime_2026.yamlConfiguration210 B —
.eval_results/MathArena--hmmt_feb_2026.yamlConfiguration222 B —
.eval_results/gpqa.yamlConfiguration168 B —
.eval_results/hle.yamlConfiguration179 B —
.eval_results/hle_with_tools.yamlConfiguration201 B —
.eval_results/swe-bench_multilingual.yamlConfiguration191 B —
.eval_results/swe_bench_verified.yamlConfiguration454 B —
.eval_results/terminal_bench.yamlConfiguration277 B —
.eval_results/terminal_bench_2.yamlConfiguration278 B —
.eval_results/yc-bench.yamlConfiguration272 B —
config.jsonConfiguration1.4 KB —
generation_config.jsonConfiguration198 B —
model.safetensors.index.jsonConfiguration5.4 MB —
README.mdDocumentation12.7 KB —
chat_template.jinjaOther3.1 KB —
.gitattributesRepository1.6 KB —
tokenizer.jsonTokenizer20.2 MB 19e773648cb4
tokenizer_config.jsonTokenizer760 B —

License and Download

License
mit
Access
Open weights, no gate
Download size
1.5 TB
Download from Z.ai

Released by Z.ai through its official repository on Hugging Face. Read the license.

Built From

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
Idavidrein/gpqa Task diamondMetric diamondComparison conditions not established 86 Model Card
Reported by a third party
Evaluated revision not stated 2026-02-13
MathArena/aime_2026 Task MathArena/aime_2026Metric MathArena/aime_2026Comparison conditions not established 95.83 Official MathArena Evaluation
Reported by a third party
Evaluated revision not stated 2026-02-18
MathArena/hmmt_feb_2026 Task MathArena/hmmt_feb_2026Metric MathArena/hmmt_feb_2026Comparison conditions not established 86.36 Official MathArena Evaluation
Reported by a third party
Evaluated revision not stated 2026-02-23
SWE-bench/SWE-bench_Multilingual Task swe_bench_multilingual_%_resolvedMetric swe_bench_multilingual_%_resolvedComparison conditions not established 73.3 Model Card
Reported by a third party
Evaluated revision not stated 2026-08-11
SWE-bench/SWE-bench_Verified Task swe_bench_%_resolvedMetric swe_bench_%_resolvedSetup Z.ai reported numberComparison conditions not established 77.8 Model card
Reported by a third party
Evaluated revision not stated 2026-03-24
SWE-bench/SWE-bench_Verified Task swe_bench_%_resolvedMetric swe_bench_%_resolvedSetup high reasoning, officialComparison conditions not established 72.8 SWE-Bench official evaluation
Reported by a third party
Evaluated revision not stated 2026-03-24
TIGER-Lab/MMLU-Pro Task mmlu_proMetric mmlu_proComparison conditions not established 86 EvalEval
Reported by a third party
Evaluated revision not stated 2026-06-30
cais/hle Task hleMetric hleComparison conditions not established 30.5 Model Card
Reported by a third party
Evaluated revision not stated 2026-02-13
cais/hle Task hleMetric hleSetup With toolsComparison conditions not established 50.4 Model Card
Reported by a third party
Evaluated revision not stated 2026-02-13
collinear-ai/yc-bench Task mediumMetric mediumSetup avg final funds (USD) across seeds 1,2,3. GLM-5 (via OpenRouter z-ai/glm-5)Comparison conditions not established 1.20819e+06 YC-Bench eval
Reported by a third party
Evaluated revision not stated 2026-03-24
harborframework/terminal-bench-2.0 Task terminal_benchMetric terminal_benchSetup agent: Terminus 2Comparison conditions not established 52.4 Terminal-Bench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-02-23
harborframework/terminal-bench-2.0 Task terminalbench_2Metric terminalbench_2Setup agent: Terminus 2Comparison conditions not established 52.4 Terminal-Bench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-02-23
internlm/WildClawBench Task avg_costMetric avg_costComparison conditions not established 11.4 WildClawBench
Reported by a third party
Evaluated revision not stated 2026-05-22
internlm/WildClawBench Task avg_timeMetric avg_timeComparison conditions not established 373 WildClawBench
Reported by a third party
Evaluated revision not stated 2026-05-22
internlm/WildClawBench Task overallMetric overallComparison conditions not established 42.6 WildClawBench
Reported by a third party
Evaluated revision not stated 2026-05-22
mercor/APEX-v1-extended Task apex-v1Metric apex-v1Setup harness: direct_prompting; reasoning_effort: thinkingComparison conditions not established 49 APEX Leaderboard
Reported by a third party
Evaluated revision not stated 2026-04-22
mercor/apex-agents Task apex-agentsMetric apex-agentsSetup harness: react_toolbelt_agent; reasoning_effort: thinkingComparison conditions not established 17.2 APEX-Agents Leaderboard
Reported by a third party
Evaluated revision not stated 2026-04-22

Memory Requirements

PrecisionWeights in memory
As published1.5 TB
16-bit1507.7 GB
8-bit753.9 GB
4-bit376.9 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Hosted Prices

HostInput / outputUnitObserved
DeepInfra$0.60 / $2.08input / output, per million tokensOct 27, 2026
Novita$1.00 / $3.20input / output, per million tokensOct 27, 2026

From the SAVRN Index.

Questions About GLM-5

How much GPU memory does GLM-5 need?

About 1809.3 GB at 16-bit and 452.3 GB at 4-bit: the weights (753.9B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run GLM-5 on?

At 16-bit, 8x MI325X from $16.00 an hour; at 4-bit, 2x MI325X from $4.00 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use GLM-5 commercially?

Yes. GLM-5 is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is GLM-5's context length?

202,752 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

GLM-5.3

Z.ai

GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks: GLM-5.3 supports deployment with the following frameworks. Feel free to try them out: - SGLang — see cookbook - vLLM — see recipes - TokenSpeed — see here - Transformers — see transformers docs - KTransformers — see tutorial - Unsloth — see guide - For deployment on the Ascend NPU platform, inference frameworks such as vLLM-Ascend, xLLM and SGLang are supported — see here. - GLM-5.3 supports controlling the thinking budget through the reasoningeffort parameter, which accepts three levels: low, high, and max. It defaults to max…

Open weights other 753.3B parameters 1,048,576 tokens transformers

Model · Text generation

GLM-5.2-FP8

Z.ai

Join our WeChat or Discord community. Check out the GLM-5.2 blog and GLM-5 Technical report. Use GLM-5.2 API services on Z.ai API Platform. Try GLM-5.2 here. [ Paper ] [ GitHub ] We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context. GLM-5.2's new capabilities include: GLM-5.2 supports deployment with the following frameworks. Feel free to try them out: - SGLang (v0.5.13.post1+) — see cookbook - vLLM (v0.23.0+) — see recipes - Transformers (v0.5.12+) — see transformers docs - KTransformers (v0.5.12+)…

Open weights mit 753.3B parameters 1,048,576 tokens transformers

Model · Text generation

GLM-5.2

Z.ai

Join our WeChat or Discord community. Check out the GLM-5.2 blog and GLM-5 Technical report. Use GLM-5.2 API services on Z.ai API Platform. Try GLM-5.2 here. [ Paper ] [ GitHub ] We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context. GLM-5.2's new capabilities include: GLM-5.2 supports deployment with the following frameworks. Feel free to try them out: - SGLang (v0.5.13.post1+) — see cookbook - vLLM (v0.23.0+) — see recipes - Transformers (v0.5.12+) — see transformers docs - KTransformers (v0.5.12+)…

Open weights mit 753.3B parameters 1,048,576 tokens transformers

Model · Text generation

not-a-GLM-5.3-backup

Michael Fielding

GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks: GLM-5.3 supports deployment with the following frameworks. Feel free to try them out: - SGLang — see cookbook - vLLM — see recipes - TokenSpeed — see here - Transformers — see transformers docs - KTransformers — see tutorial - Unsloth — see guide - For deployment on the Ascend NPU platform, inference frameworks such as vLLM-Ascend, xLLM and SGLang are supported — see here. - GLM-5.3 supports controlling the thinking budget through the reasoningeffort parameter, which accepts three levels: low, high, and max. It defaults to max…

Open weights other 753.3B parameters 1,048,576 tokens transformers

Model · Text generation

GLM-5.3

SAIFI INDUSTRIES

GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks: GLM-5.3 supports deployment with the following frameworks. Feel free to try them out: - SGLang — see cookbook - vLLM — see recipes - TokenSpeed — see here - Transformers — see transformers docs - KTransformers — see tutorial - Unsloth — see guide - For deployment on the Ascend NPU platform, inference frameworks such as vLLM-Ascend, xLLM and SGLang are supported — see here. - GLM-5.3 supports controlling the thinking budget through the reasoningeffort parameter, which accepts three levels: low, high, and max. It defaults to max…

Open weights other 753.3B parameters 1,048,576 tokens transformers

Model · Text generation

GLM-5.3

Vaibhav

GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks: GLM-5.3 supports deployment with the following frameworks. Feel free to try them out: - SGLang — see cookbook - vLLM — see recipes - TokenSpeed — see here - Transformers — see transformers docs - KTransformers — see tutorial - Unsloth — see guide - For deployment on the Ascend NPU platform, inference frameworks such as vLLM-Ascend, xLLM and SGLang are supported — see here. - GLM-5.3 supports controlling the thinking budget through the reasoningeffort parameter, which accepts three levels: low, high, and max. It defaults to max…

Open weights other 753.3B parameters 1,048,576 tokens transformers