Parameter Space Inspector

BLOG / USE CASES

Which quantisation can you afford?

Q4 or Q8? Score the same text under two GGUF files with PSI's Read view and see, piece by piece, where the smaller file starts to lose the thread. A beginner's guide with every click, two texts to paste, and our own numbers to check yours against. No Python, no GPU needed.

Updated 2026-10-24 · The Emergence Machine · Markdown version · RSS

Which quantisation can you afford? A PSI Studio walkthrough: what you need, the four steps under two GGUF files, how to read where the new bright spots land, and what it will not tell you

In short. A smaller model file saves memory, but it may read your text less well. To find out, load each file in turn, paste the same text into the Read view, and compare one number (the average surprise) and where the bright spots fall. In our own run, Qwen3-4B at Q4_K_M read two texts as well as Q8_0 did, within the noise; Q2_K was clearly worse. Both texts are below, so you can check your numbers against ours.

Who this is for. Anyone choosing between versions of the same model for a laptop, a server or a product, who would rather measure on their own text than trust someone else's benchmark. You do not need to know how models work. The background section explains every term used later.

Background: four ideas you need

1. A model file, and why there are several of it

A language model is a very large list of numbers called its weights: about 4 billion of them for Qwen3-4B. Every answer it gives is computed from those numbers. The file you download to run a model on your own computer is usually a GGUF file: a header that describes the model, followed by the weights.

The same model is published in several versions that differ only in how precisely each weight is stored. That is quantisation: rounding every weight so that it takes fewer bits. Fewer bits means a smaller file, less memory and usually faster answers, at the cost of some precision. The version is written in the file name:

Name in the file Bits per weight (about) Qwen3-4B file size
BF16 16 8.05 GB
Q8_0 8.5 4.28 GB
Q6_K 6.6 3.31 GB
Q4_K_M 5.0 2.50 GB
Q3_K_M 4.1 2.08 GB
Q2_K 3.3 1.67 GB

The question this page settles: how much does the rounding cost on your text?

2. Tokens: the pieces the model reads

A model does not read letters or whole words. It reads tokens: pieces of text from its own dictionary. " October" is one piece; a number like "48213" may be several. PSI calls them pieces. Ordinary English comes to a little more than one piece per word; numbers and rare words take more.

3. Surprise: how unexpected each piece was

A model reads text one piece at a time. Before each piece, it guesses what comes next, as odds over its whole dictionary. After "The sun rises in the", it might give " east" 90% and share the remaining 10% among everything else.

Surprise turns the odds the model gave the piece that actually came into a score, counted in bits:

Odds the model gave the real next piece Surprise
100% (certain, and right) 0 bits
50% (a coin flip) 1 bit
25% 2 bits
1 in 1,000 about 10 bits
1 in a million about 20 bits

Each halving of the odds adds one bit. Low surprise means the model saw the piece coming; high surprise means it did not. Some surprise is normal: no model can guess a name or an order number it has never seen. What matters here is the difference between two files reading the same text. The words are the same, so any extra surprise comes from the rounding.

4. What the Read view shows

The Read view scores every piece of a text you paste and colours it: the brighter the piece, the more surprising. Hover a piece and it shows the odds the model gave it, its surprise in bits, its rank among the model's guesses, and the pieces it expected instead.

Three details matter for this test:

  • Off scale (hatched). At each step, PSI asks the model for its top 20 guesses. A piece that is not among them is drawn hatched and called off scale. Its exact surprise is unknown; PSI knows only that it is above a floor, and shows it as, say, "over 9.3 bits".
  • The headline number. Above the text, Read gives the average surprise per piece. When some pieces are off scale, it leads with a bounded average that counts each of them at its floor, so the true value can only be higher ("average surprise ≥ 3.52 bits"). The plain average over the other pieces follows in brackets. Use the first number: the plain one leaves out the most surprising pieces.
  • The ▴ mark. A piece marked ▴ is past the colour scale, at more than 12 bits.

