Three artifacts, one model
The registry behind this site pins three conversions of Qwen3-30B-A3B. The BF16 release from the Qwen team has a manifest total_size of 61,064,245,248 bytes. The mlx-community 8-bit conversion declares 32,440,578,048. The 4-bit conversion declares 17,174,622,208. The parameter count is the same in all three — the conversions change how each weight is stored, not how many there are.
Divide each by the model card's 30.5B and you get 2.0021, 1.0636 and 0.5631 bytes per parameter. Those three numbers, all calculated, are what this lesson is about: why they are not 2, 1 and 0.5, and what they do to the ceiling.
BF16: the native format
torch_dtype in the base model's config.json is bfloat16. BF16 is a 16-bit floating-point format whose dynamic range equals that of 32-bit IEEE float: it keeps FP32's exponent and drops most of the mantissa. Google's TPU documentation puts it directly — bfloat16 uses half the memory of float32 with the same range, and converting back to float32 pads 16 zeros into the mantissa, so BF16 carries 23 − 16 = 7 explicit mantissa bits. Kalamkar and colleagues' 2019 study evaluated it as a training format on the strength of that preserved range.
Two bytes per weight is the whole story for storage. The BF16 artifact's 2.0021 is above 2.0000 only because 30.5B is a rounded count: the headers show every expert tensor as BF16, and if every tensor in the file is BF16 the manifest implies 61,064,245,248 ÷ 2 = 30,532,122,624 parameters. The model card rounds that to 30.5B; the arithmetic does not.
Affine quantisation in MLX
MLX's quantize function documents the scheme the two conversions use. The elements of each row of a weight matrix are split into groups of consecutive values. For each group it finds the maximum α and minimum β, sets a scale s = (α − β) ÷ (2ᵇ − 1) for a bit width b, and stores each element as the b-bit integer nearest to (w − β) ÷ s. The scale and the bias β are kept alongside the integers so the group can be reconstructed. The affine mode allows group sizes of 32, 64 or 128 and bit widths from 1 to 8, with 64 and 4 as the defaults; the scale is stored in the input's own type, here BF16.
Both pinned conversions declare group_size 64 in their config.json, with bits 8 and bits 4 respectively, and the 8-bit model card records that it was converted with mlx-lm 0.24.0. The committed shard headers agree with the configuration: each layer's expert tensors appear as packed U32 weights with BF16 scales and biases.
The overhead is now arithmetic. A group of 64 weights at 8 bits is 64 bytes of integers plus a 2-byte scale and a 2-byte bias: 68 ÷ 64 = 1.0625 bytes per weight. At 4 bits it is 32 + 4 = 36 bytes: 0.5625 per weight. The committed headers confirm it exactly for the experts. Each expert is three projections of 768 × 2048 = 4,718,592 weights, and the 8-bit headers give 5,013,504 bytes per expert, which is 4,718,592 × 1.0625 to the byte. The artifact-wide averages, 1.0636 and 0.5631, sit a little above those figures because a few small tensors are not quantised and because 30.5B is rounded.
What precision does to the ceiling, and what was measured
The previous lesson's ceiling is memory bandwidth over bytes read per token, and bytes read per token scales with bytes per parameter. On the same M3 Ultra at 819 GB/s, the three artifacts give three ceilings. The Passports for all three configurations are committed, so the measured column is read from the files, not typed.
| Precision | Artifact bytes | Bytes per parameter | Bytes read per token | Ceiling tok/s | Measured tok/s, three trials |
|---|---|---|---|---|---|
| BF16 | 61,064,245,248 | 2.0021 | 6,606,951,125 | 123.9 | 31.1 · 30.1 · 25.9 |
| 8-bit MLX | 32,440,578,048 | 1.0636 | 3,509,964,182 | 233.3 | 54.7 · 55.7 · 49.6 |
| 4-bit MLX | 17,174,622,208 | 0.5631 | 1,858,237,812 | 440.7 | 73.4 · 72.9 · 62.5 |
Reading the two columns together
The ceilings scale exactly with the bytes: 1 : 1.88 : 3.56 relative to BF16. The best measured trials scale 31.1 : 55.7 : 73.4, or 1 : 1.79 : 2.36. Halving the bytes from BF16 to 8-bit bought almost the proportional speedup; halving them again bought much less. The fraction of ceiling reached falls from 0.25 at BF16 to 0.24 at 8-bit to 0.17 at 4-bit.
That pattern is consistent with a cost that does not shrink with the weights — anything the roofline does not count — taking a larger share as the weight-read term gets smaller. It is also consistent with other explanations, and this project has not profiled the runtime to choose between them. The comparison is three sourced ceilings against three measured series under one declared configuration; it is not a finding about why.
Quality is not measured here
Everything above is about bytes and speed. Nothing in it says whether the 4-bit model answers as well as the BF16 one. This project has not measured the output quality of any conversion. The Passports record timing, token counts and request outcomes, and nothing about what the tokens said. A table that showed throughput tripling without that caveat would be misleading, which is why the caveat is here.
Measuring it is a separate discipline with its own literature. GPTQ (Frantar et al., 2022) quantises weights to 3 or 4 bits using approximate second-order information and reports negligible accuracy degradation relative to the uncompressed baseline — a claim that only means something because the paper evaluates the quantised and the original model on the same tasks under the same conditions. AWQ (Lin et al., 2023) observes that a small fraction of weight channels, about 1%, carry most of the quantisation error, identifies them from activation statistics rather than weight magnitudes, and scales them before quantising; it, too, is judged on language-modelling and domain benchmarks against the full-precision model.
A quality measurement for these three artifacts would mean running one harness, at one commit, with one prompt format and one scoring convention, over all three, and reporting the spread with its standard error — the discipline of Track 01. Until that is done, the right word for the quality column is unknown.
The rule
Bytes per parameter is read from the manifest, not from the bit width in the name: group scales and biases, unquantised tensors and rounded counts all move it. It sets the ceiling, and the ceiling says nothing about quality, which stays unknown until it is measured.