Quantization
What is Quantization?
Quantization is a technique that stores an AI model's numbers at lower precision, such as 8 or 4 bits instead of 16, reducing memory needs and cost with a small effect on quality.
Updated November 2026 · 5 min read
Quantization makes AI models smaller and cheaper to run by representing their numbers with fewer bits. A large language model consists of billions of parameters, each normally stored as a 16-bit number. Quantization converts these to 8-bit, 4-bit or other lower-precision formats. A model quantized from 16 to 4 bits needs roughly a quarter of the memory, fits on fewer or smaller GPUs, and can process requests faster, because moving data through memory is often the bottleneck in AI inference. The trade-off is some loss of precision, which may slightly reduce quality.
Quantization is one of the most widely used techniques for lowering the cost of running AI models, especially self-hosted open-weight models. Many model developers publish quantized versions alongside their full-precision models, and providers use quantization behind the scenes to serve models efficiently. For IT financial management, quantization can reduce the hardware needed for self-hosted AI by half or more, making it a key lever in the economics of running models in-house and on smaller devices.
Definition of Quantization
Quantization, in the context of AI, is the conversion of a model's weights, and sometimes its activations and KV cache, from high-precision numerical formats to lower-precision ones. It reduces the number of bits used to represent each value.
The term also has a broader meaning in mathematics and signal processing. In AI economics, it refers specifically to reducing model precision to lower memory use and computational cost.
Precision Levels
Models are commonly trained and served at 16-bit precision. Quantizing to 8 bits halves memory use, usually with little or no measurable loss in quality.
Quantizing to 4 bits reduces memory to about a quarter, with a small but often acceptable quality loss for many tasks. Lower precisions save more but risk greater degradation.
Newer GPUs include hardware support for low-precision formats, which allows quantized models to run faster as well as use less memory.
Methods
Post-training quantization converts an already trained model, using a small sample of data to calibrate the conversion. It is fast and widely used for open-weight models. Ready-made quantized versions of popular models are often available, so many organizations never need to quantize a model themselves.
Quantization-aware training builds lower precision into training, which can preserve quality better but requires more effort.
Quantization can be applied to the whole model or selectively, keeping the most sensitive parts at higher precision. Mixed approaches like this often recover most of the quality lost at the lowest precisions.
Importance of Quantization in IT Financial Management
For self-hosted models, GPU memory is often the main constraint on cost. Quantization lets a model fit on fewer GPUs, or on cheaper GPUs with less memory, which directly reduces infrastructure cost.
It also frees memory for serving more requests at once, raising tokens per second per GPU and lowering cost per token.
Quantization can make it practical to run capable models on laptops, phones or edge devices, shifting some AI costs away from central infrastructure altogether. That opens up uses where cloud inference would be too slow, too expensive or unsuitable for the data involved.
Quality Trade-Offs
The effect of quantization on quality varies by model, task and precision level. Some tasks, such as classification, are robust to lower precision, while others, such as complex reasoning or precise calculations, can be more sensitive.
Because of this, quantized models should be evaluated on the organization's own tasks, not only on general benchmarks published by developers. A model that loses little on a public benchmark can still struggle with an organization's particular documents or formats.
The right precision is the lowest one at which quality remains acceptable for the use, which is a business judgment as much as a technical one.
Quantization and Model Choice
Quantization interacts with model size. A larger model quantized to 4 bits can sometimes outperform a smaller model at full precision while using similar memory.
This expands the options when choosing models for self-hosting, and it should be considered alongside model distillation and smaller models.
For API users, quantization is largely invisible, but it is one of the reasons providers can lower prices over time.
How to Apply Quantization
Applying quantization involves choosing candidate models and precision levels, evaluating quality on real tasks and deploying with serving software that supports the chosen format.
Most of the work is in evaluation, since the conversion itself is often straightforward with standard tools.
Evaluating Options
For each self-hosted model, test quantized versions at several precision levels against the organization's own evaluation set, measuring quality, speed and memory use.
Compare the hardware each version needs and calculate the cost per million tokens or per request under realistic traffic.
Choose the configuration with the lowest cost that meets the quality bar, and document the trade-off for future review. Recording the evidence makes it easy to revisit the choice if quality concerns arise later.
Deploying and Monitoring
Use serving software and hardware that support efficient low-precision computation, since gains in speed depend on them.
Monitor quality in production with sampling and user feedback, and watch for task types where the quantized model performs worse.
Revisit the choice when new models, quantization methods or hardware become available, as part of ongoing inference optimization.
Examples of Quantization in IT Financial Management
The examples below show quantization reducing infrastructure costs.
Both use illustrative figures. The first fits a model onto less hardware, and the second chooses a precision level after testing.
In each, evaluation on the organization's own tasks guided the decision.
Fitting on Less Hardware
A company hosts a large open-weight model at 16-bit precision on two eight-GPU servers, costing about $46,000 a month, because the model and its working memory do not fit on one.
A version quantized to 8 bits fits on a single server with room for more concurrent requests. On the company's test set of 2,000 questions, its answers score within half a percentage point of the original.
The company moves to one server, cutting the monthly cost to about $23,000 while serving the same traffic.
Choosing a Precision Level
Another company tests a model for summarizing financial reports at 8-bit and 4-bit precision. The 4-bit version would allow a cheaper GPU type and cost about 40% less to run than the 8-bit version.
Testing shows the 4-bit version matches the 8-bit one on general summaries but makes more errors when reproducing figures from tables, which matters for this use.
The company chooses 8-bit for financial reports and uses the 4-bit version for internal meeting summaries, where small errors in figures are less critical. Running two versions adds some operational effort, but the savings on the larger meeting workload outweigh it.
Conclusion
Quantization stores and computes an AI model's numbers at lower precision, such as 8 or 4 bits instead of 16, reducing memory needs, increasing speed and lowering cost, with some risk to quality at the lowest precisions.
In IT financial management, quantization is a key lever for the cost of self-hosted AI and a reason AI prices fall over time. Testing quantized versions on the organization's own tasks, choosing the lowest precision that meets the quality bar, using hardware that supports it and monitoring quality in production help organizations run models on less hardware at lower cost.
Related terms
KV Cache
A KV cache is memory in which a language model stores the key and value data computed for tokens it has already processed, so it need not repeat that work for each new token.
Tokens per Second
Tokens per second is the rate at which an AI model generates or processes tokens, used to measure the speed of a model for one user and the throughput of AI infrastructure across many.
Model Distillation
Model distillation is a technique for training a smaller, cheaper AI model to reproduce the behavior of a larger model on specific tasks, by learning from the larger model's outputs.
Inference Optimization
Inference optimization is the set of techniques used to make running AI models faster and cheaper, such as batching, caching, quantization, efficient serving software and smaller models, without unacceptable loss of quality.