Benchmark Almanac

RepoQA

Claude 3 Opus 90.6% leads since June 2024
Cohere Command A 92.6% leads since April 2025
Dropped

The official leaderboard hasn’t scored a model released after Phi-3-medium-128k-instruct (May 2024). Labs report their own numbers for 4 newer models, such as Cohere Command A at 92.6%.

Models find a function in a long code repository from a description of what it does, across Python, C++, Rust, Java and TypeScript.

Released
June 2024
Kind
Finding facts in long inputs
Level
University
Scored
Checked automatically
Answers
Code
Tasks
All public
Measures
Capability
Language
English
In and out
Text, Code → Code
Interaction
Single turn
Items from
Real work and use
Refresh
One fixed set
Run by
Anyone
Strongest model tested
GPT-4o May 2024 #163 on the capability index
Last in a launch post
March 2025, dropped after it saturated
Last model added
February 2026
Updated automatically
Yes, daily
Scores refreshed
November 24th, 2026

In the authors’ words

Recent advances have been improving the context windows of Large Language Models (LLMs). To quantify the real long-context capabilities of LLMs, evaluators such as the popular Needle in a Haystack have been developed to test LLMs over a large chunk of raw texts. While effective, current evaluations overlook the insight of how LLMs work with long-context code, i.e., repositories. To this end, we initiate the RepoQA benchmark to evaluate LLMs on long-context code understanding. Traditional needle testers ask LLMs to directly retrieve the answer from the context without necessary deep understanding. In RepoQA, we built our initial task, namely Searching Needle Function (SNF), which exercises LLMs to search functions given their natural-language description, i.e., LLMs cannot find the desired function if they cannot understand the description and code. RepoQA is multilingual and comprehensive: it includes 500 code search tasks gathered from 50 popular repositories across 5 modern programming languages. By evaluating 26 general and code-specific LLMs on RepoQA, we show (i) there is still a small gap between the best open and proprietary models; (ii) different models are good at different languages; and (iii) models may understand code better without comments.

Abstract of RepoQA: Evaluating Long Context Code Understanding (arXiv:2406.06025, CC0)
32
Entries on its own leaderboard, 22 models we track
1
Launch post lists it, from 1 lab
4
System cards report it, from 3 labs

3 models share the top score of 90.6% among models released by May 2024 3 models share the top score of 90.6% among models released by May 2024

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. This view shows only models we track, each at its best.

Cohere Command A leads with 92.6%, claims included

Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model. Striped bars are claims, and dotted bars are reruns by Epoch AI or another board.

The newest model with a score here came out in May 2024, 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 3 Opus 90.6%
  2. 2 GPT-4o May 2024 90.6%
  3. 3 Gemini 1.5 Pro May 2024 90.6%
  4. 4 Gemini 1.5 Flash May 2024 90%
  5. 5 Claude 3 Sonnet 87.4%
  6. 6 DeepSeek-V2 (MoE-236B, May 2024) 83.4%
  7. 7 Llama 3-70B 82.2%
  8. 8 Claude 3 Haiku 81.8%
  9. 9 GPT-4 Turbo Apr 2024 76.4%
  10. 10 Mixtral 8x7B 68%
  11. 11 Mixtral 8x22B 67.8%
  12. 12 Qwen1.5-72B 67%
  13. 13 Phi-3-medium-128k-instruct 63.2%
  14. 14 CodeQwen1.5-7B-Chat 62.8%
  15. 15 Mistral 7B v0.3 62%
  16. 16 GPT-3.5 Turbo Jan 2024 60.4%
  17. 17 Llama 3-8B 53.6%
  18. 18 deepseek-coder-33b-instruct 48.4%
  19. 19 Mistral-7B-Instruct-v0.2 47.4%
  20. 20 CodeLlama-13b-Instruct-hf 42.6%
  21. 21 Code Llama 34B Instruct 41.6%
  22. 22 DeepSeek-V2-Lite-Chat 41.6%
  23. 23 Phi-3-small-128k-instruct 39.6%
  24. 24 Qwen1.5-32B-Chat 33.8%
  25. 25 CodeLlama-7b-Instruct-hf 28.2%
  26. 26 Qwen1.5-14B-Chat 26%
  27. 27 Magicoder-S-DS-6.7B 23.2%
  28. 28 Phi-3-mini-128k-instruct 22.4%
  29. 29 Mistral-7B-Instruct-v0.1 11%
  30. 30 deepseek-coder-6.7b-instruct 10.6%
  31. 31 Qwen1.5-7B-Chat 2.80%
  32. 32 codegemma-7b-it 2.20%

