Benchmark Almanac

MBPP

Sarvam 30B 92.7% leads since Mar 2026 Fading

Models write short Python functions from a one-line task description. A solution counts as correct if it passes the task's three assert tests.

EvalPlus released MBPP+ with many more tests per task because the original three tests miss wrong solutions.

In the authors’ words

This paper explores the limits of the current generation of large language models for program synthesis in general purpose programming languages. We evaluate a collection of such models (with between 244M and 137B parameters) on two new benchmarks, MBPP and MathQA-Python, in both the few-shot and fine-tuning regimes. Our benchmarks are designed to measure the ability of these models to synthesize short Python programs from natural language descriptions. The Mostly Basic Programming Problems (MBPP) dataset contains 974 programming tasks, designed to be solvable by entry-level programmers. The MathQA-Python dataset, a Python version of the MathQA benchmark, contains 23914 problems that evaluate the ability of the models to synthesize code from more complex text. On both datasets, we find that synthesis performance scales log-linearly with model size. Our largest models, even without finetuning on a code dataset, can synthesize solutions to 59.6 percent of the problems from MBPP using few-shot learning with a well-designed prompt. Fine-tuning on a held-out portion of the dataset improves performance by about 10 percentage points across most model sizes. On the MathQA-Python dataset, the largest fine-tuned model achieves 83.8 percent accuracy. Going further, we study the model's ability to engage in dialog about code, incorporating human feedback to improve its solutions. We find that natural language feedback from a human halves the error rate compared to the model's initial prediction. Additionally, we conduct an error analysis to shed light on where these models fall short and what types of programs are most difficult to generate. Finally, we explore the semantic grounding of these models by fine-tuning them to predict the results of program execution. We find that even our best models are generally unable to predict the output of a program given a specific input.

Abstract of Program Synthesis with Large Language Models (arXiv:2108.07732, CC0)
Made by Google Research Released Aug 2021 Function-level problems All tasks public Last in a launch post Apr 2026 , dropped after it saturated Last model added Apr 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.
66
Models scored in lab cards
41
Launch posts list it, from 17 labs
50
System cards report it, from 11 labs

Sarvam 30B leads with 92.7% among models released by Apr 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 Apr 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 Sarvam 30B 92.7%
  2. 2 Llama-3.3-Nemotron-Super-49B-v1 91.3%
  3. 3 Llama 3.1-405B 88.6%
  4. 4 Qwen2.5-72B 88.2%
  5. 5 Llama 3.3 70B Instruct 87.6%
  6. 6 Claude 3 Opus 86.4%
  7. 7 Llama 3.1-70B 86%
  8. 8 Granite 4.1 30B 85.5%
  9. 9 Seed-Coder-8B-Instruct 85.2%
  10. 10 Qwen2.5-32B 84%
  11. 11 Granite 4.0 H Small 84%
  12. 12 Falcon-H1-34B 83.9%
  13. 13 Qwen-Turbo 82.8%
  14. 14 Qwen2.5-14B 82%
  15. 15 Phi-3.5-MoE 80.8%
  16. 16 Claude 3 Haiku 80.4%
  17. 17 Qwen2-72B 80.2%
  18. 18 Codestral 80.2%
  19. 19 Qwen2.5-14B-Instruct-1M 80.2%
  20. 20 ERNIE-4.5-21B-A3B-Thinking 80.2%
  21. 21 Mistral Large 2 Jul 2024 80%
  22. 22 Claude 3 Sonnet 79.4%
  23. 23 Seed Diffusion Preview 79.4%
  24. 24 Qwen2.5-7B 79.2%
  25. 25 Llama 4 Maverick 77.6%
  26. 26 Mercury Coder Small 76.6%
  27. 27 DeepSeek-V3 75.4%
  28. 28 phi-3-medium 14B 75.2%
  29. 29 Sarvam-M 75%
  30. 30 Mistral Small 3.1 74.7%
  31. 31 Gemma 3 27B 74.4%
  32. 32 Code World Model (CWM) 73.4%
  33. 33 Qwen2.5-Omni-7B 73.2%
  34. 34 Mistral Large 73.1%
  35. 35 Gemma 3 12B 73%
  36. 36 Llama 3.1-8B 72.8%
  37. 37 DeepSeek-V2 (MoE-236B, May 2024) 72%
  38. 38 phi-3-small 7.4B 71.7%
  39. 39 MiniMax-Text-01 71.7%
  40. 40 phi-3-mini 3.8B 70%
  41. 41 Mistral Small 3 69.6%
  42. 42 Phi-3.5-mini 68.6%
  43. 43 Llama 4 Scout 67.8%
  44. 44 Gemma 2 27B 67.4%
  45. 45 Phi-4 Mini 65.3%
  46. 46 granite-4.0-1b 65%
  47. 47 Moonlight-16B-A3B 63.8%
  48. 48 Gemma 3n E4B 63.6%
  49. 49 Gemma 3 4B 63.2%
  50. 50 DeepSeek LLM 67B 61.4%
  51. 51 Mixtral 8x7B 60.7%
  52. 52 Gemma 2 9B 59.2%
  53. 53 Phi-2 59.1%
  54. 54 Qwen1.5-72B 53.4%
  55. 55 ChatGLM3-6B 52.4%
  56. 56 Mistral 7B v0.1 47.5%
  57. 57 Apertus 70B 47%
  58. 58 Qwen-14B 46.4%
  59. 59 Llama 2-70B 45%
  60. 60 Gemma 7B 44.4%
  61. 61 Qwen-7B 35.8%
  62. 62 Gemma 3 1B 35.2%
  63. 63 Llama 2-34B 33%
  64. 64 Llama 2-13B 30.6%
  65. 65 Gemma 2B 29.2%
  66. 66 Llama 2-7B 20.8%
