GLM-4.7-Flash

30B-A3B

Zhipu GLM-4.7

Zhipu's lightweight member of GLM-4.7: 30B total, about 3B active per token, MIT licence. Its attention is MLA, which caches one compressed 576-value vector per token per layer instead of full keys and values — so at 32K context the cache is under 2 GB where a conventional 47-layer model would need several times that. llama.cpp runs it as a DeepSeek-2-style model. Sizes below come from bartowski's GGUF files; quality loss per level has not been published.

⬇ 12.9K HF downloads♥ 59 likesbartowski/zai-org_GLM-4.7-Flash-GGUF· stats from 11/15/2026
Consumer GPUPro GPUMac / Apple Silicon

131K

Max Context

2

Quant Variants

GGUF Q8_0

Best Quality

—

Perplexity rise (best build)

Quantization Variants

Per-quant VRAM, quality loss, and inference speed on RTX 4090

Measured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports

FormatLevelBPWVRAMPPL LossSpeedSourceActions
GGUFQ4_K_M4.9319.5 GB——Estimated
CalcHF
GGUFQ8_08.5133.5 GB——Estimated
CalcHF

Which file each size is for

A file size is not a memory figure: the VRAM column is the calculator's total at 4K context — weights plus KV cache plus a 10% activation buffer. Units differ on purpose: file sizes are decimal GB, as Hugging Face lists them; the VRAM column is GiB (1024³ bytes) with 2% added to the weights, so 7.12 GB of file counts as about 6.8 GiB there. A vision projector (mmproj), where the repo ships one, is a separate download and is in neither number.

Related community runs

These runs describe their own settings. Their speeds do not replace this estimate or prove your configuration fits.

Our reviewed link index has no run for this model yet. You can browse community reports or share your own test below.

Browse more runs on llamaPerf ↗
36B

Seed-OSS 36B Instruct

ByteDance Seed

Consumer GPUPro GPU
Q4_K_M23.9 GB+2.7%perplexity rise

Dense 36B with a native 512K context. The Q4_K_M file is 21.8 GB, so with cache and buffers it needs about 23.9 GB at 4K: tight on a 24 GB card, where Q3_K_M (19.5 GB) is the comfortable choice, or a 2×16GB split. The AWQ build is 21.1 GB, not the 4-bit rate the name suggests. Context is the real cost: 512K of KV cache is roughly 128GB on its own, so budget context first and weights second.

27B

Qwen3.8 27B

Alibaba Qwen3.8

Consumer GPUPro GPU
Q4_K_M18.5 GB—perplexity rise

Hybrid attention: only 16 of its 64 layers keep a KV cache, which is why a 27B model holds a 262K context in about 16GB of cache rather than 64GB. Sizing it as a conventional stack overstates the cache fourfold — the estimates here count the 16 and match published measurements at 8K, 32K and 262K. Quality loss per level has not been published.

26B-A4B

Gemma 4 26B-A4B IT

Google Gemma 4

Consumer GPUPro GPU
Q4_K_M18.2 GB—perplexity rise

Google's Gemma 4 mixture-of-experts model: about 25B parameters in the text model, roughly 4B active per token, a 256K window and image input. Only 5 of its 30 layers keep a cache that grows with context, and those use fewer, wider heads, so the cache stays small — about 0.9 GB at 32K and 5.3 GB at the full 256K. At Q4_K_M that is about 18.8 GB at 32K: comfortable on a 24 GB card, which can still load the whole window (tight, about 23.6 GB). A 16 GB card cannot hold it, since the Q4_K_M file alone is 17.0 GB. The vision encoder is a separate 1.2 GB file on top. Sizes come from bartowski's GGUF files, whose Q4_K_M works out at 5.40 bits per weight, well above the generic 4-bit rate; Unsloth's UD-Q4_K_M is a different file, 0.09 GB smaller. No per-level quality loss has been published.

31B

Gemma 4 31B IT

Google Gemma 4

Consumer GPUPro GPU
Q4_K_M22.1 GB—perplexity rise

Google's dense Gemma 4 flagship: about 31B parameters, a 256K window and image input. Only 10 of its 60 layers cache the full context, and those use four wide KV heads, so 128K of context adds about 11 GB of cache where a conventional 60-layer design would need about 120 GB. At Q4_K_M it needs about 22.1 GB at 4K, tight on a 24 GB card; Q3_K_M is about 18.3 GB at 4K. A 32 GB card holds Q4_K_M at 32K comfortably. Google also publishes its own quantization-aware (QAT) Q4_0 build, a single 17.7 GB file: about 20.1 GB at 4K, comfortable on 24 GB up to 16K. Its 1.2 GB vision encoder is a separate file, and with it loaded even 4K is tight on 24 GB. The other levels are sized from bartowski's GGUF files, and no per-level quality loss has been published. That repository also carries two MTP draft-head files (349 MB at Q4_0, 515 MB at Q8_0) for speculative decoding; they are not the model itself and are not counted in these sizes.

Running GLM-4.7-Flash locally

At Q4_K_M and 4K of context, GLM-4.7-Flash needs about 19.5 GB — 17.5 GB of weights, 0.21 GB of KV cache and a 1.8 GB activation buffer. The smallest cards in this index that clear that comfortably are 24 GB ones — 4 of them, from the RTX 3090 up — and 31 of the 78 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.

What longer context costs

Going from 4K to 32K adds about 1.44 GB, taking the total to 21.1 GB. Weights do not move with context — only the KV cache does, and it grows linearly, so this is the number to watch when planning for long documents. The model's native window is 128K; holding all of it at Q4_K_M would need about 27 GB.

Which build to download

This index only tracks GLM-4.7-Flash in GGUF, across 2 levels (Q4_K_M, Q8_0). No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving.

Common questions

How much VRAM does GLM-4.7-Flash need?
About 19.5 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 21.1 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
Will GLM-4.7-Flash run on a 24GB GPU?
Yes — at Q4_K_M and 4K context it needs about 19.5 GB, which leaves 4.5 GB spare on a RTX 3090, or on any of the other 24 GB cards here (4 in all). That is the smallest size in this index that clears it comfortably; 31 of 78 do.
Which quantization of GLM-4.7-Flash should I use?
No published quality comparison exists for this model, so pick by footprint: Q4_K_M is the level most people run, and a higher bits-per-weight level is more faithful. All 2 levels in the index are Q4_K_M, Q8_0. Note this is a mixture-of-experts model — all parameters must be resident even though only a fraction are active per token, so the memory cost follows the total, not the active count.

Where this model fits

Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.

Tight but possible
Radeon RX 7900 XT20GB
Ships in
GGUF

This page's figures change when the model or the runtime does.Last updated 2026-11-15 RSS → /feed.xml