Testing local LLMs on an M4 Pro: the winner depended on the work
A practical comparison of reasoning, instruction following, coding and tool use on a 48 GB MacBook Pro.
Published 8 November 2026 · Daniel Tael
I wanted to know which local model I could trust for real work on the tested hardware. Public leaderboards were useful background, but they could not tell me whether a model would finish a task, follow a strict output contract or recover from a bad tool call in this setup.
The tests gave me no single winner. Qwen was the most consistent model on one coding task. GPT-OSS produced the cleanest reasoning screen. Nemotron Lightning was the fastest clean finisher in a small Hermes tool test, yet it also made two elementary counting errors. The answer changed with the work.
What I tested
The machine was a MacBook Pro with an Apple M4 Pro, 12 CPU cores, 16 GPU cores and 48 GB of unified memory. The evaluation used local model runtimes and one request at a time. The frozen screen and Hermes scenarios kept first-attempt failures rather than rerunning them for a better score. The earlier coding harness retried only empty replies, and recorded those retries.
The work had three distinct parts:
- A synthetic coding task with 80 hidden checks and three runs per model.
- A frozen 216-attempt screen covering Boolean reasoning, object counting, date understanding, three-object logical deduction and instruction following.
- Three synthetic scenarios inside the real Hermes tool loop: choose an eligible product, ask for a missing date and recover from stale inventory.
The reasoning subset used 24 public BIG-Bench Hard tasks per model. Instruction following used 12 public IFEval prompts per model. These were small custom subsets, not official benchmark scores. The Hermes scenarios used fictional data and pure-data tools.
The coding task rewarded consistency, not model size
The coding task asked each model to implement pricing rules that interact: weight bands, zone multipliers, surcharges, discounts, minimum charges, tax and exact rounding. A reference implementation passed all 80 hidden checks. A deliberately naive implementation passed 53.
Scores are out of 80. The percentage column shows minimum, median and maximum across the three runs. Generation time excludes scoring.
| Model | Run 1 | Run 2 | Run 3 | Min / median / max | Avg generation |
|---|---|---|---|---|---|
| Qwen3.6 27B | 80/80 | 80/80 | 80/80 | 100 / 100 / 100% | 668 s |
| Gemma4 26B | 29/80 | 79/80 | 75/80 | 36 / 94 / 99% | 202 s |
| Nemotron 3 Nano 30B | 17/80 | 75/80 | 80/80 | 21 / 94 / 100% | 101 s |
| Qwen3.6 35B | 29/80 | 80/80 | 69/80 | 36 / 86 / 100% | 197 s |
| GPT-OSS 20B | 29/80 | 29/80 | 29/80 | 36 / 36 / 36% | 88 s |
| Gemma4 31B | 29/80 | 28/80 | 29/80 | 35 / 36 / 36% | 361 s |
| Nemotron 3.5 Lightning 30B | Empty | Empty | Empty | No scored run | — |
Lightning used all three permitted empty-response retries in each run. Later evaluations produced normal responses, so I do not treat these empty replies as a model-quality result on their own.
Two things stood out. Parameter count did not predict quality, and a single run could be badly misleading. Nano moved from 17 to 80 checks. Gemma4 26B moved from 29 to 79. Qwen 27B was slow, but it was the only model that was perfect every time on this task.
Reasoning and instruction following told a different story
For the later screen I froze the prompts, scorer, settings and model digests before running the first model. Each model received the same 24 reasoning tasks and 12 IFEval prompts. Context was 32,768 tokens, output capacity was 24,576 tokens including thinking, temperature was 0.7 and the client timeout was 600 seconds. There were no quality retries.
Reasoning and IFEval are separate measures. Strict and loose IFEval scores are both out of 12; total time covers all 36 requests, including incomplete attempts.
| Model | Reasoning correct | Exact format | IFEval strict | IFEval loose | Total time | Observed exception |
|---|---|---|---|---|---|---|
| GPT-OSS 20B | 24/24 | 24/24 | 12/12 | 12/12 | 427.77 s | None in this screen |
| Qwen3.6 27B | 24/24 | 24/24 | 10/12 | 10/12 | 4,091.04 s | Two IFEval timeouts |
| Gemma4 26B | 23/24 | 21/24 | 12/12 | 12/12 | 2,408.87 s | One truncated Boolean response |
| Nemotron 3 Nano 30B | 24/24 | 22/24 | 11/12 | 12/12 | 802.32 s | One raw answer exceeded its word limit |
| Gemma4 31B | 23/24 | 23/24 | 12/12 | 12/12 | 1,745.93 s | One date response lost after connection reset |
| Nemotron 3.5 Lightning 30B | 22/24 | 22/24 | 12/12 | 12/12 | 479.95 s | Two object-counting errors |
GPT-OSS looked strongest in this screen. That does not erase its weak coding result, and it does not make the 36-prompt sample a general model ranking. It says that this GPT-OSS configuration handled this frozen set cleanly and quickly.
Correct state was not the same as correct tool use
The Hermes test exposed another layer. All six active models eventually reached the correct stored state in all three scenarios. Four models passed every behavioural check.
Clean scenarios passed every behavioural check. Correct state means the verified reservation and inventory state were right at the end, even if the model made and recovered from an invalid call.
| Model | Clean scenarios | Correct final state | Model requests | Batch time | Observed issue |
|---|---|---|---|---|---|
| GPT-OSS 20B | 0/3 | 3/3 | 20 | 85.27 s | Invalid receipt argument in all three scenarios |
| Qwen3.6 27B | 3/3 | 3/3 | 15 | 171.15 s | None in this pilot |
| Gemma4 26B | 3/3 | 3/3 | 15 | 60.48 s | None in this pilot |
| Nemotron 3 Nano 30B | 2/3 | 3/3 | 16 | 253.16 s | Initially selected an ineligible product |
| Gemma4 31B | 3/3 | 3/3 | 15 | 117.86 s | None in this pilot |
| Nemotron 3.5 Lightning 30B | 3/3 | 3/3 | 15 | 44.24 s | None in this pilot |
Lightning was the fastest model among the clean completions in this small tool test. That result sits beside its two genuine counting errors in the reasoning screen. Different tests are measuring different failure modes, which is exactly why I do not combine them into one score.
Five lessons I am keeping
- Separate correct content from format compliance. A correct answer wrapped in the wrong syntax can still break an automated workflow.
- Track completion separately. A model that derives the right value but never emits a final answer has failed the task.
- Keep tool calls, stored state and final prose as separate checks. One can be right while another is wrong.
- Do not treat one run as reliability. The coding results showed large variation across runs for several models.
- Measure the configured system, not the model name. Runtime, quantisation, context, output budget, sampling and tool schemas all affect the observed result.
What this says about local AI
Local inference on a 48 GB M4 Pro is useful enough for serious experiments and bounded work. It is not maintenance-free. Models can spend minutes thinking about simple tasks, exhaust large token budgets, return fragile formats or interact with tools in ways that only look correct from the final database state.
I also found no evidence that buying the largest model that fits would solve the problem. Gemma4 31B was much less capable than Gemma4 26B on the coding task. Qwen 27B was exceptionally consistent there but impractically slow for frequent background jobs. GPT-OSS was fast and clean on the reasoning screen but weak on that coding task and untidy with the Hermes tool schema.
My next step is to repeat the frozen screen for a small set of finalists and report all three attempts, not the best one. I also want more representative workloads before changing a default model or buying hardware. The current evidence is enough to narrow the questions. It is not enough to declare a universal winner.
Scale and limitations
The reasoning and tool-evaluation project contains 318 case attempts and 422 physical model calls across pilots, calibration, two versions of the Hermes scenarios and the frozen screen. The separate coding task adds 21 recorded model runs. For the reasoning and tool-evaluation project, every received output and recorded failure remains in the local evidence set. Missing response bodies are documented rather than reconstructed.
The samples are small and some tasks are easy enough to produce ceiling effects. Public benchmark material may have appeared in training data. Timings include loading and different reasoning lengths, so they are not steady-state throughput measurements. One attempt per screening prompt does not establish stability over time.