#ModelScoreSettingDateSource
1 Sarvam 30B 92.7% Mar 2026 Model card
2 Llama-3.3-Nemotron-Super-49B-v1 91.3% Mar 2025 Model card
3 Llama 3.1-405B 88.6% Jul 2024 Model card
4 Qwen2.5-72B 88.2% Sep 2024 Model card
5 Llama 3.3 70B Instruct 87.6% Dec 2024 Model card
6 Claude 3 Opus 86.4% Mar 2024 Model card
7 Llama 3.1-70B 86% Jul 2024 Model card
8 Granite 4.1 30B 85.5% Apr 2026 Model card
9 Seed-Coder-8B-Instruct 85.2% May 2025 Model card
10 Qwen2.5-32B 84% Dec 2024 Model card
11 Granite 4.0 H Small 84% Oct 2025 Model card
12 Falcon-H1-34B 83.9% May 2025 Model card
13 Qwen-Turbo 82.8% Dec 2024 Model card
14 Qwen2.5-14B 82% Dec 2024 Model card
15 Phi-3.5-MoE 80.8% Aug 2024 Model card
16 Claude 3 Haiku 80.4% Mar 2024 Model card
17 Qwen2-72B 80.2% Jun 2024 Model card
18 Codestral 80.2% Jan 2025 Model card
19 Qwen2.5-14B-Instruct-1M 80.2% Jan 2025 Model card
20 ERNIE-4.5-21B-A3B-Thinking 80.2% Sep 2025 Model card
21 Mistral Large 2 Jul 2024 80% Jul 2024 Model card
22 Claude 3 Sonnet 79.4% Mar 2024 Model card
23 Seed Diffusion Preview 79.4% Jul 2025 Model card
24 Qwen2.5-7B 79.2% Dec 2024 Model card
25 Llama 4 Maverick 77.6% Apr 2025 Model card
26 Mercury Coder Small 76.6% Feb 2025 Model card
27 DeepSeek-V3 75.4% Dec 2024 Model card
28 phi-3-medium 14B 75.2% Aug 2024 Model card
29 Sarvam-M 75% May 2025 Model card
30 Mistral Small 3.1 74.7% Mar 2025 Model card
31 Gemma 3 27B 74.4% Mar 2025 Model card
32 Code World Model (CWM) 73.4% Sep 2025 Model card
33 Qwen2.5-Omni-7B 73.2% Mar 2025 Model card
34 Mistral Large 73.1% Feb 2024 Model card
35 Gemma 3 12B 73% Mar 2025 Model card
36 Llama 3.1-8B 72.8% Jul 2024 Model card
37 DeepSeek-V2 (MoE-236B, May 2024) 72% May 2024 Model card
38 phi-3-small 7.4B 71.7% Aug 2024 Model card
39 MiniMax-Text-01 71.7% Jan 2025 Model card
40 phi-3-mini 3.8B 70% Aug 2024 Model card
41 Mistral Small 3 69.6% Jan 2025 Model card
42 Phi-3.5-mini 68.6% Aug 2024 Model card
43 Llama 4 Scout 67.8% Apr 2025 Model card
44 Gemma 2 27B 67.4% Jul 2024 Model card
45 Phi-4 Mini 65.3% Mar 2025 Model card
46 granite-4.0-1b 65% Oct 2025 Model card
47 Moonlight-16B-A3B 63.8% Feb 2025 Model card
48 Gemma 3n E4B 63.6% Jun 2025 Model card
49 Gemma 3 4B 63.2% Mar 2025 Model card
50 DeepSeek LLM 67B 61.4% Jan 2024 Model card
51 Mixtral 8x7B 60.7% Dec 2023 Model card
52 Gemma 2 9B 59.2% Jul 2024 Model card
53 Phi-2 59.1% Dec 2023 Model card
54 Qwen1.5-72B 53.4% Feb 2024 Model card
55 ChatGLM3-6B 52.4% Oct 2023 Model card
56 Mistral 7B v0.1 47.5% Sep 2023 Model card
57 Apertus 70B 47% Sep 2025 Model card
58 Qwen-14B 46.4% Sep 2023 Model card
59 Llama 2-70B 45% Jul 2023 Model card
60 Gemma 7B 44.4% Feb 2024 Model card
61 Qwen-7B 35.8% Sep 2023 Model card
62 Gemma 3 1B 35.2% Mar 2025 Model card
63 Llama 2-34B 33% Jul 2023 Model card
64 Llama 2-13B 30.6% Jul 2023 Model card
65 Gemma 2B 29.2% Mar 2024 Model card
66 Llama 2-7B 20.8% Jul 2023 Model card

