Model quantization is a technique that stores and computes a model’s weights with fewer bits, for example 8-bit or 4-bit numbers instead of 16-bit, so the model needs far less memory and usually runs faster with only a small loss in quality. In 2026 the common choices are FP8 and FP4 formats (NVFP4, MXFP4) on newer GPUs, AWQ and GPTQ for 4-bit GPU serving, and GGUF files for llama.cpp-based local tools.
Key takeaways
- 01 Quantization lowers the numeric precision of model weights (e.g. 16-bit to 4-bit) to shrink memory and speed up inference.
- 02 It can cut a model’s memory footprint by 2–4x or more with often minor quality loss. See what each format costs in GPU memory.
- 03 It is a key enabler of local and edge deployment — fitting big models onto single GPUs or modest hardware.
- 04 There is a precision-versus-quality tradeoff: too aggressive and accuracy degrades, so the right level depends on the task.
- 05 Formats are tied to hardware and runtimes: FP8 needs Ada, Hopper or Blackwell GPUs for full speed, NVFP4 is native only on Blackwell, and GGUF targets llama.cpp-based tools.
Free 28-page PDF
Enterprise Local LLM Deployment Handbook 2026
Sizing worksheet, model scorecard and air-gap runbook.
Model quantization, defined
A neural network’s weights are numbers, and by default they are stored at fairly high precision — typically 16-bit floating point. Quantization represents those same weights with fewer bits, such as 8-bit or 4-bit integers (INT8 and INT4). Since a model has billions of weights, using fewer bits per weight dramatically reduces the total memory the model occupies and the bandwidth needed to move it around.
The appeal is straightforward: smaller and faster, cheaper to run. A model that would not fit on a given GPU at full precision may fit comfortably once quantized, and it often runs faster because there is less data to shuffle. Quantization is one of the highest-leverage tricks for making large models practical to deploy.
How quantization works
Conceptually, quantization maps a wide range of high-precision values onto a smaller set of low-precision buckets, storing an approximation of each weight rather than its exact value. The art is doing this so that the approximation preserves the model’s behavior — keeping the important distinctions between weights while discarding precision the model does not really need.
There are two broad approaches. Post-training quantization takes an already-trained model and converts its weights, which is fast and simple. Quantization-aware training factors the eventual low precision into the training process, generally preserving more quality at the cost of extra work. Modern 4-bit post-training methods such as GPTQ and AWQ have become remarkably good, retaining most of a model’s capability while quartering its memory footprint.
FP8 and FP4: floating-point quantization on modern GPUs
Integer formats such as INT8 and INT4 came first. Recent GPUs also execute low-precision floating-point formats in hardware, and because these keep a sign, an exponent and a mantissa they cope better with the occasional very large value. FP8 has two layouts: E4M3, with 4 exponent and 3 mantissa bits and a range of ±448, and E5M2, with a range of ±57,344. The vLLM project reports that FP8 halves model memory and can raise throughput by up to 1.6x with minimal accuracy impact; full FP8 compute needs an NVIDIA GPU of compute capability 8.9 or newer (Ada Lovelace, Hopper or Blackwell), while older Turing and Ampere cards can still store weights in FP8 (vLLM FP8 guide).
FP4 halves memory again. Each value uses the E2M1 layout, one sign, two exponent and one mantissa bit, which can express only a handful of magnitudes, so FP4 formats attach a shared scale to each small block of values. MXFP4, from the Open Compute Project microscaling family, shares one power-of-two scale across 32 values. NVIDIA’s NVFP4 uses 16-value blocks with a finer FP8 (E4M3) scale plus a second FP32 scale per tensor; NVIDIA puts the cost at about 4.5 bits per value and says only Blackwell GPUs support it natively (NVIDIA NVFP4 overview).
FP4 is no longer only something applied after release. OpenAI published gpt-oss with its mixture-of-experts weights already in MXFP4, which is how the 117-billion-parameter gpt-oss-120b fits on one 80 GB GPU and gpt-oss-20b runs within 16 GB of memory (gpt-oss model card).
GGUF, AWQ and GPTQ explained
GGUF is a file format rather than a quantization algorithm. The ggml project defines it as a format for storing models for inference with GGML and executors based on it, such as llama.cpp; one binary file carries the tensors plus metadata for the architecture, hyperparameters and tokenizer (GGUF specification). Inside that container llama.cpp offers a ladder of quantization types from Q8_0 down to 1-bit IQ variants. Its own table for Llama-3.1-8B puts Q8_0 at about 8.5 bits per weight and the widely used Q4_K_M at about 4.9, and an importance matrix computed from sample text can reduce the quality loss (llama.cpp quantize docs).
GPTQ (Frantar et al., 2022) is a one-shot post-training method that quantizes weights layer by layer using approximate second-order information, and the original paper reports 3–4 bits per weight with little accuracy loss (GPTQ paper). It needs a small calibration set and has broad kernel support in GPU serving engines.
AWQ, activation-aware weight quantization (Lin et al., 2023), rests on the finding that a small share of weights matters far more than the rest, and it picks those salient channels from activation statistics rather than from the weights themselves. Scaling them before quantizing keeps their precision (AWQ paper). Like GPTQ, it is mostly used for 4-bit weight-only models served on GPUs.
In practice few teams quantize models themselves. Publishers and the community post GGUF, AWQ, GPTQ, FP8 and NVFP4 variants of popular open-weight models, and the choice follows from the runtime and GPU you have. vLLM, for example, supports GPTQ, AWQ, bitsandbytes, FP8 and GGUF among other schemes, with a hardware compatibility matrix that decides which kernels are available on which GPU generation (vLLM quantization docs).
The precision-quality tradeoff
Quantization is not free — it is a tradeoff. Fewer bits mean a coarser approximation of the weights, and past a point that degrades the model’s accuracy. The relationship is nonlinear: moving from 16-bit to 8-bit often costs almost nothing, and 4-bit is frequently very usable, but extremely aggressive quantization can meaningfully hurt quality, especially on hard reasoning tasks.
The right precision therefore depends on the workload. A high-volume classification task may tolerate aggressive quantization for maximum efficiency, while a demanding reasoning task may warrant higher precision. Choosing the level is part of matching a model to its job and its hardware — the same optimization mindset behind sizing and routing decisions.
Why quantization matters for on-premise AI
Quantization is often what makes on-premise AI economically viable. It lets an organization run a capable model on hardware it already owns — fitting a model onto a single GPU that would otherwise require several, or enabling deployment on edge devices. That directly lowers the cost and the infrastructure barrier to keeping AI inside your own perimeter.
It also stacks with other efficiency techniques. A model distilled into a compact student and then quantized for deployment combines savings from both. Together, these methods are what turn frontier-scale capability into models that regulated, cost-conscious enterprises can actually run themselves.
Quantization Formats and Where They Fit
Formats you will meet on model hubs in 2026, what each one stores, and the hardware and runtime it suits. Bit counts include block-scale overhead where the source states it.
| Format | What it is | Bits per weight | Typical use |
|---|---|---|---|
| BF16 / FP16 | Unquantized baseline | 16 | Reference quality, evaluation and fine-tuning |
| FP8 (E4M3) | Floating-point weights, often with FP8 activations | 8 | Data-center serving on Ada, Hopper and Blackwell GPUs |
| INT8 (W8A8) | Integer weights and activations | 8 | Serving on GPUs that lack FP8 hardware |
| NVFP4 | FP4 values, 16-value blocks, FP8 block scales plus a per-tensor scale | About 4.5 | Highest density on NVIDIA Blackwell GPUs |
| MXFP4 | FP4 values, 32-value blocks, one power-of-two scale per block | About 4.25 | Open microscaling format; gpt-oss ships its expert weights in it |
| AWQ | Activation-aware, weight-only post-training quantization | Usually 4 | 4-bit GPU serving in engines such as vLLM |
| GPTQ | Second-order, weight-only post-training quantization | 3 to 4 | 4-bit GPU serving with broad kernel support |
| GGUF (Q8_0 to IQ1 types) | Single-file model format holding many quantization types | About 2 to 8.5 | llama.cpp-based tools on CPUs, Apple silicon and consumer GPUs |
From concept to a governed, on-premise reality
VDF AI uses quantization to make self-hosting practical: capable open-weight models are served at reduced precision so they fit the GPUs you already own, cutting the hardware cost of keeping AI inside your perimeter without meaningfully sacrificing quality.
Quantization works alongside VDF AI’s broader efficiency stack — distilled small models, efficient serving, and a governed router — so each request runs on a model sized and precision-tuned to fit both the task and your infrastructure budget.
Frequently asked questions
What is model quantization?
Quantization reduces the numerical precision used to store and compute a model’s weights — for instance from 16-bit to 4-bit numbers — so the model uses far less memory and runs faster, usually with only a small loss in quality.
How much smaller does quantization make a model?
It depends on the target precision. Going from 16-bit to 4-bit can cut memory roughly fourfold. This can be the difference between a model fitting on a single GPU versus requiring several, which is why quantization is central to affordable deployment.
Does quantization reduce model quality?
It can, but modern methods minimize the loss. Moving from 16-bit to 8-bit often costs almost nothing, and 4-bit is frequently very usable. Extremely aggressive quantization can hurt accuracy, especially on hard reasoning tasks, so the right level depends on the workload.
What is the difference between quantization and distillation?
Quantization lowers the precision of an existing model’s weights. Distillation trains a new, smaller model to imitate a larger one. They are complementary: models are often distilled first, then quantized for deployment, stacking the efficiency gains.
Why is quantization important for on-premise AI?
It lets capable models run on hardware an organization already owns — sometimes a single GPU or an edge device — lowering the cost and infrastructure barrier to keeping AI inside your own perimeter, which is essential for data-sovereign, cost-conscious deployments.
What is the difference between GGUF, AWQ and GPTQ?
GGUF is a single-file model format used by llama.cpp and related tools, and it can hold many quantization types from 8-bit down to about 2 bits per weight. AWQ and GPTQ are post-training algorithms that produce 4-bit (or 3-bit) weights, mostly for GPU serving engines such as vLLM. Pick GGUF for CPUs, Apple silicon and desktop tools, and AWQ or GPTQ for data-center GPU serving.
What is the difference between FP8, NVFP4 and MXFP4?
FP8 stores each value in 8 bits and roughly halves memory against 16-bit; full-speed FP8 needs Ada, Hopper or Blackwell GPUs. NVFP4 and MXFP4 are 4-bit floating-point formats that add a shared scale per block: NVFP4 uses 16-value blocks with FP8 scales and runs natively on Blackwell, while MXFP4 uses 32-value blocks with power-of-two scales.
Put these concepts to work on infrastructure you control.
VDF AI runs governed agents, private retrieval, and model routing inside your own cloud, data center, or air-gapped network — or start free in our managed cloud today. Book a walkthrough mapped to your stack.