Skip to contentOceanToken

Glossary term

What is Quantization (4-bit / 8-bit)?

Storing a model's weights with fewer bits so it needs less memory.

Definition

Quantization stores a model's weights with fewer bits each, for example 8-bit or 4-bit numbers instead of 16-bit ones. The model then needs much less GPU memory and often runs faster, at the price of some loss in quality that grows as fewer bits are used.

Why it matters

Quantization is what lets large models run on smaller or fewer GPUs, so it is central to self-hosting. It is also why the same model can answer differently from one host to another: a heavily quantized copy is not the same as the original.

How it works on OceanToken

OceanToken sends each request to the model's maker or an authorized provider of that model, so you call the model as it is offered there rather than a copy you quantized yourself. See each model on the model list.