Yuebing LogoYUEBING

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.

Coding task: hidden checks passed in each run
ModelRun 1Run 2Run 3Min / median / maxAvg generation
Qwen3.6 27B80/8080/8080/80100 / 100 / 100%668 s
Gemma4 26B29/8079/8075/8036 / 94 / 99%202 s
Nemotron 3 Nano 30B17/8075/8080/8021 / 94 / 100%101 s
Qwen3.6 35B29/8080/8069/8036 / 86 / 100%197 s
GPT-OSS 20B29/8029/8029/8036 / 36 / 36%88 s
Gemma4 31B29/8028/8029/8035 / 36 / 36%361 s
Nemotron 3.5 Lightning 30BEmptyEmptyEmptyNo 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.

Frozen screen: reasoning and instruction following
ModelReasoning correctExact formatIFEval strictIFEval looseTotal timeObserved exception
GPT-OSS 20B24/2424/2412/1212/12427.77 sNone in this screen
Qwen3.6 27B24/2424/2410/1210/124,091.04 sTwo IFEval timeouts
Gemma4 26B23/2421/2412/1212/122,408.87 sOne truncated Boolean response
Nemotron 3 Nano 30B24/2422/2411/1212/12802.32 sOne raw answer exceeded its word limit
Gemma4 31B23/2423/2412/1212/121,745.93 sOne date response lost after connection reset
Nemotron 3.5 Lightning 30B22/2422/2412/1212/12479.95 sTwo 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.

Hermes tool loop: three synthetic scenarios
ModelClean scenariosCorrect final stateModel requestsBatch timeObserved issue
GPT-OSS 20B0/33/32085.27 sInvalid receipt argument in all three scenarios
Qwen3.6 27B3/33/315171.15 sNone in this pilot
Gemma4 26B3/33/31560.48 sNone in this pilot
Nemotron 3 Nano 30B2/33/316253.16 sInitially selected an ineligible product
Gemma4 31B3/33/315117.86 sNone in this pilot
Nemotron 3.5 Lightning 30B3/33/31544.24 sNone 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.

Benchmark sources

BIG-Bench Hard repository

Google IFEval source and scorer

Back to Articles