alt.freeweights.glm / GLM-Z1-32B-0414
From: THUDM <huggingface.co/THUDM>Newsgroups: alt.freeweights.glmSubject:

GLM-Z1-32B-0414

Date: 2026-11-15Commit: 8eb2858Signed: 2DC28CC7B26A283B ✓

Text generation model with 32.6B parameters. Safetensors weights, 65.2 GB in all. Published by THUDM under MIT.

32.6B params65.2GBGLM-Z1-32B-0414safetensorspermissive
FactsParams32.6BSize65.2 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get THUDM/GLM-Z1-32B-0414
# manifest sha256 97b603da79a5… · 65.2 GB · 24 files
$ fw verify ./GLM-Z1-32B-0414 THUDM/GLM-Z1-32B-0414
From sourceHosted (signed)THUDM/GLM-Z1-32B-0414Last check: 2026-11-15 02:34 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
65.2 GB
Weights
65.1 GB (safetensors)
Parameters
32.6B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
24, each with a sha256
Publisher
THUDM
Added
2026-11-15
Section
alt.freeweights.glm
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:34 UTCpassed

Model card

From the publisher at commit 8eb2858. Shown as plain text with links; images open at the publisher.

GLM-4-Z1-32B-0414#

Introduction#

The GLM family welcomes a new generation of open-source models, the GLM-4-32B-0414 series, featuring 32 billion parameters. Its performance is comparable to OpenAI's GPT series and DeepSeek's V3/R1 series, and it supports very user-friendly local deployment features. GLM-4-32B-Base-0414 was pre-trained on 15T of high-quality data, including a large amount of reasoning-type synthetic data, laying the foundation for subsequent reinforcement learning extensions. In the post-training stage, in addition to human preference alignment for dialogue scenarios, we also enhanced the model's performance in instruction following, engineering code, and function calling using techniques such as rejection sampling and reinforcement learning, strengthening the atomic capabilities required for agent tasks. GLM-4-32B-0414 achieves good results in areas such as engineering code, Artifact generation, function calling, search-based Q&A, and report generation. Some benchmarks even rival larger models like GPT-4o and DeepSeek-V3-0324 (671B).

GLM-Z1-32B-0414 is a reasoning model with deep thinking capabilities. This was developed based on GLM-4-32B-0414 through cold start and extended reinforcement learning, as well as further training of the model on tasks involving mathematics, code, and logic. Compared to the base model, GLM-Z1-32B-0414 significantly improves mathematical abilities and the capability to solve complex tasks. During the training process, we also introduced general reinforcement learning based on pairwise ranking feedback, further enhancing the model's general capabilities.

GLM-Z1-Rumination-32B-0414 is a deep reasoning model with rumination capabilities (benchmarked against OpenAI's Deep Research). Unlike typical deep thinking models, the rumination model employs longer periods of deep thought to solve more open-ended and complex problems (e.g., writing a comparative analysis of AI development in two cities and their future development plans). The rumination model integrates search tools during its deep thinking process to handle complex tasks and is trained by utilizing multiple rule-based rewards to guide and extend end-to-end reinforcement learning. Z1-Rumination shows significant improvements in research-style writing and complex retrieval tasks.

Finally, GLM-Z1-9B-0414 is a surprise. We employed the aforementioned series of techniques to train a 9B small-sized model that maintains the open-source tradition. Despite its smaller scale, GLM-Z1-9B-0414 still exhibits excellent capabilities in mathematical reasoning and general tasks. Its overall performance is already at a leading level among open-source models of the same size. Especially in resource-constrained scenarios, this model achieves an excellent balance between efficiency and effectiveness, providing a powerful option for users seeking lightweight deployment.

Performance#

Image: image

Image: image

Model Usage Guidelines#

I. Sampling Parameters#
ParameterRecommended ValueDescription
temperature0.6Balances creativity and stability
top_p0.95Cumulative probability threshold for sampling
top_k40Filters out rare tokens while maintaining diversity
max_new_tokens30000Leaves enough tokens for thinking
II. Enforced Thinking#
  • Add \<think\>\n to the first line: Ensures the model thinks before responding
  • When using chat_template.jinja, the prompt is automatically injected to enforce this behavior
III. Dialogue History Trimming#
  • Retain only the final user-visible reply. Hidden thinking content should not be saved to history to reduce interference—this is already implemented in chat_template.jinja
IV. Handling Long Contexts (YaRN)#
  • When input length exceeds 8,192 tokens, consider enabling YaRN (Rope Scaling)
  • In supported frameworks, add the following snippet to config.json:
  "rope_scaling": {
    "type": "yarn",
    "factor": 4.0,
    "original_max_position_embeddings": 32768
  }
  • Static YaRN applies uniformly to all text. It may slightly degrade performance on short texts, so enable as needed.

Inference Code#

Make Sure Using transforemrs>=4.51.3.

from transformers import AutoModelForCausalLM, AutoTokenizer

MODEL_PATH = "THUDM/GLM-4-Z1-32B-0414"

tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH)
model = AutoModelForCausalLM.from_pretrained(MODEL_PATH, device_map="auto")

