Benchmark Almanac

Natural2Code

DiffusionGemma 26B A4B 94% leads since Jul 2026 Dropped

Models write Python functions in HumanEval format from new prompts kept off the web. Unit tests decide correctness.

In-house Google DeepMind set that was never released, built to avoid web leakage.

Made by Google DeepMind Released Dec 2023 Function-level problems Tasks kept private Last in a launch post Mar 2025 , dropped after it saturated Last model added Jul 2026
Level
School Students, from grade school to high school
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.
9
Models scored in lab cards
5
Launch posts list it, from 1 lab
5
System cards report it, from 1 lab

DiffusionGemma 26B A4B leads with 94% among models released by Jun 2026

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.

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

  1. 1 DiffusionGemma 26B A4B 94%
  2. 2 Gemini 2.0 Flash Dec 2024 92.9%
  3. 3 Gemma 3 27B 84.5%
  4. 4 Gemini 1.5 Pro May 2024 82.6%
  5. 5 Gemma 3 12B 80.7%
  6. 6 Gemini 1.5 Pro Feb 2024 77.7%
  7. 7 Gemini 1.0 Ultra 74.9%
  8. 8 Gemma 3 4B 70.3%
  9. 9 Gemma 3 1B 56%
#ModelScoreSettingDateSource
1 DiffusionGemma 26B A4B 94% Jul 2026 Model card
2 Gemini 2.0 Flash Dec 2024 92.9% Dec 2024 Model card
3 Gemma 3 27B 84.5% Mar 2025 Model card
4 Gemini 1.5 Pro May 2024 82.6% May 2024 Model card
5 Gemma 3 12B 80.7% Mar 2025 Model card
6 Gemini 1.5 Pro Feb 2024 77.7% Feb 2024 Model card
7 Gemini 1.0 Ultra 74.9% Dec 2023 Model card
8 Gemma 3 4B 70.3% Mar 2025 Model card
9 Gemma 3 1B 56% Mar 2025 Model card

5 models have held number one since its release in Dec 2023

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

Google DeepMind
Lab claims Passed 85% in Dec 2024, by Gemini 2.0 Flash

The best score passed 85% in Dec 2024

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 Best so far
0% 20% 40% 60% 80% 100% 2024 2025 2026 Near the ceiling (85%) DiffusionGemma 26B A4B Gemini 2.0 Flash Gemini 1.5 Pro Gemini 1.5 Pro 0% 20% 40% 60% 80% 100% 2024 2025 2026 Near the ceiling (85%) DiffusionGemma 26B A4B Gemini 2.0 Flash

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.

Google DeepMind
DateLaunch postScoreAs the post writes it
12 Mar 2025 Gemma 3 27B 84.5 Natural2Code 0-shot (IT)
11 Dec 2024 Gemini 2.0 Flash 92.9 Natural2Code
14 May 2024 Gemini 1.5 Pro 82.6 Natural2Code chat preamble, 0-shot
15 Feb 2024 Gemini 1.5 Pro 77.7 Natural2Code chat preamble, 0-shot
6 Dec 2023 Gemini 1.0 Ultra 74.9 Natural2Code, 0-shot

5 system cards report it, from 1 lab

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
31 Jul 2026 DiffusionGemma 26B A4B technical report 94 Natural2Code (internal), TD, 90.1 no-think (Table 3) Capabilities
25 Mar 2025 Gemma 3 4B technical report 70.3 N2C (Natural2Code), IT, 0-shot pass@1 (Table 18) Capabilities
25 Mar 2025 Gemma 3 27B technical report 84.5 N2C (Natural2Code), IT, 0-shot pass@1 (Table 18) Capabilities
25 Mar 2025 Gemma 3 1B technical report 56 N2C (Natural2Code), IT, 0-shot pass@1 (Table 18) Capabilities
25 Mar 2025 Gemma 3 12B technical report 80.7 N2C (Natural2Code), IT, 0-shot pass@1 (Table 18) Capabilities

More in Coding

All 243 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