GGUF vs AWQ vs GPTQ vs FP8: Which Quantization Wins?

The real question is not "how much" but "where"

Quantization shrinks a model's weights to fewer bits per parameter, trading a small quality loss for much smaller memory and faster inference. A 70B model needs about 140 GB at full 16-bit precision; the same model in 4-bit fits in roughly 40 GB. But the alphabet soup of formats — GGUF, AWQ, GPTQ, FP8 — confuses even experienced builders. The formats are not interchangeable: each one is designed for a specific kind of hardware and a specific serving engine. Pick the format that matches where you run, not the one with the best marketing.

Quantization shrinks models so they fit smaller hardware — at a small quality cost. Source: tecnobits.com

The contenders

GGUF: the portable default

GGUF is the llama.cpp file format, and it owns the local-inference world. It ships in a ladder of compression levels from Q2_K (aggressive, about 2-bit) up to Q8_0 (near full precision), with Q4_K_M as the community's recommended sweet spot: roughly half the memory of the full model with minimal quality loss. Its superpower is flexibility. GGUF runs on CPUs, Apple Silicon, and NVIDIA GPUs, and llama.cpp can split layers between GPU and system RAM so a model bigger than your VRAM still runs. Every laptop setup you have seen — Ollama, LM Studio, Jan — speaks GGUF. If you want zero-friction local inference, start here; our step-by-step GGUF quantization walkthrough shows how to make your own Q4_K_M builds.

AWQ: the quality-first 4-bit

AWQ (Activation-Aware Weight Quantization, from MIT's Han Lab) starts from one sharp observation: weights are not equally important. It protects roughly the top 1% of "salient" weights — chosen by activation magnitude, not by weight value — and quantizes the rest to INT4 with per-group scaling (group size 128 is the standard). It needs no backpropagation and no weight reconstruction, yet it consistently beats plain 4-bit rounding. On INT4 with group size 128, the AWQ paper reports cutting the quantization degradation (perplexity penalty) from 4.57 to 1.17 — about a 74% reduction — versus naive INT4. It is natively supported in vLLM, TensorRT-LLM, SGLang, and Hugging Face TGI, which makes it the practical default for production GPU serving on Ampere, Ada, and older server cards.

GPTQ: the veteran of weight-only quantization

GPTQ is the older INT4 workhorse, built on layer-wise quantization (OBQ) that minimizes error one layer at a time. It supports 4-bit and 8-bit (the GPTQ algorithm itself extends to 2/3-bit, though community testing shows quality falls off sharply below 4-bit, so production GPTQ stays at 4-bit). Tooling is its strength: AutoGPTQ/GPTQModel made it the first widely available 4-bit format with broad model coverage on the Hub, and vLLM serves GPTQ with Marlin kernels that cut register pressure for low-latency streaming. Independent testing generally puts AWQ slightly ahead on quality at the same 4-bit depth, but if a GPTQ build is the only quantized version of the model you want, take it — the difference is small.

FP8: the near-lossless option

FP8 is not an integer format at all — it is 8-bit floating point (E4M3 for weights), and modern Hopper and Blackwell GPUs execute it natively in their tensor cores. That means no integer unpacking, full-speed compute, and roughly half the memory of BF16. For most tasks the quality is indistinguishable from BF16, and it needs no calibration step: vLLM can serve an FP16/BF16 model with dynamic per-token FP8 scaling via a simple --quantization fp8 flag. The catch is hardware: FP8 is at its best on H100, H200, and Blackwell cards (Ada Lovelace has partial support). If your GPU supports it and the model fits in FP8, stop looking — that is usually the right answer.

A quick history

The format war did not start yesterday. GGUF replaced the earlier GGML and GGJT container formats in 2023–2024, fixing metadata handling and extensibility. AWQ arrived in 2023 and won the MLSys 2024 Best Paper award. GPTQ predates both. FP8 went mainstream when NVIDIA shipped native FP8 tensor cores in Hopper, and the 2025–2026 Blackwell generation added hardware-native 4-bit float formats (NVFP4, MXFP4) — formats to watch, but only if you own Blackwell silicon.

Early formats like GGML and GGJT led to today's GGUF standard. Source: atekco.io


Verdict table

FormatBitsBest hardwareEnginesQuality retention*Pick it when…
GGUF2–8CPU, Apple Silicon, consumer GPUllama.cpp, Ollama~95% (Q4_K_M)You run locally and want maximum compatibility
AWQ4NVIDIA GPU (any modern card)vLLM, SGLang, TensorRT-LLM, TGI~97% (INT4 g128)You serve on GPUs and want the best 4-bit quality
GPTQ4 (or 8)NVIDIA GPUvLLM, AutoGPTQ~96% (INT4 g128)Only a GPTQ build exists for your model
FP88 (float)H100/H200/BlackwellvLLM, SGLang, TensorRT-LLM~99.5%The model fits and your card has native FP8

*Quality retention is approximate, from independent community benchmarks; always sanity-check on your own prompts.

Decision guide

  • Laptop, desktop, or CPU box → GGUF. Pull a Q4_K_M build: ollama pull llama3.3:70b-instruct-q4_K_M. If VRAM is tight, drop the context window or let llama.cpp offload the overflow layers to RAM. Our Ollama local setup guide walks through the whole 20-minute setup.
  • GPU server, 24 GB or less, serving at scale → AWQ. 4-bit weights halve VRAM again versus FP16 and vLLM's AWQ kernels are fast. It is the default INT4 choice on Ampere/Ada.
  • GPU server with H100 or Blackwell → FP8 first. Near-lossless, no calibration, one flag in vLLM. Only step down to INT4/NVFP4 when you are genuinely VRAM-starved or chasing throughput.
  • Long context → quantize the KV cache too. On long-context models, pair any weight format with FP8 KV-cache quantization in vLLM, or --quantize-kv 1 in llama.cpp — otherwise the KV cache eats the VRAM you saved.

The bottom line

There is no universal winner. GGUF wins on portability, AWQ wins on 4-bit quality for serving, GPTQ wins on tooling breadth and legacy coverage, and FP8 wins outright wherever the hardware supports it. Match the format to your hardware and your engine — the choice mostly makes itself. If you are still choosing the engine, our vLLM vs Ollama vs llama.cpp vs SGLang comparison covers that half of the stack.

Comments

Popular posts from this blog

Open-Source AI Weekly: Bonsai, GigaChat 4 Lead

Claude Claims Proof of Riemann Hypothesis After 167 Years

How to Build an AI Agent with LangGraph in 30 Minutes