unsloth

GLM 4.7 Flash

GLM 4.7 Flash is a 29.9B mixture-of-experts deepseek2 model from unsloth, with about 6.4B parameters active per token. Configured context length is 202,752 tokens. License: mit. Quant sizes are the GGUF file bytes published on Hugging Face when a file exists.

Parameters29.9B / 6.4B active
Context198K
Attentionmla
Licensemit

47 layers · 20 KV heads · head dim 102 · GGUF repo · config

Quant file sizes

QuantFile sizeSource
BF1655.8 GBHugging Face file bytes
UD-Q8_K_XL33.2 GBHugging Face file bytes
Q8_029.7 GBHugging Face file bytes
UD-Q6_K_XL24.4 GBHugging Face file bytes
Q6_K23.0 GBHugging Face file bytes
UD-Q5_K_XL20.2 GBHugging Face file bytes
Q5_K_M19.9 GBHugging Face file bytes
Q5_K_S19.4 GBHugging Face file bytes
UD-Q4_K_XL16.3 GBHugging Face file bytes
Q4_K_M17.1 GBHugging Face file bytes
Q4_K_S16.1 GBHugging Face file bytes
IQ4_NL16.0 GBHugging Face file bytes
IQ4_XS15.2 GBHugging Face file bytes
Q4_117.7 GBHugging Face file bytes
Q4_016.0 GBHugging Face file bytes
UD-Q3_K_XL12.8 GBHugging Face file bytes
Q3_K_M13.6 GBHugging Face file bytes
Q3_K_S12.4 GBHugging Face file bytes
UD-IQ3_XXS12.0 GBHugging Face file bytes
UD-Q2_K_XL11.1 GBHugging Face file bytes
Q2_K21.2 GBHugging Face file bytes
UD-IQ2_XXS9.79 GBHugging Face file bytes
UD-IQ1_M9.13 GBHugging Face file bytes
UD-IQ1_S8.61 GBHugging Face file bytes

On common machines

DeviceVerdictQuantSpeed
GeForce RTX 4060 Ti 8GBExpert offloadUD-Q3_K_XL47–64
GeForce RTX 3060 12GBTight fitUD-IQ2_XXS74–101
GeForce RTX 4060 Ti 16GBTight fitUD-Q3_K_XL47–64
GeForce RTX 4090Tight fitUD-Q5_K_XL110–150
GeForce RTX 5090RunsUD-Q6_K_XL164–224
Apple M4 ProTight fitUD-Q4_K_XL36–49
Apple M5Tight fitUD-IQ2_XXS31–43
CPU only · DDR5-5600Runs on CPUQ6_K8.7–12

Smallest devices that fit it fully

Run it

Commands for the GeForce RTX 4060 Ti 16GB estimate (UD-Q3_K_XL).

llama.cpp
llama-server -hf unsloth/GLM-4.7-Flash-GGUF:UD-Q3_K_XL -c 8192 -ngl 47
Ollama
ollama run glm-4.7-flash
LM Studio
lms get unsloth/GLM-4.7-Flash-GGUF
# Then load quant UD-Q3_K_XL