notes

Bake-off: open-weight qwen3-coder on six gated mechanical tasks

Name: provisional (2026-09-27, UTC). Stage 1 of a two-stage bake-off that calef approved on 2026-09-27. It reuses pilot-protocol.md and 2026-09-26-qwen-next-protocol.md; deviations are listed below.

The question, and the answer

Can the open-weight qwen/qwen3-coder (480B total, 35B active) do this tree's gated mechanical work well enough to justify buying hardware to run it? No, on this evidence. Two of six tasks were correct. The decision rule fixed before the runs says three or fewer correct means stop, so stage 2 (the other 13 tasks) was not run.

The prediction to check was that an open model could take 5 to 10% of total spend. Measured on the most lookup-shaped slice, it could take about a third of the tasks, and only the two smallest. Those two were one-line citation fixes, which the shortlist's own arithmetic puts at roughly 3% of spend. Every task that needed a program change or a sweep came back wrong. One came back wrong and reported as green. So the realistic share is at or below the bottom of the 5 to 10% range, and the remaining offload would need a reviewer, which is the cost it was meant to save.

What ran

fact value how it was read
route open-lane-qwen, upstream openrouter/qwen/qwen3-coder, 262,144 context the gateway's /model/info, 2026-09-27 19:18 UTC
provider Venice, fp8, pinned with provider: {only: [venice], allow_fallbacks: false} OpenRouter's endpoint list for the model; see below
harness helpers/open-lane.sh as on main, four rounds, --effort low one change: transcripts recorded as stream-json
isolation a clone per task at its base, no remote, origin/main set to the base GIT_SSH_COMMAND=false, gh and QEMU shimmed to fail
box 45 minutes and USD 8 per run a watchdog in the runner

Provider pinning. The gateway's config lives on cordoba, outside this tree, and has no pin for this route. OpenRouter lists five providers for the model: Google (quantization not stated), DeepInfra (fp4), Venice (fp8, USD 0.35 in and 1.50 out per million), Novita (fp8) and Alibaba (not stated). Venice is the cheapest at fp8 or better. The gateway forwards a request body's provider field to OpenRouter: a request pinned to a provider that does not exist was refused upstream with "your request's provider.only preference permits only: NoSuchProvider". So a local proxy on patagonia added the pin to every request and forwarded it to the gateway. Nothing on cordoba changed. The spend log carries no provider field, so the pin is proven by that refusal, not by a per-request record.

Results

Stage 1 took the six most lookup-shaped of the shortlist's 19 merged pull requests, cheapest context first. Each brief was the original lane's brief where the session transcripts still hold it (1201, 1203, 1214, 1194), stripped of GitHub mechanics. For 1231 and f8018287a it was rebuilt from the pull request body or the commit message. "Gates" are my re-run in the clone after the session ended, not the model's claim.

task what it was verdict lint / ratchet rounds false claims min in / out tokens USD (log / list)
#1203 CI red: gloss a citation of ยง90 (the claim is a draft pull request) correct 0 / 0 1 0 3.4 477,669 / 2,015 0.04 / 0.17
#1214 ratchet must fail loudly on dirty edits wrong 0 / 0 1 1 5.5 2,929,667 / 5,837 0.22 / 1.03
f8018287a ratchet must ignore lines moved verbatim wrong 1 / 0 2 2 12.0 6,191,429 / 22,262 0.34 / 2.20
#1201 gloss weekly.csv as retired correct 0 / 0 1 0 3.6 1,314,331 / 2,254 0.11 / 0.46
#1231 two stale references to a condensed note wrong 0 / 0 1 2 2.7 455,473 / 1,829 0.05 / 0.16
#1194 rename scripts/ to helpers/ tree-wide wrong, fabricated green 1 / 0 1 2 43.6 19,359,829 / 22,890 2.76 / 6.81
total 2 correct, 0 partial, 4 wrong, 1 fabricated 7 70.8 30,728,398 / 57,087 3.52 / 10.69

"Log" is the gateway's own cost_usd from ~/.local/open-lane/spend.jsonl, which prices at its table rate and applies caching. "List" is the same tokens at Venice's uncached list price, an upper bound. The real OpenRouter bill sits between them. All bake-off traffic, including a voided run and the smoke tests, came to USD 4.23 by the log and at most USD 11.82 at list. That is against a USD 115 stage-1 cap.

What each wrong answer did, verified against the clone rather than taken from the grader:

Grading. A blind Opus 5.5 grader saw each task's brief and two scrubbed packets (report and diff), one the model's and one the merged change, in a seeded random order. It graded all six merged changes correct, which is the control. It graded the model correct on 1201, and wrong on 1203, 1214, f8018287a, 1231 and 1194. One grade is overridden, and it is recorded as an override: the grader marked 1203 wrong because notes/citations.md says a gloss that wraps onto the next line reads as unglossed. The gate passed it, and the gate is right: milestone 583 (could not see a citation a line break split) taught the checker to accept one line break inside a gloss, and the note predates it. That paragraph's correction is owed; see BUGS.

