AI · Research

Claude Opus 5.5 leads a benchmark that asks AI agents to beat published research code

Berkeley's FrontierCS 2 removes the key code from 48 published papers and gives agents five hours to write something better. Claude Opus 5.5 passed 28 of the 48 tasks, and a pass costs real money.

The FrontierCS 2 card: 48 tasks in 13 domains, each built from a published paper.
Figure: Berkeley AI Research (BAIR)

Researchers at UC Berkeley have published FrontierCS 2, a benchmark built from 48 published computer science papers across 13 fields, from machine learning systems and high-performance computing to databases, cryptography and robotics. For each task, the team took the paper's own code repository and deleted the code that implements its main contribution, leaving everything it depends on untouched. An AI agent then gets five hours with the repository, a judge that scores every patch it submits on development workloads, and one shot at a hidden test suite at the end.

A run passes only if the agent's final patch beats the authors' original code on every metric and every held-out workload. That bar is deliberately strict: a speedup bought with a quality regression does not count.

Bar chart: tasks passed out of 48, Claude Opus 5.5 first with 28.
Results as published: tasks each model passes, out of 48, against the authors' own code.Figure: Berkeley AI Research (BAIR) · source

Across 20 models, each paired with its own harness, Claude Opus 5.5 running in Claude Code led the board with 28 of 48 tasks passed, or 58 percent. Gemini 4 Carbon and Gemini 4 Argon followed at 26 each, Claude Sonnet 5.5 at 24, and GPT-6 Astra at 22. Below the top eight, no model passed more than 11 tasks. A third of the benchmark stayed out of reach: in the paper's 12-agent evaluation, no run passed 16 of the 48 tasks.

The Berkeley team also built a second measure, the FrontierCS Capabilities Index, an item-response model forked from Epoch AI's index. On that scale the top is a dead heat: Claude Opus 5.5 at 51.3, Gemini 4 Carbon at 51.0 and Claude Sonnet 5.5 at 50.7, with GPT-6 Astra and Gemini 4 Argon at 48.6 and 48.4. The researchers say the 0.6-point gap between the top three sits far inside the bootstrap intervals, so it is not a real separation. The more useful finding is on the task side: the median task sits at roughly the strongest agent's level, which means the benchmark leaves real headroom above today's best models.

Cost changes the picture. The leading cluster spends roughly 17 to 40 dollars per run, and Gemini 4 Carbon is the most expensive of that group for two fewer passes than Opus. GPT-6.1 Terra and Sol pass about 40 percent of tasks for around 3 dollars a run, and DeepSeek V4.1 Flash costs about ten cents a run while passing roughly one task in eight. When the researchers capped spending per run, the ranking flipped: DeepSeek V4.1 Flash led at the smallest budgets, with the caveat that its costs are lower bounds, and Claude Opus 5.5 led at the largest.

The patches themselves are the interesting part. In one task, an agent cut the bytes per private database lookup from 1,760 to 1,280, a 27 percent reduction, by replacing per-group parity values with two checksums, the same trick RAID-6 uses to rebuild two failed disks. On an FPGA priority queue, Gemini 4 Argon reached 1.56 times the reference's operations per second and Claude Opus 5.5 up to 1.84 times, at the cost of one of the largest circuits in the field. On a video-diffusion attention task nobody passed, although GPT-6 Astra came closest and cleared 43 of 48 checks.

The strictness matters more than the headline pass rate. On one task, Claude Opus 5.5 posted the top score and beat the human reference overall, but fell short on accuracy for 2 of 24 articles, so the run failed. A single averaged score would have called that a win.

Why it matters. Most benchmark headlines measure puzzles. This one measures a week of a research engineer's work: inherit a codebase, replace one component, rerun the paper's workloads, beat the original numbers. For teams deciding what to run, the cost spread of roughly 400 times between models on the same tasks is the number to watch, not the leaderboard order. Berkeley's results are its own and have not been independently reproduced.

Summary of public reporting, not an official statement.

How it works

How the benchmark works

Each task is a real paper's repository with one component removed: the code that implements the paper's main contribution. The agent may edit only the files that held it. A judge running on a separate machine scores every patch on a development suite and returns a sanitized count of how many workloads clear each threshold, never the reference's own score. At the end the agent names one patch as final, and only that patch is run against a hidden suite with different seeds, queries or input graphs. A task counts as passed only if that final patch beats the authors' released code on every metric and every held-out workload at the same time.

Sources

Every fact in this article is taken from these pages, read on 3 December 2026. Open them for the full text and for any updates.

Working through a similar engineering challenge?

I help teams turn architecture decisions into a clear scope and dependable, reviewable implementation.

Book a 30-minute call