10 models have held number one since 2023

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

Meta Mistral AI Z.ai DeepSeek Anthropic NVIDIA Sarvam AI
Lab claims Passed 85% in Mar 2024, by Claude 3 Opus
Sarvam 30B 92.7%

The best score passed 85% in Mar 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%) Sarvam 30B Llama-3.3-Nemotron-Super-49B-v1 Llama 3.1-405B Mistral Large DeepSeek LLM 67B ChatGLM3-6B Mistral 7B v0.1 0% 20% 40% 60% 80% 100% 2024 2025 2026 Near the ceiling (85%) Sarvam 30B Llama 3.1-405B

Labs headline it less often now, last in Apr 2026

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.

Qwen
Mistral AI
Z.ai
Microsoft
Google DeepMind
Anthropic
DeepSeek
Meta
MiniMax
Moonshot AI
Inception Labs
NVIDIA
ByteDance Seed
Technology Innovation Institute
Sarvam AI
Baidu
IBM
DateLaunch postScoreAs the post writes it
29 Apr 2026 Granite 4.1 30B 85.5 MBPP (pass@1)
6 Mar 2026 Sarvam 30B 92.7 MBPP
28 Oct 2025 granite-4.0-1b 65 MBPP (pass@1)
2 Oct 2025 Granite 4.0 H Small 84 MBPP (pass@1)
9 Sep 2025 ERNIE-4.5-21B-A3B-Thinking 80.2 MBPP (Pass@1)
31 Jul 2025 Seed Diffusion Preview 79.4 Mbpp (Figure 1, equals MBXP Python)
26 Jun 2025 Gemma 3n E4B 63.6 MBPP pass@1 3-shot (IT)
23 May 2025 Sarvam-M 75 MBPP (0.75)
20 May 2025 Falcon-H1-34B 83.9 MBPP
8 May 2025 Seed-Coder-8B-Instruct 85.2 MBPP
5 Apr 2025 Llama 4 Scout 67.8 MBPP (3-shot, pass@1) [pretrained]
5 Apr 2025 Llama 4 Maverick 77.6 MBPP (3-shot, pass@1) [pretrained]
27 Mar 2025 Qwen2.5-Omni-7B 73.2 MBPP
18 Mar 2025 Llama-3.3-Nemotron-Super-49B-v1 91.3 MBPP 0-shot (reasoning on)
17 Mar 2025 Mistral Small 3.1 74.7 MBPP
12 Mar 2025 Gemma 3 27B 74.4 MBPP 3-shot (IT); PT = 65.6
26 Feb 2025 Mercury Coder Small 76.6 MBPP
22 Feb 2025 Moonlight-16B-A3B 63.8 MBPP
30 Jan 2025 Mistral Small 3 69.6 MBPP pass@1 [base]
28 Jan 2025 Qwen2.5-Max MBPP
15 Jan 2025 MiniMax-Text-01 71.7 MBPP +
13 Jan 2025 Codestral 80.2 MBPP
26 Dec 2024 DeepSeek-V3 75.4 MBPP (Pass@1)
6 Dec 2024 Llama 3.3 70B Instruct 87.6 MBPP EvalPlus (base), 0-shot, pass@1
19 Sep 2024 Qwen2.5-72B 88.2 Best of MBPP / MBPP+
20 Aug 2024 Phi-3.5-MoE 80.8 MBPP (3-shot)
24 Jul 2024 Mistral Large 2 80 Best of MBPP Base / MBPP Plus
23 Jul 2024 Llama 3.1-405B 88.6 MBPP EvalPlus (0-shot)
27 Jun 2024 Gemma 2 27B 62.6 MBPP (3-shot)
7 Jun 2024 Qwen2-72B 80.2 MBPP
7 May 2024 DeepSeek-V2 (MoE-236B, May 2024) 72 MBPP
22 Apr 2024 phi-3-medium 14B 74.5 MBPP (3-Shot)
4 Mar 2024 Claude 3 Opus 86.4 MBPP (Pass@1)
26 Feb 2024 Mistral Large 73.1 MBPP (pass@1)
21 Feb 2024 Gemma 7B 44.4 MBPP (3-shot)
5 Feb 2024 Qwen1.5-72B 53.4 MBPP
12 Dec 2023 Phi-2 59.1 MBPP, Table 2
11 Dec 2023 Mixtral 8x7B 60.7 MBPP (pass@1)
27 Oct 2023 ChatGLM3-6B 52.4 MBPP
27 Sep 2023 Mistral 7B v0.1 47.5 MBPP (hand-verified subset)
25 Sep 2023 Qwen-14B 40.8 MBPP (3-shot)