Source: Official RepoQA leaderboard

#EntryScoreSettingReleasedRun onSource
1 Claude 3 Opus 90.6% Feb 2024 May 2024 Official leaderboard
2 GPT-4o May 2024 90.6% May 2024 May 2024 Official leaderboard
3 Gemini 1.5 Pro May 2024 90.6% May 2024 May 2024 Official leaderboard
4 Gemini 1.5 Flash May 2024 90% May 2024 May 2024 Official leaderboard
5 Claude 3 Sonnet 87.4% Feb 2024 May 2024 Official leaderboard
6 DeepSeek-V2 (MoE-236B, May 2024) 83.4% May 2024 May 2024 Official leaderboard
7 Llama 3-70B 82.2% Apr 2024 May 2024 Official leaderboard
8 Claude 3 Haiku 81.8% Mar 2024 May 2024 Official leaderboard
9 GPT-4 Turbo Apr 2024 76.4% Apr 2024 May 2024 Official leaderboard
10 Mixtral 8x7B 68% Dec 2023 May 2024 Official leaderboard
11 Mixtral 8x22B 67.8% Apr 2024 May 2024 Official leaderboard
12 Qwen1.5-72B 67% Feb 2024 May 2024 Official leaderboard
13 Phi-3-medium-128k-instruct 63.2% May 2024 May 2024 Official leaderboard
14 CodeQwen1.5-7B-Chat 62.8% May 2024 Official leaderboard
15 Mistral 7B v0.3 62% Sep 2023 May 2024 Official leaderboard
16 GPT-3.5 Turbo Jan 2024 60.4% Jan 2024 May 2024 Official leaderboard
17 Llama 3-8B 53.6% Apr 2024 May 2024 Official leaderboard
18 deepseek-coder-33b-instruct 48.4% May 2024 Official leaderboard
19 Mistral-7B-Instruct-v0.2 47.4% Dec 2023 May 2024 Official leaderboard
20 CodeLlama-13b-Instruct-hf 42.6% May 2024 Official leaderboard
21 Code Llama 34B Instruct 41.6% Aug 2023 May 2024 Official leaderboard
22 DeepSeek-V2-Lite-Chat 41.6% May 2024 Official leaderboard
23 Phi-3-small-128k-instruct 39.6% May 2024 Official leaderboard
24 Qwen1.5-32B-Chat 33.8% May 2024 Official leaderboard
25 CodeLlama-7b-Instruct-hf 28.2% May 2024 Official leaderboard
26 Qwen1.5-14B-Chat 26% Feb 2024 May 2024 Official leaderboard
27 Magicoder-S-DS-6.7B 23.2% May 2024 Official leaderboard
28 Phi-3-mini-128k-instruct 22.4% Apr 2024 May 2024 Official leaderboard
29 Mistral-7B-Instruct-v0.1 11% Sep 2023 May 2024 Official leaderboard
30 deepseek-coder-6.7b-instruct 10.6% May 2024 Official leaderboard
31 Qwen1.5-7B-Chat 2.80% Feb 2024 May 2024 Official leaderboard
32 codegemma-7b-it 2.20% May 2024 Official leaderboard
#ModelScoreSettingReleasedRun onSource
1 Claude 3 Opus 90.6% Feb 2024 May 2024 Official leaderboard
2 GPT-4o May 2024 90.6% May 2024 May 2024 Official leaderboard
3 Gemini 1.5 Pro May 2024 90.6% May 2024 May 2024 Official leaderboard
4 Gemini 1.5 Flash May 2024 90% May 2024 May 2024 Official leaderboard
5 Claude 3 Sonnet 87.4% Feb 2024 May 2024 Official leaderboard
6 DeepSeek-V2 (MoE-236B, May 2024) 83.4% May 2024 May 2024 Official leaderboard
7 Llama 3-70B 82.2% Apr 2024 May 2024 Official leaderboard
8 Claude 3 Haiku 81.8% Mar 2024 May 2024 Official leaderboard
9 GPT-4 Turbo Apr 2024 76.4% Apr 2024 May 2024 Official leaderboard
10 Mixtral 8x7B 68% Dec 2023 May 2024 Official leaderboard
11 Mixtral 8x22B 67.8% Apr 2024 May 2024 Official leaderboard
12 Qwen1.5-72B 67% Feb 2024 May 2024 Official leaderboard
13 Phi-3-medium-128k-instruct 63.2% May 2024 May 2024 Official leaderboard
14 Mistral 7B v0.3 62% Sep 2023 May 2024 Official leaderboard
15 GPT-3.5 Turbo Jan 2024 60.4% Jan 2024 May 2024 Official leaderboard
16 Llama 3-8B 53.6% Apr 2024 May 2024 Official leaderboard
17 Mistral-7B-Instruct-v0.2 47.4% Dec 2023 May 2024 Official leaderboard
18 Code Llama 34B Instruct 41.6% Aug 2023 May 2024 Official leaderboard
19 Qwen1.5-14B-Chat 26% Feb 2024 May 2024 Official leaderboard
20 Phi-3-mini-128k-instruct 22.4% Apr 2024 May 2024 Official leaderboard
21 Mistral-7B-Instruct-v0.1 11% Sep 2023 May 2024 Official leaderboard
22 Qwen1.5-7B-Chat 2.80% Feb 2024 May 2024 Official leaderboard
#ModelScoreSettingDateSource
1 Cohere Command A 92.6% Apr 2025 Lab model card
2 Claude 3 Opus 90.6% Feb 2024 Official leaderboard
3 GPT-4o May 2024 90.6% May 2024 Official leaderboard
4 Gemini 1.5 Pro May 2024 90.6% May 2024 Official leaderboard
5 Gemini 1.5 Flash May 2024 90% May 2024 Official leaderboard
6 Step 3.5 Flash 88.5% Feb 2026 Lab model card
7 Claude 3 Sonnet 87.4% Feb 2024 Official leaderboard
8 Phi-3.5-MoE 85% Aug 2024 Lab model card
9 DeepSeek-V2 (MoE-236B, May 2024) 83.4% May 2024 Official leaderboard
10 Llama 3-70B 82.2% Apr 2024 Official leaderboard
11 Claude 3 Haiku 81.8% Mar 2024 Official leaderboard
12 Phi-3.5-mini 77% Aug 2024 Lab model card
13 GPT-4 Turbo Apr 2024 76.4% Apr 2024 Official leaderboard
14 Mixtral 8x7B 68% Dec 2023 Official leaderboard
15 Mixtral 8x22B 67.8% Apr 2024 Official leaderboard
16 Qwen1.5-72B 67% Feb 2024 Official leaderboard
17 Phi-3-medium-128k-instruct 63.2% May 2024 Official leaderboard
18 Mistral 7B v0.3 62% Sep 2023 Official leaderboard
19 GPT-3.5 Turbo Jan 2024 60.4% Jan 2024 Official leaderboard
20 Llama 3-8B 53.6% Apr 2024 Official leaderboard
21 Mistral-7B-Instruct-v0.2 47.4% Dec 2023 Official leaderboard
22 Code Llama 34B Instruct 41.6% Aug 2023 Official leaderboard
23 Qwen1.5-14B-Chat 26% Feb 2024 Official leaderboard
24 Phi-3-mini-128k-instruct 22.4% Apr 2024 Official leaderboard
25 Mistral-7B-Instruct-v0.1 11% Sep 2023 Official leaderboard
26 Qwen1.5-7B-Chat 2.80% Feb 2024 Official leaderboard

