Claude Code vs OpenCode on Qwen3.6 35B-A3B
Given the same Qwen3.6 35B-A3B and 24 Terminal-Bench 2.0 tasks twice, OpenCode solved 12 of 48 attempts and Claude Code 8. OpenCode repeated its wins. Claude Code's changed from one attempt to the next.

A coding agent is two things: a model that decides, and the program around it that gives the model its instructions and tools, runs the commands it asks for and feeds it the results. That program is called a harness. Claude Code and OpenCode are two harnesses. Both can run on the models we serve in Canada.
To see what the choice of harness changes, we gave both the same model, Qwen3.6 35B-A3B, and the same 24 tasks from Terminal-Bench 2.0, a public benchmark built to measure agents working in a terminal. Each agent attempted every task twice.
We first published this article with one attempt per task. This version adds the second attempt, run on 23 and 24 November with the same setup.
The short version
- Tasks solved. Claude Code solved 8 of its 48 attempts and OpenCode 12. Each solved 7 different tasks at least once. On so few tasks, that gap is within chance.
- Repeated results. OpenCode solved 5 of its 7 tasks on both attempts. Claude Code repeated one, pypi-server: each of its 6 other tasks passed on one attempt and failed on the other.
- Different tasks. Four tasks were solved by both agents. Each agent solved three that the other never did.
- Two ways of working. Claude Code was still working when the time ran out on 35 of its 48 attempts, OpenCode on 29. OpenCode stopped early 19 times and had solved the task on 11 of them.
- Tokens. Per attempt, Claude Code wrote 2.0 times as many tokens as OpenCode. OpenCode read 1.4 times as many as Claude Code.
The benchmark
Terminal-Bench 2.0, from the Laude Institute, gives an agent a task in a Linux container, such as building a library, fixing a vulnerability or training a small model, and checks the result with its own tests. A task is solved or it is not. Each task sets its own time limit, from 15 minutes to an hour for the ones we ran.
Its 89 tasks are hard on purpose: its authors report that the best pairs of frontier model and agent solve under 65% of them. The Terminal-Bench paper.
A full pass of one agent would have taken more than a day on the machine we had, so we drew 24 tasks at random, with a fixed seed, from the 78 that machine could run. The other 11 need more than it has: images of several gigabytes, four processors and 8 GB of memory, more than an hour per attempt, a Windows emulator, or a Debian release whose packages are no longer online.
How we ran it
Harbor, the benchmark's own runner, started each task in a fresh container, installed the agent in it, gave it the task and ran the tests once the agent stopped or its time ran out. Each agent made two attempts per task: the first from 19 to 21 November, the second on 23 and 24 November. The two agents ran side by side for most tasks, sharing the same load on the server.
Each agent was set up the way our documentation tells a customer to, with its own defaults for everything else: Claude Code 2.1.321 through our Anthropic-compatible route, OpenCode 2.3.0 through the chat completions route, both with the model's 262 144-token context and its 32 768-token answer limit. Neither chose how much the model reasons: Qwen3.6 35B-A3B decides that itself.
The model answered from CArouter Cloud, our own machines in Canada, through the same API and with the same key a customer uses. The containers ran on an Apple Silicon Mac, which runs the benchmark's x86 images through emulation: commands inside them ran slower than on an x86 machine, for both agents alike.
An attempt disturbed by something other than the agent was thrown away and run again from the start: a home network that dropped or slowed to a crawl, a laptop that went to sleep, a full disk, an agent install cut short by a slow download, tests that could not reach the network, and half an hour when the benchmark's own sessions filled the machines serving the model. In the second round alone, 45 attempts were run again.
In the first round, no attempt we kept received an error from our API, apart from one dropped connection that OpenCode retried two seconds later. In the second, 8 attempts we kept met errors from our API during two network incidents on our side, on 23 November. Each agent retried until the model answered, so those attempts count.
Two attempts

The second round asked whether a result holds. For OpenCode it mostly did: it solved 6 tasks each time, 5 of them the same. pypi-server passed only on the second attempt, sqlite-db-truncate only on the first.
Claude Code's results moved. It solved 5 tasks the first time and 3 the second, with only pypi-server in both. build-cython-ext, constraints-scheduling, kv-store-grpc and multi-source-data-merger passed only the first time. extract-elf and fix-code-vulnerability passed only the second.
Some of those failures came close. Claude Code's second build-cython-ext passed 10 of the 11 tests, its second kv-store-grpc 5 of 7. A task decided by one test can go either way between two runs of the same agent.
This is why one attempt per task shows how two harnesses behave without ranking them. A single round would have put OpenCode one task ahead, or three, depending on which round we ran.
Task by task

The fastest solves took about a minute: Claude Code 77 seconds on pypi-server, OpenCode 62 on cancel-async-tasks. Fourteen of the 24 tasks were solved by neither agent, on either attempt.
Claude Code treats the time limit as time to use. On 35 of its 48 attempts it was still working when the time ran out. Twice that paid, on build-cython-ext and extract-elf. Terminal-Bench grades the container as the agent leaves it: what Claude Code had built by the last minute passed the tests.
OpenCode declares a task finished more readily. It stopped before the limit on 19 attempts and had solved the task on 11 of them. On reshard-c4-data it stopped after a few minutes both times, with a result the tests rejected. Once, on pypi-server, it ran to the limit itself and the container it left passed.
In the first round, OpenCode twice stopped for another reason. The model spent a whole answer, 32 768 tokens, thinking. OpenCode asked it twice to continue, then gave up. In that round Claude Code hit the same limit 11 times on 6 tasks, those two among them, and carried on each time. OpenCode did not stop this way in the second round.
What a task costs

OpenCode called the model more often and sent it more to read, most of which the model had already read on the call before, so our prompt cache served it. Claude Code wrote more. Written tokens are what a request waits for.
The figures are also on our benchmarks page, under Harness, a new category for exactly this: one model, one benchmark, one column per agent. See the benchmarks.
What remains open
- The full benchmark, with more attempts per task. Two attempts were enough to flip single results. Separating two agents by a few points takes more.
- Other agents. Harbor runs Codex, Gemini CLI, Aider, mini-swe-agent and others on the same tasks. Any of them can point at our API.
- Other models. A harness written for one family of models can suit another family less well. The same test on a larger model would show whether the two harnesses stay this close.