What you need

  • PSI installed and running. See Install. For this test you need only Node.js, llama.cpp and the app: no Python and no GPU, though a GPU is faster.
  • Two GGUF files of the same model at different quantisations, for example Qwen3-4B-Q8_0.gguf and Qwen3-4B-Q4_K_M.gguf. Many model pages on Hugging Face offer several versions; look for a repository whose name ends in -GGUF. If you have the model as a Hugging Face folder instead, PSI makes the files for you: in Settings, under Local model, choose the folder (marked ⚠) and press Convert to GGUF, once at 8-bit and again at 4-bit.
  • Two texts typical of your use, each a paragraph or more, of different kinds: a support ticket, a contract clause, a page of a chapter, a code file. To check your setup against our numbers first, use the two texts in the worked example below.
  • Somewhere to write down a few numbers per text, for example a copy of this table:
Q8_0 Q4_K_M
Pieces scored
Average surprise (the ≥ number)
Off scale (hatched)
The three brightest pieces

Steps

Step 1. Load the first file

  1. Open the app, or http://127.0.0.1:4310 if you run it in the browser.
  2. Press the gear button (⚙, Model settings) at the top right. This opens Settings.
  3. Under Local model, pick the larger file (Q8_0) from the list and press Load. If it is not in the list, press Scan folder and choose the folder that holds it, or paste the file's full path and press Load this file.
  4. Wait until the line under the list says Loaded with the file's name. A 4 GB file takes a few seconds to a minute.

Step 2. Check the file is what you think (File view)

  1. Open the File view. It reads the file's header without loading anything else.
  2. Note the architecture, the number of layers, the vocabulary size and the quantisation recipe (for example "mostly Q8_0").
  3. Look at Weights by storage type: a table of how each part of the model is stored, in bits per parameter. The recipe names only the main type; the table is the full picture.

You will repeat this for the second file. If the two files differ in anything besides quantisation (another architecture, another vocabulary size, a different number of layers), they are not two versions of the same model, and the comparison is not fair.

Step 3. Read both texts (Read view)

  1. Open the Read view.
  2. Delete the sample text in the box, paste your first text and press Read it.
  3. When it finishes, the line next to the button gives the result, for example: 79 pieces scored · average surprise ≥ 3.52 bits, counting each off-scale piece at its floor (2.87 bits over the 70 pieces it ranked in its top 20) · 9 off scale (hatched).
  4. Write down the pieces scored, the ≥ number and the off-scale count.
  5. Find the three brightest pieces. Hover each one and write down the piece and its surprise in bits.
  6. Do the same with your second text.

Step 4. Load the second file and read the same texts

  1. Back in Settings (⚙), load the smaller file (Q4_K_M) the same way, and wait for Loaded.
  2. Open File and check it against your notes from step 2.
  3. Open Read, paste exactly the same first text and press Read it. Write down the same numbers. Then do the same with the second text.

The number of pieces scored should be the same under both files. If it is not, the two files cut the text differently: their tokenizers differ, and step 2 should have caught it.

Step 5. Compare

For each text, look at three things, in this order:

  1. The average. How much higher is the smaller file's ≥ number? On a paragraph of 60 to 80 pieces, a difference under about 0.3 bits is noise; the same file's average changes by more than that from one paragraph to the next. A rise that shows on both texts is real.
  2. The off-scale count. More hatched pieces means more pieces the smaller file did not even have among its top 20 guesses.
  3. The new bright spots. Hover the pieces that got brighter. Are they the pieces that matter to you (the amounts in an invoice, the identifiers in code, the names in a contract) or filler words? A loss on filler you may never notice; a loss on the amounts is exactly what you cannot afford.

A worked example, to check yours against

We ran the test on Qwen3-4B at three quantisations (Q8_0, Q4_K_M and Q2_K) with the two texts below. Paste them exactly as they are, without a line break at the end.

Text 1, a support ticket:

Hello, I was charged twice for order 48213 on 3 October. The first charge was $129.99 and the second was $129.99 again, both on the card ending 4417. Please refund the duplicate charge to the same card. My account email is the one this message comes from. Thank you, Priya

Text 2, a story:

The ferry left the harbour an hour late, because the fog had come in thick overnight and the captain would not leave until he could see the end of the pier. Most of the passengers stayed inside with their coffee, but a boy and his grandmother stood at the rail the whole way across, watching for the island to appear.

