GL

GLM 4.7 Flash

GLMGGUF by axteamUpdated 2026-11-02
Download on Hugging Face
Parameters31.2B
Context198K
Layers48
Architecturedeepseek2
Smallest quant18.9 GB
Quick answer

GLM 4.7 Flash needs about 20.3 GB of memory at Q4_K_M (a 18.9 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 4 quants, from 18.9 GB (Q4_K_M) to 33.2 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 3.4 GB.

GLM 4.7 Flash – 31.2B‑parameter MoE model for efficient local inference

GLM 4.7 Flash is a 31.2B‑parameter MoE model based on the deepseek2 architecture. It offers reasoning and tools abilities and is available in several GGUF quantizations for llama.cpp, Ollama, and LM Studio. The model is licensed under MIT and supports a 202752‑token context window.

Good at

  • Reasoning tasks
  • Tool usage
  • Long‑form generation

Limits

  • No vision support
  • Requires large VRAM for higher quantizations
  • No explicit language support list

Best for

  • Chatbots needing reasoning
  • Agentic workflows with tool calls
  • Long‑context document analysis

Who it’s for. Developers and researchers who need a high‑capacity MoE model that can be run locally with llama.cpp or compatible frameworks. The model is suitable for applications that benefit from reasoning and tool integration while keeping deployment lightweight.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M18.9 GB 20.3 GB
Too big Get file →
Q5_K_M22.2 GB 23.5 GB
Too big Get file →
Q6_K25.7 GB 27.0 GB
Too big Get file →
Q8_033.2 GB 34.6 GB
Too big Get file →

For 8 GB VRAM, use Q4_K_M (file size 18.91 GB, estimated 20.3 GB memory at 8 k context). For 12 GB VRAM, Q5_K_M (22.17 GB, 23.5 GB memory). For 16 GB VRAM, Q6_K (25.66 GB, 27 GB memory). For 32 GB VRAM, Q8_0 (33.2 GB, 34.6 GB memory). Estimates are approximate.

What GPU do you need for GLM 4.7 Flash?

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: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: the best quant that fits is Q5_K_M (22.2 GB file, about 23.5 GB in use).
  • 32 GB VRAM: the best quant that fits is Q6_K (25.7 GB file, about 27.0 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (33.2 GB file, about 34.6 GB in use).

Which GLM 4.7 Flash quant should you choose?

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

The Q8_0 file is 33.2 GB, about 1.8 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturedeepseek2
Parameters31.2B (approximate, mixture of experts)
Layers48
Trained context202,752 tokens
KV cache (fp16)102 KB per token

Source

Quantized byaxteam
FamilyGLM
Licensemit
Downloads (HF)592
Last updated2026-11-02

Frequently asked questions about GLM 4.7 Flash

How much VRAM does GLM 4.7 Flash need?

About 20.3 GB at Q4_K_M with an 8K context window. That is the 18.9 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 Flash on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 20.3 GB, so you would need a larger GPU or CPU offloading.

What is the file size of GLM 4.7 Flash GGUF?

It depends on the quant: Q4_K_M is 18.9 GB, Q5_K_M is 22.2 GB, Q6_K is 25.7 GB, Q8_0 is 33.2 GB.

What context length does GLM 4.7 Flash support?

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

Where can I download GLM 4.7 Flash GGUF?

The files are on Hugging Face in the axteam/GLM-4.7-Flash-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 Flash 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.

Can I run GLM 4.7 Flash on 8 GB VRAM?

Yes, the Q4_K_M quantization requires about 20.3 GB of VRAM at 8 k context, which is close to 8 GB but may need off‑loading or lower context.

Does GLM 4.7 Flash support vision tasks?

No, the model does not include vision capabilities.

What license applies to GLM 4.7 Flash?

The model is released under the MIT license.

Other GGUFs of GLM-4.7-Flash

Similar models

Browse all →

More from axteam

All by axteam →

More GLM models

All GLM →

Other medium models

All medium models →