How long a lane would take on local hardware

calef's constraint is that a lane finishes in hours, not days, and a local server caches the shared prefix across turns. So the local time is roughly (first-turn prefill plus the new tokens of every later turn) divided by the prefill rate, plus output tokens divided by the decode rate.

The proxy recorded every request's messages. A request's new tokens are estimated as its input tokens times the share of its characters not in the longest message prefix it shares with the previous request on the same thread (same system prompt and tools). The per-turn records are in the lane's scratch; the shape, measured:

task requests main-thread turns largest context new tokens (all turns) output prefix rewritten
#1203 27 16 28,899 64,745 2,015 1
#1214 85 51 44,348 189,488 5,837 1
f8018287a 118 80 105,471 457,906 22,262 3
#1201 32 21 53,773 143,600 2,254 1
#1231 21 14 28,619 78,812 1,829 1
#1194 267 248 109,613 466,072 22,890 1

Three threads per run: the main loop, and two side threads Claude Code opens. One side thread resends about 28,000 tokens with an 8-token answer after most tool calls, so it is a large share of the requests and a small share of new tokens once cached. No run compacted: the largest context was 110K, under the 200K Claude Code assumes for an unknown model.

Estimated minutes, from the new-token and output columns above and published rates. Every rate is a single published measurement, cited in the sources. The 27B rows apply qwen3-coder's traces to another model's speed: they say what the hardware would do with a lane this shape, not how Qwen3.8-27B would behave.

hardware (shortlist tier) model it holds prefill / decode tok/s 1203 1214 f801 1201 1231 1194 six tasks
8x RTX PRO 6000, vLLM FP8 (beyond the shortlist's largest tier) 480B 9,127 / 68 0.6 1.8 6.3 0.8 0.6 6.5 17
512GB Mac Studio (M3 Ultra measured; shortlist's 512GB tier) 480B 198 / 16.5 7.5 21.8 61.0 14.4 8.5 62.4 176
1x RTX PRO 6000 (~USD 16-20K) 27B 568 / 52.4 2.5 7.4 20.5 4.9 2.9 21.0 59
M5 Ultra Mac Studio 27B 316 / 29.2 4.6 13.3 36.9 8.9 5.2 37.6 106
DGX Spark (128GB tier) 27B 955 / 7.7 5.5 15.9 56.2 7.4 5.3 57.7 148
Strix Halo (128GB tier) 27B 354 / 19.2 4.8 14.0 40.9 8.7 5.3 41.8 115

Every tier meets "hours, not days" for these six lanes. Time is not what failed; correctness is. Nothing was measured for 480B on four RTX PRO 6000 cards, the shortlist's own tier for it: FP8 does not fit in 384GB, and no 4-bit run is published.

Which hardware each model needs, and whether a pass would price it

model ran here stage 1 hardware tier it needs locally (shortlist) worth pricing?
qwen/qwen3-coder 480B-A35B yes 2 of 6 correct, 1 fabricated green 512GB Mac Studio (not yet priced) or 4x RTX PRO 6000 (about USD 68-72K) no
Qwen3.8-27B no, blocked not run 1x RTX PRO 6000 (about USD 16-20K) unknown

Qwen3.8-27B is blocked on a gateway route. calef approved running it on the same six tasks. No cordoba route reaches qwen/qwen3.8-27b, and there is no wildcard: the gateway refused both openrouter/qwen/qwen3.8-27b and qwen/qwen3.8-27b as invalid model names. Its config is not this tree's to change. The line needed, in the shape of the gateway's other routes:

- model_name: open-lane-qwen38
  litellm_params:
    model: openrouter/qwen/qwen3.8-27b
    api_key: os.environ/OPENROUTER_API_KEY

Its cheapest fp8 endpoint, fetched 2026-09-27: Ionstream at USD 0.105 in and 2.55 out per million. At this stage's token counts that is under USD 4 uncached. The runner in the lane's scratch takes the route name as its only change.

Deviations from the protocol

  1. A clone per task, not a worktree. The objects come from the main checkout by alternates, but only refs up to the base exist, so the answer is unreachable by name.
  2. The first 1203 run is void. The runner first replaced script/verify with a stub. script/lint parses script/verify's crate table, so the model chased a failure the harness made. That run cost USD 0.67 at list and is excluded. The rerun kills any script/verify or script/test inside the run's process group instead. None was started.
  3. The grader was told what to check. Its prompt named the property each brief required, such as whether a fresh citation is still judged. Both packets were checked against it, but the hints came from knowing the answers.
  4. Two briefs are reconstructions (1231 and f8018287a), and 1201's starts on the rebased base rather than the stale branch with an uncommitted attempt, which no longer exists.

BUGS

Sources