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. Chris Alexiuk, Daniel Han, Asma Beevi in a light headscarf, and Merve Noyan beside the white-and-blue headline “AI AT THE EDGE” on black.
  3. Ray Fernando and Prince Canuma beside the words Local AI Gets Practical
  4. GLM 5.3 Flash - Local Sweet Spot beside a flat layered model block with a small active core
  5. Portrait of Bijan Bowen beside the words One Bit Runs on a Phone
    Bonsai 27B Low-Bit Local Model Test
    Bijan Bowen33m 45s1 VIEW
  6. 0xSero against black beside the headline Fit the Model.
  7. Matthew Berman beside the headline Fast, Cheap, But Flawed on a black background.
    DeepSeek did it again...
    Matthew Berman16m 39s1 VIEW
  8. Bijan Bowen beside the words Qwen 4 Preview Impresses
  9. 0xSero beside the words BIG AI ON CPU.
  10. 0xSero against black beside the blue and white headline “LOCAL AI TRADEOFFS”.
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.