← All articles

Weave Router solved 50 of 51 SWE-Bench Pro V2 HARD tasks

Weave Router solved 50 of 51 hard software-engineering tasks in Claude Code within 2 attempts, at $1.16 per solved task. See the Claude Code and Codex results.

By Sammy TouraniGTM Engineer at Weave
Published Read Time: 3 min
On this page

Weave Router solved 50 of 51 SWE-Bench Pro V2 HARD tasks in Claude Code within 2 attempts. It passed 89.2% of first attempts (91 of 102 attempts across 51 tasks) and 98.0% of tasks within 2 attempts, at $1.04 per attempt and $1.16 per solved task.

The same router passed 83.3% of attempts on the first try in Codex, at $0.35 per attempt and $0.42 per solved task. Both runs used the same 51 tasks, finished on November 5, 2026, and used router package 12d87e35.

These are hard repository tasks. The agent has to understand the codebase, change the right files and pass hidden tests. A model router can lower cost by sending easier work to cheaper models. On this task set, Weave Router kept hard-task success high while doing that.

SWE-Bench Pro V2 HARD results by harness

Scroll horizontally if needed →

Weave Router harnessPass@1Pass@2Cost per attemptCost per solved task
Claude Code89.2% ±6.198.0%$1.04$1.16
Codex83.3% ±7.292.2%$0.35$0.42

Pass@1 is the share of attempts that solve a task. Pass@2 counts a task as solved when either attempt passes. Cost uses the API list price of the models Weave Router served, from router telemetry, including cached tokens. Cost per solved task is cost per attempt divided by Pass@1, so failed attempts count against the result. It describes first-attempt economics and does not include the second attempt that produces the Pass@2 figure. The ± values are Wilson 95% intervals.

The run IDs are sbpv2-hard51-bcd924b-20261105/cc and sbpv2-hard51-bcd924b-20261105/codex. Codex passed 85 of 102 attempts. Both rows are in the public benchmark data.

Why Claude Code and Codex are reported separately

Claude Code and Codex give the model different instructions and tools, and they manage context differently. Weave Router sees different requests in each client and chooses models for that traffic. A Claude Code team should compare the Claude Code row. A Codex team should compare the Codex row.

Claude Code had the higher success rate. Codex had the lower cost per solved task. Weave publishes both because both are real buying tradeoffs.

Weave Router results across coding workloads

SWE-Bench Pro V2 HARD measures repository fixes. Weave Router's runs also covered terminal work and codebase questions.

Scroll horizontally if needed →

BenchmarkWork it measuresClaude CodeCodex
Terminal-Bench 4.0, 66 tasksMulti-step terminal tasks54.5% Pass@1, $9.74 per solve42.4% Pass@1, $2.21 per solve
SWE-Atlas Codebase QnA, 124 tasksQuestions about a real codebase62.5% Pass@1, $1.74 per solve54.0% Pass@1, $0.89 per solve
SWE-Bench Pro V2 HARD, 51 tasksHard repository fixes89.2% Pass@1, $1.16 per solve83.3% Pass@1, $0.42 per solve

Weave Router is the #1 router on Terminal-Bench 4.0. It scored 54.5% Pass@1 in Claude Code, 8.0 points above Fireworks Nexus Auto with Opus, the strongest router Vals AI tested, at 46.5%. Both scores are on the same 66 tasks. Weave ran its own evaluation and has not yet been submitted to Vals for review. The Terminal-Bench write-up has every row, interval and source.

How to read a hard-task benchmark

Start with the success measure that matches how your team works. Pass@1 shows how often the first run lands. Pass@2 shows what happens after 1 retry. Then divide cost by successful work. A cheap attempt that fails often can cost more per completed task than an expensive attempt that passes.

Public leaderboards use different protocols. Scale's SWE-Bench Pro leaderboard reports scores under a locked protocol without published cost, so those rows answer a different question from Weave's runs. The benchmark hub labels each source and harness.

Run Weave Router on your own repository

Pick 20 to 50 completed tasks your team has already reviewed. Run them in the client your engineers use, once with a pinned model and once with Weave Router. Record solved tasks, retries, cost, elapsed time and review effort. Compare cost per accepted task.

Set up Weave Router, read the benchmark methodology, or reproduce the benchmark with the public harness.

Route your coding work with Weave

Route coding requests in Claude Code, Codex and other supported tools.

Try Weave Router