Leetcode (hard)
GPT-4 Mar 2023 6.70% 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.
Made by OpenAI (Leetcode problems) Released Mar 2023 Competitive programming Tasks kept private Last in a system card Mar 2023
Last model added Mar 2023
- Level
- University Undergraduates and entry-level professionals
- Scored
- Checked automatically A program checks the result against an answer key, unit tests or the expected final state.
- Answers
- Code A program or patch run against tests.
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 GPT-4 Mar 2023 6.70%
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-4 Mar 2023 | 6.70% | Mar 2023 | 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
Labs report it only in system cards
We read the headline results of 479 launch posts from 51 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.
| Date | Document | Score | As the document writes it | Section |
|---|---|---|---|---|
| 14 Mar 2023 | GPT-4 technical report | 6.7 | Leetcode (hard), 3 / 45 solved (Table 1, GPT-4 with vision) | Capabilities |
More 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%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Opus 5.5 93.9%
- 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%
- 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