Skip to content

Quantization

Kuantisasi

Storing weights in fewer bits so a model runs with less memory and cost.

Quantization reduces the precision of the numbers in a model. A weight stored as 32-bit floating point becomes 16-bit, 8-bit, or 4-bit, which shrinks the file and the memory needed to run it. Often the same model can then run on hardware it previously could not, at the cost of some accuracy.

This is the main lever behind local models. A 70B model that needs 140GB at full precision can fit on a single high-memory machine at 4-bit, which is why running models on your own hardware became practical for individuals.

Quantization is also a server-side lever: providers quantize weights to fit more requests on the same GPU, which is a large part of why per-token prices keep falling.

Related terms

Want this working inside your team?

It starts with one conversation about your workflow.

Ask on WhatsApp