What you trade when you quantize
Quantization stores model numbers in fewer bits, so you give up some numeric precision to get a smaller model and, sometimes, faster kernels. The memory saving is predictable. The speed gain depends on whether your GPU has hardware support for the format. The quality cost depends on the model, the format and your task, and you can only find it by measuring.
That makes LLM quantization for inference a decision with three inputs, not a switch you flip for free. If a model already fits on your GPU at 16 bits with room for the cache, quantizing may buy you little. If it does not fit, or it fits with no room for concurrent requests, quantizing can be the difference between one GPU and two.
The memory arithmetic itself is covered in our LLM VRAM budget guide. This article assumes you have done that sum and now need to choose a format and prove it is good enough.
The formats you will actually meet
Formats are usually named by what they quantize. W8A8 means 8-bit weights and 8-bit activations, so the matrix multiplications themselves run in 8 bits. W4A16 means 4-bit weights with 16-bit activations: the weights shrink, but the arithmetic still happens at 16 bits after the weights are expanded.
FP8 is an 8-bit floating-point format. vLLM documents that FP8 gives about a 2x reduction in model memory and up to a 1.6x throughput improvement with minimal impact on accuracy. Its recommended scheme uses static per-channel scales for weights and dynamic per-token scales for activations. INT8 W8A8 is the integer alternative, documented by vLLM for memory savings and inference acceleration.
AWQ and GPTQ are methods for producing 4-bit quantization of the weights. vLLM describes AWQ as reducing precision from BF16 or FP16 to INT4, and GPTQ checkpoints can be 4-bit or 8-bit. vLLM says its INT4 weight-only path is particularly useful for keeping model size down and latency low at low queries per second. FP4 is newer still and tied to Blackwell hardware.
References: vLLM quantization: supported hardware · vLLM FP8 W8A8 quantization · vLLM INT8 W8A8 quantization · vLLM INT4 W4A16 quantization · vLLM AWQ quantization · vLLM GPTQModel quantization
Which GPUs accelerate which format
Native FP8 inference needs compute capability 8.9 or newer. vLLM lists Ada Lovelace, Hopper and Blackwell GPUs as supported for FP8 W8A8. On Turing and Ampere, an FP8 checkpoint still runs, but as weight-only W8A16 through Marlin kernels: you keep the memory saving, not the 8-bit arithmetic. An A100 is Ampere, so it falls in that second group.
INT8 W8A8 covers a different range. vLLM supports it on compute capability above 7.5, meaning Turing, Ampere, Ada and Hopper, and states that INT8 is not supported on compute capability 10.0 and newer, such as Blackwell, where it points you to FP8 instead. INT4 weight-only is listed for Ampere, Ada, Hopper and Blackwell.
For FP4, NVIDIA says the Blackwell Transformer Engine uses micro-tensor scaling to enable 4-bit floating-point AI. NVIDIA describes the GeForce RTX 5090 as Blackwell with FP4 support in its fifth-generation Tensor Cores. Hardware support is only half of it: confirm that your serving runtime has FP4 kernels for your exact GPU and model before you plan around them.
| GPU family | Example GPUs | Accelerated formats in vLLM |
|---|---|---|
| Ampere | A100 | INT8 W8A8, INT4 W4A16; FP8 as weight-only |
| Ada Lovelace | L40S | FP8 W8A8, INT8 W8A8, INT4 W4A16 |
| Hopper | H100, H200 | FP8 W8A8, INT8 W8A8, INT4 W4A16 |
| Blackwell | RTX 5090 | FP8 W8A8, INT4 W4A16, FP4 hardware; no INT8 W8A8 |
References: vLLM quantization: supported hardware · vLLM FP8 W8A8 quantization · vLLM INT8 W8A8 quantization · vLLM INT4 W4A16 quantization · NVIDIA Blackwell architecture · NVIDIA GeForce RTX 5090 · NVIDIA L40S specifications · NVIDIA A100 specifications · NVIDIA Hopper architecture in depth
Weight-only or weights plus activations
Weight-only quantization shrinks the model in memory and reduces the bytes read on every decoding step. That matters most when you serve few requests at a time, because small-batch decoding spends much of its time moving weights. It does little for compute-heavy phases, since the arithmetic still runs at 16 bits.
Weight-plus-activation formats such as FP8 W8A8 also speed up the matrix multiplications, which helps at higher batch sizes and on long prompts. They need the matching Tensor Core support, and activations are often harder to quantize than weights. That is why the hardware row in the previous table matters as much as the format name.
A practical rule: if you serve a busy endpoint on Hopper or Ada, start with FP8 W8A8. If you serve a quiet endpoint, or your model does not fit any other way, test 4-bit weight-only. If you are on Ampere, INT8 W8A8 is the 8-bit compute option, and FP8 checkpoints give you memory savings only.
References: vLLM FP8 W8A8 quantization · vLLM INT4 W4A16 quantization · vLLM INT8 W8A8 quantization
KV cache quantization is a separate dial
The KV cache holds keys and values for earlier tokens, and with long prompts or many concurrent users it can rival the weights in size. vLLM lets you store it in FP8 with the kv-cache-dtype option, in E4M3 or E5M2 variants. A smaller cache fits more tokens, which supports longer contexts and more simultaneous requests.
Treat it as its own experiment. Without calibration, vLLM sets the cache scales to 1.0; calibrating with a dataset estimates better scales. vLLM also notes that sliding-window attention layers are more sensitive to cache quantization and can be left at their native type. Test long-context prompts specifically, because short prompts will not exercise the cache.
References: vLLM quantized KV cache
Measure quantization accuracy on your own task
Published scores tell you a format can work; they do not tell you it works for your prompts. Build a small eval set of 100 to 300 real examples from your application, with a clear pass rule for each: an exact answer, a valid JSON schema, a rubric a reviewer can apply. Run the 16-bit model first. That baseline is the only number you compare against.
Keep everything else fixed: model revision, prompt template, sampling settings and maximum output length. Use greedy decoding or a fixed seed so differences come from the format. vLLM uses lm_eval on a gsm8k sample in its own guides and warns that quantized models can be sensitive to the beginning-of-sequence token, so check your template adds it the same way in both runs.
Run the baseline twice. If two 16-bit runs disagree on several prompts, that spread is your noise floor, and a quantized result inside it is not a real regression. Then read the failures, not just the score. A format that drops long-tail facts or breaks structured output may matter more than its headline number suggests.
References: vLLM FP8 W8A8 quantization · vLLM INT4 W4A16 quantization

