alt.freeweights.glm / zai-org_GLM-4.7-Flash-GGUF
From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.glmSubject:

zai-org_GLM-4.7-Flash-GGUF

Date: 2026-11-15Commit: 464d075Signed: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 484 GB in all. Published by bartowski under MIT.

glm484GBzai-org_GLM-4.7-Flash-GGUFggufpermissive
FactsParamsnot statedSize484 GBFormatsggufTasktext generationLicenseMITFrom sourcepermissive
$ fw get bartowski/zai-org_GLM-4.7-Flash-GGUF
# manifest sha256 155e1944dffd… · 484 GB · 31 files
$ fw verify ./zai-org_GLM-4.7-Flash-GGUF bartowski/zai-org_GLM-4.7-Flash-GGUF
From sourceHosted (signed)bartowski/zai-org_GLM-4.7-Flash-GGUFLast check: 2026-11-15 04:45 UTC

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

Quantized of GLM-4.7-Flash.

Works with

Convert with

Overview

Size
484 GB
Weights
72.4 MB (smallest of 28 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
MIT (permissive)
Files
31, each with a sha256
Publisher
bartowski
Added
2026-11-15
Section
alt.freeweights.glm
Lineage

Original release from the publisher.

Base model: zai-org/GLM-4.7-Flash

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 04:45 UTCpassed

Model card

From the publisher at commit 464d075. Shown as plain text with links; images open at the publisher.

Llamacpp imatrix Quantizations of GLM-4.7-Flash by zai-org#

Using llama.cpp release b7779 for quantization.

Original model: https://huggingface.co/zai-org/GLM-4.7-Flash

All quants made using imatrix option with dataset from here

Run them in your choice of tools:

Note: if it's a newly supported model, you may need to wait for an update from the developers.

It's suggested you disable flash attention (--flash-attn off) for improved performance#
Re-uploaded with fixed imatrix from the fixed gating function: https://github.com/ggml-org/llama.cpp/pull/18980#

You'll need the updated llama.cpp to get proper output

Prompt format#

[gMASK]<sop><|system|>{system_prompt}<|user|>{prompt}<|assistant|><think>

Download a file (not the whole branch) from below:#

FilenameQuant typeFile SizeSplitDescription
GLM-4.7-Flash-bf16.ggufbf1659.91GBtrueFull BF16 weights.
GLM-4.7-Flash-Q8_0.ggufQ8_031.84GBfalseExtremely high quality, generally unneeded but max available quant.
GLM-4.7-Flash-Q6_K_L.ggufQ6_K_L24.98GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
GLM-4.7-Flash-Q6_K.ggufQ6_K24.83GBfalseVery high quality, near perfect, recommended.
GLM-4.7-Flash-Q5_K_L.ggufQ5_K_L21.76GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
GLM-4.7-Flash-Q5_K_M.ggufQ5_K_M21.57GBfalseHigh quality, recommended.
GLM-4.7-Flash-Q5_K_S.ggufQ5_K_S20.85GBfalseHigh quality, recommended.
GLM-4.7-Flash-Q4_1.ggufQ4_118.95GBfalseLegacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
GLM-4.7-Flash-Q4_K_L.ggufQ4_K_L18.71GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
GLM-4.7-Flash-Q4_K_M.ggufQ4_K_M18.47GBfalseGood quality, default size for most use cases, recommended.
GLM-4.7-Flash-Q4_K_S.ggufQ4_K_S17.78GBfalseSlightly lower quality with more space savings, recommended.
GLM-4.7-Flash-Q4_0.ggufQ4_017.39GBfalseLegacy format, offers online repacking for ARM and AVX CPU inference.
GLM-4.7-Flash-IQ4_NL.ggufIQ4_NL17.15GBfalseSimilar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
GLM-4.7-Flash-IQ4_XS.ggufIQ4_XS16.25GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
GLM-4.7-Flash-Q3_K_XL.ggufQ3_K_XL14.78GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
GLM-4.7-Flash-Q3_K_L.ggufQ3_K_L14.50GBfalseLower quality but usable, good for low RAM availability.
GLM-4.7-Flash-Q3_K_M.ggufQ3_K_M14.07GBfalseLow quality.
GLM-4.7-Flash-IQ3_M.ggufIQ3_M13.98GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
GLM-4.7-Flash-Q3_K_S.ggufQ3_K_S13.48GBfalseLow quality, not recommended.
GLM-4.7-Flash-IQ3_XS.ggufIQ3_XS12.71GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
GLM-4.7-Flash-IQ3_XXS.ggufIQ3_XXS12.25GBfalseLower quality, new method with decent performance, comparable to Q3 quants.
GLM-4.7-Flash-Q2_K_L.ggufQ2_K_L11.35GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
GLM-4.7-Flash-Q2_K.ggufQ2_K11.04GBfalseVery low quality but surprisingly usable.
GLM-4.7-Flash-IQ2_M.ggufIQ2_M9.85GBfalseRelatively low quality, uses SOTA techniques to be surprisingly usable.
GLM-4.7-Flash-IQ2_S.ggufIQ2_S8.78GBfalseLow quality, uses SOTA techniques to be usable.
GLM-4.7-Flash-IQ2_XS.ggufIQ2_XS8.67GBfalseLow quality, uses SOTA techniques to be usable.
GLM-4.7-Flash-IQ2_XXS.ggufIQ2_XXS7.62GBfalseVery low quality, uses SOTA techniques to be usable.

Embed/output weights#

Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.

Downloading using huggingface-cli#

Click to view download instructions

First, make sure you have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Then, you can target the specific file you want:

huggingface-cli download bartowski/zai-org_GLM-4.7-Flash-GGUF --include "zai-org_GLM-4.7-Flash-Q4_K_M.gguf" --local-dir ./

If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:

huggingface-cli download bartowski/zai-org_GLM-4.7-Flash-GGUF --include "zai-org_GLM-4.7-Flash-Q8_0/*" --local-dir ./

You can either specify a new local-dir (zai-org_GLM-4.7-Flash-Q8_0) or download them all in place (./)

ARM/AVX information#

Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.

Now, however, there is something called "online repacking" for weights. details in this PR. If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.

As of llama.cpp build b4282 you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.

Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to this PR which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.

Click to view Q4_0_X_X information (deprecated

I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.

Click to view benchmarks on an AVX2 system (EPYC7702)

modelsizeparamsbackendthreadstestt/s% (vs Q4_0)
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp512204.03 ± 1.03100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp1024282.92 ± 0.19100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp2048259.49 ± 0.44100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg12839.12 ± 0.27100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg25639.31 ± 0.69100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg51240.52 ± 0.03100%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp512301.02 ± 1.74147%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp1024287.23 ± 0.20101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp2048262.77 ± 1.81101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg12818.80 ± 0.9948%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg25624.46 ± 3.0483%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg51236.32 ± 3.5990%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp512271.71 ± 3.53133%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp1024279.86 ± 45.63100%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp2048320.77 ± 5.00124%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg12843.51 ± 0.05111%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg25643.35 ± 0.09110%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg51242.60 ± 0.31105%

Q4_0_8_8 offers a nice bump to prompt processing and a small bump to text generation

Which file should I choose?#

Click here for details

A great write up with charts showing various performances is provided by Artefact2 here

The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.

If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.

If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.

Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.

If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.

If you want to get more into the weeds, you can check out this extremely useful feature chart:

llama.cpp feature matrix

But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.

These I-quants can also be used on CPU, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.

Credits#

Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.

Thank you ZeroWw for the inspiration to experiment with embed/output.

Thank you to LM Studio for sponsoring my work.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

Files

31 files · 484 GBWeights 72.4 MB (smallest of 28 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 31 files with their sha256
FileSizesha256
.gitattributes3.62 KBa505db2451b86a4d6b15f93a4e54df05d483fd02bc820727731003782fe35936
README.md14.6 KB2be632ae932385e117f5d2b5f9d83a38e462b53748b692158987a1eb570d0a06
zai-org_GLM-4.7-Flash-IQ2_M.gguf9.85 GB657767a44611acfaf0d3f7b7cc4ea8d6d2fc69b6b2c6bc5393330fdad1dfcb35
zai-org_GLM-4.7-Flash-IQ2_S.gguf8.78 GB772b1267d74d17e47058c4b02cac02c1556be504f943ded528d38d07232a6181
zai-org_GLM-4.7-Flash-IQ2_XS.gguf8.67 GB7536973645de8d6a0632e3c77df55f6334f086c2e38c005bc3129809e6edb075
zai-org_GLM-4.7-Flash-IQ2_XXS.gguf7.62 GBb1f25d90e0da65587a5a8e359b40a9183c5a31b4908b3ee5ff370e05cc5e2ba4
zai-org_GLM-4.7-Flash-IQ3_M.gguf14.0 GB94d918175fafae099251a0e147c33278b7b011b8d55c80a8de28ac06912ba098
zai-org_GLM-4.7-Flash-IQ3_XS.gguf12.7 GBac02733ba8d286b8ef430a15bd38f0841b6a5f2c0baadcd4719b94f7b61ac628
zai-org_GLM-4.7-Flash-IQ3_XXS.gguf12.2 GB20e9af1ef974d3ad6bfa34630ad533c145194809dc9fd8d66a019185e40dedd1
zai-org_GLM-4.7-Flash-IQ4_NL.gguf17.1 GB5d624d55bfff1c6f0406b3415818b2441b654b9f5a03fd3b47af75b0735a7e45
zai-org_GLM-4.7-Flash-IQ4_XS.gguf16.3 GBe6472e66ad5671d72142ca5f304fbace0c771f706ae081ecbbc17b7a2bb6cc09
zai-org_GLM-4.7-Flash-Q2_K.gguf11.0 GB6025eb8f3185513e23d912b69ed6c45c054b7faceafef1e610c9f094e825ea9c
zai-org_GLM-4.7-Flash-Q2_K_L.gguf11.4 GB1876d2ce78e99ce8d29943cf53d8423f9ca333efce3a7672df6b9b43a4645b37
zai-org_GLM-4.7-Flash-Q3_K_L.gguf14.5 GB77828f8b8ee4a651b42ad2209248e29fefa280aa08324a525272c46731b11972
zai-org_GLM-4.7-Flash-Q3_K_M.gguf14.1 GB924e61ddfa5f33126585950eb9867f1d6b169eba93d15c342b8199f5e5c5a8b6
zai-org_GLM-4.7-Flash-Q3_K_S.gguf13.5 GB8cb9105200897d720ab823fe0460edb0234df948099320f72a6afaa382b04018
zai-org_GLM-4.7-Flash-Q3_K_XL.gguf14.8 GB48504f5694eb0374b35adb9b43b18ceb567eed8595bf087a90067c5bc195be89
zai-org_GLM-4.7-Flash-Q4_0.gguf17.4 GB9a317c59b529dc536661452abfb670874a5baf8e3a1aaf5b40993c01bb12c013
zai-org_GLM-4.7-Flash-Q4_1.gguf19.0 GBd123483d4a5886665198cf5898ecbc24f9ebd3993808ddcf878455b734ad905d
zai-org_GLM-4.7-Flash-Q4_K_L.gguf18.7 GBff96c07bc56c16778e8542186669ab22481cbd946db7f451566faac48efba4ff
zai-org_GLM-4.7-Flash-Q4_K_M.gguf18.5 GB42c0c1a30fe2f30097ffedd554a94c2d6abc5f95b8a35ce99cd523f78ef6711b
zai-org_GLM-4.7-Flash-Q4_K_S.gguf17.8 GBa422fe8f5e0f970c8e50b5727b076abbd66e6da95e10c30f7645be177d476c57
zai-org_GLM-4.7-Flash-Q5_K_L.gguf21.8 GB68bf323cdde04132af548603c2968e5808a606dad676beb6040a53d6014e850c
zai-org_GLM-4.7-Flash-Q5_K_M.gguf21.6 GB9e0156957bd07760644aa2a3b6d6791ac8796f2c1bc9c75a2cb07cef5ccb5764
zai-org_GLM-4.7-Flash-Q5_K_S.gguf20.8 GB8098862a7d4825805fbf6a4edd00311779df798d37f0099b4d2260e1123b10ae
zai-org_GLM-4.7-Flash-Q6_K.gguf24.8 GB4c80f55211d08ce7cc4b12d7a8fa1f10d6f7a634229c6cf9a7190565a2b5eee1
zai-org_GLM-4.7-Flash-Q6_K_L.gguf25.0 GB1b5f54977184d612572b93ec3babc60e341e9f9b86f5e5003bd27f30df64f859
zai-org_GLM-4.7-Flash-Q8_0.gguf31.8 GBf5a2fd2d73d43070c9c88c204ea7c196d8e9110092521320ddf7a80b7b673fe5
zai-org_GLM-4.7-Flash-bf16/zai-org_GLM-4.7-Flash-bf16-00001-of-00002.gguf39.7 GBb542fa88e0314fc5d5058c7be6202b90ec44d8a423dac9e4a712247c2edad5d4
zai-org_GLM-4.7-Flash-bf16/zai-org_GLM-4.7-Flash-bf16-00002-of-00002.gguf20.2 GB102b53fa9f5cd32b62c6d72745906f8246d38d21a5b675b58e7feea69498200e
zai-org_GLM-4.7-Flash-imatrix.gguf72.4 MB3972a387e06b0d1f6bc75c79700a6d1dc2fa950665be9b80ef1dc28a0c03659d
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
464d07505b pinned now2026-11-15 04:45 UTC31 files · 484 GB

Use it

$ fw get bartowski/zai-org_GLM-4.7-Flash-GGUF
# manifest sha256 155e1944dffd… · 484 GB · 31 files
$ fw verify ./zai-org_GLM-4.7-Flash-GGUF bartowski/zai-org_GLM-4.7-Flash-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bartowski/zai-org_GLM-4.7-Flash-GGUF.json --dir ./zai-org_GLM-4.7-Flash-GGUF $ python3 fw.py verify ./zai-org_GLM-4.7-Flash-GGUF ./bartowski__zai-org_GLM-4.7-Flash-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/zai-org_GLM-4.7-Flash-GGUF --revision 464d07505b441959737cd04d900f047469614c8d --local-dir ./zai-org_GLM-4.7-Flash-GGUF
llama.cppDownload one GGUF variant (zai-org_GLM-4.7-Flash-imatrix, 72.4 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/zai-org_GLM-4.7-Flash-GGUF --include "zai-org_GLM-4.7-Flash-imatrix*" --local-dir ./zai-org_GLM-4.7-Flash-GGUF $ llama-server -m ./zai-org_GLM-4.7-Flash-GGUF/zai-org_GLM-4.7-Flash-imatrix.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./zai-org_GLM-4.7-Flash-GGUF/zai-org_GLM-4.7-Flash-imatrix.gguf\n' > Modelfile $ ollama create zai-org-glm-4.7-flash-gguf -f Modelfile

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
README.md
Text sha256
2be632ae932385e117f5d2b5f9d83a38e462b53748b692158987a1eb570d0a06
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: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.glmSubject: zai-org_GLM-4.7-Flash-GGUFDate: 2026-11-15Commit: 464d075Signed: 2DC28CC7B26A283B ✓
Upstream
bartowski/zai-org_GLM-4.7-Flash-GGUF
Pinned commit
464d07505b441959737cd04d900f047469614c8d
Manifest
zai-org_GLM-4.7-Flash-GGUF.json · .minisig
Manifest sha256
155e1944dffd6d9fd194115eda2cc28c9d8e3eb42e55cb59a5eb35b80c260061
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:45 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/zai-org_GLM-4.7-Flash-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/zai-org_GLM-4.7-Flash-GGUF.json.minisig $ minisign -Vm zai-org_GLM-4.7-Flash-GGUF.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

Parent

zai-org/GLM-4.7-Flash · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/zai-org_GLM-4.7-Flash-GGUF
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. zai-org_GLM-4.7-Flash-GGUF.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