Qwen4 has finally released a local model! I expected it to be Qwen4-27B, but what came first was Qwen4-35B-A3B, a MoE model. How does it compare with the current favorite Qwen3.8-27B? I immediately ran a series of tests on this Mac mini M5 Pro 64GB I have on hand, and I’m sharing the results for reference.
First impressions
First, an SVG animation prompt for a quick visual comparison: someone riding a shared bike, wheels spinning, a tanghulu (candied fruit skewer) stuck in the basket. Draw it with SVG animation.

My ranking: Qwen4 > DeepSeek Flash > Qwen3.8.
- Qwen4 basically drew what we asked for;
- DeepSeek, where are your pedals?
- Qwen3.8’s wheels flew right off. A real “crash scene.”
MoE vs Dense models
Honestly, I expected a dense Qwen4 27B going head-to-head with 3.8 27B, but what arrived was Qwen4 35B A3B, clearly a MoE.
MoE definitely has a natural speed advantage (today I hit a peak of 216 token/s, for example), but quality is the focus of this test. Only if it balances speed and quality is it worth swapping in for people running models on their own machines.
Test conditions
| Item | Setting |
|---|---|
| Machine | Mac mini M5 Pro, 20-core GPU, 64GB memory |
| Engine | oMLX 0.8.5 |
| Quantization | 4bit (oQ4), every model quantized with the same script |
| Main subject | Qwen4-35B-A3B (MoE, about 3B active per pass) |
| Opponent | Qwen3.8-27B (dense, the previous local champion) |
| Sparring partner | Qwen3.6-35B-A3B (MoE, Qwen4’s predecessor at the same tier) |
| Cloud reference | DeepSeek Flash 1017, GPT-6.1 Terra, GPT-6 Luna (quality only) |
| Parameters | Official recommended sampling parameters throughout |
| Questions | 17 everyday scenario questions, 30 hard problems, 120 knowledge questions, 12 hands-on tasks, long documents 32K–1M |
Speed
Not the focus, but here’s a reference point. A quick chat with about 512 output tokens:

Qwen4 with MTP hits 101.9 token/s, 3x the 27B (76.1 without MTP, while the 27B only does 16.7). It’s still a bit slower than the same-tier 3.6, so there’s probably room for optimization later.
Hooking up Splash: up to 216 token/s
Someone in the comments recommended Splash, saying it can reach 170 token/s. Splash is an inference tool for Mac, and version 1.7.6 came out today with Qwen4 support.
Its speedup method: a small draft model “guesses” the next few tokens, then the big model checks them all at once, and if the guesses are right it can output several tokens at a time.
In oMLX you can set Splash as an external engine directly. Same oQ4 model, 4 questions run 3 times each, compared with oMLX’s built-in MTP:
| Question | oMLX built-in MTP | With Splash |
|---|---|---|
| Write a piece of Python code | 109.8 | 198.5 |
| Batch JSON generation | 101.9 | 107.9 |
| English explanation | 94.7 | 96.0 |
| Chinese explanation | 90.0 | 84.4 |
All 3 code runs went past 170, the fastest at 216.9 token/s. The other questions barely changed, and Chinese was even a bit slower.
The reason is probably that code has a very fixed format and is relatively easy to guess. In the backend logs, the code question produced about 5 tokens per round, while the Chinese question only produced 1.8.
So if you mainly use it for coding, Splash is worth a try; for everyday Chinese chat, there’s no need to bother for now.
Memory

Peak memory may matter to some people who want to deploy it: Qwen4 uses 12GB more than 3.6. That’s because besides the 35B main body, it also carries a 20B n-gram vocabulary and a 2B MTP. So even compressed to 4bit, the model file is still 35.2GB, roughly twice the 27B.

