MBPP: Mostly Basic Programming Problems
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).
Configuration: Sarvam-30B
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.
Configuration: 30B Dense
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.
Configuration: Seed-Coder-8B-Base
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.
Configuration: 3B Dense
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.
Configuration: Phi-3.5-MoE-instruct
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.
Configuration: DeepSeek-V3
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.
Configuration: Qwen2.5-Coder-3B-Instruct
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.
Configuration: Qwen2.5-Coder-3B
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.
Configuration: DeepSeek-V2 Chat (RL)
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.
Configuration: Micro Dense
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.
Configuration: Qwen2-57B-A14B
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.
Configuration: DeepSeek Coder 33B Instruct
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.
Configuration: Phi-3.5 Mini-Ins
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.
Configuration: Qwen2.5-Coder-1.5B-Instruct
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.
Configuration: Qwen2.5-Coder-1.5B
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.
Configuration: H 1B Dense
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.
Configuration: DeepSeek-V2 (MoE-236B)
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.
Configuration: CodeLlama 70B Python
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.
Configuration: DeepSeek Coder 6.7B Instruct
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.
Configuration: 1B Dense
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.
Configuration: 8B Dense
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.
Configuration: InternLM2-20B
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.
Configuration: CodeLlama 34B Python
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.
Configuration: Qwen2.5-Coder-0.5B
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.
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