Definition·
Optimization

Quantization

A technique that reduces the numerical precision of a model's weights to make it lighter and faster.

Detailed explanation

Moving a model from 16 or 32 bits down to 8, 4 or even 2 bits sharply cuts memory and speeds up inference, at the cost of a small quality drop. Essential to run large LLMs on consumer GPUs or locally.

Examples

Llama 70B quantized to 4-bit on an M3 Mac
GGUF models for llama.cpp
Edge inference on mobile

Frequently asked questions

Is there a quality loss?

Yes but often marginal at 8-bit and acceptable at 4-bit for most use cases.

Related terms

Last updated: 7/15/2026

Talent AI

Turn theory into practice

Post a mission or join the community of top AI, Data and Machine Learning experts.