# Weight Quantization

- **Canonical URL:** https://getaimath.com/dictionary/weight-quantization/
- **Topics:** [Quantization & Model Compression](https://getaimath.com/dictionary/category/quantization-and-model-compression/)
- **Last updated:** 2026-11-25

## What is Weight Quantization?

**In one sentence:** Weight quantization stores a model's learned weights in fewer bits.

Weights are most of a model's memory, so shrinking them gives the biggest savings. During use, weights are often converted back to higher precision just before calculations.

![Quantization: Vacuum-Packing a Giant AI into a Carry-On Bag — Simple cartoon showing a huge 16 GB AI model with long fussy decimals (3.14159265) squeezed by a vacuum-seal press into a compact 4 GB model with rounded numbers (3.1) that fits on a laptop.](https://getaimath.com/diagrams/quantization-and-model-compression.png)
*Napkin Diagram (Quantization & Model Compression): By rounding long fussy decimals to neat short numbers, quantization shrinks a model about 4× with only a small loss in smarts.*

## What is an example of Weight Quantization?

Storing all weights of a model in 4 bits while keeping calculations in 16-bit is weight quantization.

## Why does Weight Quantization matter?

It is the most common kind of quantization for running models locally.

## Related Concepts

- [Quantization-Aware Training (QAT)](https://getaimath.com/dictionary/quantization-aware-training-qat/): Quantization-aware training teaches a model during training to cope with low-precision numbers, so it loses less quality when quantized.
- [Activation Quantization](https://getaimath.com/dictionary/activation-quantization/): Activation quantization stores the temporary numbers that flow through a model while it runs in fewer bits.
- [Post-Training Quantization (PTQ)](https://getaimath.com/dictionary/post-training-quantization-ptq/): Post-training quantization shrinks a model after it has finished training, without retraining it.
- [Dynamic Quantization](https://getaimath.com/dictionary/dynamic-quantization/): Dynamic quantization decides how to scale activations on the fly, for each input, while the model runs.
- [Quantization](https://getaimath.com/dictionary/quantization/): Quantization makes a model smaller and faster by storing its numbers with fewer bits.
- [Static Quantization](https://getaimath.com/dictionary/static-quantization/): Static quantization picks all the scaling settings ahead of time, using a sample of example data.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/weight-quantization/)
