GGUF Discovery

Blog & Guides

VRAM requirements comparison across quantization levels showing memory savings at each bit width
Quantization format comparison chart showing GGUF, GPTQ, AWQ, and EXL2 formats side by side
Back to All Articles

GGUF vs EXL2 vs AWQ vs GPTQ — Quantization Formats Guide

Introduction: Why Quantization Format Choice Matters

If you run large language models locally, you have to choose a quantization format. The format you pick determines how much VRAM you need, how fast inference runs, and how much quality you lose. In 2026, four formats dominate the local-AI ecosystem: GGUF, EXL2, AWQ, and GPTQ. Each has a different philosophy, a different toolchain, and a different sweet spot.

This guide walks through every format, explains the underlying math at a high level, shows you the exact trade-offs, and recommends a default format for each use case. By the end you'll know which format to download, which tool to run, and which file size to expect.

🚀 Key Takeaway

Use GGUF for llama.cpp / Ollama / LM Studio workflows (CPU + GPU, broadest hardware support). Use EXL2 for ExLlamaV2 on NVIDIA GPUs (best speed-quality balance at 4-6 bpw). Use AWQ for low-VRAM NVIDIA GPUs (best quality-per-bit at 4-bit). Use GPTQ for legacy compatibility only — it's been superseded by AWQ and EXL2.

1. GGUF — The Universal Format

GGUF (GPT-Generated Unified Format) is the format created by Georgi Gerganov for llama.cpp and is now the de-facto standard for local LLM inference. It runs on virtually any hardware: NVIDIA, AMD, Apple Silicon, Intel CPUs, and even Raspberry Pi. A single GGUF file contains the model weights, tokenizer, metadata, and any quantization parameters — no external config needed.

Quantization schemes

GGUF supports many quantization types, named by their effective bits-per-weight (bpw):

Strengths

Weaknesses

2. EXL2 — ExLlamaV2's Native Format

EXL2 is the format designed for ExLlamaV2, a high-performance inference engine for NVIDIA GPUs. It uses a flexible bits-per-weight target (e.g., 4.25 bpw, 5.5 bpw) rather than fixed quantization levels, which lets it pack weights more efficiently than formats that round to 4-bit or 8-bit boundaries.

How EXL2 differs

EXL2 uses the same underlying quantization math as GPTQ (calibration-based) but stores the result in a more efficient binary format. The key innovation: you can quantize to any target bpw (3.5, 4.0, 4.25, 5.0, 6.0, 8.0) and the tool picks the optimal bit allocation per layer to hit your target size.

Strengths

Weaknesses

3. AWQ — Activation-aware Weight Quantization

AWQ is a 4-bit quantization method from MIT that protects the most important weights based on the activation patterns observed during a small calibration run. The key insight: not all weights are equally important, and you can identify the "salient" weights by watching which channels have the largest activations during inference.

How AWQ works

AWQ doesn't quantize every weight to 4 bits. Instead, it:

  1. Runs a small calibration dataset through the model to record per-channel activation magnitudes
  2. Identifies the top ~1% of "salient" weight channels
  3. Keeps those channels at higher precision (effectively 8-bit) and quantizes the rest to 4-bit
  4. Applies a learned scaling factor per channel to minimize quantization error

The result: a model that, at 4-bit, has quality close to 6-bit GPTQ but with the file size of 4-bit. On benchmarks AWQ often matches GGUF Q5_K_M at Q4 file sizes.

Benchmark prompt-to-score pipeline showing how model inputs are transformed into evaluation metrics
Anatomy of an AI benchmark showing how evaluation scores are computed and what they measure

Strengths

Weaknesses

4. GPTQ — The Legacy Format

GPTQ (GPT Quantization) is the original post-training quantization method for LLMs, published in 2022. It uses second-order information (Hessian) to minimize the error introduced by quantizing each weight in sequence. It was the dominant format from 2023-2024 and is still widely available on Hugging Face, but has been largely superseded by AWQ and EXL2.

How GPTQ works

