What is model quantization?
Model quantization stores and runs a model's numbers at lower precision, for example 8-bit instead of 16-bit, to cut memory use and speed up inference with some loss of accuracy.
Also called: quantization, quantized model
How it works
A model's weights are numbers, usually stored with high precision. Quantization maps them to a smaller set of values that need fewer bits. The model takes less memory, moves less data and often runs faster on the same hardware.
The cost is precision. Mild quantization often has little visible effect, while aggressive quantization can hurt quality, especially on complex reasoning or rare inputs. Some methods fine-tune the model during quantization to limit the loss.
Why it matters for risk and trust
Quantization makes it practical to run models on cheaper servers, on laptops or on phones. That helps teams that want to keep sensitive case data inside their own systems by running an open-weight model locally.
It also lowers the barrier for attackers. Quantized models can run on consumer hardware with no provider oversight, which makes it easier to generate scam content or deepfakes without usage limits.
Checks before using a quantized model
- Measure accuracy on your own labeled cases, not just public benchmarks.
- Check rare and edge cases, where losses tend to show up first.
- Confirm that scores and thresholds still mean the same thing; recalibrate if needed.
- Record which version and precision is in production for audit purposes.
Example
A hypothetical bank wants a document-summary model that runs inside its own network. The full model is too large for its servers, so it tests an 8-bit version. Summaries stay accurate on a test set of past cases, and the team ships it with a monthly accuracy check.
Related terms
- AI inferenceAI inference is the stage where a trained model is run on new input to produce an output, such as a prediction, a score or generated text, as opposed to the training stage.
- Small language model (SLM)A small language model is a language model with far fewer parameters than the largest models, designed to be cheaper and faster to run, often on a single server or device.
- Open-weight modelAn open-weight model is an AI model whose trained weights are published for anyone to download and run, often under a license, even if its training data and code are not released.
- Model calibrationModel calibration is how well a model's scores match real outcomes. In a calibrated model, events scored at 10% risk turn out bad about 10% of the time.
- AI evaluation (evals)AI evaluation, often called evals, is the practice of testing an AI model or system on defined tasks and metrics to measure quality, safety and fitness for use.