MBPPactiveCoding

MBPP: Mostly Basic Programming Problems

Metric: Pass@k (higher is better)Introduced: 2021

974 Python programming problems for evaluating code generation, ranging from beginner to intermediate difficulty.

Models ranked

50

tracked on this benchmark

Score band

92.7 – 10.0

best → lowest tracked

Snapshot trend

-18.60

Jun 25 → Nov 20 · 49 models

Leaderboard

Tracked models ranked by Pass@k (higher is better).

Compare candidates
#Model variant and provenanceScore
1

Configuration: Sarvam-30B

Version: MBPPHarness: Not recordedEvaluator: Sarvam.aiObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Sarvam.ai. First-party HF model card sarvamai/sarvam-30b-gguf (README sha 54e15edb), benchmark table: row 'MBPP', column 'Sarvam-30B': 92.7. Quote: "| MBPP | 92.7 | 81.8 | 78.3 | 58.7 | 91.9 | 94.3 | 91.8 | 95.3 |". Retrieved 2026-11-20.

92.7
2

Configuration: 30B Dense

Version: MBPP (pass@1)Harness: Not recordedEvaluator: IBM ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by IBM Research. First-party HF model card ibm-granite/granite-4.1-30b-base (README sha 9bb22a92), benchmark table (HTML): row 'MBPP', column '30B Dense': 83.60. Setting as printed: pass@1. Quote: "MBPP pass@1 81.48 63.76 83.60". Retrieved 2026-11-20.

83.6
3

Configuration: Seed-Coder-8B-Base

Version: MBPPHarness: Not recordedEvaluator: ByteDanceObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by ByteDance. First-party HF model card ByteDance-Seed/Seed-Coder-8B-Base (README sha 049f8432), benchmark table: row 'MBPP', column 'Seed-Coder-8B-Base': 82.0. Quote: "| MBPP | 70.2 | 79.9 | 79.4 | **82.0** |". Retrieved 2026-11-20.

82.0
4

Configuration: 3B Dense

Version: MBPP (pass@1)Harness: Not recordedEvaluator: IBM ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by IBM Research. First-party HF model card ibm-granite/granite-4.1-3b-base (README sha dacb9cb9), benchmark table (HTML): row 'MBPP', column '3B Dense': 81.48. Setting as printed: pass@1. Quote: "MBPP pass@1 81.48". Retrieved 2026-11-20.

81.5
5

Configuration: Phi-3.5-MoE-instruct

Version: MBPP (3-shot)Harness: Not recordedEvaluator: Microsoft ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Microsoft Research. First-party HF model card microsoft/Phi-3.5-MoE-instruct (README sha 43688451), benchmark table: row 'MBPP (3-shot)', column 'Phi-3.5-MoE-instruct': 80.8. Setting as printed: 3-shot. Quote: "| | MBPP (3-shot) | 80.8 | 68.1 | 69.4 | 69.3 | 77.5 | 84.1 |". Retrieved 2026-11-20.

80.8
6

Configuration: DeepSeek-V3

Version: MBPP (Pass@1) (3-shot; Pass@1)Harness: Not recordedEvaluator: DeepSeekObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by DeepSeek. First-party HF model card deepseek-ai/DeepSeek-V3-Base (README sha afb92e1f), benchmark table: row 'MBPP (Pass@1)', column 'DeepSeek-V3': 75.4. Setting as printed: 3-shot; Pass@1. Quote: "| | MBPP (Pass@1) | 3-shot | 65.0 | 72.6 | 68.4 | **75.4** |". Retrieved 2026-11-20.

75.4
7
Version: MBPP-Sanitized, 3-shot; default TwoTower diffusion decoding at confidence_threshold=0.8, block_size=16, BF16 on 2xH100; evaluator/harness not published on the model cardHarness: Not recordedEvaluator: Not recordedObserved: Jun 25, 2026Confidence: Not recordedSource
74.3
8

Configuration: Qwen2.5-Coder-3B-Instruct

Version: MBPPHarness: Not recordedEvaluator: AlibabaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Alibaba. First-party arXiv HTML tech report https://arxiv.org/html/2409.12186v3; table 'Table 16: The performance of different instruct models on code generation by HumanEval, MBPP, bigcodebench and livecodeb': row 'Qwen2.5-Coder-3B-Instruct / 3B', column 'MBPP': 73.6. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

73.6
9

Configuration: Qwen2.5-Coder-3B

