A squeezed 35B model against a 20B one, on a 24 GB Mac mini

From
Joe Hahn
Date
Read
5 min
Animated share card for A squeezed 35B model against a 20B one, on a 24 GB Mac mini

I have a new Mac mini with 24 GB of memory. It runs AI models at home, with no subscription and nothing leaving the house. This week a bigger model than it should be able to hold went onto it, and I had to find out if the bigger model was any good.

Short version: it scored 31 of 32 where my usual model scored 30 of 32, and it finished the whole test in 8.7 minutes against 14.0.

The machine and the problem

The mini's job is experiments with my sample collection: sorting drum breaks, naming files, writing small scripts. For that it needs a language model that fits in memory beside the audio tools.

Memory decides everything here. On this Mac the graphics side can use about 20 GB. A model has to fit under that or it crawls.

My default has been gpt-oss:20b. It takes about 14 GB and writes 37 tokens a second. A token is a piece of a word, so that's faster than I read.

Then Qwen4-35B-A3B came out. It's a larger model, and the standard download is 37 GB. That doesn't fit, and it isn't close.

How a 37 GB model fits in 20

Two tricks, neither of them mine.

The first is compression. Model numbers normally get stored with a lot of precision. You can round them off hard, down to about 3 bits each, and the file shrinks. The people at Unsloth publish a version like that.

The second is that 11 GB of this model is a lookup table it only reads small parts of. That table can stay on the SSD and never has to go into memory.

Together that put about 17.4 GB in memory. It needed llama.cpp built from source, because the regular tools didn't support the model yet. It was ready 18 seconds after starting and wrote 43 tokens a second.

So it's faster than my default, which was the easy part to measure.

Why I didn't just switch

Rounding a model down to 3 bits throws information away. Maybe it still answers well. Maybe it gets sloppy in ways a speed test never shows. A fast wrong answer is not an upgrade.

Nobody had compared the answers, so that became the test.

Why this test

I didn't use a public benchmark. Those tell you how a model does on someone else's work, and models have often seen the questions before.

I wrote 20 tasks that look like what this machine will do for me:

  • Code. Five small Python functions, each checked by tests the model never sees.
  • Pulling facts out of text. Four jobs, such as reading an invoice whose total is wrong and saying so.
  • Arithmetic. Four problems, including the tempo of a drum loop from its length.
  • A long document. Three questions about 11,560 tokens of my own notes, one of them about a sentence I planted in the middle.
  • Traps. I asked about a function that doesn't exist, and about the tempo of a file the model can't see. The right answer to both is "I can't know that."

Every task ran twice per model, because these models don't give the same answer twice. One model was loaded at a time.

Results

gpt-oss:20b Qwen4-35B-A3B, 3-bit
Code 10 of 10 9 of 10
Pulling facts out 8 of 8 8 of 8
Arithmetic 6 of 8 8 of 8
Long document 6 of 6 6 of 6
All scored runs 30 of 32 31 of 32
Function that doesn't exist made up an answer, twice said it doesn't exist, twice
Time for everything 14.0 min 8.7 min

What the results mean

The scores are a tie, because one point out of 32 is noise.

That tie is the finding, though. The squeezed model did not get worse at anything I could measure. I expected at least one category to fall over.

The time difference is real. Qwen4 is a little faster per token, and it also wrote fewer of them: 20,691 against 30,361. gpt-oss:20b thinks out loud longer before it answers. On one arithmetic problem it thought until it ran out of room and never answered at all.

The trap question matters most to me. gpt-oss:20b described the invented function in confident detail, and differently each time. Qwen4 said the function doesn't exist. It wasn't spotless: while refusing, it mentioned two other things that aren't real either. Still better than a made-up manual page.

What's next

I'm keeping both.

Qwen4 fills the machine, and there's no room left for the audio tools while it runs. So it gets the text-only jobs, starting with writing readable names for a few thousand cryptically named samples. gpt-oss:20b stays for anything that has to share memory.

What I haven't tested

This is 20 tasks, run twice, written by one person for one person's work. It says nothing about yours.

I didn't test images, which Qwen4 can read with an extra file I haven't downloaded. I didn't test tool calling, or documents longer than about 12,000 tokens. The trap result is two runs per model, which makes it a hint.

If you have a 24 GB Mac and wonder which model to run, write ten questions from your own week and ask both. It took an afternoon.


Repo / links: Unsloth's Qwen4 notes: https://unsloth.ai/docs/models/qwen4 · llama.cpp: https://github.com/ggml-org/llama.cpp