50 system cards report it, from 11 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
30 Sep 2025 Code World Model (CWM) technical report 73.4 MBPP, without reasoning (Table 13) Capabilities
17 Sep 2025 Apertus 70B technical report 47 MBPP (Pass@1) (Table 18) Capabilities
4 Aug 2025 Seed Diffusion Preview technical report 79.4 Mbpp (Figure 1), equal to MBXP Python in Table 2 Capabilities
30 Jul 2025 Falcon-H1-34B technical report 83.9 MBPP pass@1 (Table 24) Capabilities
17 Jun 2025 Mercury Coder Small technical report 76.6 MBPP, pass@1 (Table 1) Capabilities
4 Jun 2025 Seed-Coder-8B-Instruct technical report 85.2 MBPP, EvalPlus (Table 7) Capabilities
5 Apr 2025 Llama 4 Scout model card 67.8 MBPP, 3-shot, pass@1, pretrained (Pre-trained models table) Capabilities
5 Apr 2025 Llama 4 Maverick model card 77.6 MBPP, 3-shot, pass@1, pretrained (Pre-trained models table) Capabilities
26 Mar 2025 Qwen2.5-Omni-7B technical report 73.2 MBPP (Table 1) Capabilities
25 Mar 2025 Gemma 3 4B technical report 63.2 MBPP, IT, 3-shot pass@1 (Table 18) Capabilities
25 Mar 2025 Gemma 3 27B technical report 74.4 MBPP, IT, 3-shot pass@1 (Table 18) Capabilities
25 Mar 2025 Gemma 3 1B technical report 35.2 MBPP, IT, 3-shot pass@1 (Table 18) Capabilities
25 Mar 2025 Gemma 3 12B technical report 73 MBPP, IT, 3-shot pass@1 (Table 18) Capabilities
3 Mar 2025 Phi-4 Mini technical report 65.3 MBPP (3-Shot) (Tables 7 and 8) Capabilities
26 Jan 2025 Qwen2.5-14B-Instruct-1M technical report 80.2 MBPP (Table 6) Capabilities
19 Dec 2024 Qwen2.5-7B technical report 79.2 MBPP, Qwen2.5-7B-Instruct (Table 8) Capabilities
19 Dec 2024 Qwen2.5-72B technical report 88.2 MBPP, Qwen2.5-72B-Instruct (Table 6) Capabilities
19 Dec 2024 Qwen2.5-32B technical report 84 MBPP, Qwen2.5-32B-Instruct (Table 7) Capabilities
19 Dec 2024 Qwen2.5-14B technical report 82 MBPP, Qwen2.5-14B-Instruct (Table 7) Capabilities
19 Dec 2024 Qwen-Turbo technical report 82.8 MBPP, Qwen2.5-Turbo (Table 7) Capabilities
6 Dec 2024 Llama 3.3 70B Instruct model card 87.6 MBPP EvalPlus (base), 0-shot, pass@1 (Instruction tuned models table) Capabilities
23 Nov 2024 Llama 3.1-8B technical report 72.8 MBPP EvalPlus (0-shot), post-trained (Table 2). Plain MBPP = 60.8 (Table 18) Capabilities
23 Nov 2024 Llama 3.1-70B technical report 86 MBPP EvalPlus (0-shot), post-trained (Table 2). Plain MBPP = 75.4 (Table 18) Capabilities
23 Nov 2024 Llama 3.1-405B technical report 88.6 MBPP EvalPlus (0-shot), post-trained (Table 2). Plain MBPP = 78.8 (Table 18) Capabilities
30 Aug 2024 phi-3-small 7.4B technical report 71.7 MBPP (3-Shot) (Section 3 table) Capabilities
30 Aug 2024 phi-3-mini 3.8B technical report 70 MBPP (3-Shot) (Section 3 table) Capabilities
30 Aug 2024 phi-3-medium 14B technical report 75.2 MBPP (3-Shot) (Section 3 table) Capabilities
30 Aug 2024 Phi-3.5-MoE technical report 80.8 MBPP (3-shot) (Table 3) Capabilities
30 Aug 2024 Phi-3.5-mini technical report 68.6 MBPP (3-shot) (Table 3) Capabilities
31 Jul 2024 Gemma 2 9B technical report 59.2 MBPP, IT, 3-shot (Table 17). PT 3-shot (Table 13): 52.4 Capabilities
31 Jul 2024 Gemma 2 27B technical report 67.4 MBPP, IT, 3-shot (Table 17). PT 3-shot (Table 13): 62.6 Capabilities
23 Jul 2024 Llama 3.1-8B model card 72.8 MBPP ++ base version, 0-shot, pass@1, instruction tuned (Instruction tuned models table) Capabilities
23 Jul 2024 Llama 3.1-70B model card 86 MBPP ++ base version, 0-shot, pass@1, instruction tuned (Instruction tuned models table) Capabilities
23 Jul 2024 Llama 3.1-405B model card 88.6 MBPP ++ base version, 0-shot, pass@1, instruction tuned (Instruction tuned models table) Capabilities
15 Jul 2024 Qwen2-72B technical report 80.2 MBPP, Qwen2-72B-Instruct (Table 6) Capabilities
7 May 2024 DeepSeek-V2 (MoE-236B, May 2024) technical report 72 MBPP 3-shot, DeepSeek-V2 Chat (RL) (Table 3) Capabilities
13 Mar 2024 Gemma 7B technical report 44.4 MBPP, PT, 3-shot (Table 6). 54.5 on the Mistral split Capabilities
13 Mar 2024 Gemma 2B technical report 29.2 MBPP, PT, 3-shot (Table 6) Capabilities
4 Mar 2024 Claude 3 Sonnet model card 79.4 MBPP, Pass@1 (Table 1) Capabilities
4 Mar 2024 Claude 3 Opus model card 86.4 MBPP, Pass@1 (Table 1) Capabilities
4 Mar 2024 Claude 3 Haiku model card 80.4 MBPP, Pass@1 (Table 1) Capabilities
8 Jan 2024 Mixtral 8x7B technical report 60.7 MBPP (pass@1), hand-verified subset, 3-shot (Table 3; same in Table 2) Capabilities
5 Jan 2024 DeepSeek LLM 67B technical report 61.4 MBPP, DeepSeek 67B Chat (Table 6) Capabilities
10 Oct 2023 Mistral 7B v0.1 technical report 47.5 MBPP, hand-verified subset, 3-shot (Table 2) Capabilities
28 Sep 2023 Qwen-7B technical report 35.8 MBPP pass@1 (Table 10) Capabilities
28 Sep 2023 Qwen-14B technical report 46.4 MBPP pass@1 (Table 10) Capabilities
19 Jul 2023 Llama 2-7B technical report 20.8 MBPP pass@1, 3-shot, pretrained (Table 21). pass@80 = 62.8 Capabilities
19 Jul 2023 Llama 2-70B technical report 45 MBPP pass@1, 3-shot, pretrained (Table 21). pass@80 = 81.4 Capabilities
19 Jul 2023 Llama 2-34B technical report 33 MBPP pass@1, 3-shot, pretrained (Table 21). pass@80 = 76.1 Capabilities
19 Jul 2023 Llama 2-13B technical report 30.6 MBPP pass@1, 3-shot, pretrained (Table 21). pass@80 = 69.0 Capabilities

Versions

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