Version: MBPPHarness: Not recordedEvaluator: AlibabaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Alibaba. First-party arXiv HTML tech report https://arxiv.org/html/2409.12186v3; table 'Table 5: Performance of various models on HumanEval, MBPP and the “complete” task of BigCodeBench.': row 'Qwen2.5-Coder-3B / 3B', column 'MBPP': 72.2. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

72.2
10

Configuration: DeepSeek-V2 Chat (RL)

Version: MBPP (RL)Harness: Not recordedEvaluator: DeepSeekObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by DeepSeek. First-party HF model card deepseek-ai/DeepSeek-V2-Chat (README sha 8e3f5f6c), benchmark table: row 'MBPP', column 'DeepSeek-V2 Chat (RL)': 72.0. Setting as printed: RL. Quote: "| **MBPP** | Code | 52.2 | 64.4 | 69.8 | 61.4 | 70.4 | 72.0 |". Retrieved 2026-11-20.

72.0
11

Configuration: Micro Dense

Version: MBPP (pass@1)Harness: Not recordedEvaluator: IBM ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by IBM Research. First-party HF model card ibm-granite/granite-4.0-micro (README sha 56111ae1), benchmark table (HTML): row 'MBPP', column 'Micro Dense': 72. Setting as printed: pass@1. Quote: "MBPP pass@1 72". Retrieved 2026-11-20.

72.0
12

Configuration: Qwen2-57B-A14B

Version: MBPP (0-shot)Harness: Not recordedEvaluator: AlibabaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Alibaba. First-party HF model card Qwen/Qwen2-57B-A14B (README sha f29d6a18), benchmark table: row 'MBPP', column 'Qwen2-57B-A14B': 71.9. Setting as printed: 0-shot. Quote: "|MBPP | - | 63.9 | 65.5 | 64.2 | **71.9** |". Retrieved 2026-11-20.

71.9
13

Configuration: DeepSeek Coder 33B Instruct

Version: MBPPHarness: Not recordedEvaluator: DeepSeekObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by DeepSeek. First-party arXiv HTML tech report https://arxiv.org/html/2401.14196v2; table 'Table 3: Performance of approaches on the Multilingual HumanEval and MBPP Benchmarks.': row 'DeepSeek-Coder-Instruct / 33B', column 'MBPP': 70.0%. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

70.0
14

Configuration: Phi-3.5 Mini-Ins

Version: MBPP (3-shot)Harness: Not recordedEvaluator: Microsoft ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Microsoft Research. First-party HF model card microsoft/Phi-3.5-mini-instruct (README sha 2fe19245), benchmark table: row 'MBPP (3-shot)', column 'Phi-3.5 Mini-Ins': 69.6. Setting as printed: 3-shot. Quote: "| | MBPP (3-shot) | 69.6 | 50.4 | 68.1 | 69.4 | 69.3 | 77.5 | 84.1 |". Retrieved 2026-11-20.

69.6
15

Configuration: Qwen2.5-Coder-1.5B-Instruct

Version: MBPPHarness: Not recordedEvaluator: AlibabaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Alibaba. First-party arXiv HTML tech report https://arxiv.org/html/2409.12186v3; table 'Table 16: The performance of different instruct models on code generation by HumanEval, MBPP, bigcodebench and livecodeb': row 'Qwen2.5-Coder-1.5B-Instruct / 1.5B', column 'MBPP': 69.2. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

69.2
16

Configuration: Qwen2.5-Coder-1.5B

Version: MBPPHarness: Not recordedEvaluator: AlibabaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Alibaba. First-party arXiv HTML tech report https://arxiv.org/html/2409.12186v3; table 'Table 5: Performance of various models on HumanEval, MBPP and the “complete” task of BigCodeBench.': row 'Qwen2.5-Coder-1.5B / 1.5B', column 'MBPP': 69.2. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

69.2
17

Configuration: H 1B Dense

Version: MBPP (pass@1)Harness: Not recordedEvaluator: IBM ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by IBM Research. First-party HF model card ibm-granite/granite-4.0-h-1b (README sha d18cca4c), benchmark table (HTML): row 'MBPP', column 'H 1B Dense': 69. Setting as printed: pass@1. Quote: "MBPP pass@1 48 49 65 69". Retrieved 2026-11-20.

69.0
18

Configuration: DeepSeek-V2 (MoE-236B)

Version: MBPPHarness: Not recordedEvaluator: DeepSeekObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by DeepSeek. First-party HF model card deepseek-ai/DeepSeek-V2 (README sha 4461458f), benchmark table: row 'MBPP', column 'DeepSeek-V2 (MoE-236B)': 66.6. Quote: "| **MBPP** | Code | 68.6 | 64.2 | 57.4 | 66.6 |". Retrieved 2026-11-20.

