Benchmark Almanac

ContextBench

Claude Haiku 5.5 + Claude Opus 5.5 77.9% tops its leaderboard GPT-5 60.6% leads the models we track
Not in model cards

Coding agents resolve 1,136 issues from 66 repositories in eight programming languages, and the benchmark checks which code they look at along the way. Each task has human-annotated gold context, and the tracker scores context recall, precision and efficiency over the agent's trajectory. It adds these process measures to the usual issue-resolution result.

Not related to the Context Arena long-context board at contextbench.ai. The paper tested four models and five agent frameworks. About 150 GitHub stars.

Released
February 2026
Kind
Fixing real repositories
Level
Expert
Scored
Checked automatically
Answers
Agent task
Tasks
All public
Measures
Capability
Language
English
In and out
Text, Code → Code, Actions
Interaction
Agentic
Environment
Terminal
Items from
Real work and use
Refresh
One fixed set
Run by
Anyone
In views
Agents
Strongest model tested
Qwen3.7-Max #51 on the capability index
Last model added
May 2026
Updated automatically
Yes, daily
Scores refreshed
November 24th, 2026

In the authors’ words

LLM-based coding agents have shown strong performance on automated issue resolution benchmarks, yet existing evaluations largely focus on final task success, providing limited insight into how agents retrieve and use code context during problem solving. We introduce ContextBench, a process-oriented evaluation of context retrieval in coding agents. ContextBench consists of 1,136 issue-resolution tasks from 66 repositories across eight programming languages, each augmented with human-annotated gold contexts. We further implement an automated evaluation framework that tracks agent trajectories and measures context recall, precision, and efficiency throughout issue resolution. Using ContextBench, we evaluate four frontier LLMs and five coding agents. Our results show that sophisticated agent scaffolding yields only marginal gains in context retrieval ("The Bitter Lesson" of coding agents), LLMs consistently favor recall over precision, and substantial gaps exist between explored and utilized context. ContextBench augments existing end-to-end benchmarks with intermediate gold-context metrics that unbox the issue-resolution process. These contexts offer valuable intermediate signals for guiding LLM reasoning in software tasks.

Abstract of ContextBench: A Benchmark for Context Retrieval in Coding Agents (arXiv:2602.05892, CC0)
11
Entries on its own leaderboard, 9 models we track

Claude Haiku 5.5 + Claude Opus 5.5 tops the leaderboard with 77.9% GPT-5 leads with 60.6% among models released by May 2026

Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. The best model we track is GPT-5, at 60.6%. This view shows only models we track, each at its best.

The newest model with a score here came out in May 2026, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 Claude Haiku 5.5 + Claude Opus 5.5 77.9%
  2. 2 GPT-5 60.6%
  3. 3 Claude Sonnet 4.5 58.8%
  4. 4 DeepSeek-V4-Pro 41.1%
  5. 5 Devstral 2 40.4%
  6. 6 Gemini 2.5 Pro (snapshot unspecified) 31.3%
  7. 7 MiniMax-M2.5 23.6%
  8. 8 GLM-5.1 23.6%
  9. 9 Qwen3.7-Max 18.5%
  10. 10 Qwen2.5-32B 7.60%
  11. 11 Qwen3-8B 4.80%

Source: Official ContextBench leaderboard

#EntryScoreSettingDateLinkSource
1 Claude Haiku 5.5 + Claude Opus 5.5 77.9% CodeNib github.com Official leaderboard
2 GPT-5 60.6% mini SWE-agent Aug 2025 Official leaderboard
3 Claude Sonnet 4.5 58.8% mini SWE-agent Sep 2025 Official leaderboard
4 DeepSeek-V4-Pro 41.1% openJiuwen-JiuwenSwarm Apr 2026 github.com Official leaderboard
5 Devstral 2 40.4% mini SWE-agent Dec 2025 Official leaderboard
6 Gemini 2.5 Pro (snapshot unspecified) 31.3% mini SWE-agent Official leaderboard
7 MiniMax-M2.5 23.6% mini SWE-agent Feb 2026 Official leaderboard
8 GLM-5.1 23.6% mini SWE-agent Apr 2026 Official leaderboard
9 Qwen3.7-Max 18.5% mini SWE-agent May 2026 Official leaderboard
10 Qwen2.5-32B 7.60% mini SWE-agent Sep 2024 Official leaderboard
11 Qwen3-8B 4.80% mini SWE-agent Apr 2025 Official leaderboard
#ModelScoreSettingDateLinkSource
1 GPT-5 60.6% mini SWE-agent Aug 2025 Official leaderboard
2 Claude Sonnet 4.5 58.8% mini SWE-agent Sep 2025 Official leaderboard
3 DeepSeek-V4-Pro 41.1% openJiuwen-JiuwenSwarm Apr 2026 github.com Official leaderboard
4 Devstral 2 40.4% mini SWE-agent Dec 2025 Official leaderboard
5 MiniMax-M2.5 23.6% mini SWE-agent Feb 2026 Official leaderboard
6 GLM-5.1 23.6% mini SWE-agent Apr 2026 Official leaderboard
7 Qwen3.7-Max 18.5% mini SWE-agent May 2026 Official leaderboard
8 Qwen2.5-32B 7.60% mini SWE-agent Sep 2024 Official leaderboard
9 Qwen3-8B 4.80% mini SWE-agent Apr 2025 Official leaderboard

Everything the board measures

The benchmark’s own leaderboard publishes 5 numbers for each entry: the headline score and 4 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.

Measure

    Number one over time

    Lab claims count from the day the card came out, independent runs from the model’s release.

    OpenAI
    Own leaderboard Not tested since May 2026
    GPT-5 60.6%

    Source: Official ContextBench leaderboard

    Scores over time

    All the scores we have, one dot each, so a model tested at several settings appears more than once.

    Plot with other benchmarks
    On the benchmark’s own leaderboard Best so far
    0% 20% 40% 60% 80% 100% 2025 2026 Near the ceiling (85%) GPT-5 Qwen2.5-32B 0% 20% 40% 60% 80% 100% 2025 2026 Near the ceiling (85%) GPT-5 Qwen2.5-32B

    Source: Official ContextBench leaderboard

    No lab model card reports it yet

    We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.

    More in Coding

    All 523 in Coding
    • SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
    • LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests. DeepSeek-V4-Pro 93.5%
    • SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
    • DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
    • SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases. Seed2.1 Pro 59.8%
    • Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance. DeepSeek V4.1 Flash 3,471

    Data audit

    9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 6 months ago, in May 2026, for Qwen3.7-Max. Every benchmark

    Catalog record 2 pass
    • Pass Task access All tasks are public.
    • Pass Confidence Checked against a primary source.
    Scores 1 warning 3 pass 1 note
    • Pass Independent runs Scores from the official leaderboard (11 entries).
    • Pass Models scored 9 models we track, plus 2 other entries on its leaderboard.
    • Warning Newest score The newest came 6 months ago, in May 2026, for Qwen3.7-Max.
    • Note Frontier models None of the top 10 has a score. The strongest tested is Qwen3.7-Max (#51).
    • Pass Headroom The best is 60.6%, under 85%, so it still separates models.
    Leaderboard import 3 pass
    • Pass Importer We read the board on contextbench.github.io: 14 rows for models we track and 2 other entries at the last read.
    • Pass Last read November 24th, 2026.
    • Pass Read worked The last read worked.
    Consistency 1 pass 2 notes
    • Note Lab claims No model has both a lab number and an independent run.
    • Pass Known issues No published audit found problems.
    • Note Epoch AI review Epoch AI hasn’t reviewed it.

    How we check