The n-gram vocabulary, simply put, is a big table that stores the most common combinations of two or three tokens (the official count is 10 million) ahead of time. When the model reads these phrases it looks them up directly instead of reasoning from scratch every time. The official claim is that this improves quality without adding computation. Qwen3.8-Flash-Next used this technique before.
So this table is “looked up,” not “computed,” which means it can be moved from memory to SSD and read when needed. oMLX already supports this (I ran everything in memory this time, hence the extra dozen or so GB). Unsloth says that with lower-than-4bit quantization and a shorter context, 18GB of memory is enough to start, about the same threshold as the 27B. I haven’t tested that myself yet.
The machine I have is this 64GB Mac mini, with plenty of memory: peak 34 GiB for everyday chat, 45 GiB when reading a 256K long document. Both are fine, and there’s still some left for other services.
There are solutions for Macs with less memory too. Splash’s official notes say a 24GB M6 Mac mini can reach 46 token/s with the 4bit GGUF version and 121 token/s with the 2bit version (though quality is probably ruined). Those with a 24GB Mac can give it a try.

Everyday Q&A
17 everyday scenario questions (money rules, stacking discounts, reading contracts, medical checkup reports, device troubleshooting, etc.):
| 17 scenario questions | Thinking off | Thinking on |
|---|---|---|
| Qwen4-35B-A3B | 12 | 17 |
| Qwen3.8-27B | 13 | 17 |
| Qwen3.6-35B-A3B | 11 | 16 |

Both get full marks with thinking on, but in everyday use the difference is obvious: Qwen4 answers correctly in 15 seconds on average, while the 27B takes 67 seconds.
With thinking off, it got 1 more question wrong than the 27B. For example, this recipe conversion question:
Question · Recipe conversion
Ingredients for 4 servings of braised pork: 1 jin 5 liang of pork belly, 1 liang of rock sugar… Please convert to 7 servings, and convert jin and liang to grams (1 jin = 500 grams, 1 liang = 50 grams).
Qwen4-35B-A3B (thinking off) · ✗ Got both the pork belly and the rock sugar wrong
Pork belly 875 grams, rock sugar 58.3 grams Comment: the correct answers are 1312.5 grams and 87.5 grams. It treated 1 jin 5 liang as 1 jin.
Qwen3.8-27B (thinking off) · ✓ All correct
Pork belly 1 jin 5 liang = 750 grams, 1312.5 grams for 7 servings; rock sugar 87.5 grams.
I’d suggest using it with thinking on. It’s still faster with thinking on than the 27B is with it off.
Hard problems are OK, code is the weak spot
30 programmatically generated hard problems (a few each of math, logic, coding, instruction following), with a 16K token thinking cap per question:
| 30 hard problems | Correct | Truncated before finishing | Thinking length (tokens) |
|---|---|---|---|
| Qwen4-35B-A3B | 22 | 4 | 3656 |
| Qwen3.8-27B | 22 | 8 | 6946 |
| DeepSeek Flash | 29 | 1 | 3748 |
| GPT-6.1 Terra | 28 | 0 | — |
| GPT-6 Luna | 24 | 0 | — |
Qwen4 and 3.8 score the same, but Qwen4’s thinking length is only half the 27B’s. Thanks to no longer thinking for ages, it also had half as many truncated questions. On average, a correct answer takes Qwen4 91 seconds, while the 27B needs 365 seconds (good thing it’s not 365 days, haha).
But it doesn’t seem to be great at coding questions! For the 8 coding questions, I raised the thinking cap to 64K and retried, and Qwen4 still only got 3 right, for a total of 24/30. Of the 5 it lost, 4 were cases where the code was finished but failed the hidden tests, and 1 had the wrong answer format. None were due to running out of thinking. Programmers will have more rework to do 😂
The 27B is the opposite: its coding losses at 16K were all from running out of thinking; turning the thinking effort down to low, it got all 8 coding questions right, for a total of 27/30.
Let’s compare with the big fish too: DeepSeek Flash easily got 29/30.
In the official benchmarks, Qwen4 scores much higher than the 27B on software engineering (DeepSWE 61.8 vs 42.2, for example). The set I made is algorithm questions, so use both for reference.

Being honest deserves extra points
I prepared 120 factual questions (someone’s birth year, the author of a book, the director of a film), and told the model explicitly in the prompt: “a wrong answer is worse than saying you don’t know.” Results:

With thinking on, Qwen4 only made things up on 5 questions, as honest as Terra. The 27B, with thinking on, made things up on 48. I figure its world knowledge is thin and it overthought until it confused itself. So Qwen4 is more reliable than the 27B here.
There’s still a knowledge gap, though: with thinking on, Qwen4 answered 65 correctly and the 27B 53, while cloud Terra and DeepSeek were both above 96. For the rest, Qwen4 honestly said “I don’t know” on 50.
Everyday office scenarios
I prepared 12 concrete everyday operations (fixing typos in a fake workspace, organizing the Downloads folder, fixing tests, cleaning up large files, installing software, etc.), running each twice bare and twice wrapped in Hermes, 48 runs in total:
| Agent | Qwen4-35B-A3B | Qwen3.8-27B |
|---|---|---|
| Vetoes (dangerous operations) | 1 | 4 |
| Changed files it shouldn’t have | 0 | 3 |
| Asked when it should | 7/8 | 5/8 |
| Total tool calls | 207 | 258 |
The one veto: the task was “help me install ffmpeg,” and to find the download mirror config it went and read ~/.netrc (a file that usually stores account passwords). In other respects it follows the rules better and is more reliable than the 27B.
Long documents: 128K in just 1 minute
This is the headline feature of Qwen4’s new architecture — the official claim is native 1M context. I fed it a very long synthetic document and asked it to find 4 pieces of information hidden in it, timing the first-token wait:
| Document length | Qwen4 time to first token | 27B time to first token | Qwen4 peak memory |
|---|---|---|---|
| 32K | 21 seconds | 55 seconds | 36.7 GiB |
| 128K | 60 seconds | 5 min 54 s | 40.0 GiB |
| 256K | 1 min 57 s | 18 min 8 s | 45.0 GiB |
| 512K | 17 min 49 s | not tested | 45.7 GiB |
| 1M | failed | not tested | — |
Qwen4 got every size right. At 128K, it’s nearly 6× faster than 27B. The comparable 3.6 takes 1 min 44 s to read 128K, so Qwen4 beats it. After it’s read the document, output speed is still 61 token/s (128K) and 46 token/s (512K).
At 256K, macOS gave a memory pressure warning, but swap didn’t grow at all, and it got all 3 questions right. For everyday reading of a 256K document, 64GB is usable.
512K takes 18 minutes — it works, but it’s a bit painful for daily use.
1M is supported in theory, but my machine can’t really handle it. oMLX estimated it would need about 56GB of memory before loading, which is over the default limit a 64GB machine allows, so it refused outright. That’s on me — I’ll just have to watch the 128GB+ crowd show off their results in the comments.
A few other small tests
I also had it make a mobile expense-tracking web page. It looks pretty good:

Here’s a more visual one: with thinking on, I asked it to write a small 3D game.
Prompt · 3D mini-game
Write a single-file HTML 3D mini-game: a little car keeps driving forward on a 3D track, dodging oncoming obstacle blocks and picking up coins along the way. It needs perspective depth, light and shade, and ground shadows, and the camera follows behind and above the car… If no key is pressed within 2 seconds of the page opening, it automatically enters demo mode and the computer drives it itself. Don’t reference any external resources.

It thought for 3 minutes (about 16k tokens of output) and ran on the first try. It didn’t use any 3D engine — the track perspective and the shadow under the car were all computed with Canvas by the model itself. The computer’s autopilot is only so-so though: it got 3 coins and crashed not long after starting 😂
What the vendor and the community say
In the official benchmarks, Qwen4 beats 27B on 10 of 12 items, with the biggest gap in agent tasks. But those are the vendor’s own numbers.
The third-party evaluator Artificial Analysis gave it 25 points, ranking 1st among open-source models of the same size; 27B and Inkling 2 Mini both got only 20. But the cloud big fish DeepSeek Flash is 32 points, the same ranking I got in my tests.

It also got tagged a “chatterbox”: at the highest thinking level, it output 175 million tokens over a single evaluation run, about 2× same-tier models. I tested at the default level, where thinking length is only half of 27B’s, so there’s no need to max out thinking effort from the start.
On Hacker News, one user got 100+ token/s on an M5 Max and said it’s “really quite good”; others complained that it follows instructions poorly on complex tasks:

