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+)…
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.
Runs On
What it takes to serve GLM-5.2-FP8 (753.3B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 1506.7 GB | 1808.0 GB | 8x MI325X (256 GB) Vultr |
$16.00 | 7x MI355X $18.13 · 7x B300 $46.20 |
| 8-bit | 753.3 GB | 904.0 GB | 4x MI325X (256 GB) Vultr |
$8.00 | 5x MI300X $9.25 · 4x MI355X $10.36 |
| 4-bit | 376.7 GB | 452.0 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 Sep 18, 2026.
Model Card
By Z.ai, published under mit, revision f33c6dc501ee.
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+)…
Read Z.ai's full model card
Join ourWeChat or Discord community.
Check out the GLM-5.2blog and GLM-5 Technical report.
Use GLM-5.2 API services onZ.ai API Platform.
Try GLM-5.2here.
Introduction
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: - Solid 1M Context: A solid 1M-token context that stably sustains long-horizon work - Advanced Coding with Flexible Effort: Stronger coding capabilities with multiple thinking effort levels to balance performance and latency - Improved Architecture: We propose IndexShare, which reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at a 1M context length. We also improve GLM-5.2’s MTP layer for speculative decoding, increasing the acceptance length by up to 20% - Pure Open: An MIT open-source license — no regional limits, technical access without borders
Benchmark
| Benchmark | GLM-5.2 | GLM-5.1 | Qwen3.7-Max | MiniMax M3 | DeepSeek-V4-Pro | Claude Opus 4.8 | GPT-5.5 | Gemini 3.1 Pro |
|---|---|---|---|---|---|---|---|---|
| Reasoning | ||||||||
| HLE | 40.5 | 31 | 41.4 | 37 | 37.7 | 49.8* | 41.4* | 45 |
| HLE (w/ Tools) | 54.7 | 52.3 | 53.5 | - | 48.2 | 57.9* | 52.2* | 51.4* |
| CritPt | 20.9 | 4.6 | 13.4 | 3.7 | 12.9 | 20.9 | 27.1 | 17.7 |
| AIME 2026 | 99.2 | 95.3 | 97 | - | 94.6 | 95.7 | 98.3 | 98.2 |
| HMMT Nov. 2025 | 94.4 | 94 | 95 | 84.4 | 94.4 | 96.5 | 96.5 | 94.8 |
| HMMT Feb. 2026 | 92.5 | 82.6 | 97.1 | 84.4 | 95.2 | 96.7 | 96.7 | 87.3 |
| IMOAnswerBench | 91.0 | 83.8 | 90 | - | 89.8 | 83.5 | - | 81 |
| GPQA-Diamond | 91.2 | 86.2 | 90 | 93 | 90.1 | 93.6 | 93.6 | 94.3 |
| Coding | ||||||||
| SWE-bench Pro | 62.1 | 58.4 | 60.6 | 59 | 55.4 | 69.2 | 58.6 | 54.2 |
| NL2Repo | 48.9 | 42.7 | 47.2 | 42.1 | 35.5 | 69.7 | 50.7 | 33.4 |
| DeepSWE | 46.2 | 18 | 18 | 20 | 8 | 58 | 70 | 10 |
| ProgramBench | 63.7 | 50.9 | - | - | 47.8 | 71.9 | 70.8 | 39.5 |
| Terminal Bench 2.1 (Terminus-2) | 81.0 | 63.5 | 75 | 65 | 64 | 85 | 84 | 74 |
| Terminal Bench 2.1 (Best Reported Harness) | 82.7 | 69 | - | - | - | 78.9 | 83.4 | 70.7 |
| FrontierSWE (Dominance) | 74.4 | 30.5 | - | - | 29.0 | 75.1 | 72.6 | 39.6 |
| PostTrainBench | 34.3 | 20.1 | - | - | - | 37.2 | 28.4 | 21.6 |
| SWE-Marathon | 13.0 | 1.0 | - | - | - | 26.0 | 12.0 | 4.0 |
| Agentic | ||||||||
| MCP-Atlas (Public Set) | 76.8 | 71.8 | 76.4 | 74.2 | 73.6 | 77.8 | 75.3 | 69.2 |
| Tool-Decathlon | 48.2 | 40.7 | - | - | 52.8 | 59.9 | 55.6 | 48.8 |
Serve GLM-5.2 Locally
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+) — see tutorial
- Unsloth (v0.1.47-beta+) — see guide
- For deployment on the
Ascend NPUplatform, inference frameworks such as vLLM-Ascend, xLLM and SGLang are supported — see here.
Footnote
- Humanity’s Last Exam (HLE) & other reasoning tasks: We use sampling parameters of
temperature=1.0,top_p=0.95for evaluation. We evaluate with a maximum generation length of163,840tokens. By default, we report the text-only subset; results marked with * are from the full set. For AIME, HMMT and IMOAnswerBench, we evaluate each question using the following system prompt:Your response should be in the following format:\nExplanation: {your explanation for your final answer}\nExact Answer: {your succinct, final answer}\nConfidence: {your confidence score between 0% and 100% for your answer}.We use GPT-5.5 (medium) as the judge model. For HLE-with-tools, we use a maximum context length of 300,000 tokens, with no context management strategy. - SWE-Bench Pro: We run the SWE-Bench Pro suite with OpenHands using a tailored instruction prompt. Settings:
temperature=1,top_p=1,max_new_tokens=32k, with a 400K context window. - NL2Repo: We evaluated NL2Repo with
temperature=1.0,top_p=1.0, andmax_new_tokens=48kunder 400k context. To prevent hacking, we use rule-based and a LLM-based judgement to prevent malicious behaviors (e.g., unauthorized pip or curl operations). - DeepSWE: We run DeepSWE with the official pier evaluation framework and the mini-swe-agent harness (
temperature=1.0,top_p=1.0,timeout=2h, 400K context). Each task is solved in an isolated container with 2 CPUs, 8 GB RAM, and no internet access. - ProgramBench: We evaluate ProgramBench (200 instances) with Claude-Code 2.1.156 using
temperature=1.0, top_p=1.0, max_tokens=64000, max_turns=2000, sample_timeout=6h, reasoning_effort=max, with a 400K context window. Each instance runs in a (4 CPUs, 8 GB RAM) sandbox with internet access disabled. - Terminal-Bench 2.1 (Terminus 2): We evaluate Terminal-Bench 2.1 with Terminus-2 framework using
parser=json,timeout=4h,temperature=1.0,top_p=1.0,max_new_tokens=48k,max_episodes=500, with a 256K context window. Resource limits are capped at 4 CPUs and 8 GB RAM. - Terminal-Bench 2.1 (Claude Code): We evaluate in Claude Code 2.1.167 with
temperature=1.0, top_p=0.95, max_new_tokens=131072. We override max_new_tokens to 128k via a transparent proxy, bypassing the 64k CLI cap to restore the configurability ofCLAUDE_CODE_MAX_OUTPUT_TOKENS. We remove wall-clock time limits, while preserving per-task CPU and memory constraints. Scores are averaged over 5 runs. - MCP-Atlas: All models were evaluated in think mode on the 500-task public subset with a 10-minute timeout per task. We use Gemini-3.0-Pro as the judge model for evaluation.
- Tool-Decathlon: We use the official evaluation service and set max_token to 128K.
- FrontierSWE: The evaluation was conducted by Proximal with 1M context length, max effort level, and 128K maximum output tokens. Dominance score reported as of 2026/06/16.
- PostTrainBench: The evaluation was conducted by PostTrainBench with 1M context length, max effort level, and 128K maximum output tokens.
- SWE-Marathon: The evaluation was conducted by Abundant AI with 1M context length, max effort level, and 128K maximum output tokens.
Citation
If you find GLM-5.2 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)
- 1,048,576
- Layers
- 78
- Hidden size
- 6,144
- Feed-forward size
- 12,288
- Attention heads
- 64
- Key/value heads
- 64
- Head dimension
- 192
- Vocabulary size
- 154,880
- Routed experts
- 256
- Experts active per token
- 8
- Model type
- glm_moe_dsa
- Quantization
- fp8
Identity and Version
- Repository
- zai-org/GLM-5.2-FP8
- Publisher
- Z.ai
- Task
- Text generation
- Modality
- Text
- Library
- transformers
- Parameters
- 753.3B parameters
- Languages
- en, zh
- Revision
- f33c6dc501ee5a2c7e35155653b1b1abbc320951
- First published
- 2026-06-16
- Last updated
- 2026-09-01
Files and Weights
150 files, 755.7 GB in total. The weights are 141 files totalling 755.6 GB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model-00001-of-00141.safetensors | Weights | 5.4 GB | cd4b389324d8 |
| model-00002-of-00141.safetensors | Weights | 5.4 GB | 11b80a3a469f |
| model-00003-of-00141.safetensors | Weights | 5.4 GB | 3960cfbfa5e2 |
| model-00004-of-00141.safetensors | Weights | 5.4 GB | bf88f32b6d8f |
| model-00005-of-00141.safetensors | Weights | 5.4 GB | ff48f71f3a00 |
| model-00006-of-00141.safetensors | Weights | 5.4 GB | 2e9ce4ee588a |
| model-00007-of-00141.safetensors | Weights | 5.4 GB | 99f92392fd0b |
| model-00008-of-00141.safetensors | Weights | 5.4 GB | af41af526c10 |
| model-00009-of-00141.safetensors | Weights | 5.4 GB | 6b63348060bc |
| model-00010-of-00141.safetensors | Weights | 5.4 GB | 512b70194c08 |
| model-00011-of-00141.safetensors | Weights | 5.4 GB | a0acf28004ce |
| model-00012-of-00141.safetensors | Weights | 5.4 GB | 5c9163d9d7ce |
| model-00013-of-00141.safetensors | Weights | 5.4 GB | ae74ec25db1c |
| model-00014-of-00141.safetensors | Weights | 5.4 GB | 4dcc960bd41c |
| model-00015-of-00141.safetensors | Weights | 5.4 GB | 9b0749ad2ad5 |
| model-00016-of-00141.safetensors | Weights | 5.4 GB | d55105e496b7 |
| model-00017-of-00141.safetensors | Weights | 5.4 GB | bcb77ae2f687 |
| model-00018-of-00141.safetensors | Weights | 5.4 GB | 756113e9521d |
| model-00019-of-00141.safetensors | Weights | 5.4 GB | 4dd4ec5b07f1 |
| model-00020-of-00141.safetensors | Weights | 5.4 GB | 5381c7174276 |
| model-00021-of-00141.safetensors | Weights | 5.4 GB | 13aa866d1b48 |
| model-00022-of-00141.safetensors | Weights | 5.4 GB | 99e5ca5f30d7 |
| model-00023-of-00141.safetensors | Weights | 5.4 GB | 23b63f18f5a6 |
| model-00024-of-00141.safetensors | Weights | 5.4 GB | fb99757b4ea9 |
| model-00025-of-00141.safetensors | Weights | 5.4 GB | e78dccea55fe |
| model-00026-of-00141.safetensors | Weights | 5.4 GB | 12a4f637a50f |
| model-00027-of-00141.safetensors | Weights | 5.4 GB | 9beb92efca20 |
| model-00028-of-00141.safetensors | Weights | 5.4 GB | 68d45c421cac |
| model-00029-of-00141.safetensors | Weights | 5.4 GB | fa8915c4907c |
| model-00030-of-00141.safetensors | Weights | 5.4 GB | 128b570a6fb5 |
| model-00031-of-00141.safetensors | Weights | 5.4 GB | aea2c9101490 |
| model-00032-of-00141.safetensors | Weights | 5.4 GB | aa6396111a23 |
| model-00033-of-00141.safetensors | Weights | 5.4 GB | eea8bf4e723a |
| model-00034-of-00141.safetensors | Weights | 5.4 GB | 140be56abe6e |
| model-00035-of-00141.safetensors | Weights | 5.4 GB | 0409d47af586 |
| model-00036-of-00141.safetensors | Weights | 5.4 GB | 85a859f10feb |
| model-00037-of-00141.safetensors | Weights | 5.4 GB | 944820353589 |
| model-00038-of-00141.safetensors | Weights | 5.4 GB | 6b90a5d73bdd |
| model-00039-of-00141.safetensors | Weights | 5.4 GB | 1dd05deff86b |
| model-00040-of-00141.safetensors | Weights | 5.4 GB | 4ae0969cb9eb |
| model-00041-of-00141.safetensors | Weights | 5.4 GB | d1cf4c756326 |
| model-00042-of-00141.safetensors | Weights | 5.4 GB | ec7f6d4e9ed6 |
| model-00043-of-00141.safetensors | Weights | 5.4 GB | 14c66c8e7eed |
| model-00044-of-00141.safetensors | Weights | 5.4 GB | f31755fee2c0 |
| model-00045-of-00141.safetensors | Weights | 5.4 GB | 69a3594b6db9 |
| model-00046-of-00141.safetensors | Weights | 5.4 GB | d7b3154d582e |
| model-00047-of-00141.safetensors | Weights | 5.4 GB | 20f1cf9bb3a9 |
| model-00048-of-00141.safetensors | Weights | 5.4 GB | 2a26a2037565 |
| model-00049-of-00141.safetensors | Weights | 5.4 GB | bf8a05ce48a2 |
| model-00050-of-00141.safetensors | Weights | 5.4 GB | 049791de5529 |
| model-00051-of-00141.safetensors | Weights | 5.4 GB | c9420d6bc9a0 |
| model-00052-of-00141.safetensors | Weights | 5.4 GB | df24a331f857 |
| model-00053-of-00141.safetensors | Weights | 5.4 GB | 2b20034a6014 |
| model-00054-of-00141.safetensors | Weights | 5.4 GB | b5c0bea9e984 |
| model-00055-of-00141.safetensors | Weights | 5.4 GB | fa20a21a419f |
| model-00056-of-00141.safetensors | Weights | 5.4 GB | e5d4fc532504 |
| model-00057-of-00141.safetensors | Weights | 5.4 GB | 5080ad8b5434 |
| model-00058-of-00141.safetensors | Weights | 5.4 GB | da916f8b9675 |
| model-00059-of-00141.safetensors | Weights | 5.4 GB | 3ec7a997bd5c |
| model-00060-of-00141.safetensors | Weights | 5.4 GB | 0ae31db7855f |
| model-00061-of-00141.safetensors | Weights | 5.4 GB | 1afc36868dba |
| model-00062-of-00141.safetensors | Weights | 5.4 GB | 838b4dd1c5e7 |
| model-00063-of-00141.safetensors | Weights | 5.4 GB | 8cf38b6b099a |
| model-00064-of-00141.safetensors | Weights | 5.4 GB | 40b02df8f891 |
| model-00065-of-00141.safetensors | Weights | 5.4 GB | 5bf6be418b15 |
| model-00066-of-00141.safetensors | Weights | 5.4 GB | 2551734ccee2 |
| model-00067-of-00141.safetensors | Weights | 5.4 GB | 655efe116a9a |
| model-00068-of-00141.safetensors | Weights | 5.4 GB | 112e330b035d |
| model-00069-of-00141.safetensors | Weights | 5.4 GB | 7f80b3f5a14f |
| model-00070-of-00141.safetensors | Weights | 5.4 GB | 7c076f1de1b5 |
| model-00071-of-00141.safetensors | Weights | 5.4 GB | e267072e3843 |
| model-00072-of-00141.safetensors | Weights | 5.4 GB | 5845408ff27a |
| model-00073-of-00141.safetensors | Weights | 5.4 GB | 6d6cd64c977e |
| model-00074-of-00141.safetensors | Weights | 5.4 GB | c1f8b037db3e |
| model-00075-of-00141.safetensors | Weights | 5.4 GB | 2a96a5f9a1aa |
| model-00076-of-00141.safetensors | Weights | 5.4 GB | 5b6c0998e8ad |
| model-00077-of-00141.safetensors | Weights | 5.4 GB | 0b82a3b26a50 |
| model-00078-of-00141.safetensors | Weights | 5.4 GB | d3d5ff52321d |
| model-00079-of-00141.safetensors | Weights | 5.4 GB | b0726d8326e3 |
| model-00080-of-00141.safetensors | Weights | 5.4 GB | 3b7b166d35ed |
| model-00081-of-00141.safetensors | Weights | 5.4 GB | 62e0c98997d0 |
| model-00082-of-00141.safetensors | Weights | 5.4 GB | 876a03ba4686 |
| model-00083-of-00141.safetensors | Weights | 5.4 GB | d5ae9a7f0ad6 |
| model-00084-of-00141.safetensors | Weights | 5.4 GB | 52d5819c2694 |
| model-00085-of-00141.safetensors | Weights | 5.4 GB | 3f957cf7d917 |
| model-00086-of-00141.safetensors | Weights | 5.4 GB | c5d273ee53b8 |
| model-00087-of-00141.safetensors | Weights | 5.4 GB | e225b3f1702d |
| model-00088-of-00141.safetensors | Weights | 5.4 GB | a6d83d3a12cd |
| model-00089-of-00141.safetensors | Weights | 5.4 GB | 255f5d2d0ac1 |
| model-00090-of-00141.safetensors | Weights | 5.4 GB | 6e6eb88c93d7 |
| model-00091-of-00141.safetensors | Weights | 5.4 GB | 9c6d88f3e9ec |
| model-00092-of-00141.safetensors | Weights | 5.4 GB | ca9968c3a6cd |
| model-00093-of-00141.safetensors | Weights | 5.4 GB | 4ab86288cd87 |
| model-00094-of-00141.safetensors | Weights | 5.4 GB | 7129cfcdfe40 |
| model-00095-of-00141.safetensors | Weights | 5.4 GB | d4735939ce0a |
| model-00096-of-00141.safetensors | Weights | 5.4 GB | 1b714733a49a |
| model-00097-of-00141.safetensors | Weights | 5.4 GB | fd81903eef65 |
| model-00098-of-00141.safetensors | Weights | 5.4 GB | e09c92cdf2c6 |
| model-00099-of-00141.safetensors | Weights | 5.4 GB | d519d13ac7f3 |
| model-00100-of-00141.safetensors | Weights | 5.4 GB | b5d665f76b0c |
| model-00101-of-00141.safetensors | Weights | 5.4 GB | 5b75eb844ab7 |
| model-00102-of-00141.safetensors | Weights | 5.4 GB | 28eb76a2c28f |
| model-00103-of-00141.safetensors | Weights | 5.4 GB | 429e8895b021 |
| model-00104-of-00141.safetensors | Weights | 5.4 GB | 7743c92ba1d7 |
| model-00105-of-00141.safetensors | Weights | 5.4 GB | 549bb6d2ec8f |
| model-00106-of-00141.safetensors | Weights | 5.4 GB | f3169c1f2168 |
| model-00107-of-00141.safetensors | Weights | 5.4 GB | 7d0647e19681 |
| model-00108-of-00141.safetensors | Weights | 5.4 GB | 4241bcc1d489 |
| model-00109-of-00141.safetensors | Weights | 5.4 GB | ca341526629c |
| model-00110-of-00141.safetensors | Weights | 5.4 GB | fa159d33e8ee |
| model-00111-of-00141.safetensors | Weights | 5.4 GB | 241d439b7e9b |
| model-00112-of-00141.safetensors | Weights | 5.4 GB | bc74fd2104cd |
| model-00113-of-00141.safetensors | Weights | 5.4 GB | b5fced3cfb9e |
| model-00114-of-00141.safetensors | Weights | 5.4 GB | 7fe881297d19 |
| model-00115-of-00141.safetensors | Weights | 5.4 GB | 36c153acebfb |
| model-00116-of-00141.safetensors | Weights | 5.4 GB | 155ce818f5f2 |
| model-00117-of-00141.safetensors | Weights | 5.4 GB | 60d6418fbf49 |
| model-00118-of-00141.safetensors | Weights | 5.4 GB | 32b0e7cef1f4 |
| model-00119-of-00141.safetensors | Weights | 5.4 GB | de51f8e7466b |
| model-00120-of-00141.safetensors | Weights | 5.4 GB | 74f4df573511 |
| model-00121-of-00141.safetensors | Weights | 5.4 GB | e5cf63f85e5e |
| model-00122-of-00141.safetensors | Weights | 5.4 GB | c0512387df59 |
| model-00123-of-00141.safetensors | Weights | 5.4 GB | 301ae56f7af7 |
| model-00124-of-00141.safetensors | Weights | 5.4 GB | f25bc1e47a5b |
| model-00125-of-00141.safetensors | Weights | 5.4 GB | 8a4cd0172f2e |
| model-00126-of-00141.safetensors | Weights | 5.4 GB | 621d4e7e495f |
| model-00127-of-00141.safetensors | Weights | 5.4 GB | b11e9d34e596 |
| model-00128-of-00141.safetensors | Weights | 5.4 GB | e4b268efb029 |
| model-00129-of-00141.safetensors | Weights | 5.4 GB | 867321e5576a |
| model-00130-of-00141.safetensors | Weights | 5.4 GB | dce94fdd617b |
| model-00131-of-00141.safetensors | Weights | 5.4 GB | 5171bb0bb868 |
| model-00132-of-00141.safetensors | Weights | 5.4 GB | fef2331b7bef |
| model-00133-of-00141.safetensors | Weights | 5.4 GB | 61a638742f08 |
| model-00134-of-00141.safetensors | Weights | 5.4 GB | 07d5ceb3cf77 |
| model-00135-of-00141.safetensors | Weights | 5.4 GB | d8b11554e41b |
| model-00136-of-00141.safetensors | Weights | 5.4 GB | 7df8ba296d8c |
| model-00137-of-00141.safetensors | Weights | 5.4 GB | 1a76e854af38 |
| model-00138-of-00141.safetensors | Weights | 5.4 GB | 5bcb9494f549 |
| model-00139-of-00141.safetensors | Weights | 5.4 GB | ce42807dc47e |
| model-00140-of-00141.safetensors | Weights | 5.4 GB | 16e24c096aa0 |
| model-00141-of-00141.safetensors | Weights | 4.7 GB | e1375c915621 |
| config.json | Configuration | 29.5 KB | — |
| generation_config.json | Configuration | 194 B | — |
| model.safetensors.index.json | Configuration | 11.4 MB | e0fe7f28c1f8 |
| LICENSE | Documentation | 1.1 KB | — |
| README.md | Documentation | 10.9 KB | — |
| chat_template.jinja | Other | 5.1 KB | — |
| .gitattributes | Repository | 1.7 KB | — |
| tokenizer.json | Tokenizer | 20.2 MB | 19e773648cb4 |
| tokenizer_config.json | Tokenizer | 761 B | — |
License and Download
- License
- mit
- Access
- Open weights, no gate
- Download size
- 755.6 GB
Released by Z.ai through its official repository on Hugging Face. Read the license.
Built From
- Described by arXiv:2602.15763
- Described by arXiv:2603.12201
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 755.6 GB |
| 16-bit | 1506.7 GB |
| 8-bit | 753.3 GB |
| 4-bit | 376.7 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About GLM-5.2-FP8
How much GPU memory does GLM-5.2-FP8 need?
About 1808 GB at 16-bit and 452 GB at 4-bit: the weights (753.3B parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run GLM-5.2-FP8 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.2-FP8 commercially?
Yes. GLM-5.2-FP8 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.2-FP8's context length?
1,048,576 tokens, from the maximum position embeddings in its published configuration.
Similar Models
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…
We introduce DeepSeek-V3.2, a model that harmonizes high computational efficiency with superior reasoning and agent performance. Our approach is built upon three key technical breakthroughs: 1. DeepSeek Sparse Attention (DSA): We introduce DSA, an efficient attention mechanism that substantially reduces computational complexity while preserving model performance, specifically optimized for long-context scenarios. 2. Scalable Reinforcement Learning Framework: By implementing a robust RL protocol and scaling post-training compute, DeepSeek-V3.2 performs comparably to GPT-5. Notably, our high-compute variant, DeepSeek-V3.2-Speciale, surpasses GPT-5 and exhibits reasoning proficiency on par…
We present DeepSeek-V3, a strong Mixture-of-Experts (MoE) language model with 671B total parameters with 37B activated for each token. To achieve efficient inference and cost-effective training, DeepSeek-V3 adopts Multi-head Latent Attention (MLA) and DeepSeekMoE architectures, which were thoroughly validated in DeepSeek-V2. Furthermore, DeepSeek-V3 pioneers an auxiliary-loss-free strategy for load balancing and sets a multi-token prediction training objective for stronger performance. We pre-train DeepSeek-V3 on 14.8 trillion diverse and high-quality tokens, followed by Supervised Fine-Tuning and Reinforcement Learning stages to fully harness its capabilities. Comprehensive evaluations…
DeepSeek-V3-0324 demonstrates notable improvements over its predecessor, DeepSeek-V3, in several key aspects. - More aesthetically pleasing web pages and game front-ends - Enhanced report analysis requests with more detailed outputs - Increased accuracy in Function Calling, fixing issues from previous V3 versions In the official DeepSeek web/app, we use the same system prompt with a specific date. For example, In our web and application environments, the temperature parameter $T{model}$ is set to 0.3. Because many users use the default temperature 1.0 in API call, we have implemented an API temperature $T{api}$ mapping mechanism that adjusts the input API temperature value of 1.0 to the…
We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1. DeepSeek-R1-Zero, a model trained via large-scale reinforcement learning (RL) without supervised fine-tuning (SFT) as a preliminary step, demonstrated remarkable performance on reasoning. With RL, DeepSeek-R1-Zero naturally emerged with numerous powerful and interesting reasoning behaviors. However, DeepSeek-R1-Zero encounters challenges such as endless repetition, poor readability, and language mixing. To address these issues and further enhance reasoning performance, we introduce DeepSeek-R1, which incorporates cold-start data before RL. DeepSeek-R1 achieves performance comparable to OpenAI-o1 across…