What Read showed (Qwen3-4B, llama.cpp b11399, on an NVIDIA GPU; on another machine or build, your numbers may differ in the second decimal):

Q8_0 (4.28 GB) Q4_K_M (2.50 GB) Q2_K (1.67 GB)
Ticket: pieces scored 79 79 79
Ticket: average surprise ≥ 3.52 bits ≥ 3.59 bits ≥ 4.17 bits
Ticket: off scale 9 11 14
Story: pieces scored 64 64 64
Story: average surprise ≥ 4.63 bits ≥ 4.37 bits ≥ 5.20 bits
Story: off scale 13 15 19

How to read it:

  • Q4_K_M against Q8_0: no measurable loss on these texts. The ticket's average rose by 0.07 bits a piece and the story's fell by 0.26, both within the noise. (Taken piece by piece, the average change was 0.07 ± 0.15 bits on the ticket and −0.26 ± 0.32 on the story, at 95% confidence.) Only one piece in each text got more than 2 bits brighter. The brightest pieces were the same under both files: " card", " October", " twice" and " order" in the ticket; " boy" and " stayed" in the story. For this model and these kinds of text, the 4-bit file costs nothing you can see, at 58% of the size.
  • Q2_K against Q8_0: a real loss, and it lands on the details. Both averages rose, by 0.65 and 0.57 bits, and both texts gained hatched pieces. In each text, 16 to 18 pieces got more than 2 bits brighter, against 6 to 8 that got dimmer. The biggest rises came on what a reader of the ticket needs: " ending" (from 2.4 to 9.7 bits), "4", the first digit of the card number (2.4 to 8.7), and " again" (4.6 to 10.4). In the story, they came on " watching" (0.7 to 9.4) and " pier" (3.2 to 9.5). The 2-bit file has started to lose the thread exactly where the facts are.
  • One text alone would not have settled Q2_K. On the story by itself, its rise of 0.57 ± 0.69 bits is inside the noise. The finding rests on two things: the two texts agree, and many more pieces got brighter than dimmer. That is why step 3 asks for two texts.

If your Q8_0 numbers on these texts match ours, your setup is right, and you can trust the same steps on your own texts.

What it will not tell you

Read scores how well the model predicts your text. That is a good stand-in for how well it understands the text when it reads, summarises or answers questions about a document. It is a weaker stand-in for writing new text. For that, ask both files the same question in Generate and compare the fork maps at the choices that decide the answer.

It also measures only the texts you gave it. A quantisation that holds up on support tickets may not hold up on code, so test the kinds of text you will actually use.

Why this beats the benchmark table

Benchmarks average over text you do not write. The ten minutes above measure the model on the text you do write, and leave you with numbers you can repeat next month when a new quantisation appears.

Questions people ask

Is Q4 quantisation good enough, or do I need Q8?

Measure it on your own text: load each GGUF file in PSI, paste the same text into the Read view, and compare the average surprise, the number of off-scale pieces and whether the brightest pieces are new ones. In our test on Qwen3-4B, Q4_K_M read a support ticket and a story as well as Q8_0, within the noise; Q2_K lost about 0.6 bits a piece, mostly on numbers and details.

What does surprise mean, in plain words?

It is how unexpected each piece of the text was to the model, in bits: 0 bits means the model was certain of the piece, 1 bit is a coin flip, and 10 bits is about one chance in a thousand. Two files of the same model reading the same text should be equally surprised; any extra surprise in the smaller file is what the rounding cost.

What does heavier quantisation make a model worse at?

Usually it is a little worse everywhere and much worse in a few places. In our test, the 2-bit file's biggest new surprises were on the details: a digit of a card number, "ending", "again", "pier". Check whether the new bright spots in your text land on the pieces that matter to you.

Do I need a GPU to compare quantisations of a model?

No. PSI's File and Read views run on the llama.cpp engine, so no Python and no GPU are required, though a GPU is faster. You need two GGUF files of the same model and two texts typical of your use; for open-ended writing, compare answers in Generate as well.