A worked example: reading the eval result
Take an illustrative 200-prompt extraction eval. The BF16 baseline passes 172 prompts, 86%. A second baseline run passes 170, so run-to-run noise is about two prompts. The FP8 W8A8 version passes 169, or 84.5%, and the 4-bit AWQ version passes 158, or 79%.
Compare prompt by prompt. Suppose FP8 fails 5 prompts the baseline passed and passes 2 it failed: a net loss of 3, close to the noise floor. Suppose AWQ fails 18 and gains 4: a net loss of 14, seven times the noise. FP8 looks acceptable here; AWQ needs a closer look at what broke.
Now attach cost. If AWQ lets the model run on one GPU instead of two, it halves the GPU-hours. You can then decide whether a 7-point drop is worth that saving for this workload, or whether FP8 on a larger GPU is the better buy. These numbers are illustrative, not measured results for any model or GPU.
| Run | Passed of 200 | Net change vs baseline |
|---|---|---|
| BF16 baseline | 172 (86%) | Reference |
| BF16 rerun | 170 (85%) | -2, the noise floor |
| FP8 W8A8 | 169 (84.5%) | -3, near noise |
| 4-bit AWQ | 158 (79%) | -14, investigate |
Decision table for LLM quantization for inference
Use this table to pick the first format to test, then let your eval decide. The goal of LLM quantization for inference is the cheapest setup that still passes your quality bar. Hardware entries come from the vLLM supported-hardware table and format pages cited above. Speed always needs a check on your own traffic; our guide to benchmarking LLM inference covers the load test, and deploying vLLM on a cloud GPU covers the setup.
| Your situation | Try first | Watch for |
|---|---|---|
| Fits at 16-bit with cache headroom | Stay at BF16 or FP16 | No quality risk to manage |
| Busy endpoint on Ada, Hopper or Blackwell | FP8 W8A8 | Quality on edge cases |
| 8-bit compute on Ampere or Turing | INT8 W8A8 | Not available on Blackwell |
| Model does not fit, low traffic | 4-bit AWQ or GPTQ (W4A16) | Largest quality risk |
| Long contexts or many users | FP8 KV cache | Calibrate scales, test long prompts |
| Blackwell and FP4 kernels available | FP4 | Runtime support for your model |
References: vLLM quantization: supported hardware · vLLM quantized KV cache
Test to run before you commit
Rent the GPU you plan to use for a few hours before you commit to a long run. Load the 16-bit model and one or two quantized variants on the same machine, run your eval, then run a load test at your target concurrency and longest prompt. You need both results, because a format that wins on quality can still miss your latency target.
Checklist: confirm the GPU architecture supports the format natively; pin the runtime version; record the baseline and its rerun; compare prompt by prompt; test the longest context with KV cache settings applied; record peak memory and the latency at your target load. If you are still choosing hardware, our guide on how to choose a GPU for AI and the H200 vs H100 comparison help. NeuraMesh rents cloud GPUs by the hour, and current rates are on GPU prices.
References: vLLM serving benchmark options
NeuraMesh prices for these GPUs
| GPU | Memory | Data center | Value |
|---|---|---|---|
| RTX 4090 | 24 GB | $0.46 | $0.40 |
| L40S | 48 GB | $1.26 | $0.54 |
| A100 | 80 GB | $1.56 | $0.98 |
| H100 | 80 GB | $2.88 | $2.00 |
Every order is confirmed in a quotation before you pay. See all GPU prices.
Questions readers ask
Does FP8 inference work on an A100?
An A100 is an Ampere GPU, so it lacks native FP8 compute. vLLM can still run FP8 checkpoints on Ampere as weight-only W8A16 through Marlin kernels. You keep the memory saving, but matrix multiplications run at 16 bits, so expect less speedup than on Ada, Hopper or Blackwell.
Is 4-bit quantization good enough for production?
Sometimes. It saves the most memory and suits quiet endpoints or models that would not fit otherwise, but it carries the highest quality risk. Run a task-specific eval against the 16-bit baseline, compare prompt by prompt, and read the failures before you put a 4-bit model in front of users.
What is the difference between AWQ and GPTQ?
Both are methods for quantizing weights to low-bit integers, usually 4 bits, and both run in vLLM. They use different algorithms to choose the quantized values, so quality can differ by model. Test the published AWQ and GPTQ checkpoints for your model on the same eval set and keep the better one.
Should I quantize the KV cache as well as the weights?
Quantize the KV cache when long contexts or many concurrent requests are what limit you. vLLM supports an FP8 cache that fits more tokens in memory. Calibrate the scales, keep sensitive sliding-window layers at native precision if needed, and test with your longest prompts, since short prompts barely touch the cache.
How do I check quantization accuracy quickly?
Use 100 to 300 real prompts with a clear pass rule, run the 16-bit model twice to measure noise, then run each quantized variant with identical settings. A drop inside the noise floor is not a regression. Check memory fit first with the LLM VRAM budget guide.
Sources and editorial notes
- vLLM quantization: supported hardware
- vLLM FP8 W8A8 quantization
- vLLM INT8 W8A8 quantization
- vLLM INT4 W4A16 quantization
- vLLM AWQ quantization
- vLLM GPTQModel quantization
- NVIDIA Blackwell architecture
- NVIDIA GeForce RTX 5090
- NVIDIA L40S specifications
- NVIDIA A100 specifications
- NVIDIA Hopper architecture in depth
- vLLM quantized KV cache
- vLLM serving benchmark options
Primary documentation reviewed November 18, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.
Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.



