Benchmark Almanac

Leetcode (hard)

Only in system cards

Models solve 45 hard Leetcode problems that OpenAI selected. Scored as problems solved.

In-house OpenAI problem set from the GPT-4 Technical Report exam table.

Released
March 2023
Kind
Competitive programming
Level
University
Scored
Checked automatically
Answers
Code
Tasks
Kept private
Measures
Capability
Language
English
In and out
Text → Code
Interaction
Single turn
Items from
Another benchmark
Refresh
One fixed set
Strongest model tested
GPT-4 Mar 2023 #182 on the capability index
Last in a system card
March 2023
Last model added
March 2023
1
Model scored in lab cards
1
System card reports it, from 1 lab

GPT-4 leads with 6.70%

Best score per model as labs report them in their own cards, drawn striped. Labs pick their own settings, so these compare less cleanly than independent runs.

  1. 1 GPT-4 Mar 2023 6.70%

Source: Labs’ model cards

#ModelScoreSettingDateSource
1 GPT-4 Mar 2023 6.70% Mar 2023 Lab model card

Scores over time

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

Reported by the lab in its model card
0% 20% 40% 60% 80% 100% 2023 Near the ceiling (85%) GPT-4 0% 20% 40% 60% 80% 100% 2023 Near the ceiling (85%) GPT-4

Source: Labs’ model cards

Labs report it only in system cards

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

One system card reports it

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
Mar 14, 2023 GPT-4 technical report 6.7 Leetcode (hard), 3 / 45 solved (Table 1, GPT-4 with vision) Capabilities

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

All 4 checks pass. Every benchmark

Catalog record 2 pass
  • Pass Task access The tasks are private.
  • Pass Confidence Checked against a primary source.
Scores 1 pass 4 notes
  • Note Independent runs Only labs’ own numbers, as expected for an in-house eval. Scores from system cards (1 score).
  • Note Models scored Only 1 model we track.
  • Note Newest score The newest came 3 years ago, in March 2023, for GPT-4. Only the lab that runs it can add scores.
  • Note Frontier models None of the top 10 has a score, which is fine for an in-house eval. The strongest tested is GPT-4 (#182).
  • Pass Headroom The best is 6.70%, under 85%, so it still separates models.
Leaderboard import 1 note
  • Note Importer No public leaderboard to read.
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