66.6
19

Configuration: CodeLlama 70B Python

Version: MBPP (pass@1; greedy decoding; 3-shot)Harness: Not recordedEvaluator: AI at MetaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by AI at Meta. First-party arXiv HTML tech report https://arxiv.org/html/2308.12950v3; table 'Table 2: Code Llama pass@ scores on HumanEval and MBPP. The pass@1 scores of our models are computed with greedy decodin': row 'Code Llama - Python / 70B', column 'MBPP': 65.665.6%. Setting as printed: pass@1; greedy decoding; 3-shot. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

65.6
20

Configuration: DeepSeek Coder 6.7B Instruct

Version: MBPPHarness: Not recordedEvaluator: DeepSeekObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by DeepSeek. First-party arXiv HTML tech report https://arxiv.org/html/2401.14196v2; table 'Table 3: Performance of approaches on the Multilingual HumanEval and MBPP Benchmarks.': row 'DeepSeek-Coder-Instruct / 6.7B', column 'MBPP': 65.4%. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

65.4
21

Configuration: 1B Dense

Version: MBPP (pass@1)Harness: Not recordedEvaluator: IBM ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by IBM Research. First-party HF model card ibm-granite/granite-4.0-1b (README sha 6a7381ba), benchmark table (HTML): row 'MBPP', column '1B Dense': 65. Setting as printed: pass@1. Quote: "MBPP pass@1 48 49 65". Retrieved 2026-11-20.

65.0
22

Configuration: 8B Dense

Version: MBPP (pass@1)Harness: Not recordedEvaluator: IBM ResearchObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by IBM Research. First-party HF model card ibm-granite/granite-4.1-8b-base (README sha cbc32f94), benchmark table (HTML): row 'MBPP', column '8B Dense': 63.76. Setting as printed: pass@1. Quote: "MBPP pass@1 81.48 63.76". Retrieved 2026-11-20.

63.8
23

Configuration: InternLM2-20B

Version: MBPP(Sanitized)Harness: Not recordedEvaluator: Intern-AIObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Intern-AI. First-party HF model card internlm/internlm2-20b (README sha af48d6d5), benchmark table: row 'MBPP(Sanitized)', column 'InternLM2-20B': 63.0. Setting as printed: Sanitized. Quote: "| MBPP(Sanitized) | 51.8 | 51.4 | 63.0 | 65.8 | 78.9 | 79.0 |". Retrieved 2026-11-20.

63.0
24

Configuration: CodeLlama 34B Python

Version: MBPP (pass@1; greedy decoding; 3-shot)Harness: Not recordedEvaluator: AI at MetaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by AI at Meta. First-party arXiv HTML tech report https://arxiv.org/html/2308.12950v3; table 'Table 2: Code Llama pass@ scores on HumanEval and MBPP. The pass@1 scores of our models are computed with greedy decodin': row 'Code Llama - Python / 34B', column 'MBPP': 56.256.2%. Setting as printed: pass@1; greedy decoding; 3-shot. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

56.2
25

Configuration: Qwen2.5-Coder-0.5B

Version: MBPPHarness: Not recordedEvaluator: AlibabaObserved: Nov 20, 2026Confidence: self-reportedSource

Notes: Self-reported by Alibaba. First-party arXiv HTML tech report https://arxiv.org/html/2409.12186v3; table 'Table 5: Performance of various models on HumanEval, MBPP and the “complete” task of BigCodeBench.': row 'Qwen2.5-Coder-0.5B / 0.5B', column 'MBPP': 52.9. Machine-checked against the captured HTML table (colspan/rowspan expanded). Retrieved 2026-11-20.

52.9
Showing the top 25 of 50 tracked models. Browse all models.

How to read this benchmark

This benchmark scores models where higher is better. Use scores for directional filtering and shortlisting, not universal quality ranking; then validate pricing, context window, provider availability, and fit for your workload.

Trust this score when

  • There is a fresh timestamped snapshot (or multiple snapshots) for this benchmark.
  • The model list covers the same version family you can actually deploy today.
  • Top candidates overlap with your required routing and feature requirements.

Be cautious when

  • There is only one benchmark snapshot or the dataset appears stale.
  • The benchmark metric direction is opposite of your decision objective.
  • The score difference between options is narrow and likely within implementation variance.

Related benchmarks

Last reviewed: Apr 15, 2026