GGUF repo · snapshot

microsoft/phi-4-gguf

14,144 downloads · 210 likes · updated 2025-11-24

View microsoft/phi-4-gguf on Hugging Face ↗

Quant levels in this repo

GGUF quant files, size and estimated bits per weight
QuantTypeFile sizeBits/weightEst. RAM/VRAM at 8,192 tokens
BF16 half precision (bf16), 16-bit 27.3 GB 16.0 34.1 GB
Q8_0 legacy, 8-bit 14.5 GB 8.5 18.1 GB
Q6_K k-quant, ~6-bit 11.2 GB 6.57 14.0 GB
Q5_1 legacy, 5-bit 10.3 GB 6.02 12.8 GB
Q5_K k-quant, ~5-bit 9.9 GB 5.79 12.3 GB
Q5_0 legacy, 5-bit 9.5 GB 5.54 11.8 GB
Q5_K_S k-quant, ~5-bit 9.5 GB 5.54 11.8 GB
Q4_1 legacy, 4-bit 8.6 GB 5.06 10.8 GB
Q4_K k-quant, ~4-bit 8.4 GB 4.94 10.5 GB
IQ4_NL i-quant, ~4-bit 7.9 GB 4.61 9.8 GB
Q4_K_S k-quant, ~4-bit 7.9 GB 4.61 9.8 GB
Q4_0 legacy, 4-bit 7.8 GB 4.58 9.8 GB
IQ4_XS i-quant, ~4-bit 7.5 GB 4.37 9.3 GB
Q3_K_L k-quant, ~3-bit 7.4 GB 4.33 9.2 GB
OTHER 2 shards unrecognized quant label 7.3 GB 4.27 9.1 GB
Q3_K k-quant, ~3-bit 6.9 GB 4.02 8.6 GB
IQ3_M i-quant, ~3-bit 6.4 GB 3.77 8.0 GB
IQ3_S i-quant, ~3-bit 6.1 GB 3.55 7.6 GB
Q3_K_S k-quant, ~3-bit 6.1 GB 3.55 7.6 GB
IQ3_XS i-quant, ~3-bit 5.8 GB 3.41 7.3 GB
IQ3_XXS i-quant, ~3-bit 5.7 GB 3.32 7.1 GB
Q2_K k-quant, ~2-bit 5.2 GB 3.03 6.5 GB

Bits/weight is the file's real size compared with the model's parameter count, not a lookup table. How the RAM/VRAM estimate works.

Change the context length

Loads in