message = [{"role": "user", "content": "Let a, b be positive real numbers such that ab = a + b + 3. Determine the range of possible values for a + b."}]

inputs = tokenizer.apply_chat_template(
    message,
    return_tensors="pt",
    add_generation_prompt=True,
    return_dict=True,
).to(model.device)

generate_kwargs = {
    "input_ids": inputs["input_ids"],
    "attention_mask": inputs["attention_mask"],
    "max_new_tokens": 4096,
    "do_sample": False,
}
out = model.generate(**generate_kwargs)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Citations#

If you find our work useful, please consider citing the following paper.

@misc{glm2024chatglm,
      title={ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools}, 
      author={Team GLM and Aohan Zeng and Bin Xu and Bowen Wang and Chenhui Zhang and Da Yin and Diego Rojas and Guanyu Feng and Hanlin Zhao and Hanyu Lai and Hao Yu and Hongning Wang and Jiadai Sun and Jiajie Zhang and Jiale Cheng and Jiayi Gui and Jie Tang and Jing Zhang and Juanzi Li and Lei Zhao and Lindong Wu and Lucen Zhong and Mingdao Liu and Minlie Huang and Peng Zhang and Qinkai Zheng and Rui Lu and Shuaiqi Duan and Shudan Zhang and Shulin Cao and Shuxun Yang and Weng Lam Tam and Wenyi Zhao and Xiao Liu and Xiao Xia and Xiaohan Zhang and Xiaotao Gu and Xin Lv and Xinghan Liu and Xinyi Liu and Xinyue Yang and Xixuan Song and Xunkai Zhang and Yifan An and Yifan Xu and Yilin Niu and Yuantao Yang and Yueyan Li and Yushi Bai and Yuxiao Dong and Zehan Qi and Zhaoyu Wang and Zhen Yang and Zhengxiao Du and Zhenyu Hou and Zihan Wang},
      year={2024},
      eprint={2406.12793},
      archivePrefix={arXiv},
      primaryClass={id='cs.CL' full_name='Computation and Language' is_active=True alt_name='cmp-lg' in_archive='cs' is_general=False description='Covers natural language processing. Roughly includes material in ACM Subject Class I.2.7. Note that work on artificial languages (programming languages, logics, formal systems) that does not explicitly address natural-language issues broadly construed (natural-language processing, computational linguistics, speech, text retrieval, etc.) is not appropriate for this area.'}
}

Files