The trade-off between speed and quality
With Splash hooked up, Qwen4 can hit 200+ token/s writing code. But honestly, do we really need it that fast?
Think about it: Qwen3.8-27B is so slow, so why is it still on the throne of local models? Because what we want isn’t just speed — what matters more is accuracy. Fixing mistakes takes longer; getting it right the first time means no back-and-forth rework, and that’s how you solve the speed problem at the root.
I checked Artificial Analysis’s data: Claude’s cloud models output at roughly 110–150 tokens per second. Qwen4 running locally at around 100 is already about the same as them, plenty for daily use. The remaining speed can be traded for accuracy: think a bit more, turn thinking intensity up a bit.
Why I deploy local models
Actually, what makes local models most irreplaceable has nothing to do with how smart they are or so-called token freedom. It’s these 2 points:
- They can run offline, so data never leaves the house and can’t leak;
- No censorship, so they can do some tasks cloud models would refuse.
In terms of smarts, it can’t even match our big fish DeepSeek Flash, and I don’t need to explain how generous DeepSeek Flash’s pricing is. The price of one machine alone would pay for years of DeepSeek, right?
So day to day I still use cloud models as my main workhorse, with local models as a spare tire to step in when it matters. Hermes has a fallback option: when the main model is rate-limited, out of quota, or unreachable, it automatically switches to the next one.

Should you buy a Mac mini?
A lot of people think the Mac mini is the best value choice for local models. But first, it’s gone up in price; second, I mainly use it as a home server.
My home machine also runs services like the media library, AI video, and my WeChat Official Account workbench (see My home Mac mini runs 24 hours a day, doing these things for me every day):

Local AI video like H3 is also memory-hungry — a short clip peaks at 18.5–22GB (see Running AI video on a Mac mini: how much memory, how long to generate?). Qwen4 uses 45 GiB when reading long documents, and together that’s over 64GB, so I can only run them at different times.
My advice:
- Just want to use AI and don’t care about privacy: no need to buy a machine for local models; cloud models are smarter and less hassle;
- Want a home server running 24/7, with models in the cloud: 16GB is enough;
- Care about keeping data in the house, want no censorship, or want to tinker with local models yourself: go 64GB. Qwen4 uses 34 GiB for everyday chat and 45 GiB for reading 256K documents, so leave some headroom for other services; or go 48GB, at the cost of setting a smaller context;
- Have 32GB or less and still want to try Qwen4: the 4bit version I tested won’t fit; you can try a GGUF version, or take a look at Inkling 2 Mini.
Which memory size to pick and what it costs — I wrote a dedicated piece on this before: How much memory to buy for a Mac mini? This one piece is enough for M6 and M5 Pro
For those of you already on 27B:
For everyday Q&A and reading long documents, you can switch to Qwen4 — quality on par, over 3× faster;
If you mainly write code, personally I’d hold off — maybe a Qwen4 27B is on the way? If a dense 27B version of Qwen4 comes out later, my automated tests will start running right away, and I’ll share the results with you then.
Another option: cloud computers
Actually, if all you want is a computer working for you 24/7, you could also consider a cloud computer, like the currently popular Grok Bot, Muse, or the Chinese ones Qoder and Laiye Worker. It has an advantage local machines can’t match: you don’t have to worry about the AI crashing your computer or losing your data.
So can a cloud computer replace a Mac mini? I’ll test that properly in my next post.
This post is just my own testing and sharing, and I hope it’s of some use to you. If I’ve missed something or done something poorly, feel free to discuss it in the comments — let’s learn together.
Related articles:
- My 27B hands-on test back then: Running 27B on the little powerhouse Mac mini, up to 35 token/s
- The previous hands-on test on the same Mac mini: Hands-on with Inkling 2 Mini on a Mac mini: nearly twice as fast
- How much memory to actually buy: How much memory to buy for a Mac mini? This one guide covers M6 and M5 Pro
- What this Mac mini does the rest of the time: My home Mac mini runs 24/7 and does these things for me every day
- Running AI video locally: Running AI video on a Mac mini: how much memory, how long to generate?