LLM Quantization Comparison

Every quantisation of a model, side by side: the measured bits per weight, the memory it needs at your context, whether it fits, and what it decodes at. Widths come from real GGUF file sizes rather than from the quant's name.

Model

Widths measured from real GGUF files on 2026-08-18, not quoted from a table.

Where you want to run it

quant-comparison.txt

updates as you type

    Wanted a different tool?

    Examples

    Worked setups you can load into the form above. Each one is a decision the generator makes differently, and the reason it makes it.

    A 32B on a 24 GB card

    Several quantisations fit and the widest of them is the one to take. Memory left unused buys nothing, and accuracy given away does not come back.

    model
    qwen3-32b
    device
    rtx-4090
    memory
    24
    bandwidth
    1008
    context
    8192
    kv-quant
    fp16
    overhead
    1

    A 70B at 32k on the same card, where none of them fit

    The cache is what runs it out. At 32k tokens no quantisation of a 70B fits in 24 GiB, and squeezing below three bits is worse than choosing a smaller model.

    model
    llama-3.3-70b-instruct
    device
    rtx-4090
    memory
    24
    bandwidth
    1008
    context
    32768
    kv-quant
    fp16
    overhead
    1

    A small model, where only the narrow rows are left

    Below about four bits per weight the trade stops being smooth, and it degrades faster on a small model than on a large one.

    model
    qwen3-8b
    device
    custom
    memory
    6
    bandwidth
    360
    context
    8192
    kv-quant
    fp16
    overhead
    1

    Common mistakes

    These are the ones that fail silently. The config is accepted, nothing raises an error, and the consequence arrives later.

    1. Multiplying parameters by 0.5 bytes for a 4-bit quantisation

      K-quants are mixed precision, so Q4_K_M measures about 4.84 bits per weight. On a 70B model that is roughly 7 GB more than a flat four bits predicts, which is the difference between fitting on two 24 GB cards and not.

      Instead:Use the measured width for the quantisation you are actually running. Even Q8_0 is 8.5 bits, because every block of 32 weights carries a scale.

    2. Applying one model's measured width to another

      The high-precision tensors are a fixed set, so their share depends on the shape of the model. The same quant lands a few percent wider on a model with a large vocabulary relative to its depth.

      Instead:Treat the figure as a median with a range around it, and leave that margin when a decision is close.

    3. Comparing quantisations on file size alone

      The KV cache is not in the file. At long context it can exceed the weights, so two quants that look far apart on disk can be nearly identical in what they need to run.

      Instead:Compare total memory at the context you intend to serve, which is what the table on this page reports.

    4. Assuming the quality cost scales smoothly with the bits

      From 8 to 5 bits the cost is small. Below about four it falls off sharply, and faster on small models than large ones, because a small model has less redundancy to lose.

      Instead:Prefer a larger model at a narrower quant down to roughly three bits per weight. Below that, prefer the smaller model at a wider one.

    5. Picking the narrowest quantisation that fits

      Memory left unused buys nothing. Accuracy given away does not come back.

      Instead:Take the widest quantisation that fits at your real context and batch size.

    A four-bit quantisation is not four bits per weight

    K-quants are mixed precision by design: some tensors are kept at higher accuracy than the name implies, so the file is always wider than the arithmetic suggests. Every width on this page is measured from real GGUF files rather than quoted, because the gap between the nominal number and the real one is routinely the difference between fitting on a card and not.

    Measured, not quoted

    Each figure is the published size of an actual .gguf file divided by the parameter count of the model it was quantised from, taken across 8 models of different shapes and reported as a median with the spread. Q4_K_M lands near 4.84 bits per weight rather than 4, which on a 70B model is about 7 GB more than a flat four bits would predict. Q8_0 is 8.5 rather than 8, because each block of 32 weights carries a 16-bit scale.

    The same quant is not the same width on every model

    The mixed-precision tensors are a fixed set, so their share of the total depends on the shape of the model. A model with a large vocabulary relative to its depth carries proportionally more high-precision weight, and the same quantisation lands a few percent wider on it. That is why this page reports a range beside each median rather than a single authoritative number, and why a figure from one model should not be applied to another without that margin.

    Below four bits the trade stops being smooth

    Between 8 and 5 bits the quality cost is small and the memory saving is large, which makes it an easy trade. Below about four bits it inverts: quality falls off sharply, and it falls off faster on small models than on large ones, because a small model has less redundancy to lose. The practical rule that follows is worth stating plainly. A larger model at a narrower quant usually beats a smaller model at a wider one, until roughly three bits per weight, after which it usually does not.

    The cache is in every number here

    The table below reports total memory at 8,192 tokens with an fp16 cache, not the file size, because a quantisation that fits the weights and not the cache has not fitted. On a small model at long context the cache is the larger of the two terms, which is the thing sizing from a model card cannot show you. Quantising the KV cache to q8_0 halves it and is usually the cheapest lever available.

    What this cannot see

    Quality. Everything here is arithmetic about size and speed, and none of it says whether a given quantisation is good enough for your task, which depends on the model, the domain and how much of the answer is a single token. Perplexity comparisons exist and are worth reading; this page deliberately does not repeat them, because they are measurements this repository does not own and cannot check. Widths measured 2026-08-18, architectures fetched 2026-08-18.

    Memory needed, by model and quantisation

    Total GiB at 8,192 tokens of context with an fp16 KV cache, including the weights and the cache and excluding runtime overhead. A representative model per size band; use the calculator above for any of the 103 architectures and any context length.

    Model Params Q8_0 Q6_K Q5_K_M Q4_K_M IQ4_XS Q3_K_M Q2_K
    bits per weight, measured 8.506.575.684.844.333.913.04
    Qwen3 0.6B 0.6B 1.51.31.31.21.21.11.1
    Llama 3.2 1B Instruct 1.2B 1.51.21.10.90.90.80.7
    Gemma 3 1B 1.0B 1.00.80.70.60.50.50.4
    Llama 3.2 3B Instruct 3.2B 4.13.33.02.72.52.32.0
    Qwen3 4B 4.0B 5.14.23.83.43.23.02.5
    Mistral 7B Instruct v0.3 7.2B 8.26.55.85.14.74.33.6
    Llama 3.1 8B Instruct 8.0B 8.97.16.35.55.04.73.8
    Qwen3 8B 8.2B 9.27.46.55.75.24.94.0
    Gemma 2 9B 9.2B 11.19.08.17.26.66.25.2
    Mistral Nemo 12B Instruct 12.2B 13.410.69.38.17.46.85.6
    Gemma 3 12B 12.2B 12.910.18.97.77.06.45.1
    Phi-4 14B 14.7B 16.112.811.29.88.98.26.7
    Qwen3 14B 14.8B 15.912.511.09.68.78.06.5
    Mistral Small 3.2 24B 24.0B 25.019.617.114.813.312.29.7
    Gemma 3 27B 27.4B 28.222.019.216.514.813.510.7
    Qwen3 32B 32.8B 34.427.023.620.518.516.913.6
    Qwen2.5 Coder 32B 32.8B 34.427.023.620.518.516.913.6
    Yi 1.5 34B Chat 34.4B 35.928.224.621.219.217.514.0
    Llama 3.3 70B Instruct 70.6B 72.356.449.142.238.034.627.5
    Qwen3 30B A3B Instruct 30.5B 31.024.120.917.916.114.711.5
    gpt-oss 20B 21.5B 21.516.614.412.311.010.07.8
    Mixtral 8x7B Instruct 46.7B 47.236.731.927.324.522.317.5

    A mixture of experts holds every expert in memory, so its row reflects the total parameter count rather than the active one. It will decode much faster than a dense model of the same size, which the calculator above reports.