24 files · 65.2 GBWeights 65.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 24 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
LICENSE1.06 KBd08ac7b31e69ddf9845d56f2705325e69873f87b0b34b4bd53a3185428a784ae
README.md7.33 KB3bd4e37aaf511462ed205dc1f8b05abc0579185c289b3986b1b16132bdd99b7e
chat_template.jinja1.29 KBadee3accece2e4a347280cb16580b3575d6164f2a0f4ac58a1a8392a346eb241
config.json690 Bd39fa377eb7e712d0ba5934d54a30dc6ab7c25b44a515d4a435f3956dcad07e2
generation_config.json160 B56ee0be8c595f22a6a80a822096533e10455fcd1e859e0fc36a6e760088147fa
model-00001-of-00014.safetensors4.96 GBb97b3120d886d1f5cc3dfa05a7a3bafb36cfc75caf0a806e77297384d04e1ab0
model-00002-of-00014.safetensors4.95 GBbad6261e9a8eda9af8fb587dfbb91c5c8dc9aa00100d49bde97aebbbeb93fe61
model-00003-of-00014.safetensors4.75 GB6a256462e39e4c8b9b79c8ec17b5b902fb696467f4764360badc2ba98e6530f2
model-00004-of-00014.safetensors4.47 GBfd31a375579480d6ff351bf43f2afa015b3cdb6e23d9602a3a7d914ebf2a5f70
model-00005-of-00014.safetensors4.96 GBe158cd22cb75ff7f7c8c15eecb8b9a362b9d59bd0edb8b75249bd2e789c548e2
model-00006-of-00014.safetensors4.95 GB6e4ec802e680f10906adb89c67b6d327b8c67a317d92fb88e08352a2d21f45c4
model-00007-of-00014.safetensors4.75 GBae79dc7cf52fd54bad0ad10251fd83afc6d67328f466ea49e2b103a88f3c45f9
model-00008-of-00014.safetensors4.47 GB4b038ff171058894f2ef69506f4e5af7000aefefd14d33247861dc7db975b1eb
model-00009-of-00014.safetensors4.96 GB4eeb9386db97cb8edf2c0816e3b7774088b509a896b19010fc0077366c41cc8b
model-00010-of-00014.safetensors4.95 GB3b045089267391262e694ac35cb863885e6e5671871dda9487b214eaec3731c4
model-00011-of-00014.safetensors4.75 GBa1ef21381c65ac89e3af567c30bbb377b7677e3322caeb6f606e4c2c79fdc56f
model-00012-of-00014.safetensors4.47 GBea8c873d3063c76427b04e9eba007f1dee8ed533ac1fc2679cf182e6f0fdda90
model-00013-of-00014.safetensors4.96 GB022a884f44092a51b22cf8ad16afaa720f9f19b0bd14345c4323bb9298a386dc
model-00014-of-00014.safetensors2.79 GBdd7a4a00ecaf403091a3ac44db13108819fcf445a4eea3d19c7996c77bb6a42b
model.safetensors.index.json51.6 KB8f5061442ff9bbe640c178782d758da73d1f84b1fceec112d3bba91eeb46aed2
special_tokens_map.json601 B35a6dd9ff6e2474ba72b180db853851d2a84fce3d12095089285f447c7474541
tokenizer.json20.0 MB76ebeac0d8bd7879ead7b43c16b44981f277e47225de2bd7de9ae1a6cc664a8c
tokenizer_config.json4.44 KB3bbc20fb2c38bbdf31bbadf9f73114449e3ecdaa6514e415266d6dc8facfdb64
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
8eb2858992 pinned now2026-11-15 02:34 UTC24 files · 65.2 GB

Use it

$ fw get THUDM/GLM-Z1-32B-0414
# manifest sha256 97b603da79a5… · 65.2 GB · 24 files
$ fw verify ./GLM-Z1-32B-0414 THUDM/GLM-Z1-32B-0414
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/THUDM/GLM-Z1-32B-0414.json --dir ./GLM-Z1-32B-0414 $ python3 fw.py verify ./GLM-Z1-32B-0414 ./THUDM__GLM-Z1-32B-0414.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download THUDM/GLM-Z1-32B-0414 --revision 8eb2858992c1f749e2a6d4075455decc2484722d --local-dir ./GLM-Z1-32B-0414
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("THUDM/GLM-Z1-32B-0414", revision="8eb2858992c1f749e2a6d4075455decc2484722d") model = AutoModelForCausalLM.from_pretrained("THUDM/GLM-Z1-32B-0414", revision="8eb2858992c1f749e2a6d4075455decc2484722d", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve THUDM/GLM-Z1-32B-0414 --revision 8eb2858992c1f749e2a6d4075455decc2484722d

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
d08ac7b31e69ddf9845d56f2705325e69873f87b0b34b4bd53a3185428a784ae
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: THUDM <huggingface.co/THUDM>Newsgroups: alt.freeweights.glmSubject: GLM-Z1-32B-0414Date: 2026-11-15Commit: 8eb2858Signed: 2DC28CC7B26A283B ✓
Upstream
THUDM/GLM-Z1-32B-0414
Pinned commit
8eb2858992c1f749e2a6d4075455decc2484722d
Manifest
GLM-Z1-32B-0414.json · .minisig
Manifest sha256
97b603da79a54d038b8a383cf6edeb6756da3db8541e39ee72f67952c268149f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:34 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/THUDM/GLM-Z1-32B-0414.json $ curl -O https://freeweights.allternit.com/manifests/THUDM/GLM-Z1-32B-0414.json.minisig $ minisign -Vm GLM-Z1-32B-0414.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download THUDM/GLM-Z1-32B-0414
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. GLM-Z1-32B-0414.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: arcee-ai_GLM-4-32B-Base-32K-GGUF
From: ggml-org <huggingface.co/ggml-org>Subject: AutoGLM-Phone-9B-GGUF
From: zai-org <huggingface.co/zai-org>Subject: cogagent-chat-hf
From: zai-org <huggingface.co/zai-org>Subject: CogView3-Plus-3B
From: zai-org <huggingface.co/zai-org>Subject: cogvlm-base-490-hf
From: laion <huggingface.co/laion>Subject: dev_set_part1_10k_glm_4_7_traces_jupiter