All articles

How to pick a quantization for serving an LLM in 2026: FP8 vs AWQ vs GPTQ vs GGUF vs NVFP4

On an H100, H200, B200, RTX 4090 or RTX 5090, serve in FP8 first: half the memory of BF16 and effectively lossless in the largest published study. Drop to 4-bit AWQ or GPTQ only when FP8 does not fit or the card is an Ampere A100 or RTX 3090. Use GGUF for llama.cpp and Ollama, not for a vLLM server. Checked against vLLM 0.34.0 and llama.cpp, 25 November 2026.
Lium team6 min read
quantization
vllm
llm-inference
fp8
awq
Short answer: pick the quantization from the GPU you serve on, then step down only if the model does not fit.
  1. H100, H200, B200, B300, RTX 4090, RTX 5090, L40S or RTX PRO 6000: use FP8 (W8A8). It halves the weights compared with BF16, these cards run it natively, and the largest published study found it effectively lossless.
  2. FP8 still does not fit: use a 4-bit weight-only checkpoint, AWQ or GPTQ (W4A16). It takes roughly a third of the BF16 size and loses little quality.
  3. A100, RTX 3090 or RTX A6000 (Ampere): these cards have no FP8 compute. Use AWQ or GPTQ 4-bit, or INT8 W8A8. An FP8 checkpoint still loads, but it runs weight-only.
  4. GGUF is the llama.cpp and Ollama format. Use it there. For a vLLM server, vLLM calls its GGUF support "highly experimental and under-optimized".
  5. NVFP4 is for Blackwell. On a card without a native FP4 kernel, vLLM runs it weight-only, so check the startup log.
The vLLM facts below come from the vLLM quantization docs for the current release, vLLM 0.34.0 (released 16 November 2026), read 25 November 2026.

What each format is

  • BF16 is the unquantized baseline: 2 bytes per weight.
  • FP8 (W8A8) stores weights and activations as 8-bit floats: 1 byte per weight. vLLM can quantize a BF16 model to FP8 at load time with no calibration data (--quantization fp8_per_tensor), or load a ready FP8 checkpoint.
  • AWQ and GPTQ (W4A16) store weights in 4 bits with a scale per group of weights, and keep activations in 16 bits. Both need a calibration pass to make, so you usually download a ready checkpoint. AutoAWQ, the old tool for making AWQ checkpoints, is deprecated; vLLM points to LLM Compressor for new FP8, INT8 and INT4 checkpoints.
  • INT8 (W8A8) stores weights and activations as 8-bit integers. It runs on Ampere cards that have no FP8.
  • GGUF is llama.cpp's file format. Its types, such as Q4_K_M or Q8_0, set the bits per weight.
  • NVFP4 is NVIDIA's 4-bit floating point format for Blackwell GPUs. vLLM loads it from NVIDIA Model Optimizer and compressed-tensors checkpoints.

Which GPUs run which format

vLLM's hardware table lists FP8 W8A8 for Ada (compute capability 8.9) and Hopper (9.0). The FP8 page adds Blackwell, and says Turing and Ampere cards run FP8 checkpoints as weight-only (W8A16) through the Marlin kernels. AWQ and GPTQ are supported on every NVIDIA generation from Turing on. The compute capabilities come from NVIDIA's CUDA GPUs list, read 25 November 2026.
GPU on LiumGenerationUse firstFallback
H100, H200Hopper (9.0)FP8AWQ or GPTQ 4-bit
B200, B300BlackwellFP8, or NVFP4AWQ or GPTQ 4-bit
RTX 4090, L40SAda (8.9)FP8AWQ or GPTQ 4-bit
RTX 5090, RTX PRO 6000Blackwell (12.0)FP8AWQ or GPTQ 4-bit
A100, RTX 3090, RTX A6000Ampere (8.0, 8.6)AWQ or GPTQ 4-bit, or INT8FP8 weight-only
vLLM 0.34.0 documents two fallbacks, and neither one fails the start. An FP8 checkpoint on a Turing or Ampere card runs weight-only (W8A16) through the Marlin kernels: the weights still take half the memory, but the math runs in 16 bits. An NVFP4 checkpoint on a GPU without a supported native FP4 kernel runs as W4A16 through Marlin, and vLLM logs a warning. To see which kernel you got, read the Selected <kernel> for <module> lines vLLM logs at startup. Marlin always runs with 16-bit activations.

How much quality you lose

The largest public study, Give Me BF16 or Give Me Death? (arXiv 2411.02355), ran over 500,000 evaluations on the whole Llama 3.1 family and found:
  • FP8 W8A8 is effectively lossless at every model size.
  • INT8 W8A8, well tuned, loses 1 to 3 percent accuracy.
  • INT4 weight-only (W4A16) is more competitive than expected and rivals 8-bit.
