Qwen 4 on a Mac and a gaming PC: our test results
- Before
- 64 GB, 409 s
- After
- 33 GB, 357 s
- measured
Qwen 4 is the best general-purpose local model we have tested on a Mac, and a poor fit for a 24 GB gaming card. On our 33-prompt bench it finished in 357 seconds with 0 runaways on an M5 Max (measured). The same weights took 882 seconds on an RTX 3090 for the six suites both machines ran, with 40% of the model on the CPU (measured).
The situation
Claude does the thinking here. Local models do the volume. Claude Code plans the work and checks the result; a local model on our own hardware does the bulk middle: classify, extract, summarize, first drafts, code that ships with tests. Every delegated job has an automatic check, and a miss gets one retry on a fallback model before it goes back to Claude.
Qwen 4 landed on Ollama this week with a lot of noise behind it. Ollama's announcement calls it a 35B model with 3.8B parameters active at a time, built for agents, with adjustable thinking and a 1M-token context, and says it matches a 125B model on coding and tool-use benchmarks. Those are someone else's benchmarks. We wanted to know what it does on the work we actually send down, on the two kinds of machine we actually own.
Before
The general workhorse on the Mac was gpt-oss:120b. Rerun on the same day and the same Ollama version, it used 64.5 GB of memory, finished the 33 prompts in 409 seconds, scored 7 of 8 on hard reasoning and 2 of 4 on hard code, and never ran away (measured). The coder was qwen3-coder:30b: 15 code and SQL tasks in 35 seconds, 3 of 4 on hard code (measured).
A runaway is the failure we care about most. It is a model that thinks until it hits the 12,000-token cap and returns nothing: minutes of machine time, no output. For unattended work it is worse than a wrong answer.
What we did
We pulled the model from Ollama with ollama pull qwen4 and ran the bench we already use for every local model. It has 33 prompts in seven suites, all scored by code: exact answers for reasoning, hidden unit tests for Python, reference result sets for SQL, length and keyword limits for writing, and a 69,284-token log with four planted facts for long context. Every model gets the same budget: 16K context, a 12,000-token output cap, seed 7, one sample per prompt, one model loaded at a time.
Two machines ran it. The Mac is an M5 Max with 128 GB. The gaming PC is an RTX 3090 with 24 GB of video memory, an i9-12900K and 64 GB of RAM. Both ran Ollama 0.40.21.
There are two builds, and which one you get depends on the machine. On the Mac, qwen4 resolves to an Apple MLX build (35 GB). On Windows it is a GGUF build (37 GB); every build is on the tags page. We ran both on the Mac, so the Mac against PC numbers below use the same weights. We also ran the Mac build at four thinking levels (off, low, high, extra high), and the PC skipped the long-context suite to stay inside its memory budget.
After: the Mac
At its default thinking level (high), Qwen 4 was perfect on reasoning (7 of 7), writing limits (2 of 2), long context (4 of 4 facts), Python (6 of 6), SQL (5 of 5) and hard reasoning (8 of 8). It scored 2 of 4 on hard code. Total: 357 seconds, 124 tokens per second, 0 runaways, 32.9 GB of memory as Ollama reported it (measured).
Against the workhorse it won the comparison: one more hard-reasoning item, 52 seconds faster, half the memory. The item it won is a loan payment. Qwen 4 returned the payment to the cent; gpt-oss:120b was 19 cents off (measured).
Long context held up at the size we tested. It pulled all four facts out of the 69,284-token log in 25.9 seconds; gpt-oss:120b took 74.7 seconds on the same day (measured). We did not test anything near 1M tokens.
Across all five Mac runs (four thinking levels and the second build) it answered 165 prompts and never ran away (measured).
Code is where it stops. The dedicated coder did the same 15 code and SQL tasks in 35 seconds and passed 3 of 4 hard ones. Qwen 4 took 186 seconds and passed 2 of 4 (measured). Its misses were real bugs: a tokenizer that crashed on .5 and a CSV parser that dropped an empty quoted field.
After: the gaming PC
The 37 GB file does not fit a 24 GB card. Ollama split it 40% CPU and 60% GPU, and it still ran at 62 tokens per second (measured), because only a few billion parameters are active per token. The models that fit the card ran at 44 to 177 tokens per second on the same PC (measured).
Reasoning matched the Mac: 7 of 7 and 8 of 8. Code did not. It passed 4 of 6 Python tasks and 2 of 4 hard ones, and ran away once on the expression evaluator, 214 seconds for no answer. The six suites took 882 seconds. On the Mac the same weights took 521 seconds for the same six suites, passed 6 of 6 Python tasks and never ran away; the MLX build took 331 seconds (measured).
On that PC, qwen3-coder:30b did the code and SQL work in 60 seconds. Qwen 4 took 593 (measured). A model that fits the card beats a bigger one that does not.
The thinking dial
The thinking level is the most useful control on this model, and it changed the result more than the hardware did.
- ›Off: all 33 prompts in 98 seconds. Still perfect on reasoning, long context, Python and SQL. It broke a length limit (a 169-character description against a 155 limit) and missed a word puzzle (measured).
- ›Low: the same scores as the default in 263 seconds instead of 357 (measured).
- ›Extra high: 4 of 4 on hard code, the first model to clear that suite on our bench, in 197 seconds against 132 at the default. It then failed an easy task because the self-test it wrote for its own code had the wrong expected value (measured).
One sample per prompt is thin. Across the three runs at the default level (two builds on the Mac, one on the PC), hard code came out 2, 3 and 2 of 4. Read that as "sometimes", not as a ranking.
What broke
The 35B label is not the download. ollama show reports 56.4B parameters for the model tagged 35b, and the file is 37 GB. Plan memory from the file size, not the name.
It invented details in a first draft. Asked for a blog intro, it promised a clean file "within an hour" and a print "by the next day". Nothing in the brief said that. Drafts from a local model still get an edit from Claude before anyone reads them.
Our own tools had bugs. The bench had two Windows text-encoding bugs; one would have failed the accented-text test for every model. Ollama reported one model at 1.1 GB on Windows while the GPU held 20.7 GB, and reported 22.1 GB on the Mac for a 36 GB build, so the PC memory numbers come from the GPU and RAM readings and the second Mac build has no trusted memory number. Apple MLX builds do not run on Windows.
Not tested: image and video input, tool calling, running Claude Code on top of it with ollama launch claude, the medium and max thinking levels, and any context past 81,920 tokens. The suites are small and built around our work. Writing quality was judged by Claude reading one draft per model.
What you can copy
- ›Test a new model on your own tasks with checks a script can score, and count runaways separately from wrong answers.
- ›Size it from the file, not the label. Qwen 4 wants about 33 GB of memory; on a 24 GB card, pick a model that fits.
- ›Keep a small dedicated coder. It was five times faster than the generalist on the Mac and ten times faster on the PC.
- ›Set the thinking level per job: off for bulk work that has a check, the default for reasoning, extra high only for the hard problem that already failed once.
- ›Keep Claude as the planner and the final gate. On our bench Qwen 4 won three of the four lanes it entered on the Mac (general reasoning, long documents, first drafts). It lost code, and nothing here earns it the last word on anything a customer reads.
Where it landed
On the Mac, Qwen 4 now takes the general, long-document and first-draft work we send down, with the models it beat kept as fallbacks. On the gaming PC it writes first drafts and nothing else, because a model that fits the card still does the rest better. qwen3-coder:30b keeps the code on both machines, and Claude still plans the work and checks what comes back.
A receipt, not a review: NSA Designs publishes the misses in the same post as the numbers. If you want Claude running the plan and local models doing the volume on your own stack, the Readiness Sprint is where it starts.