Labs report scores for 4 models in their cards. Switch the scores above to rank them together.

Number one over time 2 models have held number one with claims included since its release in June 2024

Lab claims count from the day the card came out, independent runs from the model’s release. We draw one row each for the benchmark’s own leaderboard and what labs claim in their cards.

Anthropic Microsoft Cohere
Own leaderboard Passed 85% in Jun 2024, by Claude 3 Opus
Lab claims Passed 85% in Aug 2024, by Phi-3.5-MoE

Sources: Official RepoQA leaderboard and labs’ model cards

Claude 3 Opus on the official leaderboard passed 85% in February 2024

Models released before it came out already scored that high. 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 Reported by the lab in its model card Best so far
0% 20% 40% 60% 80% 100% 2024 2025 2026 Near the ceiling (85%) Cohere Command A Claude 3 Opus Mixtral 8x7B Mistral 7B v0.3 Code Llama 34B Instruct 0% 20% 40% 60% 80% 100% 2024 2025 2026 Near the ceiling (85%) Cohere Command A Mixtral 8x7B

Sources: Official RepoQA leaderboard and labs’ model cards

Labs dropped it from launch posts once the best score passed 85%

Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.

Cohere
DateLaunch postScoreAs the post writes it
Mar 13, 2025 Cohere Command A RepoQA 32k (chart only)

