Q4_K_M
What is Q4_K_M?
In one sentence: Q4_K_M is a popular GGUF quantization level that uses about 4 to 5 bits per weight with smart mixing, giving a good balance of size and quality.
"Q4" means about 4-bit, "K" means it uses the k-quant method with grouped scaling, and "M" means medium, keeping some important layers at higher precision. It is often recommended as the default choice.
What does Q4_K_M look like?
"mistral-7b.Q4_K_M.gguf" is about 4.4 GB, compared with about 14 GB in 16-bit.
Why does Q4_K_M matter?
If you are unsure which GGUF to download, Q4_K_M is usually a safe pick.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/q4-k-m/">Q4_K_M, explained simply</a> (The AI Math Dictionary)