Skip to main content
PromptQuorumBuilt for humans. Structured for AI.

GGUF vs GPTQ vs AWQ: Differences, Speed and Which to Use

By · 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
GGUF vs GPTQ vs AWQ: Differences, Speed and Which to Use

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.
Quantization & VRAMIntermediate

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.

FormatRuns onTypical bitsMain toolsBest for
GGUFCPU, GPU or both2–8 bitllama.cpp, Ollama, LM StudioLocal use
GPTQMainly GPU4 bit (3–8)vLLM, ExLlamaExisting GPU pipelines
AWQMainly GPU4 bitvLLM, TransformersGPU 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 gptq

Related Reading

Frequently Asked Questions

Can I convert a GPTQ or AWQ model to GGUF?▾
Generally you convert from the original full-precision weights to GGUF directly, rather than converting between two already-quantized formats — going quantized-to-quantized compounds precision loss. If you only have a GPTQ/AWQ checkpoint, look for the original model's full-precision release to convert from instead.
Is GGUF slower than GPTQ or AWQ on a GPU?▾
On a GPU where the model fully fits in VRAM, well-optimized GGUF inference is competitive with GPTQ/AWQ. The gap that matters is when a model doesn't fully fit — GGUF gracefully offloads to CPU, while GPTQ/AWQ generally cannot.
Which K-quant level should I use within GGUF?▾
Q4_K_M is the most common balanced default. See the dedicated Q4_K_M vs Q8_0 comparison for the full tradeoff between file size and quality across GGUF's quant levels.
Does Ollama support GPTQ or AWQ models directly?▾
No — Ollama runs GGUF models (and can import supported safetensors weights) but its documentation does not list GPTQ or AWQ checkpoints as loadable formats. To use a GPTQ or AWQ checkpoint, you need a different serving tool (vLLM or ExLlama) designed for that format.
What is GGUF?▾
GGUF (GPT-Generated Unified Format) is the single-file model format of llama.cpp. It stores quantized weights, tokenizer and metadata together and runs on CPU, GPU or both. It replaced the older GGML format.
What is the difference between GPTQ and AWQ?▾
Both are GPU-focused 4-bit post-training methods. GPTQ compensates rounding error layer by layer using calibration data; AWQ scales the weights that matter most for activations before rounding. In practice AWQ usually keeps slightly more quality, but the GPU kernel used matters as much as the method.
Is AWQ better than GPTQ?▾
Often slightly, on quality per bit, but not always. Results vary by model, calibration data and kernel, so benchmark both on your own task before committing a production deployment.
What is the difference between GGUF and non-GGUF models?▾
A non-GGUF model is usually a safetensors checkpoint for PyTorch/Transformers in FP16/BF16, or a GPTQ/AWQ checkpoint, and needs a GPU framework. GGUF packs a quantized model into one file for llama.cpp-based tools, which also run on CPU.
What is the difference between ONNX and GGUF?▾
ONNX is a hardware-neutral model graph format run by ONNX Runtime, used for deployment across devices such as NPUs. GGUF is specific to llama.cpp and is the simpler route for running chat LLMs on a personal computer.
Can I bring my own quantized GGUF or AWQ model to a hosted provider?▾
It depends on the provider, so check its documentation for supported formats before uploading. Self-hosting always works: GGUF through llama.cpp or Ollama, AWQ or GPTQ through vLLM on a rented GPU.
Which format has the lowest latency in production?▾
On NVIDIA GPUs, AWQ or GPTQ served by vLLM with Marlin kernels is the usual low-latency setup. Latency depends on batch size and hardware, so measure with your own traffic.
MCP