# INT4

- **Canonical URL:** https://getaimath.com/dictionary/int4/
- **Topics:** [Parameters, Weights & Model Size](https://getaimath.com/dictionary/category/parameters-weights-and-model-size/)
- **Last updated:** 2026-11-25

## What is INT4?

**In one sentence:** INT4 is a 4-bit whole-number format used to shrink models to about a quarter of their 16-bit size.

With only 16 possible values per number, INT4 is very compact. Clever quantization methods group weights and add scale factors so quality stays surprisingly good. It is the most common choice for running big models on home computers.

![What "7B" or "70B Parameters" Means: Brain Size vs. Bag Size — Simple cartoon comparing 3 AI model sizes: Small (3B–8B parameters, fits on a phone or laptop), Medium (30B–70B, needs a strong desktop GPU), and Giant (400B+, lives in a massive data center).](https://getaimath.com/diagrams/parameters-weights-and-model-size.png)
*Napkin Diagram (Parameters, Weights & Model Size): Parameters are the brain cells of an AI model—more parameters mean more knowledge, but need a bigger computer to hold them.*

### Quick Math / Rule of Thumb

4 bits = 0.5 bytes per parameter (16 discrete levels) — ~0.5 GB of weight memory per billion parameters (~75% smaller than FP16).

## What is an example of INT4?

A 70B model in INT4 needs roughly 35 to 40 GB instead of 140 GB.

## Why does INT4 matter?

INT4 is what makes running large models locally possible for many people.

## Related Concepts

- [INT8](https://getaimath.com/dictionary/int8/): INT8 is an 8-bit whole-number format often used to store quantized model weights.
- [Numerical Precision](https://getaimath.com/dictionary/numerical-precision/): Numerical precision is how exactly a number is stored, usually measured by how many bits it uses.
- [FP8](https://getaimath.com/dictionary/fp8/): FP8 is an 8-bit floating point format that uses a quarter of the memory of FP32, used to speed up training and inference.
- [Floating Point](https://getaimath.com/dictionary/floating-point/): Floating point is a way computers store numbers with decimal points, using a sign, an exponent and a mantissa.
- [BF16](https://getaimath.com/dictionary/bf16/): BF16, or bfloat16, is a 16-bit number format that keeps the wide range of FP32 but with less precision.
- [Dynamic Range](https://getaimath.com/dictionary/dynamic-range/): Dynamic range is the span between the smallest and largest numbers a format can represent.

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