New Tool Radar

AI Concepts

How to Compare GGUF, AWQ and GPTQ Formats for Your Hardware

Compare GGUF, AWQ and GPTQ on the hardware you actually have, so the format fits the engine instead of fighting it.

Schematic illustration with three step boxes: list your hardware, check engine support, and compare size and quality.

GGUF is the container format from llama.cpp, designed for CPU and Apple Silicon inference, with Q4_K_M as the popular sweet spot. GPTQ quantizes layer by layer using second-order information and is stored as safetensors for GPU serving. AWQ protects the small share of weights that matter most. The format you choose depends on the engine you serve with: GGUF for llama.cpp and Ollama, AWQ and GPTQ for vLLM and SGLang.

Before you start

The model you want to run, the hardware it will run on, and the inference engine you plan to use.

List your hardware and engine first

Write down the hardware: a laptop CPU, Apple Silicon, a single consumer GPU, or a GPU server. Then write down the engine: llama.cpp, Ollama, LM Studio, vLLM or SGLang.

The engine decides the format more than the benchmark does: vLLM and SGLang read AWQ and GPTQ, while llama.cpp, Ollama and LM Studio read GGUF.

Check which formats your engine reads

Open your engine’s documentation and confirm the format is supported in the version you run. A format that needs a newer engine version than you have is not an option yet.

Check the kernel too: in one 2026 benchmark, the serving kernel moved throughput by up to 10.9 times for the same AWQ weights, so the kernel matters as much as the format.

Compare size and quality on the same model

For the same base model, compare the file size and the published quality numbers for each format at 4 bits. In one 2026 benchmark, GGUF Q4_K_M scored 6.74 WikiText-2 perplexity and 51.8 percent HumanEval Pass at 1, against an FP16 baseline of 6.56 and 56.1 percent.

Pick the format that your engine reads, your hardware accelerates, and your quality test accepts, in that order.

Practice check: fictional Maple Corner choice, 8B model, MacBook

The table below is fictional practice material, worked out by hand from the stated format rules. It is the expected result for the practice choice, not a run of any benchmark.

Format Engine File size Verdict
GGUF Q4_K_M Ollama on Mac 4.58 GiB Pass – fits the hardware
AWQ 4-bit Ollama on Mac Not supported Fail – wrong engine
GPTQ 4-bit Ollama on Mac Not supported Fail – wrong engine
GGUF Q8_0 Ollama on Mac 8.1 GiB Pass, larger

Only GGUF fits Ollama on this MacBook, so the choice is between Q4_K_M at 4.58 GiB and Q8_0 at 8.1 GiB. The format decision was made by the engine, not by the benchmark.

Expected result. UNTESTED: the file sizes and verdicts in the practice table are worked out by hand from the stated format rules, not measured by running any model. Check your own engine’s supported formats, then compare file size and quality on the same base model.

Limits

  • Benchmark numbers from one model do not transfer to another: test the quality on your own tasks.
  • A format that your engine cannot read is not a candidate, however good its benchmark looks.

Sources

See all