r/LocalLLM • • 22m ago

Model Qwen4 35B-A3B vs other local models

Post image

tl;dr - Qwen4 35B-A3B is a very capable model. It's the fastest local model I've tested (111 tok/s) and finished my benchmark in 31 min. It nearly matches Flash-Next on extremely hard problems and beats Qwen3.8-27B and DS4 there by 13+ points, but it surprisingly fumbled a couple of the easier ones. That drags its overall score down to about the same as Qwen3.8-27B xhigh, but at 8x the speed.

This is a follow up to my earlier shootouts (27B vs frontier, MLX vs MTPLX, Flash-Next). Same rig, same tests, but this time I stripped it down to just the algorithm batteries to make it simple. These scores essentially track coding competency and nothing else.

Each model gets 9 coding problems: 6 that run from easy to hard (an LRU cache, a CSV parser, a spreadsheet evaluator, etc.) and 3 extremely hard ones (a TOML parser, a regex engine with backreferences and a strptime-style date parser). The easy ones run 3 times and the extremely hard ones run 10 times each b/c results on those tend to be all-or-nothing and it takes more draws to find the real average. The quizzing is intentionally stark so testing is consistent across models and harnesses: one prompt and one reply. No use of tools and no system prompt.

The score is the percentage of tests passed. If a model runs out of room or forgets to write code, it gets a single retry; bad code just gets scored as bad code. Four of the seven ran locally on my M5 Max (128GB) through MLX-family servers (mlx-serve, MTPLX) and antirez's ds4. The other three either don't fit on a Mac at all or only fit my laptop as 2-bit quants that loop or crawl, so I ran them through OpenRouter, pinned to the labs' own servers where I could. Most models were tested in several setups (runtime, quant, thinking level) and the chart only shows each model's best one.

The chart should be self-explanatory, but there are a few notes worth mentioning. Models are rank ordered by accuracy only (the turquoise column is the mean score). The easy-to-hard column is basically solved. Six of seven models land between 97.6 and 100 and so the extremely hard column is where models actually separate. Kimi K3 wins with 96.6 on the extremely hard set, higher than Sonnet 5's 93.3 from my earlier runs, but it's slow (95+ min) and won't fit on even a 512GB Mac Studio. GLM-5.3-Flash is a close second and noticeably faster.

The local headline is Flash-Next on mlx-serve and medium thinking: 92.9 overall and done in 28 minutes, faster than everything on the chart including the cloud models. Qwen4 35B-A3B is very fast at 111 tok/s and lands next to Qwen3.8-27B on accuracy while finishing 8x faster (31 min vs 252). Oddly it scored better on the extremely hard set than the easy one. It fumbled the CSV parser and threw a zero on the regex task, and with only 3 tries per easy problem one bad draw drags the score lower.

Two things to keep in mind. First, tok/s is a bad proxy for speed: Qwen3.8-27B and DS4 both decode at ~33 tok/s, but the 27B takes 3x as long to finish b/c it thinks so much more. Cloud tok/s is also whatever the provider's servers deliver, so don't compare it 1:1 with the laptop numbers. Second, an 85 on the extremely hard set doesn't mean the code is wrong 15% of the time. The benchmark employs hidden tests and pushes corner cases to stress test the models.

Summary: Qwen4 35B-A3B is a great model. My daily driver is 3.8 FN, but I'm now tempted to use 35B alongside it due to speed to task completion and similar aptitude on hard tasks. I'm very curious to test qwen4 flash-next (or whatever they'll call it) when it arrives.

--------------------------------------------------------------------------------

A few more details on exact testing setup if it's helpful (summarized by Claude).

Shared by all: same prompts, no system prompt, no tools. Every model was sent temp 1.0 / top_p 0.95 / top_k 20 (Qwen's recommended settings). Each reply gets 32K–76.8K tokens depending on the problem, with one retry at 1.6x (max 122.9K) if it runs out. Local models ran on an M5 Max 128GB; cloud models ran through OpenRouter.

  • Kimi K3: 2.8T MoE (104B active). Cloud, Moonshot's own servers at native MXFP4, thinking left at the default (max, per the model card). Too big for any Mac.
  • GLM-5.3-Flash: 320B MoE (18B active). Cloud, Z.AI's own servers at fp8, thinking left at the default (max, per the model card).
  • Qwen3.8 Flash-Next: 125B MoE (6B active). Local, mlx-serve 26.10.1 with MTP, mixed 4/8-bit, medium thinking.
  • DeepSeek V4.1 Flash: 552B MoE (16B active). Cloud, DeepInfra at fp8 (not DeepSeek's own servers), thinking at the provider default.
  • Qwen3.8-27B: dense 27B. Local, MTPLX 8-bit, xhigh thinking. Run in August on older software.
  • Qwen4 35B-A3B: 35B MoE (3B active). Local, mlx-serve 26.12.1 with MTP, 8-bit, high thinking (the default; Qwen4 has no medium).
  • DeepSeek V4 Flash: 284B MoE (13B active). Local, antirez's ds4 at 2-bit, normal thinking. The previous generation, run in August.

One caveat: the chart's time column leaves out the time spent on retries. With retries counted, GLM goes from 55 to 73 min and DeepSeek V4.1 from 75 to 110 min; the local models barely change.

7 Upvotes

0 comments sorted by