AI code review benchmark

Which models actually catch real bugs, measured on 30 merged pull requests from production open-source projects against 121 confirmed bugs, in two review modes. Every run is versioned, so you can check the numbers or re-score them yourself.

27 models measured in production
Balanced mode, ranked by F2
#ModelF2RecallPrecision$/PR
01Kimi K3.1 Pro63.568.6%49.1%$1.244
02GPT-6.1 Sol45.943.0%62.6%$0.787
03Claude Opus 5.543.942.1%52.6%$0.715
04GLM-5.341.741.3%43.5%$1.171
05DeepSeek V4.1 Flash41.040.5%43.4%$0.134
06Claude Sonnet 5.540.037.2%57.0%$0.542
07Muse Spark 1.236.437.2%33.6%$0.725
08GLM-5.3 Flash36.335.5%39.8%$0.098
Balanced mode, ranked by F2Full ranking →

How the benchmark works

Every model reviews the same 30 PRs against one gold set and one judge, once per mode, at vendor defaults.
  • Real PRs, re-labelled bugs

    30 merged pull requests from 5 production OSS repos. Kodus re-labelled the real problems in each PR (Opus plus a second reviewer, debated where they disagreed) into a gold set of 121 valid true positives.

  • Two review modes

    Balanced: the normal review, with one generalist agent. Heavy: the generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps. Every model gets a row in each mode.

  • One judge, every comment

    Claude Haiku 5.5 decides whether each published comment is the same problem, at the same place, as a gold bug. Each gold bug counts once; anything else is a false positive. Checked against Opus 5.5, the two agreed on 249 of 252 comments.

  • Publish the artifacts

    Every submission and scorecard is versioned in the repo, and every PR has a trace page with the comments the model published next to the gold bugs it found and missed.

What the numbers mean

Recall
Gold bugs the model found, out of 121.
Precision
Published comments that match a gold bug, out of all published comments. A second comment on the same bug is a false positive.
F1
Harmonic mean of precision and recall, equal weight.
F2
The F-score with beta = 2, popularized for code review by Martian's benchmark: 5·P·R / (4·P + R). It weighs recall twice as much as precision, because a missed bug costs more than a comment you dismiss. The leaderboard ranks by it.
95% CI
How much recall would move on a different sample of 30 PRs. Where intervals overlap, the exact rank is noise, not signal.
Cost
Measured tokens times the vendor's list price, with prompt cache: cached reads and cache writes at their own rates. Shown per PR and per bug found.

What the results say so far

Most bugs still get through. The best balanced recall is 68.6% (Kimi K3.1 Pro), and the best heavy recall is 67.8% (Kimi K3.1 Pro). Code review has a lot of headroom left.

Heavy mode buys recall. Across the 13 models measured in both modes so far, heavy finds 9.9 points more recall with precision down 7.0 points, at 2.5x the cost per PR.

Bring your own harness. Submissions are a documented JSON contract. Submit a PR against the same cases.

What this doesn't measure

Run-to-run variance. One pass per model and mode, so the review agent itself only runs once per entry. Treat close scores as tied.

Harnesses other than Kodus's, so far. Every entry to date runs on the same harness, so what you are comparing is models inside one review agent. The submission contract is open, and other harnesses get measured the same way once they are submitted.

Source repositories

cal.comDiscourseGrafanaKeycloakSentry

Merged PRs across 5 languages (go, java, python, ruby, typescript). Same set, same gold bugs, for every model, so the comparison is fair even when the result isn't flattering.

Who runs this

This benchmark is run and published by Kodus, an AI code review company, on Kodus's own harness, and Kodus labelled the gold set. Every entry runs on that harness, so what the ranking compares is models inside it. See the leaderboard for the full disclosure.