A new benchmark from Berkeley tests whether AI agents can do a routine week of computer science research: take a published system, rewrite its key component and beat the original numbers. FrontierCS 2, released on December 2, takes 48 papers, deletes the code behind each one’s main contribution and asks agents to write a better version within five hours. The best agent, Claude Opus 5.5 running in Claude Code, beat the authors’ own code on 28 of the 48 tasks (58%). Gemini 4 Carbon and Gemini 4 Argon followed with 26 each, Claude Sonnet 5.5 with 24 and GPT-6 Astra with 22. The paper is a preprint on arXiv and has not been peer reviewed.
Building tasks by subtraction
Each task starts from a real paper and the code its authors released. The team finds the code that implements the paper’s contribution, deletes it and leaves everything around it untouched. The deleted code becomes the human reference: it already runs in that repository on the paper’s own workloads, so nobody has to re-implement the paper or write a grading rubric.
The 48 public tasks cover 13 areas of computer science, including machine-learning systems, high-performance computing, databases, cryptography, security and robotics. One example is SVG-EAR, a sparse-attention method for video diffusion presented at ECCV 2026. The benchmark removes its error-aware attention class and three helper routines. To pass, an agent’s version must run at no more than 0.96 times the reference’s latency while staying within tight limits on three image-quality measures (PSNR, SSIM and LPIPS) on every hidden test clip.
How a run works
The setup is meant to look like research, not an exam:
- Five hours of wall-clock time. The agent works inside the repository and can start its own development GPUs for GPU tasks.
- Unlimited practice submissions. Every patch gets a development score and a count of how many workloads meet each threshold. The agent never sees the reference’s score or the evaluator’s raw output.
- One final answer. At the end the agent picks one patch, and only that patch is graded on a hidden suite with new seeds, queries or input graphs.
- No shortcuts. The judge runs in a separate sandbox, and the agent has no network access beyond it, so it cannot download the original code.
A task counts as passed only if the final patch beats the authors’ code on every metric and every hidden workload. The authors say this strictness changed results more than they expected. On one key-value compaction task, Claude Opus 5.5 had the best overall score, above the human reference, but fell short on accuracy for 2 of 24 test articles, so the run failed.
What the results show
The leaderboard covers 20 models, each in its own harness (Claude Code, Codex CLI and others) and run once per task. Beyond the top eight, no model passed more than 11 tasks. About a third of the benchmark is still out of reach: in the paper’s 12-agent evaluation, 16 tasks were never passed by any run.
Pass rates treat easy and hard tasks the same, so the team also fits a FrontierCS Capabilities Index (FCI). It is an item-response model adapted from Epoch AI’s Epoch Capabilities Index. On FCI the top is effectively a tie: 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 (48.6) and Gemini 4 Argon (48.4) close behind. The authors say a 0.6-point gap is well inside the statistical uncertainty. The more useful finding is that the median task sits at about the level of the strongest agent, so the benchmark has room to measure further progress.
Cost varies widely. The top cluster spends roughly $17 to $40 per run. GPT-6.1 Terra and Sol pass about 40% of tasks for around $3 a run. DeepSeek V4.1 Flash costs about ten cents per run and still passes roughly one task in eight. When the team capped spending per run, the ranking changed: the cheapest model led at the smallest budgets and Opus 5.5 at the largest.
Where it fits among agent benchmarks
FrontierCS 2 measures something different from most agent tests. Coding benchmarks such as SWE-bench grade against unit tests: the code either fixes the bug or it doesn’t. METR’s time-horizon work, which we covered in our update on AI R&D judgment, estimates how long a task an agent can finish. FrontierCS 2 asks whether an agent can improve on experts’ published work under realistic conditions, with noisy feedback and the need to choose which attempt to submit. Its pass criterion is closer to a reviewer’s question, “is this better than the paper?”, than to pass@k scoring. Our cheat sheet on agent benchmark metrics explains how those metrics differ.
The authors list the gaps themselves. A pass/fail bit cannot tell a 27% improvement from a marginal one. One hardware task rewards speed but ignores chip area, and a run can be better on average yet fail on two clips. They argue that benchmarks like this should report such side costs alongside the pass rate.
What to watch next
- A private set of more than 100 extra tasks, which the team says it will announce later to limit training-data contamination.
- New leaderboard entries, since anyone can submit per-task scores.
- Whether labs start citing FrontierCS 2 in model cards as evidence of research ability.
- Follow-up work on scoring side costs such as circuit size and per-workload regressions.
Key takeaways
- FrontierCS 2 has 48 tasks across 13 CS fields, each built by deleting a paper’s key contribution from its own code.
- A pass requires beating the authors’ code on every metric and every hidden workload, in one five-hour attempt.
- Claude Opus 5.5 leads with 28 passes; the top three are statistically tied on the FCI capability index.
- About a third of tasks were never solved, and costs per run range from ten cents to about $40.
- The paper is an arXiv preprint and has not been peer reviewed.
Frequently asked questions
What is FrontierCS 2?
FrontierCS 2 is a benchmark from Berkeley researchers and collaborators that tests whether AI agents can do open-ended computer science R&D. Agents must rebuild a deleted contribution from a published paper’s repository and beat the authors’ original code.
Which AI model does best on FrontierCS 2?
At launch, Claude Opus 5.5 in Claude Code passed the most tasks, 28 of 48. On the FCI capability index it is statistically tied with Gemini 4 Carbon and Claude Sonnet 5.5.
Can I run FrontierCS 2 myself?
Yes. All 48 tasks, the evaluators and the judge are on GitHub, and full run logs are on Hugging Face. The authors estimate a full evaluation of Claude Opus 5.5 costs about $1,000 in API fees plus around $400 in GPU and CPU time.



