Skip to content

Home / Explainers

plain english

What Is Quantization in AI?

Quantization shrinks an AI model by storing its numbers with less precision, for example 4 bits instead of 16. The model takes less memory and runs faster, usually with a small loss in quality.

A model's weights are normally stored as fairly precise numbers. Quantization rounds them to simpler ones. A model that needs four expensive GPUs at full precision may fit on one after quantization.

This is how large open models end up running on home computers. The cost is some accuracy, which is usually small at 8-bit and noticeable at very low precision.

Quick answers

Does quantization make a model worse?

Slightly. Mild quantization barely changes quality; extreme quantization can hurt it.

Why do local AI users care?

It lets bigger models fit into the limited memory of a laptop or single GPU.

What does 4-bit mean?

Each weight is stored using 4 bits, roughly a quarter of the space of the common 16-bit format.

More explainers