Its deployment advice: W4A16 is the most cost-efficient when requests arrive one at a time, and W8A8 wins under continuous batching, which is how a busy vLLM server runs.
For GGUF, llama.cpp's quantize tool lists the bits per weight of each type (measured on Llama 3.1 8B) and its perplexity increase over the 16-bit model (measured on Llama 3 8B; lower is better), read 25 November 2026:
GGUF typeBits per weightPerplexity increase
Q8_08.50+0.0026
Q6_K6.56+0.0217
Q5_K_M5.70+0.0569
Q4_K_M4.89+0.1754
Q4_K_M is the common default: about 4.9 bits per weight, with a small perplexity increase.

How much memory each format saves

Take Qwen3.8-27B (27.8 billion parameters, vision encoder included). Qwen publishes it in BF16 and FP8. For 4-bit, Red Hat AI publishes a W4A16 checkpoint made with LLM Compressor (AWQ smoothing, then GPTQ, group size 128). The sizes below are the sum of each repository's weight files, read 1 December 2026:
CheckpointFormatWeights
Qwen/Qwen3.8-27BBF1655.6 GB
Qwen/Qwen3.8-27B-FP8FP830.9 GB
RedHatAI/Qwen3.8-27B-INT4W4A16, group size 12819.5 GB
The first two follow from the parameter counts each repository lists. BF16 is 27.78 billion × 2 bytes = 55.6 GB. The FP8 checkpoint keeps 3.08 billion parameters in BF16 and stores the other 24.70 billion in FP8: 24.70 × 1 byte + 3.08 × 2 bytes = 30.9 GB, so it is 56 percent of BF16, not 50. The 4-bit checkpoint is 35 percent of BF16, not 25: about 3 billion parameters stay in BF16 (the vision encoder, the embeddings and the output layer, per its model card), and every group of 128 weights carries its own scale.
What fits where, from the weights alone (our arithmetic, not a benchmark):
  • RTX 4090, 24 GB: only the 4-bit checkpoint, with about 4.5 GB left for the KV cache. That means a short context and few requests at once.
  • RTX 5090, 32 GB: the 4-bit checkpoint, with about 12.5 GB left for the KV cache. The FP8 weights fit with 1.1 GB to spare, too little for the KV cache and vLLM's own working memory.
  • H100, 80 GB: FP8, with about 49 GB left for the KV cache. That is the setup the study above favours for a busy server. BF16 also fits, with about 24 GB left.
  • H200, 141 GB: BF16 with about 85 GB left if you want no quantization at all, or FP8 with about 110 GB left for long contexts.
The KV cache is the other half of the memory bill. vLLM refuses to start when one request at the model's full context does not fit, so on a 4090 or 5090 add --max-model-len with a shorter context. If vLLM still refuses to start, read Why your vLLM server runs out of memory. --kv-cache-dtype fp8 halves the KV cache the same way FP8 weights halve the model.

Commands

A ready FP8 or 4-bit checkpoint needs no flag. vLLM reads the method from the model's config:
bash
vllm serve Qwen/Qwen3.8-27B-FP8
vllm serve RedHatAI/Qwen3.8-27B-INT4
Quantize a BF16 model to FP8 while it loads:
bash
vllm serve Qwen/Qwen3.8-27B --quantization fp8_per_tensor
GGUF in vLLM now needs a plugin. Use the base model's tokenizer, as the vLLM docs recommend:
bash
uv pip install vllm-gguf-plugin
vllm serve ggml-org/Qwen3.8-27B-GGUF:Q4_K_M --tokenizer Qwen/Qwen3.8-27B
After any of these, read the Selected <kernel> for <module> lines in the startup log. Marlin there means the weights are quantized but the math runs in 16 bits.

Run it on Lium

Lium rents single cards and multi-GPU nodes by the second, so you can test one format on a card and switch if it does not fit. Serve an open LLM with vLLM on a single Lium GPU walks through starting a pod and running vllm serve. For a quantized model, change the model name to the FP8 or 4-bit checkpoint. Check which cards are free right now on lium.io/stats.

Checklist

  1. Find your card's generation in the table above.
  2. Ada, Hopper or Blackwell: start with FP8.
  3. Does not fit, or the card is Ampere: use an AWQ or GPTQ 4-bit checkpoint.
  4. llama.cpp or Ollama: use GGUF, Q4_K_M or higher.
  5. Read the Selected <kernel> for <module> lines in the vLLM startup log: Marlin means the weight-only path.
  6. Still out of memory: see Why your vLLM server runs out of memory.
Get new posts by e-mail: Subscribe to the Lium newsletter

Related articles