SI Agent News
← All news

Claude Code, Codex, OpenCode and Hermes Agent tested on local models

The writer ran four coding harnesses on three local models, and no harness passed with all three, while one server fault wrecked the first results.

5 min readWritten with AI from the sources below

The short version

  • Qwen3-Coder-30B-A3B produced 11 of the 17 passes.
  • Hermes passed all three tasks on Qwen3.5-9B; the other three harnesses scored zero there.
  • Claude Code took 14m59s on the 30B tasks, against 6m36s for Codex.
  • Lemonade's ROCm backend took the 30B from zero passes to 11.
  • Thrown-out results: The writer discarded a first full set of results, because the server was answering with junk.

How the test was set up

The writer wanted to know why one local model fixes a bug in one coding tool and just narrates in another. So they ran Claude Code, OpenAI's Codex CLI, OpenCode and Nous Research's Hermes Agent on AMD's Ryzen AI Halo box and scored each with hidden tests.

The writer starts from a puzzle. Local models now look good enough that MCP can stretch a local LLM the way an IDE would, yet coding agents deliver very different results on them. To test this, they chose three models: Alibaba's Qwen3.5-9B, Qwen3-Coder-30B-A3B and OpenAI's gpt-oss-120b. Every model ran with a context window of 65,536 tokens. Pairing four harnesses with those models made 36 runs. Hidden tests did the scoring, so an agent's own claims counted for nothing.

Every run began with a clean copy of a small Python repo. Approvals were switched off, and the clock gave each agent eight minutes. The versions under test were Claude Code 2.1.336, Codex 0.174.0, OpenCode 1.19.6 and Hermes 2026.9.24, all pointed at Lemonade 2026.41.1.

Every model got the same three jobs. One fixed a pricing bug from a symptom report. One added a feature across three files. The last was a data audit that shows only one problem at a time.

Why it matters

If you run local models for coding in the US, the harness you pick can decide whether a small model does any work at all. Check which llama.cpp backend your Lemonade install uses before you judge a model.

Four tools, three different APIs

Each tool talks to a model in its own way. Claude Code relies on Anthropic's Messages API, while Codex works only with OpenAI's Responses API. OpenCode and Hermes both rely on Chat Completions. The writer had already tried Claude Code, Codex, and Cursor on one AI model, and Lemonade Server, which answers all three APIs on one port, let a single box host this local test.

The writer also logged what each tool sends first. Claude Code opened with 21 tool definitions in a 77.7KB request. That is about 2.6 times OpenCode's request, which held nine tools in 29.6KB. Hermes sent 18 tools in 43.9KB. Codex sent nine tools in 40.5KB and had the longest system prompt of the four.

What the scores showed

Of the 36 runs, 17 passed, and 11 of those came from Qwen3-Coder-30B-A3B. Hermes, Codex and Claude Code went three for three on that model. OpenCode missed once: it cleaned the audit file, then never wrote the requested code.

On speed, Codex completed its three tasks in 6m36s. Hermes needed 7m37s, and Claude Code took 14m59s.

The 9B model split the tools apart. Hermes passed all three tasks, and the writer says it had also passed in every earlier run of this test on that model. Claude Code ran out the clock on two tasks and changed nothing on the third. Codex never got going: all three of its runs died at once, and it only reported that the stream had disconnected. Lemonade's log held what the writer calls the real reason. The model's chat template insists that a system message comes first, and Codex's request trips that check. The writer calls this a compatibility problem, not a verdict on either tool, since Codex got past it on both larger models. The writer did not test either possible fix: loading a replacement chat template in llama.cpp, or putting a proxy in the middle to reorder the messages.

OpenCode used the same API as Hermes with the same 9B model. Hermes called tools and fixed the bug, but OpenCode got the text ls -la back as the model's final reply and stopped.

A small detail: Most advice on small models for VRAM-constrained systems rarely tests several harnesses, the writer says, or tests one through LM Studio's chat.

When the model talked instead of working

Thirteen runs finished with the repo untouched, and that count includes Codex's three template errors. Another three got partway. Three more ran out of time with no passing result.

From the logs the writer read, a pattern showed up: the model would say something, and the harness treated that as the finish line. With gpt-oss-120b, OpenCode and Hermes each closed a task with a single line that restated the request. Claude Code, despite 21 tools being available, offered to walk the writer through the change if they supplied the repository. The writer says they cannot tell why the model behaves this way.

The server fault that skewed results

The writer's first full matrix gave four passes in 36 runs. Something looked off with the 30B runs, and digging showed the model was answering with junk. On this box, Lemonade used the system's packaged llama.cpp (build 10566) rather than one of its own backends.

Moving to Lemonade's ROCm backend took that same task from junk to a pass. The writer then reran the full matrix on ROCm, with a newer Codex, and the 30B model went from zero passes to 11. The writer's advice: if Lemonade came preinstalled, check which llama.cpp backend it uses before judging a model.

There were more gremlins. Lemonade 11.8.1, the package the platform offered, ended an OpenCode run after roughly two minutes with a timeout error. That stopped once the writer updated Lemonade and raised its timeout. Hermes runs that timed out also left background workers running while something kept calling the server, so the writer cleaned up and reran everything.

The limits of one run per cell

The writer notes that each cell is a single run and that these tools change fast, so other results are possible. Their reading is that on the 30B model the harness barely mattered, while on the other two it separated a pass from nothing.

Their advice is to pick the model your hardware can run, then a harness that suits it, and to check the server underneath before blaming either. With a 30B-class coding model, they say any of the four did real work, so speed and taste can decide.

The questions people ask

What it means for you

A developer running local models on limited hardware should note that Hermes was the only harness to deliver on the 9B model. On a 30B-class model, all four did real work.

Who gains

Hermes passed all three tasks on Qwen3.5-9B. Codex was quickest on the 30B at 6m36s.

How solid is it

Mixed. This is one writer's own test, with one run per cell and hidden tests for scoring. The writer also threw out a first set of results after a server fault.

What you can do

Check your server's llama.cpp backend first, then match the harness to a model your hardware can run.

What to watch

  • Would a replacement chat template or a message-reordering proxy let Codex work with Qwen3.5-9B? The writer did not test either.
  • Why does the model answer with talk instead of tool calls? The writer says they cannot tell.
  • Will results hold as these tools change, given the writer's one run per cell?
Up nextAWS says its custom chips are already ready for post-quantum encryption

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

  • First reported by
  • FirstXDA Dec 5, 2026, 7:00 PM ET

Spot a mistake or a concern? Contact us · Corrections.

More AI news