---
title: Quantization: Fitting a Big Model Into Less Memory | Large Programs
description: Quantization stores a model's numbers with fewer digits so it needs less memory. What the 2022 LLM.int8() paper reports and why memory limits who can run big models.
canonical: https://www.largeprograms.com/quantization-fitting-big-models-in-less-memory/
---

[Home](/) / [How LLMs Work](/category/how-llms-work/)

How LLMs Work

# Quantization: Fitting a Big Model Into Less Memory

Quantization stores a model's numbers with fewer digits so it needs less memory. What the 2022 LLM.int8() paper reports and why memory limits who can run big models.

27 November 2026 · 2 min read

A large language model is a huge list of numbers. Every number takes space in a computer's memory, and a model with 175 billion numbers takes a lot of memory. **Quantization** means storing each number with fewer digits, a bit like rounding 3.14159 to 3.1. The model gets smaller, and the hope is that it still works almost as well.

![Four bars showing 32, 16, 8 and 4 bits per number, getting shorter.](/img/quantization-bits.svg)

## A 2022 example

The paper "LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale" tackled this problem for large language models. Its abstract says that large models "require significant GPU memory for inference", where inference means running a trained model. The authors developed a procedure that, they say, cut the memory needed by half while keeping the full-precision performance.

## What the authors report

- A 175-billion-parameter model saved in 16-bit or 32-bit form could be loaded, converted to 8-bit and used straight away "without performance degradation".
- The method works around a surprising finding: a few "emergent" outlier features in transformer models dominate attention and prediction. The method keeps these in 16-bit, while more than 99.9 percent of values are multiplied in 8-bit.
- The authors say this makes it possible to use models such as OPT-175B and BLOOM on a single server with consumer GPUs. They released their software as open source.

All of these are the authors' reported results for the models they tested. They do not mean every model can be shrunk this way without a loss.

## Why it matters

Memory decides who can run a model. If a model fits on a single computer, more schools, researchers and hobbyists can experiment with it. See [how LLMs run on computers](/how-llms-run-on-computers/), [open versus closed models](/open-vs-closed-models/) and [AI and energy use](/ai-and-energy-use/).

## A note on sources

Everything above comes from the abstract of the paper on arXiv (2208.07339), read on 27 November 2026. The rounding picture is an analogy by this site.

## Sources

- [https://arxiv.org/abs/2208.07339](https://arxiv.org/abs/2208.07339)

[Read this page as Markdown (.md)](/quantization-fitting-big-models-in-less-memory.md)

## Keep reading

[![](/img/hero/art-ai-art-and-music-basics.svg)](/ai-art-and-music-basics/)

How LLMs Work

### [How AI Makes Music: A Beginner's Look](/ai-art-and-music-basics/)

Models can generate melodies and songs by learning patterns in sound. What that means for musicians.

[![](/img/hero/art-backpropagation-how-neural-networks-learn-from-mistakes.svg)](/backpropagation-how-neural-networks-learn-from-mistakes/)

How LLMs Work

### [Backpropagation: How a Network Learns From Its Mistakes](/backpropagation-how-neural-networks-learn-from-mistakes/)

Backpropagation is the method that works out how to adjust each weight in a neural network after it makes an error. A simple explanation with a team analogy.

[![](/img/hero/art-chain-of-thought-prompting-showing-your-working.svg)](/chain-of-thought-prompting-showing-your-working/)

How LLMs Work

### [Chain-of-Thought Prompting: Showing the Steps](/chain-of-thought-prompting-showing-your-working/)

Asking a language model to show intermediate steps can improve its answers to hard problems. What the research found and how it is like showing your working in maths.
