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

Canonical: https://weaveos.com/blog/weave-router-solves-50-of-51-swe-bench-pro-hard

Published: 2026-12-01T00:00:00.000Z

By Sammy Tourani

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

| Weave Router harness | Pass@1 | Pass@2 | Cost per attempt | Cost per solved task |
| --- | ---: | ---: | ---: | ---: |
| Claude Code | 89.2% ±6.1 | 98.0% | $1.04 | $1.16 |
| Codex | 83.3% ±7.2 | 92.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](/router/benchmarks/data.json).

## 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.

| Benchmark | Work it measures | Claude Code | Codex |
| --- | --- | --- | --- |
| Terminal-Bench 4.0, 66 tasks | Multi-step terminal tasks | 54.5% Pass@1, $9.74 per solve | 42.4% Pass@1, $2.21 per solve |
| SWE-Atlas Codebase QnA, 124 tasks | Questions about a real codebase | 62.5% Pass@1, $1.74 per solve | 54.0% Pass@1, $0.89 per solve |
| SWE-Bench Pro V2 HARD, 51 tasks | Hard repository fixes | 89.2% Pass@1, $1.16 per solve | 83.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](/blog/weave-router-tops-routers-on-terminal-bench) 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](/router/benchmarks) 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](/router/quickstart), read the [benchmark methodology](/router/benchmarks/methodology), or [reproduce the benchmark](https://github.com/weave-os/router/tree/main/bench) with the public harness.
