GL

GLM 4.7

GLMGGUF by QuantPastureUpdated 2026-05-01
Download on Hugging Face
Parameters358B
Context198K
Layers93
Architectureglm4moe
Smallest quant0.7 GB
Quick answer

GLM 4.7 needs about 228.9 GB of memory at Q4_K_M (a 225.3 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 5 quants, from 0.7 GB to 268.6 GB (Q5_K_M). Longer context needs more: at 32K tokens the KV cache alone adds about 12.5 GB.

GLM 4.7 is a 358B-parameter GLM model in GGUF format, quantized by QuantPasture. Its trained context length is 198K tokens. The repository has 5 quant files, from 0.7 GB to 268.6 GB (Q5_K_M).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.7 GB 4.3 GB
Fits Get file →
IQ2_M115.0 GB (4 parts) 118.7 GB
Too big Get file →
IQ4_XS177.5 GB (5 parts) 181.1 GB
Too big Get file →
Q4_K_M225.3 GB (6 parts) 228.9 GB
Too big Get file →
Q5_K_M268.6 GB (7 parts) 272.2 GB
Too big Get file →

What GPU do you need for GLM 4.7?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: the best quant that fits is the main file (0.7 GB file, about 4.3 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (0.7 GB file, about 4.3 GB in use).
  • 12 GB VRAM: the best quant that fits is the main file (0.7 GB file, about 4.3 GB in use).
  • 16 GB VRAM: the best quant that fits is the main file (0.7 GB file, about 4.3 GB in use).
  • 24 GB VRAM: the best quant that fits is the main file (0.7 GB file, about 4.3 GB in use).
  • 32 GB VRAM: the best quant that fits is the main file (0.7 GB file, about 4.3 GB in use).
  • 48 GB VRAM: the best quant that fits is the main file (0.7 GB file, about 4.3 GB in use).

Which GLM 4.7 quant should you choose?

Q4_K_M is the usual starting point for GLM 4.7: it balances file size and quality well. Here it is a 225.3 GB file.

If memory is tight, the smallest file is the first one in the table at 0.7 GB, with the quality trade-offs that come with fewer bits.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureglm4moe
Parameters358B (approximate, mixture of experts)
Layers93
Trained context202,752 tokens
KV cache (fp16)372 KB per token

Source

Quantized byQuantPasture
FamilyGLM
Base modelzai-org/GLM-4.7
Licensemit
Downloads (HF)69
Last updated2026-05-01

Frequently asked questions about GLM 4.7

How much VRAM does GLM 4.7 need?

About 228.9 GB at Q4_K_M with an 8K context window. That is the 225.3 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run GLM 4.7 on an 8 GB GPU?

Yes, with the smaller files: the 0.7 GB file needs about 4.3 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of GLM 4.7 GGUF?

It depends on the quant: file is 0.7 GB, IQ2_M is 115.0 GB, IQ4_XS is 177.5 GB, Q4_K_M is 225.3 GB, Q5_K_M is 268.6 GB.

What context length does GLM 4.7 support?

The GGUF header lists a trained context length of 202,752 tokens (198K). The KV cache grows with the context you use: about 3.1 GB at 8K and 12.5 GB at 32K.

Where can I download GLM 4.7 GGUF?

The files are on Hugging Face in the QuantPasture/GLM-4.7-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does GLM 4.7 use?

Hugging Face lists the license as mit. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of GLM-4.7

Similar models

Browse all →

More from QuantPasture

All by QuantPasture →

More GLM models

All GLM →

Other large models

All large models →