Read page 1 as text
How can a smaller LLM file run nearly the same model?
What did quantization remove when 140 GB became about 35 GB?
WHAT WE WILL FIGURE OUT
01
Store numbers with fewer bits
02
Work the memory calculation
03
Measure the tradeoff
OUR EXAMPLE
A hypothetical dense 70B model stored at 16, 8 and 4 bits per parameter.
Follow the steps. Ask the obvious questions. Check the result.
Part 10 of 18 · Challenge: page 5 · Suggested answers: page 6
Read page 2 as text
Store numbers with fewer bits
1
A MUCH SMALLER FILE
same count
fewer bits
same count
fewer bits
Did it delete three quarters of the facts?
Weight quantization represents numerical values using fewer bits. It is not a rule that deletes one fact per missing byte.
Same parameter count; different representation
2
ROUNDING AS A TOY
0.1234
0.1241
rounded level
0.1234
0.1241
rounded level
Fewer representable levels can make different values map to the same level. Real methods also use scales and sometimes groups.
Toy: 0.1234 and 0.1241 may share a rounded value
3
BITS PER VALUE
16 bits: 2 B
4 bits: 0.5 B
16 bits: 2 B
4 bits: 0.5 B
Eight bits is one byte. Four bits is half a byte for raw packed payload. Metadata and higher-precision components add overhead.
16 bits = 2 bytes; 4 bits = 0.5 byte
4
NOT THE SAME AS PRUNING
quantize
prune
smaller model
quantize
prune
smaller model
Removing parameters, choosing a smaller model, and quantizing weights are different changes. They need separate evaluations.
Fewer parameters is not the definition of quantization
Read page 3 as text
Work the memory calculation
5
START AT TWO BYTES
70B: RAW WEIGHT PAYLOAD ONLY
16-bit
140 GB
70B × 2 bytes
→
140 GB
What is the raw weight payload?
A 70B model at two bytes per parameter has a raw payload of 140 decimal GB.
70,000,000,000 × 2 = 140 GB
6
USE ONE BYTE
70B: RAW WEIGHT PAYLOAD ONLY
16-bit
140 GB
8-bit
70 GB
70B × 1 byte
→
70 GB
At eight bits, the raw payload is 70 GB. This does not include scales, working memory or the cache.
70,000,000,000 × 1 = 70 GB
7
USE FOUR BITS
70B: RAW WEIGHT PAYLOAD ONLY
16-bit
140 GB
8-bit
70 GB
4-bit
35 GB
70B × 0.5 byte
→
35 GB
At four bits, raw packed payload is about 35 GB. The actual loaded model may use more.
70,000,000,000 × 0.5 = 35 GB
8
FIT THE WHOLE REQUEST
weights
cache
headroom
weights
cache
headroom
A smaller weight payload can leave room for context state and concurrency. Quantization does not make KV cache disappear.
Smaller weights + cache + runtime headroom
Read page 4 as text
Measure the tradeoff
9
WILL IT BE FASTER?
less memory
speed varies
less memory
speed varies
Four times fewer bytes means 4× faster?
Not necessarily. Speed depends on kernels, hardware, batch size, conversion overhead and the workload's bottleneck.
Memory reduction is not a universal speedup
10
WILL IT BE AS GOOD?
FOLLOW THE CHANGE
quality baseline
task checks
quality baseline
→
task checks
Some tasks tolerate lower precision well; others regress. Evaluate the exact quantized model on your real use cases.
Check reasoning, extraction and rare cases
11
CACHE PRECISION IS SEPARATE
weight bits
cache bits
weight bits
cache bits
A runtime may quantize the KV cache too. That is a separate memory, quality and latency tradeoff.
Weight precision and cache precision are two choices
12
MY NEW MENTAL MODEL
quality
latency
memory
quality
latency
memory
It is a representation tradeoff.
Select a precision that meets the quality and latency requirements. Measure rather than assuming a free reduction.
Compare the deployed configuration, not just file size
Read page 5 as text
Your turn. Can you explain what happens?
Use the same example. Change one detail. What follows?
KEEP THIS EXAMPLE IN MIND
A hypothetical dense 70B model stored at 16, 8 and 4 bits per parameter.
Try first. Suggested answers are on the next page.
1
What is the four-bit raw payload for a 70B model?
What makes you say that?
2
Does quantization necessarily reduce the number of parameters?
What makes you say that?
3
Why might a smaller weight file fail to produce a proportional speedup?
What makes you say that?
Write your answers in the comments.
Read page 6 as text
Suggested answers
How can a smaller LLM file run nearly the same model?
01
What is the four-bit raw payload for a 70B model?
About 35 decimal GB, before metadata and overhead.
02
Does quantization necessarily reduce the number of parameters?
No. It usually changes how values are represented.
03
Why might a smaller weight file fail to produce a proportional speedup?
Kernel support, arithmetic, conversion, communication or attention can remain bottlenecks.