On this page

On December 2, 2026, Hanchen Li and the FrontierCS team at UC Berkeley BAIR released FrontierCS 2, a benchmark designed around a blunt test of real systems research: take 48 published computer science papers' actual GitHub repositories, delete each paper's core contribution, give an AI agent five hours in an offline sandbox, and require its rewritten code to beat the original authors on every single metric and every held-out workload.

The raw headline puts Claude Opus 5.5 (inside Claude Code) on top with 28 of 48 tasks passed (58%). Dig into the numbers, though, and three deeper findings stand out: on BAIR's difficulty-adjusted capability scale, the top three agents sit in a 0.6-point statistical dead heat; a full third of the benchmark (16 of 48 tasks) remains unsolved by every model in the paper's 12-agent study; and cost per run spans a staggering 400x range that flips the winner whenever budgets tighten.

How BAIR prevents benchmark gaming: subtraction, split sandboxes, and zero averaging

Most coding evaluations grade isolated puzzles, unit-test suites, or LLM-written rubrics—making it easy for agents to trade accuracy for speed or overfit visible cases. FrontierCS 2 shuts those shortcuts down with three structural rules:

  • Tasks built by subtraction across 13 CS domains: Each of the 48 tasks comes from a real published repo spanning ML systems, HPC, databases, cryptography, security, robotics, and more. Deleting the paper's key routines leaves the rest of the codebase intact and turns the authors' deleted code into a private oracle—no re-implementation, no rubric guesswork.
  • Network-isolated split sandboxes and self-selected shipping: The agent works inside an offline container for up to five hours wall-clock with its own development GPUs, talking to a separate judge sandbox only through a driver. Intermediate submissions return a development score plus sanitized counts of how many dev workloads passed each threshold—never the oracle's raw numbers. At the end, the agent picks one final patch for the hidden test suite; BAIR does not rescue runs by cherry-picking an earlier higher-scoring dev patch.
  • All-metrics, all-workloads strict pass: Take SVG-EAR, an ECCV 2026 sparse-attention method for video diffusion. After stripping its error-aware attention class and three routines, a passing patch must hit latency <= 0.96x reference while staying within 0.25 dB PSNR, 0.01 SSIM, and 0.005 LPIPS on every held-out clip. BAIR highlights how unforgiving this is on KV Compaction: Claude Opus 5.5 posted the top overall score above the human reference yet missed accuracy on 2 of 24 articles—resulting in an outright fail.

Leaderboard reality: a 2-task lead in raw passes, a three-way tie on FCI

Across 20 evaluated models—each run once inside its native agent harness (Claude Code, Codex CLI, and others; BAIR stresses that the harness is part of what is being measured)—the raw pass counts separate into a sharp top tier:

  • Top five pass counts (out of 48): Claude Opus 5.5 (Claude Code) leads at 28/48 (58%), followed by Gemini 4 Carbon and Gemini 4 Argon tied at 26/48 (~54%), Claude Sonnet 5.5 at 24/48 (50%), and GPT-6 Astra at 22/48 (~46%).
  • Steep drop-off and headroom: Below the top eight, no model passes more than 11 tasks, and 16 of 48 tasks (one-third) went unsolved across the paper's 12-agent evaluation.

Because raw pass counts weight easy and hard tasks equally, BAIR also fits the FrontierCS Capabilities Index (FCI) using an item-response model forked from Epoch AI's ECI (anchored at Kimi K2.7, with 10 points equal to one logit). On FCI, the top of the board collapses into a statistical tie: Claude Opus 5.5 (51.3), Gemini 4 Carbon (51.0), and Claude Sonnet 5.5 (50.7) sit within 0.6 points—well inside bootstrap confidence intervals—ahead of GPT-6 Astra (48.6) and Gemini 4 Argon (48.4). Equally telling, median task difficulty sits right around the strongest agent's FCI, leaving clear room above today's frontier.

Figure 1: FrontierCS 2 strict pass count out of 48 tasks (left) vs. IRT-based FCI capability scores showing a 0.6-point top-3 tie (right)
Figure 1: FrontierCS 2 strict pass count out of 48 tasks (left) vs. IRT-based FCI capability scores showing a 0.6-point top-3 tie (right)

Image source: DigIntoAI chart compiled from UC Berkeley BAIR Blog (Dec 2, 2026)

The 400x cost spread: why your budget cap picks the winner

Plotting pass rate against estimated mean spend per run exposes a massive economic divide:

  • Frontier spend tier (~$17–$40 per run): Claude Opus 5.5, both Gemini 4 models, Claude Sonnet 5.5, and GPT-6 Astra cluster here. Gemini 4 Carbon (priced at Argon rates in BAIR's estimate) is the priciest of the group despite passing two fewer tasks than Opus 5.5.
  • Mid-tier value pick (~$3 per run): GPT-6.1 Terra and Sol pass roughly 40% of tasks at about one-sixth the frontier run cost.
  • Ultra-budget floor (~$0.10 per run): DeepSeek V4.1 Flash runs for roughly a dime per task and still beats the published authors on about one in eight tasks (~12.5%).

When BAIR caps spend per run—marking unfinished runs as no submission—the ranking flips cleanly: DeepSeek V4.1 Flash leads at the tightest budgets (noting its estimates act as lower bounds tied to token pricing), while Claude Opus 5.5 dominates when teams can absorb frontier spend. Nor are passing runs mere hyperparameter tweaks: on the QuarterPIR private information retrieval task, where the reference server returned parity values for every database group despite clients needing only one, Muse Wonder 1.0 invented a two-checksum scheme that cut private lookup communication by 27%.

Figure 2: 400x run-cost spread vs. pass rate on log scale (left) and split agent/judge sandbox verification rules (right)
Figure 2: 400x run-cost spread vs. pass rate on log scale (left) and split agent/judge sandbox verification rules (right)

Image source: DigIntoAI chart compiled from UC Berkeley BAIR Blog (Dec 2, 2026)

Three takeaways for engineering leaders

FrontierCS 2 offers three concrete lessons for teams deploying autonomous coding and optimization agents:

  • Match model tier to portfolio economics: Use frontier setups like Claude Opus 5.5 when a single $20–$40 optimization run justifies itself directly; for broad parallel hypothesis sweeps, fan out on $3-tier models (GPT-6.1 Terra/Sol) or $0.10 sweeps (DeepSeek V4.1 Flash) and escalate only promising branches.
  • Replace aggregate averages with per-slice gating: Opus 5.5's KV Compaction failure shows how easily an agent can win an average score while regressing 2 of 24 workloads. Production eval harnesses should gate merges on worst-case slice floors, not mean scores.
  • Treat the harness as a first-class variable: Over five-hour runs, patch-submission cadence, context hygiene, and final-patch selection shape outcomes just as much as base model weights. Benchmark the complete agent loop, not an API endpoint in isolation.