4 system cards report it, from 3 labs

Besides launch posts, we read the system cards, model cards and technical reports labs publish with a release. They report far more, including safety and frontier-risk tests.

DateDocumentScoreAs the document writes itSection
Feb 11, 2026 Step 3.5 Flash technical report 88.5 RepoQA (Table 5). PaCoRe 88.7 Capabilities
Apr 1, 2025 Cohere Command A technical report 92.6 RepoQA 32K context, threshold 0.8, match accuracy (Table 12) Capabilities
Aug 30, 2024 Phi-3.5-MoE technical report 85 RepoQA, average over Python, C++, Rust, Java, TypeScript, 128k context (Table 1) Capabilities
Aug 30, 2024 Phi-3.5-mini technical report 77 RepoQA, average over Python, C++, Rust, Java, TypeScript, 128k context (Table 1) Capabilities

More in Long context

All 115 in Long context
  • MRCR v2 In use Multi-round coreference: retrieve the n-th of several similar requests hidden in a long synthetic conversation, up to 1M tokens. Muse Spark 1.3 98.5%
  • LongBench v2 In use 503 multiple-choice questions over 8K-2M-word contexts (QA, dialogue, code repos, structured data). Accuracy. Inkling 2 Small 70.6%
  • GraphWalks In use A graph is given as an edge list in long context. The model answers BFS or parent queries, scored by F1. Claude Fable 5 99.96%
  • OpenAI MRCR v2 In use Models read a long synthetic chat that hides 2, 4 or 8 identical writing requests and must reproduce the response to the i-th one. Scored by mean string match ratio per context bin. Gemini 3.7 Flash 89%
  • CL-bench In use Model must learn new knowledge from a supplied long context (rules, procedures, data) and solve tasks. Strict LLM-verified rubrics. GPT-5.4 27.9%
  • AA-LCR 1.1 In use Models answer 100 questions that need reasoning across sets of real documents of about 100K tokens. An LLM equality checker with a fixed system prompt compares each answer with the key. Step 5 Preview 88.3%

Data audit

All 8 checks pass. Every benchmark

Catalog record 2 pass
  • Pass Task access All tasks are public.
  • Pass Confidence Checked against a primary source.
Scores 2 pass 3 notes
  • Pass Independent runs Scores from the official leaderboard (32 entries) and system cards (4 scores).
  • Pass Models scored 26 models we track, plus 10 other entries on its leaderboard.
  • Note Newest score The newest came 9 months ago, in February 2026, for Step 3.5 Flash. That’s expected for a saturated test.
  • Note Frontier models None of the top 10 has a score, which is fine for a retired test. The strongest tested is GPT-4o (#163).
  • Note Headroom Saturated. The best is 92.6%, past 85% since February 2024.
Leaderboard import 3 pass
  • Pass Importer We read the board on evalplus.github.io: 22 rows for models we track and 10 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