# Memory Footprint

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

## What is Memory Footprint?

**In one sentence:** Memory footprint is how much memory a model takes up when it runs.

It includes the model weights, plus extra memory for the KV cache, activations and the software. A rough rule is: parameters × bytes per parameter, plus extra for context. Long conversations increase the footprint because the KV cache grows.

![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

Rule of thumb for inference VRAM: (Billion Parameters × Bytes per Weight) × 1.2 overhead — e.g., 7B in FP16 ≈ 16.8 GB; 7B in 4-bit ≈ 4.2–5 GB.

## What is an example of Memory Footprint?

A 7B model at 4-bit might need about 4 GB for weights plus 1 to 2 GB more for a long chat.

## Why does Memory Footprint matter?

Memory footprint decides whether a model can run on your device at all.

## Related Concepts

- [Sign Bit](https://getaimath.com/dictionary/sign-bit/): The sign bit is the single bit in a number that says whether it is positive or negative.
- [Exponent](https://getaimath.com/dictionary/exponent/): The exponent is the part of a floating point number that sets how big or small the number is.
- [Mantissa](https://getaimath.com/dictionary/mantissa/): The mantissa is the part of a floating point number that holds its significant digits, which sets its precision.
- [Dynamic Range](https://getaimath.com/dictionary/dynamic-range/): Dynamic range is the span between the smallest and largest numbers a format can represent.
- [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.
- [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.

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