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
Strongest model tested
GPT-4 Mar 2023 #180 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. 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 522 launch posts from 52 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 282 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