GGUF vs GPTQ vs AWQ: Differences, Speed and Which to Use
By Hans Kuepper · Founder of PromptQuorum · Discovery engine for open-weight & open-source AI
GGUF is the usual default format for local use — it runs on CPU and GPU via llama.cpp and Ollama. GPTQ and AWQ are GPU-focused formats for serving frameworks like vLLM.
Key Takeaways
- ✓GGUF: the right default for local use — runs on CPU and GPU via llama.cpp/Ollama, no CUDA-only requirement
- ✓GPTQ: GPU-focused, an early standard for 4-bit serving, still supported by ExLlama and vLLM
- ✓AWQ: GPU-focused, generally holds quality better than GPTQ at the same bit width — preferred for production serving
- ✓If you're running Ollama or LM Studio locally, you almost certainly want GGUF, not GPTQ or AWQ

Quick Answer
Use GGUF for local use via Ollama or llama.cpp — it runs on CPU and GPU with no extra requirements. Use AWQ over GPTQ if serving in production with vLLM, since it generally keeps quality closer to the original at the same bit width, though results vary by model and kernel.
- ▸GGUF: llama.cpp's native format — CPU+GPU hybrid inference, the default for Ollama and LM Studio.
- ▸GPTQ: GPU-focused, calibration-based post-training quantization — an early standard for efficient 4-bit serving.
- ▸AWQ (Activation-aware Weight Quantization): GPU-focused, generally better quality-per-bit than GPTQ, common in vLLM production serving.
Best Pick: GGUF for Local Use, AWQ for Production Serving
GGUF is the right quantization format for almost anyone running models locally through Ollama, LM Studio, or llama.cpp directly — it supports both CPU and GPU inference from the same file, including partial CPU offload when a model doesn't fully fit in VRAM. This flexibility is exactly why GGUF became the standard format for consumer local LLM tools: it works whether you have a powerful GPU, a modest one, or none at all.
GPTQ was one of the earliest widely-adopted 4-bit quantization methods for efficient GPU inference. It uses a calibration dataset to minimize quality loss during post-training quantization, but it is GPU-focused (CPU kernels exist in some libraries but are not the common path), and in published comparisons it has often been matched or exceeded in quality per bit by newer methods such as AWQ.
AWQ (Activation-aware Weight Quantization) is the more modern GPU-focused alternative to GPTQ. By protecting the weights that matter most for activation magnitude rather than quantizing everything uniformly, AWQ generally preserves more quality at the same bit width. It is a common choice for production serving stacks like vLLM, where GPU serving is already a given.
📍 In One Sentence
GGUF is a single-file quantized model format for llama.cpp that runs on CPU and GPU, while GPTQ and AWQ are GPU-focused 4-bit formats used mainly for serving with vLLM.
💬 In Plain Terms
In plain terms: pick GGUF if you run models on your own computer with Ollama or LM Studio, and pick AWQ or GPTQ only if you serve a model from an NVIDIA GPU server.
GGUF vs GPTQ vs AWQ at a Glance
Choose GGUF if you're running Ollama, LM Studio, or llama.cpp locally — it is the one of the three built for CPU and partial-offload use (GPTQ/AWQ CPU kernels exist, for example in GPTQModel, but are not the common path). Choose GPTQ only if you're working with an existing pipeline or tool (like older ExLlama setups) that specifically expects it. Choose AWQ if you're deploying to a production GPU-serving stack (vLLM) and want generally more quality per bit among the GPU-focused options.
All three represent the same underlying model at reduced precision — the format determines which tools can load it and how gracefully it handles GPU-memory shortfalls, not the model's underlying capability.
| Format | Runs on | Typical bits | Main tools | Best for |
|---|---|---|---|---|
| GGUF | CPU, GPU or both | 2–8 bit | llama.cpp, Ollama, LM Studio | Local use |
| GPTQ | Mainly GPU | 4 bit (3–8) | vLLM, ExLlama | Existing GPU pipelines |
| AWQ | Mainly GPU | 4 bit | vLLM, Transformers | GPU serving |
How GGUF, GPTQ and AWQ Work and Who Maintains Them
GGUF is a single-file model format with the tokenizer and metadata built in, designed for llama.cpp. Its quantization types (Q4_K_M, Q5_K_M, Q8_0 and others) are produced by llama.cpp's llama-quantize tool, and the same file runs on CPU, GPU or a mix of both. It replaced the older GGML format.
GPTQ quantizes a model layer by layer after training, using a small calibration dataset to compensate for rounding error. The resulting checkpoint is loaded on a GPU through kernels such as Marlin or ExLlama.
AWQ (Activation-aware Weight Quantization) protects the small share of weights that matter most for activations by scaling them before rounding to 4 bit. This usually keeps outputs closer to the original model than uniform rounding.
Tooling status matters if you quantize a model yourself. The AutoAWQ project is deprecated and no longer maintained, and the vLLM documentation points to llm-compressor for AWQ quantization. The AutoGPTQ repository is archived, and its README recommends GPTQModel. Pre-quantized AWQ and GPTQ checkpoints on Hugging Face keep loading in vLLM regardless; check each repository before starting a new pipeline on it.
The Hugging Face Text Generation Inference (TGI) repository is archived and read-only, and its README states that TGI is in maintenance mode and points to engines such as vLLM and SGLang. This article therefore names vLLM rather than TGI for serving AWQ and GPTQ checkpoints.
Speed and Quality Depend on the Kernel, Not Only the Format
The same AWQ or GPTQ file can be much slower or faster depending on the GPU kernel that runs it. One third-party vLLM benchmark (Qwen2.5-32B on an NVIDIA H200) reports AWQ on its default kernel running slower than FP16 and AWQ and GPTQ with the Marlin kernel running faster (Prem AI); Spheron reports the same kernel gap.
Quality loss at 4 bit is small but measurable, and results differ by model and test. One published HumanEval comparison on Qwen2.5-32B put AWQ at 51.8% against 56.1% for FP16, with GPTQ at 46.3% (Prem AI). Treat such numbers as directional and test on your own model and task.
GGUF files can be loaded by vLLM, but the vLLM documentation describes that support as highly experimental and under-optimized. For GGUF, use llama.cpp, Ollama or LM Studio.
Which Format to Pick for Your Setup
- ▸Laptop, Mac or CPU-only machine: GGUF. It is the one of the three that CPU-first tools such as Ollama and LM Studio use by default; LM Studio also offers MLX models on Apple Silicon.
- ▸One consumer GPU, model fits in VRAM: GGUF for simplicity, or AWQ/GPTQ if your tooling (ExLlama, a Python pipeline) expects them.
- ▸Model larger than your VRAM: GGUF, because layers can be offloaded to system RAM.
- ▸Production API on NVIDIA GPUs with vLLM: AWQ or GPTQ with Marlin kernels. Start with AWQ and benchmark GPTQ against it.
- ▸Fine-tuning: fine-tune first at full or adapter precision, then quantize the result.
Commands to Run Each Format
Each format has its own loader. Replace the placeholders with your own model:
# GGUF: run a Hugging Face GGUF file in Ollama
ollama run hf.co/<user>/<repo>:Q4_K_M
# GGUF: create one from full-precision weights with llama.cpp
python convert_hf_to_gguf.py ./model --outfile model-f16.gguf
llama-quantize model-f16.gguf model-Q4_K_M.gguf Q4_K_M
# AWQ or GPTQ: serve with vLLM
vllm serve <user>/<model-AWQ> --quantization awq
vllm serve <user>/<model-GPTQ> --quantization gptqRelated Reading
- ▸What Is Q4_K_M Quantization? — GGUF's most common quant level explained
- ▸Q4_K_M vs Q8_0 — choosing a GGUF quant level
- ▸Ollama vs vLLM vs TGI — which serving tool pairs with which format
- ▸LLM Quantization Explained (Full Guide) — the complete deep dive into how quantization works under the hood