← All writing

Surogate 3.7 on a laptop vs Claude Haiku 5.5: a small agent test and the rerun that followed

Why I tested this

I wanted to know whether a local open-weight model on a laptop can do the kind of work I actually hand to an agent: read logs, poke around a server, find the cause of a 502, write a small piece of code. So I ran Surogate 3.7 35B-A3B on my MacBook next to Claude Haiku 5.5 on a handful of ops and agent tasks, and posted the results in the model’s discussion thread on Hugging Face.

Then someone from the Surogate team reran my harness on their own hardware, tested a theory about my failures, and found it was wrong. This post covers both.

Setup and limits

  • Model: Surogate 3.7 35B-A3B, a MoE model with about 3B active parameters per token. I used the community GGUF by mradermacher at Q4_K_M (21.7 GB). These are not the official weights, and there was no MTP (the speculative decoding head).
  • Runtime: Ollama 0.40 on a MacBook with Apple M5 Pro and 48 GB RAM.
  • Sampling: temperature 1.0, top_p 0.95, top_k 20, thinking on, num_ctx 16k (128k for the long context test).
  • Comparison: claude-haiku-5-5 through the Claude Code CLI (claude -p) with tools disabled. That means I only have text protocol numbers for Haiku. I have no native tool calling numbers for it, so the native rows below are Surogate only.
  • Sample: 3 to 9 runs per test, on scenarios I wrote myself.

One more limit that turned out to matter: my agent loop only sends back the final answer of each turn. The model’s earlier reasoning is dropped between steps. The model card asks for that reasoning to be kept in multi-turn agent loops (preserve_thinking), and Ollama does not pass that option through. This is listed under known limitations in the harness README.

So this is a data point from one laptop, one quant and one runtime. It is not a benchmark.

The tasks

agent_502 is a multi-step agent on a fake server filesystem with list_files, read_file and grep. One site returns 502 because nginx points at a php-fpm socket that does not exist, and the logs contain decoy errors from other sites. The model has at most 12 tool calls to find the cause.

agent_disk starts with a full /var. The largest file is an 11.8 GB Laravel log, and there is a 9.2 GB ibdata1 as a decoy. The model has to find the real culprit, decide whether it is safe to truncate, and name the root cause.

long_ctx is an SSH auth log of about 1,700 lines, roughly 90k tokens with Surogate’s tokenizer (about 50k for Claude). The model has to find the one IP with many failed deploy logins that later succeeded, plus the timestamp.

cron_code asks for a next_run(expr, after) function for 5-field cron expressions. The generated code is executed against 11 cases, including 0 0 29 2 *. It checks whether the code is correct, not whether it looks correct.

subnet asks for network and broadcast of 10.20.37.9/19 and membership of 7 IPs.

tr_logic and tr_mail are a Turkish arithmetic word problem and a Turkish customer email about a maintenance window. The email was judged by hand. Everything else is checked by script.

Results

TestHaiku 5.5Surogate Q4_K_M
agent_502 (text protocol)6/64/6
agent_disk (text protocol)5/60/6
agent_502 (native tools)n/a8/9
agent_disk (native tools)n/a5/6
long_ctx3/33/3
cron_code (all 11 cases)3/31/3
subnet3/33/3
tr_logic3/33/3

For tr_mail, Haiku’s emails read slightly more natural; Surogate’s were good, with one typo in three emails.

Timing was the clearest difference. long_ctx took 3 to 7 s on Haiku and 67 to 249 s on Surogate, most of that being the 90k token prefill on a laptop. cron_code took 20 to 25 s on Haiku and 120 to 154 s on Surogate. Surogate decoded at 82 to 85 tok/s, which is fine, but it spent a long time thinking, usually 1k to 5k characters of reasoning per answer.

On the single-turn tasks (long context, subnet, the Turkish word problem) both models got everything right. The agent tasks under the text protocol are where the numbers split, and with native tool calling they look very different. With 3 to 9 runs per cell, I would not read more into it.

Where it broke

Most of the agent failures were not wrong diagnoses. They were protocol failures.

The text protocol in my harness expects exactly one JSON tool call per reply. Surogate often replied with 2 to 4 tool calls at once. The harness rejects a reply with several calls, and the rejected reply still costs a step. The model then kept exploring instead of finishing, and most failed runs hit the 12 step cap.

With native tool calling, where parallel calls are allowed, the same model made 15 to 32 tool calls per task and finished agent_502 in 8 of 9 runs and agent_disk in 5 of 6. On native agent_disk it also found the debug log level in config/logging.php as the root cause.

The other weak spot was run-to-run variance in code. At temperature 1.0 the three cron_code runs scored 11/11, 10/11 and 0/11: one was correct, one missed a year boundary case, and one crashed on *. Ops diagnosis and long context, on the other hand, were solid in every run.

The rerun by the model’s team

After I posted, a member of the Surogate team, cetusian, replied. They thanked me and called the text protocol failures the main takeaway. Their guess at the cause: my loop drops the earlier reasoning between steps, which the model card says to keep. I agreed that my loop does exactly that, and pointed to the known limitations in the README. They also asked whether they could quote my table with my name, and I said yes.

Then they tested the theory. They ran my harness unchanged (commit cc9129a) on the official BF16 weights on an H200, 6 runs per test, once with reasoning dropped like in my setup and once with an engine that restores the earlier reasoning:

TestReasoning droppedReasoning restored
agent_502 (text)6/63/6
agent_disk (text)3/63/6
agent_502 (native)6/66/6
agent_disk (native)6/66/6

Keeping the thinking did not fix it. They said so directly, in their words: “i was wrong there.” Their current reading is that the gap between their numbers and my 4/6 and 0/6 under the text protocol looks like the Q4_K_M quant or the local runtime. Their next step is to run the same Q4_K_M GGUF on their own engine, which would separate the two. There are no results from that yet, so the question is open. Their numbers are also 6 runs per cell, so the same caution applies.

Other users in the thread reported quality problems in their own work, and the team asked them for reproducible cases.

What I learned

The same model looks very different depending on the tool protocol. Surogate Q4_K_M went from 4/6 and 0/6 under my text protocol to 8/9 and 5/6 with native tool calling. On BF16 the native runs were 6/6 in both setups. With only the text protocol, I would have measured mostly how well it follows my one-call-per-reply rule.

Quant and runtime are part of the result, not a detail. My Q4_K_M on Ollama got 0/6 on text protocol agent_disk. Their BF16 on an H200 got 3/6 on the same harness and commit. Which of the two (quant or runtime) causes that is not known yet. But a result labelled “Surogate 3.7” without the quant and the runtime next to it would be misleading.

A small test becomes useful when others can rerun it unchanged. My test is small and the scenarios are mine. It got more useful once someone could run the same commit on different hardware and put their numbers next to mine. That ruled out a plausible explanation instead of leaving it as a guess.

What’s next

I will update this post when the Surogate team publishes their run of the Q4_K_M GGUF on their own engine.

Views: 1