GPTQ processes the weight matrix column by column. For each weight, it computes the quantization error and uses the Hessian matrix to compensate for that error in the remaining unquantized columns. The result is a globally optimized 4-bit (or 8-bit) quantization that's much better than naive per-weight rounding.

Strengths

Weaknesses

5. Format Comparison Matrix

Feature GGUF EXL2 AWQ GPTQ
HardwareAny (CPU/GPU)NVIDIA onlyNVIDIA onlyNVIDIA, some AMD
Bit widths2-8 bit (K-quants)Any (1-8 bpw)4-bit only4-bit, 8-bit
File size at Q4~4.5 GB/8B model~4.0 GB/8B model~4.0 GB/8B model~4.0 GB/8B model
Quality at Q4Very good (Q4_K_M)Excellent (4.25 bpw)Best (4-bit)Good
Inference speed (NVIDIA)GoodExcellentVery goodGood
CPU inferenceBestNot supportedNot supportedLimited
Apple SiliconYes (MLX conversion)NoNoLimited
Calibration requiredNoYesYesYes
Best toolllama.cpp / OllamaExLlamaV2AutoAWQGPTQ-for-LLaMA

6. Choosing the Right Format

For NVIDIA GPU users (RTX 3060+)

For AMD GPU users

For Apple Silicon users

For CPU-only users

7. Quality at Different Bit Counts

The general rule for 2026 (Llama-3-class 8B-70B models):

8. Practical Recommendations

💎 Default Recommendations

For a 24GB NVIDIA GPU (RTX 3090/4090): EXL2 5.0 bpw for 70B models, EXL2 6.0 bpw for 13B models

For a 12GB NVIDIA GPU (RTX 3060/4070): AWQ 4-bit for 13B, EXL2 4.0 bpw for 7B

For a 8GB GPU (RTX 3060 Ti / 4060 Ti): AWQ 4-bit for 7B, GGUF Q4_K_M for 3-4B

For Apple Silicon (M2/M3/M4): GGUF Q4_K_M via llama.cpp, or MLX format directly

For CPU-only: GGUF Q4_K_M is the only practical option

9. Converting Between Formats

All formats can be converted from each other with the right tools:

10. The Future of Quantization

Three trends to watch in 2026-2027:

  1. Sub-4-bit (FP4, NVFP4): NVIDIA's Blackwell GPUs and DeepSeek V4 ship native FP4 weights. Expect FP4 to become the default for new models by end of 2026
  2. Quantization-Aware Training (QAT): Models trained with quantization baked in (rather than post-training quantized) preserve quality better. This is becoming the norm for new releases
  3. Unified formats: The industry is moving toward formats that work across all backends. GGUF's universal approach is winning this race, with vLLM and others adding GGUF support

Conclusion

The quantization format you choose is a trade-off between hardware support, file size, inference speed, and quality. For most users in 2026, GGUF Q4_K_M is the safe default — it runs everywhere and the quality is excellent. If you're on a high-end NVIDIA GPU and want the absolute best speed-quality balance, EXL2 at 4.25-5.0 bpw is the choice. If you need 4-bit quality and have a smaller NVIDIA GPU, AWQ is unmatched. GPTQ remains useful for legacy compatibility but is no longer the best option for new deployments.

The best part: you can download all four formats and benchmark them on your specific hardware with your specific prompts. Every format is one Hugging Face search away.

Related Posts

GPU & CPU Inference Troubleshooting

Complete troubleshooting guide for inference issues — OOM, slow tok/s, KV cache pressure.

Read more →

AI Inference Hardware 2026

Complete 2026 catalog of AI inference hardware across NVIDIA, AMD, Apple Silicon.

Read more →

Maximum Capability from Minimum Silicon

A research paper on maximizing 8 GB GPU + 32 GB RAM workstations for AI agent workloads.

Read more →

About the Author

Hussain Nazary is a software developer specializing in local AI deployment and the creator of GGUF Loader, an open-source tool for running GGUF models locally. This analysis is part of Local AI Zone's ongoing coverage of open-weight language models and practical deployment strategies.

Contact: GitHub | Consulting Services

Last Updated: August 15, 2026 | Version 1.0