The quant zoo on my shelf, sorted¶
Three Flash-Next packs sit on my NVMe right now. One is labeled IQ3_S, one UD-IQ3_XXS, one fp8-iq4r-moe. All three are "roughly 3 bits" or "roughly 4 bits" depending on who's talking, and they weigh 79.6, 87.6, and 113.6 GB respectively. I spent this week decoding what the names actually mean — partly from docs, partly by reading my own pack indexes and a ggml header on the box — and the short version is that a quant name is three independent claims stapled together, and most arguments on the internet are people comparing one axis of a name against a different axis of another.
The name is three axes¶
Take UD-IQ3_XXS apart:
- The number is the nominal bit budget. IQ3 lives in the neighborhood of three bits per weight, IQ4 around four.
- The suffix is a size within that bit-class — clothing sizes,
XXS < XS < S < M < XL, where the X is just "eXtra." It fine-tunes how much bookkeeping (scales, grid density) the format spends on top of the nominal bits. - The prefix is a method — who made the pack and with what recipe.
UDis Unsloth's dynamic layer. No prefix means plain llama.cpp. And some prefixes aren't methods at all but product tiers (more below).
Number, suffix, prefix: bits, size, recipe. Once I sorted the shelf by those three columns instead of by the full strings, most of the confusion evaporated.
The suffix ladder, and where it lies¶
The formats on my shelf at their approximate bits-per-weight (llama.cpp convention):
| format | ~bpw | where it lives | Source |
|---|---|---|---|
| IQ1_M | ~1.9 | Basalt's DeepSeek IQ1_M pack (in testing) | llama.cpp format docs |
| IQ2_XXS | ~2.1 | Maya's GLM S-v2 pack | llama.cpp format docs |
| IQ2_S | ~2.6 | part of GSQ IQ3_S's expert tensors (decoded below) | llama.cpp format docs |
| IQ3_XS | ~3.3 | — | llama.cpp format docs |
| IQ3_XXS | ~3.4 | Basalt production pack (UD) | llama.cpp format docs |
| IQ3_S | ~3.7 | GSQ-RCO label rung | llama.cpp format docs |
| IQ4_XS | ~4.25 | Basalt rollback pack (UD) | llama.cpp format docs |
Two honest caveats. First, the exact numbers move a few hundredths between llama.cpp revisions as block layouts change, and other authors average bpw differently — the ISTA-DASLab card for the same model labels IQ3_XXS at 3.0 and IQ3_S at 3.5 because it averages differently. Treat bpw figures as convention-tagged, not universal.
Second, the ladder is not strictly sorted. IQ3_XS is nominally smaller than IQ3_XXS — 3.3 vs 3.4 bpw — because the XXS grid shipped first and the XS grid was engineered later to do better at slightly fewer bits. The suffixes are release-era names from the I-quant rollout, not a curated menu. Within one bit-class the rule of thumb "bigger suffix = more bits = better" mostly holds, but cross-generational comparisons are about the grid, not the letters. When a pack name is load-bearing, check the actual bpw or — better — the author's quality table.
What the I means: importance¶
I-quants are llama.cpp's importance-matrix quants. The producer runs a calibration set through the model first and builds a map of which weights the loss actually cares about. Then, rather than chopping tensors into uniform blocks with shared scales (the K-quant approach — the K is just the K-block super-block structure, no philosophy behind it), I-quants cluster the real weight values into small codebooks and spend precision where the importance map says it hurts to lose it. Decode is table lookup: find the code, fetch the entry from the codebook, multiply by the block scale. Runs on any GPU, which is a big part of why the GGUF/I-quant ecosystem won the CPU-and-random-hardware market.
The interesting part is that the importance idea keeps re-appearing at different granularities under different names:
Unsloth UD applies it at tensor granularity: pick a base grid (say IQ3_XXS), then promote the tensors that calibration says matter to IQ4/IQ6/IQ8 and demote the slackers. Same philosophy as imatrix, one level up, done by a different producer with its own calibration. That's why UD packs don't weigh what the "same" plain format would — they're a mix.
GSQ-RCO (ISTA-DASLab) goes per expert tensor, and this one I confirmed without trusting the name at all. Strata's pack index for the GSQ IQ3_S pack lists each layer's expert dtypes as numeric ggml type codes, and decoding them against the engine's own enum (IQ3_XXS=18, IQ4_NL=20, IQ3_S=21, IQ2_S=22, IQ4_XS=23, Q2_0=42) gives:
| expert tensors | grid used | layer count (of 48) | Source |
|---|---|---|---|
| gate/up | IQ2_S | 15 | measured, pack index decoded on my box |
| gate/up | IQ3_XXS | 14 | measured, pack index decoded on my box |
| gate/up | IQ3_S | 9 | measured, pack index decoded on my box |
| gate/up | IQ4_XS | 1 | measured, pack index decoded on my box |
| down | IQ4_NL | 39 | measured, pack index decoded on my box |
| down | Q2_0 | 9 | measured, pack index decoded on my box |
So "IQ3_S" in that filename is a size-class label, not the grid. RCO — rate-constrained optimization — is the per-tensor allocator: given a total byte budget, hand each tensor the rung that maximizes preserved loss. The result is a mixed ladder that happens to average out around the IQ3_S size class. Two packs can carry the same "IQ3" word and share almost no tensors' formats with each other.
Radiance's iq4r / IQR family wears the same two letters with a third lineage. Their docs/IQR.md opens by defining it as "integer quantisation on the rotated int8 grid": every trunk linear gets a 128-wide Hadamard rotation, then GPTQ against calibration Hessians writes int8-grid codes, and inference runs int8 activations against them. IQ6R through IQ2R are the same recipe at narrower codes; the R is for rotated. So radiance calibrates (GPTQ's Hessians are importance-flavored) but it doesn't use llama's imatrix pipeline or the GGUF codebook grids — iq4r and IQ4_XS are not the same format any more than two books with the same title are the same book. The pack I chat through, qwen3.8-next-flash-fp8-iq4r-moe, is a fourth recipe in one name: int8 rotated trunk (the "fp8" in the filename is a shorthand the model card contradicts — read cards, not filenames), GPTQ 4-bit experts into a 16-level non-uniform codebook with Hadamard rotation and E4M3 scales, and ten heavy experts kept in bf16.
The fourth thing: formats the GPU eats directly¶
Everything above is recipe quantization: clever storage, dequantized at runtime by ordinary ALUs into ordinary math. The other family isn't a recipe at all — it's a hardware data format. My old NInfer lane ran a pack literally named nvfp4, and the ggml enum on my box shows both families coexisting:
GGML_TYPE_IQ2_XXS = 16, ... GGML_TYPE_IQ4_XS = 23, // codebook zoo
...
GGML_TYPE_MXFP4 = 39, // MXFP4 (1 block)
GGML_TYPE_NVFP4 = 40, // NVFP4 (4 blocks, E4M3 scale)
NVFP4 and MXFP4 are 4-bit floating-point microformats: small blocks of FP4 values, each block with a shared scale (NVFP4: 4-element blocks with an FP8 scale; MXFP4: 32-element blocks with a power-of-two scale — OCP standard vs NVIDIA standard). Blackwell-class tensor cores multiply FP4 directly — the quantized value is the compute operand, no dequant pass, and you get the throughput and VRAM savings for free. The trade: FP4 has a coarse value lattice, and the producers don't usually do importance calibration — it's round-to-nearest into a format. Quality-per-bit at equal nominal size generally loses to a tuned I-quant; raw speed and native support win.
The clean way to hold both: I-quants are smart compression for any GPU; FP4 formats are dumb-but-fast compression for GPUs born to eat them. Which one you want is mostly a question about your silicon.
Engines are not interchangeable either¶
The other axis people flatten is the engine, and on MoE models it moves the numbers more than the quant does. My three engines split into two memory geometries, not three products:
Streaming class — Basalt, Strata, Maya on the big-RAM box. The model lives in host RAM; the GPU keeps a hot-expert cache; every decode token fetches its routed experts over PCIe, miss by miss. The engines print their own placement plans — Basalt's load line tells you exactly how many experts per layer sit in VRAM, RAM, or (bad) file; Maya's probe line asserts "every expert in VRAM or RAM" when it can. Everything about decode speed in this class reduces to bytes-per-token and PCIe health.
Resident class — Radiance on the two AMD cards. Tensor-parallel: the trunk and most experts sit in VRAM across the two 32 GB cards, with the coldest experts tiered to a pinned host pool. Per-token PCIe traffic is a trickle instead of a torrent; the cost is that only one model fits at a time and the pack has to fit the pairing.
Two more engine knobs that masquerade as specs:
- Speculative drafting differs. Radiance Flash-Next runs the model's own MTP head (depth 3 as I configure it); Basalt runs a drafter with 55–86% acceptance on my prompts. Any decode number on either engine silently includes its drafter's acceptance rate — engine-vs-engine tok/s comparisons are quant+drafter+cache comparisons, and that's why my benchmark tables label the acceptance rate next to the decode rate whenever the ledger has it.
- Queue versus share. On a bandwidth-bound single-card box, enabling parallel slots made everything worse: two 262k KV slots cost 3.7 GiB of expert cache each and solo decode fell 20–25% before anyone else even sent a request. Queueing four cold prefills beat sharing PCIe four ways on every metric. Measured, Dec 1, in the parallel-users post.
How this lands on the three numbers you care about¶
Decode: bytes streamed, regime labeled¶
On the streaming box, decode is a bandwidth story: the quant's bytes decide the ceiling and the engine decides how close it gets. The paired Dec 1 ladder, same session, same engine, same 64k regime:
| pack | solo decode (64k, warm, engine-emitted) | relative | Source |
|---|---|---|---|
| UD-IQ3_XXS (87.6 GB) | 305 t/s | +22% | measured, Dec 1 ledger |
| UD-IQ4_XS (97.6 GB) | 250 t/s | — | measured, Dec 1 ledger |
Roughly the byte ratio, as expected. The same logic predicted the GSQ IQ3_S pack (79.6 GB, ~10% lighter than IQ3_XXS) should decode ~10% faster than IQ3_XXS at equal engine and drafter; the measured rows are consistent but not clean — 248–343 t/s from November on engine 0.5.5 versus 305 from December on 0.6.0, cross-session, so all that's honest is "same ballpark, GSQ slightly ahead per byte." A true head-to-head is on my list.
The resident class shows the same physics from the other side: the 113.6 GB radiance pack, with most experts already in VRAM, decodes 117–165 t/s warm on 2× R9700 (measured here; the replicated community figure is 137 single-stream on the same pairing — hardware comparison page has both rows) — despite a higher bit rung than the pack streaming at 305 on the 5090. Bytes-in-VRAM beats bytes-per-token when the hardware class differs; bytes-per-token wins when it doesn't.
Prefill: compute-bound, engine-version-sensitive¶
Prefill reads far fewer unique expert bytes per token than it computes, so the quant ladder compresses: same two packs, same session, cold prefill at 64k was 9.4k vs 9.0k t/s — +5%, where decode differed +22%. What does move prefill is engine releases: my 0.5.7→0.6.0 pair-test showed +5.2% at 16k and +1.4% at 100k on identical prompts, pure software. If you're comparing prefill numbers across dates, you're benchmarking changelogs.
Quality: nominal bits are bookkeeping, not scores¶
Three findings I'd tattoo on anyone picking a pack by filename:
- Perplexity parity is not answer parity. The published ladder for this model has IQ3_S at +1.1% perplexity vs Q8_0 — near-invisible — while agreeing with Q8_0's top token only ~87.7% of the time. On free generation your tokens diverge from the reference within a handful of steps. "Statistically indistinguishable" and "will give you the same completion" are different claims; the ladder on the hardware comparison page separates them on purpose.
- Backend arithmetic drift is about one quant tier wide. Same GGUF file, CUDA vs HIP kernels: ~94.5% top-1 agreement per Strata's own measurements. Your engine's kernel path perturbs tokens at roughly the magnitude of a rung — which is exactly why cross-engine quality comparisons need a same-ruler battery, not vibes.
- Nobody's ruler is the same ruler. My own 12-task deterministic battery gave IQ3_S-on-Basalt a perfect 1.000 (three-quants post) — and the same battery is the only same-ruler datapoint that exists across my packs, because the official UD packs have never run it. Perplexity tables, KL charts, GPQA ladders, and n=12 batteries measure different things at different noise floors; GPQA-Diamond is 198 questions, so anything within two points is dice noise, as the pack authors themselves note.
The production consequence, stated plainly: I switched the shared lane from UD-IQ4_XS to UD-IQ3_XXS this week on measured speed (the +22% table above) without a quality battery on either pack. That's a speed decision with official-pack pedigree and an open quality question — the kind of trade you make deliberately, on a rollback-ready box, and label honestly in the changelog. The rollback is one config file and a restart.
The cheat sheet¶
| string | number says | suffix says | prefix/format actually delivers |
|---|---|---|---|
| IQ3_XXS | ~3 bpw | smallest grid of the 3-bit line | plain llama.cpp imatrix codebook |
| UD-IQ3_XXS | ~3 bpw nominal | same | per-tensor importance mix — not one grid, a blend, different weight |
| GSQ-RCO IQ3_S | ~3–3.5 bpw label | size class | per-expert mixed ladder (IQ2_S…IQ4_NL), rate-optimized allocator |
| iq4r / IQ6R | ~4 bits | their own N-bit variants | GPTQ + Hadamard-rotated int8 grid, int8 activations — radiance lineage, no llama grids |
| NVFP4 | 4 bits, float | — | hardware data format; tensor cores compute on it directly, no dequant |
| Maya-XS / -S / -M | nothing | product tier | a quant inside a tier (S-v2 is IQ2_XXS-based; XS is IQ1_S experts + Engram) |
Five names, five different claims. The number is a budget, the suffix is a generation-tagged size hint, the prefix is a producer's recipe — and the engine decides how many of those bytes you pay per token, which is the only one that shows up on the tok/s counter.