Quantizations for humanists
What Q4_K_M actually means. Why one abliterated model has twelve files. Why 'the model' stops being a single artifact once it exists as a spread of compressed variants. A non-engineer's guide to the cryptic strings on every download page.
A model's weights are billions of numbers. Native precision is 16-bit floating point (F16), so a 70B model needs 140 GB. Quantization is lossy compression: store each number in roughly 4 bits instead of 16, and the 70B drops to about 43 GB at Q4_K_M (Llama 3.1 70B, per llama.cpp's quantize README). The names decode: Q4_K_M is '4-bit, K-quant scheme, medium variant'. IQ3_XXS is 'I-quant 3-bit, extra-extra-small'. In llama.cpp's perplexity figures for Llama-3-8B, Q4_K_M adds 0.18, Q2_K adds 3.52, and going from Q6_K to Q8_0 gains only about 0.02. When a catalog lists over 21,000 abliterated models, it is not indexing that many distinct artifacts - we read it as indexing a smaller number of edits fanned out into clouds of compressed variants.
- What a model's weights actually are and why size matters
- How quantization trades precision for memory
- How to decode Q4_K_M character by character
- Why one model becomes a family of near-copies
- What K-quants and I-quants each mean
- The philosophical residue: 'the model' as a family, not an artifact
What a model's weights are
A model's "weights" are, physically, an enormous list of numbers - for a mid-sized model, several billion of them. Each number records the strength of one connection learned during training. To run the model is to do arithmetic with all of them for every word produced.
The size of that list depends on how precisely each number is stored. Precision is measured in bits. A model's native precision is usually 16-bit floating point (F16 or BF16), meaning each weight occupies two bytes of memory. That is why a 70-billion-parameter model in its native precision needs roughly 140 gigabytes just to hold the weights.
F16 is the reference: every compressed copy is measured against it.
What quantization is
Quantization is lossy compression for weights. Instead of two bytes per number, store each in fewer bits - 8, 5, 4, 3, even 2 - accepting a small loss of accuracy in exchange for a large saving in memory. At 4 bits, that 70B model drops to about 43 gigabytes (Q4_K_M, Llama 3.1 70B, per llama.cpp's quantize README). An 8B model (Llama 3.1 8B) shrinks from 14.96 GiB at F16 to 4.58 GiB at Q4_K_M, roughly a 3.3x reduction.
The trade is real: fewer bits mean coarser numbers, and coarser numbers mean the model's outputs drift from what full precision would produce. How much they drift depends on the scheme.
The GGUF format
The format llama.cpp uses for local inference is GGUF, the successor to the earlier GGML, GGMF and GGJT file formats. It was proposed by philpax in the ggml repository (issue #220, specification PR #302) and implemented in llama.cpp by Georgi Gerganov (PR #2398), replacing the earlier GGML format in 2023.
Its design virtue is self-containment: a single .gguf file holds the quantized weights, the tokenizer, and all the metadata needed to run the model, so any compatible program can load it without extra files. LM Studio, Ollama, KoboldCpp, and text-generation-webui all consume the same files.
Reading the cryptic names
The strings on a download page are readable once decoded. Two representative examples:
Q4_K_M
- Q4 - 4-bit quantization. Each weight is stored as a 4-bit number instead of 16; with scales and higher-precision tensors counted, Q4_K_M averages roughly 4.5-5 bits per weight.
- K - the K-quant scheme, which groups weights into 256-weight super-blocks whose sub-block scales are themselves quantized, giving better quality than the older "0" schemes (one simple scale per 32-weight block) at a similar size.
- M - the medium mix, which stores some especially sensitive tensors (parts of attn_v and ffn_down) at the higher-precision Q6_K.
So Q4_K_M reads as "4-bit, K-quant, medium."
IQ3_XXS
- I - marks an I-quant, a newer quant family that encodes weights as indexes into lookup grids. The lowest-bit I-quants, IQ3_XXS included, require an importance matrix (imatrix: a measurement of which weights matter most, taken by running calibration text through the model) when quantizing; for most other types, K-quants included, it is optional (llama.cpp also requires it for Q2_K tensors in Q2_K_S files).
- Q3 - 3-bit quantization (IQ3_XXS is 3.06 bits per weight).
- XXS - the smallest, most aggressive variant. Stands for "extra-extra-small."
So IQ3_XXS reads as "I-quant 3-bit, extra-extra-small."
Rough orientation
This is how to read the options, not a recommendation of which to pick:
- The bit count tracks the memory needed. More bits, more memory, closer to native quality.
- The suffix tracks the quality-for-size trade within a given bit count. S / M / L variants (small / medium / large) keep progressively more of the sensitive tensors at higher precision.
- Higher bit counts (Q6, Q8) sit closer to native quality and need more memory.
- Sub-4-bit I-quants squeeze onto small hardware at rising risk of degradation.
Which one fits depends entirely on the memory of the machine doing the running, which is why catalogs list many. A person with 8 GB of VRAM has fundamentally different options from one with 24 GB or 80 GB, and the same underlying model has to be quantized differently for each.
Why one model has twelve files
This is why a single abliterated model appears on a hosting site five, ten, or fifteen times. Each entry is the same underlying weights compressed to a different level for a different class of hardware. The high-volume quantizers - mradermacher (with over 73,000 model repositories as of 8 November 2026, per the Hugging Face API), bartowski - produce these families.
A typical release page for a mid-sized abliterated model might carry: Q2_K, Q3_K_S, Q3_K_M, Q3_K_L, Q4_K_S, Q4_K_M, Q5_K_S, Q5_K_M, Q6_K, Q8_0, IQ3_XXS, IQ4_XS. Twelve files, one underlying edit. Nothing in the twelve entries adds a new abliteration or teaches the model a new capability. They are twelve compressions of one artifact.
The philosophical residue
What to download (rough guide)
For most users on most hardware, we suggest Q4_K_M: in llama.cpp's Llama-3-8B figures it is 4.58 GB and adds 0.18 perplexity.
Rough shape of the decision:
- Have plenty of memory, want highest quality → Q6_K or Q8_0. In llama.cpp's Llama-3-8B figures, Q8_0 improves perplexity by about 0.02 over Q6_K for about 1.8 GB more.
- Standard consumer hardware, want the default → Q4_K_M.
- Modest hardware, accept some quality tradeoff → Q4_K_S, or if further squeezed, IQ4_XS or IQ3_M with imatrix calibration.
- Very tight memory, willing to accept clear degradation → IQ3_XXS or Q2_K. Q2_K adds 3.52 perplexity on Llama-3-8B in llama.cpp's figures; use for experimentation, not production.
For the technical reasoning behind these choices, and the huihui-ai _L trick that preserves ablation-affected tensors at higher precision, see B9 M8 Repackaging.
Where to go next
Read B9 M8 Repackaging for the technical side of GGUF quantization - the actual commands, the imatrix calibration workflow, the failure modes. Read C2 Reading benchmarks for how quantization interacts with the benchmark numbers a model card reports. And if you are trying to run a specific abliterated model and are unsure which quant to pick, the model card on Hugging Face may recommend one - trust the recommendation on the specific model over any general rule.
Frequently asked questions
What are a model's weights?
Physically, an enormous list of numbers - billions of them for a mid-sized model. Each records the strength of one connection learned during training. Running the model means doing arithmetic with all of them for every word produced. The size of that list, in bytes, depends on how precisely each number is stored - which is what quantization changes.
What is quantization?
Lossy compression for model weights. Store each weight in fewer bits (4, 5, 8) instead of the native 16, accepting a small loss of accuracy in exchange for a large saving in memory. A 70B model at native F16 is 140 GB; at Q4_K_M it drops to about 43 GB (Llama 3.1 70B, per llama.cpp's quantize README). The trade is real - fewer bits mean coarser numbers and the outputs drift from what full precision would produce - but for well-designed schemes at 4+ bits the drift is small.
What is GGUF?
The file format llama.cpp uses for local model inference. It was proposed by philpax in 2023 (ggml issue #220, specification PR #302) as the successor to the GGML, GGMF and GGJT formats, and implemented in llama.cpp by Georgi Gerganov (PR #2398). Its design virtue is self-containment: one .gguf file holds the quantized weights, the tokenizer, and all metadata needed to run the model, so any compatible program (LM Studio, Ollama, KoboldCpp, text-generation-webui) can load it without extra files.
What does Q4_K_M mean?
"4-bit, K-quant, medium." Q4 = the 4-bit family (with scales and higher-precision tensors counted, Q4_K_M averages roughly 4.5-5 bits per weight). K = the K-quant scheme, which groups weights into 256-weight super-blocks whose sub-block scales are themselves quantized (the older "0" schemes use one simple scale per 32-weight block). M = the medium mix, which stores some especially sensitive tensors (parts of attn_v and ffn_down) at the higher-precision Q6_K. In llama.cpp's figures for Llama-3-8B, it is 4.58 GB and adds 0.18 perplexity.
What does IQ3_XXS mean?
"I-quant 3-bit, extra-extra-small." I = I-quant, a newer quant family that encodes weights as indexes into lookup grids rather than plain integers. The lowest-bit I-quants, IQ3_XXS included, require an importance matrix (imatrix: a measurement of which weights matter most, taken by running calibration text through the model) when quantizing; for most other types, K-quants included, the imatrix is optional (llama.cpp also requires it for Q2_K tensors in Q2_K_S files). Q3 = 3-bit (IQ3_XXS is 3.06 bits per weight). XXS = the smallest, most aggressive variant. Used when memory is very tight and some quality degradation is acceptable.
Why does one abliterated model have twelve files?
Each file is the same underlying model at a different quantization level - different memory footprint, different speed, different quality trade-off - so users with different hardware can pick the one that fits. A typical release page might carry Q2_K through Q8_0 plus several I-quants, roughly a dozen files. Nothing about the twelve entries adds a new abliteration or new capability. They are twelve compressions of one artifact.
Which quantization should I download?
For most users on most hardware, we suggest Q4_K_M: in llama.cpp's Llama-3-8B figures it is 4.58 GB and adds 0.18 perplexity. If you have plenty of VRAM and want maximum quality, Q6_K (6.14 GB, +0.02). If memory is very tight, IQ4_XS or IQ3_M with imatrix calibration. If the model card recommends a specific quant, trust that recommendation over any general rule.
Does the catalog really have over 21,000 different models?
Not exactly. It has 21,000+ Hugging Face repositories. Many of its repositories are quantization variants of the same underlying edits. When you multiply a smaller number of distinct abliteration operations by their quantization spreads plus their merge descendants, you approach the catalog's headline count without needing that many distinct edits. The headline figure names a landscape of quantized variants, not that many independent minds.
Why do different quants of the same model behave differently?
Because quantization is lossy - the coarser numbers at low bit counts produce slightly different arithmetic than the higher-precision original. The 3-bit version may hesitate where the 8-bit version is fluent, may hallucinate where the other is accurate. The same nominal model at Q3_K_S versus Q6_K can produce measurably different outputs on the same prompt.
References
- llama.cpp repository (Georgi Gerganov, ggml-org). github.com/ggml-org/llama.cpp
- GGUF format documentation. github.com/ggml-org/ggml/blob/master/docs/gguf.md
- mradermacher Hugging Face profile (73,000+ model repositories, 8 November 2026). huggingface.co/mradermacher
- bartowski Hugging Face profile. huggingface.co/bartowski
- llama.cpp perplexity discussions (community source for quant-quality tradeoffs). github.com/ggml-org/llama.cpp/discussions