What is model quantization?

Definition

Quantization converts weights, and sometimes activations, from higher-precision numbers to compact formats. Smaller representations can let capable models fit into local memory and reduce the amount of data moved during generation.

Lower precision can reduce output quality or require specialized kernels. The best format depends on the model, workload, runtime and available hardware rather than the bit count alone.

ELI5

Model quantization stores and calculates some learned model values with fewer bits. This is like using a shorter numerical scale: it can make the model smaller, reduce memory use, and sometimes make inference faster on suitable hardware.

For example, converting model weights from a high-precision format to an eight-bit or four-bit format may let the model fit on a smaller device. The approximation can reduce quality on some tasks, so the quantized version must be tested rather than assumed to behave exactly like the original.

Why use model quantization for local AI?

It reduces weight size and memory traffic, which can make larger models usable on local hardware.

Can model quantization reduce quality?

Yes. Lower numeric precision introduces approximation, and the effect varies across models and tasks.

  1. Portrait of Bijan Bowen beside the words Q8 Builds Better Games
    Ornith 1.5 35B Q4 vs Q8
    Bijan Bowen31m 40s1 VIEW
  2. Ray Fernando and Prince Canuma beside the words Local AI Gets Practical
  3. GLM 5.3 Flash - Local Sweet Spot beside a flat layered model block with a small active core
  4. Matthew Berman beside the headline Fast, Cheap, But Flawed on a black background.
    DeepSeek did it again...
    Matthew Berman16m 39s1 VIEW
  5. Bijan Bowen beside the words Qwen 4 Preview Impresses
  6. Portraits of Du'an Lightfoot, Khaja Omer against black with the headline OWN YOUR INFERENCE in attention blue and white.
  7. Aditya Gautam wearing glasses and a blue shirt holds open palms beside the blue-and-white headline “MULTIMODAL AGENTS” on black.
  8. Philip Kiely gestures beside the blue-and-white INFERENCE TRADE-OFFS headline on a black background.
  9. Memory Hungry - Compute Light beside a flat memory stack feeding sparse compute nodes
  10. Alvin Wang Graylin and Nate B Jones beside a distributed network of AI models running across data centers, computers and phones.
Definition card for model quantization: What is model quantization?

Model quantization represents AI model values with fewer bits to reduce storage, memory use and often inference cost.