I benchmarked five local models and the incumbents won
Three newer local models went up against the two I already run, on both of the jobs those two do. None of them took either job. The more useful finding was that I had two workloads, and each incumbent fails the other one's.
Three newer local models went up against the two I already run, and none of them took either job. I ran the comparison on October 13 and deleted all three challengers the same day.
| Model | Route: valid JSON | Route: right agent | Route p95 | Squad: usable | Squad p95 | |---|---|---|---|---|---| | gemma4:e2b-it-qat (runs route today) | 40 of 40 | 40 of 40 | 1.4 s | 4 of 10 | 6.8 s | | qwen2.5:3b (runs squad today) | 37 of 40 | 36 of 40 | 1.4 s | 10 of 10 | 1.2 s | | gemma4:26b-a4b | 40 of 40 | 40 of 40 | 6.0 s | 2 of 10 | 10.2 s | | phi4-mini:3.8b | 34 of 40 | 30 of 40 | 3.9 s | 10 of 10 | 3.9 s | | granite4:7b-a1b-h | 30 of 40 | 18 of 40 | 3.1 s | 10 of 10 | 3.0 s |
Route is 20 real messages, run twice. Squad is 5 real requests, run twice. Everything ran on the CPU of my inference machine, through the same prompts and parsing code that production uses.
A longer bar is better.
The first two models are the ones I already run. Route is 20 messages run twice, and squad is 5 requests run twice.
Read down the two "usable" and "right agent" columns and the same thing shows twice. Each of my current models is at the top of the column for the job it does. Neither is at the top for the other job.
I had two workloads and thought I had one
Until October 12, my notes described the local-model traffic on that machine as one thing, which was classification. A figure I had been carrying since August, about 39,000 chat requests in a month, was labeled that way.
On October 12 I measured a day of real traffic and read the code paths behind it. There are two.
Route. Every incoming message goes to a small model with one system prompt and an instruction to answer in JSON only. It names the agent that should handle the message. My code calls the endpoint that Ollama's API reference sums up as "Generates a response for the provided prompt," then parses the result. I wrote about this path in August and September. It carried about 38 calls that day.
Squad. Short pieces of work go to a second model that stays loaded and is given one of six specialist system prompts depending on the request: chat, math, parsing, summarizing, writing or classifying. Each specialist has its own temperature and output limit. This path uses the chat endpoint, which the same reference describes as generating "the next chat message in a conversation between a user and an assistant." When the small model signals that a request is beyond it, the request goes up to a hosted model. This path carried about 114 calls that day.
So the path I had benchmarked and tuned all through August was the smaller one by a factor of three. The larger one was running on a model whose name was written directly into the code, and my August benchmark had not covered that path at all.
Each incumbent fails the other one's job
On October 12, before bringing in any challengers, I ran each current model on the other one's workload.
On route, the gemma4 model scored 40 of 40. The qwen2.5 model scored 34 of 40, and all six of its misses were the silent kind, where the output does not parse and my code returns UNKNOWN.
On squad, the qwen2.5 model returned a usable reply 10 times out of 10, with a 95th percentile of 1.5 seconds. The gemma4 model managed 3 of 10, at 5.4 seconds.
"Usable" has a narrow meaning in my harness. A reply counts if it comes back inside the 15-second timeout with something in its content field. An empty reply fails, which is how a model that puts all of its output into a thinking field fails. I have not worked out why the gemma4 family fails so often on my chat path. For the purpose of choosing a model, I do not need to.
Two models kept loaded for jobs this small can look like drift left over from earlier experiments. The measurement says they are the right configuration, and consolidating in either direction would break one job.
What the challengers did
gemma4:26b-a4b is the interesting one. Its library page describes the 26B size as a "Mixture of Experts model with 4B active parameters." On route it matched the incumbent's perfect score. It took 6.0 seconds at the 95th percentile against 1.4, and it is an 18 GB file against 4.3 GB. The task is saturated. The best a challenger can do against 40 of 40 is tie, and this one tied at four times the latency. On squad it was the worst of the five.
phi4-mini:3.8b did the squad job perfectly, at three times the incumbent's latency. On route it got 30 of 40.
granite4:7b-a1b-h also did the squad job perfectly, at 3.0 seconds. On route it chose the right agent 18 times in 40 and produced valid JSON only 30 times.
The family pattern held across all of it. Both gemma4 models were perfect on strict JSON through the generate endpoint and poor on the chat path, at 4 of 10 and 2 of 10. The qwen2.5 model is the reverse. I saw that on October 12 and again, with a different lineup, on October 13.
The numbers moved between the two days, as I wrote in September that they would. The qwen2.5 model produced valid JSON on route 34 times in 40 one day and 37 the next. The ranking held.
Two runs per case is the least I would accept, and ten squad samples per model is thin. The gaps here are wide enough to survive that.
The harness
The script I used for the August comparison lived in a temporary directory on a server. When I went back for it in October, it was gone.
I rewrote it and committed it to the repository on October 12. It imports the route prompt and the specialist prompts from the production code. There is no second copy of a prompt inside the test, so the test cannot quietly fall behind what is running. It takes the number of runs as an option and reports validity across all of them.
The same day I removed two model settings that no code was reading, including the one I mentioned in September. The squad path now reads its model from a setting.
Why the old ones keep winning
Since I settled the lineup in mid-August, no newer or larger model has displaced either incumbent. The embedding model held its place the same way. In August it found the right passage for 15 of 15 test queries at 48 milliseconds each, against 14 of 15 at 114 milliseconds for the newer model I tried. And last month a model with 117 billion parameters, on much faster hardware, lost the route test to the same small incumbent.
I think there are two reasons.
The jobs are narrow and already at their ceiling. When the incumbent is right 40 times in 40, there is no accuracy left to win, and every challenger is competing on latency and memory alone.
The machine is limited by memory bandwidth, as I wrote in August. On hardware like that, every extra parameter a model touches is paid for on every token.
So I keep a list of what I have rejected, with the date and the score, and I do not retest a model because it was released. I would rerun the comparison for a change in the prompt, a change in hardware or a model that is small in a new way.
One caveat. These are my 20 messages and my 5 requests, and the table says nothing about how these models do on your task. Two of the challengers did one of my jobs perfectly.
At work, the useful habit is to write down what would justify replacing a model before the evaluation starts: which score, on which workload, at what latency. And count the workloads first. I spent August tuning one of mine without knowing there were two.
Sources
Views are my own.