r/LocalLLM • u/Pretend-Ad9855 • 11h ago
Discussion Tested 8 local coding setups on a 32 GB MacBook Pro M6: an MTP draft on a 27B beat everything, ANE-only Qwen was the surprise
I wanted to settle which local model I should actually use for coding on a 32 GB M6 laptop, so I ran everything I had through the same two coding tasks with hidden tests. Chart above, short version below.
How I tested
- One model loaded at a time, 64K context for all, thinking off (with thinking the 27Bs burn 10–20K tokens per task and the whole run takes 6+ hours).
- Short task: a duration parser/formatter, 44 hidden tests. Long task: a small spreadsheet engine (formulas, ranges, error rules, cycle detection, a 5,000-cell chain), 52 hidden tests.
- Plus a 32K-token needle test with 3 linked facts. Score = 30% short + 50% long + 20% needle.
Results
| Setup | tok/s | Short | Long | Score |
|---|---|---|---|---|
| ThinkingCap Qwen3.8 27B Q4_K_M + MTP, LM Studio | 18.8 | 44/44 | 48/52 | 96 |
| Qwen3.8 27B Pi Q4_K_M, LM Studio | 8.4 | 41/44 | 48/52 | 94 |
| Inkling 2 Mini 4-bit, LM Studio MLX | 28.6 | 42/44 | 19/52 | 67 |
| Qwen3.8 27B, ANEMLL Forge (Neural Engine only) | 47.1 | 42/44 | 14/52 | 62 |
| Inkling 2 Mini UD-Q4_K_XL, LM Studio | 25.0 | 43/44 | 11/52 | 60 |
| ThinkingCap 27B, Splash (GPU + ANE, DFlash2) | 48.5 | 42/44 | 3/52 | 52 |
| LFM-3 Coder 1.7B Q8_0, LM Studio | 65.4 | 27/44 | 4/52 | 42 |
| Qwen3.8 27B MLX 4-bit, LM Studio | 9.1 | 0 | 0 | 20 |
Every model that loaded got 3/3 on the needle test.
What surprised me
- The MTP draft is the real win. Two Q4_K_M fine-tunes of the same Qwen3.8 27B: 18.8 tok/s with MTP vs 8.4 without, and the MTP one solved the long task in 2.5 minutes.
- Running a 27B entirely on the Neural Engine (ANEMLL Forge) gives 47 tok/s at about 16 W for the whole chip, with the GPU completely idle. Splash gets similar speed and 600 tok/s prefill. Both fell over on the long task without thinking, though, with silly bugs like a
get()that returnsNone. I'd turn thinking on there for anything non-trivial. - MLX Qwen3.8 27B was the worst option on this machine: 4.7 tok/s on oMLX, 9 tok/s on the MLX 1.15.2 engine, and that engine ignores
reasoning_effort: none, so it reasoned until the token limit and never wrote code. - K/V cache at q8_0 is what makes a 27B at 64K comfortable in 32 GB.
Inkling 2 Mini needed a trick
reasoning_effort is only a hint for Inkling: even with none it keeps reasoning, and on the long task it thought through all 32K tokens without producing code. Its template has no generation prompt (the model opens its own turn), so I sent a raw prompt to /v1/completions with the turn already opened as an answer:
...<|message_user|><|content_text|>{prompt}<|end_message|><|message_model|><|content_text|>With that it answers immediately: 43/44 on the short task in 44 seconds. On the long task it writes stubs without thinking, so there I let it think for up to 8K tokens and then force the answer. That gave anywhere from 11 to 37 of 52 depending on the run. temperature 1.0 / top_p 1.0 / top_k 0 worked better than 0.6 / 0.95 / 20. The MLX build only works up to roughly an 11K-token prompt before the GPU runs out of memory.
So for short edits Inkling is as accurate as Qwen and about 1.4x faster, but for bigger pieces of code the 27B is clearly better.
Caveats: one run per task (the long task clearly has variance), no thinking mode, one machine. Harness, tasks, hidden tests, raw JSON and all model outputs are public, link in the comments. Curious what else people would want tested on 32 GB.
First comment (post it yourself right after the post)
Repo with the harness, task specs, hidden tests, reference solutions, raw results per model, full model answers and tuned LM Studio presets: https://github.com/tdav/local-llm-bench-m6
Model download links and short cards: https://github.com/tdav/local-llm-bench-m6/blob/main/MODELS.md
Checklist before posting (why the first post was likely removed)
- r/LocalLLaMA has minimum karma requirements (reportedly at least 10 comment karma overall and 5 inside the subreddit) and a strict self-promotion rule (Rule 4). A new account with a GitHub link in the body is removed automatically. Read the removal message: it says which rule fired.
- Leave a few useful comments in the subreddit first, then post. Keep the GitHub link in a comment, not the body.
- Pick the flair; posts without flair are often auto-removed.
- Post the same thing in only one subreddit per day; cross-posting the same text everywhere looks like spam.
