This site only uses technical cookies required for it to work: no tracking, no profiling. Cookie Policy

Skip to content
All terms

What is quantization of a model?

Compressing a model's weights to lower numeric precision: it costs less, runs on smaller hardware, with a manageable quality trade-off.

Quantization is the technique that lowers the numeric precision used to represent a model's weights, typically from 16 or 32 bits down to 8 or even 4 bits per parameter. The model takes up less memory, needs less bandwidth to load and responds faster, at the cost of an accuracy loss that in most tasks is small. It can be applied after training, the more common route, or simulated already during training so the model adapts to the reduced precision from the start. In practice it is the lever that makes a large model usable on more modest hardware: a 4-bit model takes up roughly a quarter of the memory of its 16-bit version, meaning it can run on a company GPU instead of a dedicated cloud cluster, with noticeably lower inference costs, a trade-off that is best measured on a case-by-case basis.

How it works

Each weight, normally a floating-point number with many digits of precision, is approximated with a number represented in fewer bits, using a scheme that minimizes the introduced error. Some approaches quantize after training (post-training quantization), others simulate the reduced precision already during training to adapt better. The typical outcome: a 4-bit model takes up roughly a quarter of the memory of a 16-bit one, with a quality loss ranging from negligible to noticeable depending on the task and how far the compression is pushed.

Why it matters for your business

Quantization is what makes it practical to run an SLM, or even a medium-sized model, on a company server instead of a dedicated cloud cluster: less GPU memory needed, lower inference costs, and a real option to keep both data and model inside the company perimeter. The trade-off has to be measured case by case: for classification or extraction tasks the loss is often imperceptible, for tasks requiring fine-grained reasoning it can show, which is exactly why an evaluation suite is needed before deciding how far to compress. And not all quants are equal: on real agentic workloads, an 8-bit build published by a community member held up on tool calls better than the official 8-bit release of the same model, while a 4-bit variant failed them repeatedly (Level1Techs, August 2026). Choosing the quantized checkpoint is a quality decision, not only a memory decision.

  • SLM · A small, specialized language model: a fraction of an LLM's cost, runs even on-premise, and for focused tasks it is plenty.
  • LoRA · A fine-tuning technique that trains small extra matrices instead of the whole model: comparable practical results, a fraction of the cost.
  • Inference · Using an already trained AI model to produce answers: every ChatGPT question is inference, and it is where costs concentrate today.
  • BitNet b1.58 (1-bit LLM) · A language model with ternary weights trained natively at 1.58 bits: it runs on CPU, no dedicated GPU needed.
  • Local LLM · A language model that runs on hardware you control, without sending data to an external API.

A term that hits close to home? Let's talk.

CONTACT ME