← All articles
Guide · 2026-11-20

Benchmarking Local Model Quantization: Comparing the Same Model Across Quantization Levels

Published 2026-11-20 ·Mentions: Ollama, llama.cpp
Benchmarking Local Model Quantization: Comparing the Same Model Across Quantization Levels
Benchmarking quantization is a controlled experiment: the same model and the same prompt set, compared across quantization levels on answer quality, generation speed, and size. For Qwen3 8B, Q4_K_M is about 5.2GB, Q8_0 about 8.9GB, and FP16 about 16GB — find the level that is enough for your machine.

The Short Answer: Who This Is For

The short answer: benchmarking quantization is not about running one test and calling it done. It is a controlled experiment: the same model and the same prompt set, measured level by level on quality, speed, and size. Lower levels mean smaller files and faster runs, but answer quality drops. The goal is to find the level that is enough for your machine without wasting resources.

It suits people running models locally who cannot decide which quantization level to use: laptop users with limited memory and people trying to run a larger model on an older computer. The main route uses Ollama to pull the same model at different quantization levels for comparison, with llama.cpp available when finer control is needed. Start with a smaller model for the test, such as Qwen3 8B, and switch to a larger one once the process works.

What You Need

Prepare three things: a computer with Ollama installed, available as a free download from its official site — prompts run locally are never stored or used for training; a fixed prompt set covering question answering, code, math, and multi-turn conversation, saved as a file; and a record sheet for each level's size, speed, and quality. Do not upgrade the model or swap in different prompts during the test, or the results cannot be compared.

Before you start, confirm you have enough disk space. According to the Ollama model library as of November 20, 2026, Qwen3 8B is about 5.2GB at Q4_K_M, about 8.9GB at Q8_0, and about 16GB at FP16, so pulling all three levels needs more than 30GB free. Second, settle the method: score quality by eye, measure speed by the time the same prompt set takes, and read size straight from the files.

Step by Step

First, pull the same model at three levels. In a terminal, pull Qwen3 8B at each quantization level in turn: ollama pull qwen3:8b-q4_K_M, ollama pull qwen3:8b-q8_0, and ollama pull qwen3:8b-fp16. All three tags are listed on the tags page of the model library; Q4_K_M is the same file as the default qwen3:8b tag, Q8_0 is higher precision, and FP16 is full precision without quantization. After pulling, check the sizes with ollama list.

Then run the same prompt set at each level. Ask the same prompts in the same order with the same parameters, and record each answer and how long it took. Score quality as pass or fail: are the facts right, does the code run, and does the reasoning hold up. Repeat the key questions twice to see whether the answers stay stable.

Next, compare the three measurements side by side. Put the size, time, and quality score for all three levels in the record sheet: FP16 is the largest, Q4_K_M the smallest. Then look at where the lower levels start to fail — math reasoning, long code, or losing context in multi-turn conversation. Quality usually drops most on tasks that need precise reasoning.

Finally, pick a level for your machine. On a laptop tight on memory, start with Q4_K_M and do not go higher if it is enough. With memory to spare and frequent reasoning or coding work, try Q8_0. Use FP16 as a reference to see how much quality the lower levels actually lose. Write down the conclusion so the next model can go through the same process. When finer control is needed, use llama.cpp to pull a model from Hugging Face and serve it, for example llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF.

Common Problems and Fixes

Problem one: answers at a low level vary from run to run, and it is unclear whether quantization or the prompt is to blame. Fix the prompts and parameters, repeat the key questions, and only compare repeated results for the same question. Problem two: the FP16 level will not run, or runs very slowly. Check memory first: FP16 uses about three times the memory of Q4_K_M, so skip FP16 and use Q8_0 as the reference when the machine cannot handle it.

Problem three: speed measurements differ every time. Generation speed is affected by background processes and heat, so close unused programs during testing, let the machine cool down between levels, and average several runs.

Things to Watch Out For

A note on figures: the size figures follow the Ollama model library as of November 20, 2026 — the library may change over time, so the official site is the reference. Speed and quality results vary by machine, so this guide gives no universal benchmark scores; test on your own machine. Ollama and llama.cpp are both free open-source tools, and llama.cpp is released under the MIT license.

These steps were checked against the official pages on November 20, 2026. If platform rules change, the official pages are the reference.

Tools mentioned

AI Infrastructure · Free tier + paid — Ollama is the easiest way to run and build with open AI models locally or in the cloud on macOS, Windows, and Linux.
Coding & Development · Free — Local LLM inference engine, creator of the GGUF format, runs on CPU/GPU, and includes an OpenAI-compatible server.

Sources

This article is compiled from the public sources above and does not reproduce the originals in full; see the official sources for details.

Sign in to Lumo

Sign in with a one-time code sent to your email — no password. Your saved tools will sync across your devices.

The code is only used to sign you in. We store just your email and saved list (privacy policy, in Chinese).

—

Signed in. Your saved tools sync across all your devices.

0saved
View saved tools

Send feedback

Found a mistake, missing something, or have a suggestion? Tell us.