Codestral 8B on SWE-bench Verified: score, rank and what it means
Codestral 8B scores 46.1 on SWE-bench Verified, placing it #451 of 600 models in the index. The benchmark average is 57.5 and the leader is GPT-5.2 Pro at 81.7.
Score distribution
The chart shows the top 10 models on SWE-bench Verified, with Codestral 8B highlighted. Longer bars mean higher scores.
Top 10 leaderboard
| # | Model | Provider | Context | Input / 1M | Avg score |
|---|---|---|---|---|---|
| 1 | GPT-5.2 Pro | OpenAI | 2000000 | $21.32 | 89.6 |
| 2 | Claude Opus 4.5 Pro | Anthropic | 200000 | $20.98 | 89.1 |
| 3 | GPT-5.2 Max | OpenAI | 1000000 | $21.39 | 89.2 |
| 4 | Claude Sonnet 4.5 Max | Anthropic | 1000000 | $19.90 | 87.2 |
| 5 | GPT-5.2 | OpenAI | 2000000 | $19.71 | 88.0 |
| 6 | GPT-5.1 Pro | OpenAI | 200000 | $19.77 | 87.8 |
| 7 | o4 Max | OpenAI | 2000000 | $19.51 | 86.2 |
| 8 | Claude Sonnet 4.5 Reasoning | Anthropic | 400000 | $19.48 | 87.7 |
| 9 | Claude Opus 4.5 Max | Anthropic | 1000000 | $20.90 | 87.8 |
| 10 | Claude Opus 4.5 Reasoning | Anthropic | 2000000 | $20.91 | 88.2 |
What this score means
On SWE-bench Verified, Codestral 8B sits at #451 of 600. The leader, GPT-5.2 Pro, scores 81.7, so the gap to the top is 35.6 points. The median model in this index scores 61.0, which puts Codestral 8B below the midpoint.
Mistral AI models average 54.7 on this benchmark. Codestral 8B is 8.6 points below that provider line, so it is a weaker result than the average Mistral AI model.
Among small open-weight models, the average is 39.0. Codestral 8B is 7.1 points above that group. This is the more useful comparison if you are shortlisting within the same tier rather than across the whole index.
Read a 46.1 as a relative signal, not an absolute guarantee. Benchmark scores depend on prompt format, evaluation harness and contamination controls. Use this page to narrow the shortlist, then test the model on your own data.
Price context
At $1.18 per million input tokens, Codestral 8B is below the median input price of $4.00 across the 600 models scored on SWE-bench Verified. The models immediately around it in the ranking are shown below so you can compare score and price together.
| Model | Provider | Context | Input / 1M | Avg score |
|---|---|---|---|---|
| Llama 3.3 Groq 8B | Groq | 16384 | $1.17 | 59.5 |
| Magistral 7B | Mistral AI | 32768 | $1.22 | 58.9 |
| GPT-NeoX | EleutherAI | 16384 | $1.57 | 61.7 |
| QwQ 7B | Alibaba Cloud | 8192 | $1.11 | 58.1 |
| Codestral 8B | Mistral AI | 4096 | $1.18 | 59.0 |
| MiniMax-Text 8B | MiniMax | 4096 | $1.22 | 59.5 |
| Qwen3-Coder 8B | Alibaba Cloud | 32768 | $1.43 | 61.3 |
Other benchmarks for Codestral 8B
| Benchmark | Score | Rank | Percentile | Relative |
|---|---|---|---|---|
| MMLU-Pro | 65.7 | 441 | 27th | |
| GPQA Diamond | 53.3 | 488 | 19th | |
| HumanEval | 62.8 | 459 | 24th | |
| MATH-500 | 57.9 | 492 | 18th | |
| AIME 2025 | 49.9 | 461 | 23th | |
| LiveCodeBench | 49.5 | 453 | 25th | |
| IFEval | 70.4 | 451 | 25th | |
| TruthfulQA | 65.4 | 455 | 24th | |
| HellaSwag | 72.0 | 495 | 18th | |
| MMMU | 55.6 | 491 | 18th | |
| Arena Elo | 1253.3 | 486 | 19th |
FAQ
What score does Codestral 8B get on SWE-bench Verified?
Codestral 8B scores 46.1 on SWE-bench Verified in this index. The benchmark average is 57.5 and the top score is 81.7.
How does Codestral 8B rank on SWE-bench Verified?
It ranks #451 of 600 models, in the 25th percentile. The leader is GPT-5.2 Pro at 81.7.
Is Codestral 8B good at SWE-bench Verified?
It is below the median for this benchmark, so test it carefully before relying on it for this capability. The result should be read alongside its price and context window.
How is the SWE-bench Verified score calculated?
SWE-bench Verified is a coding benchmark. Scores in this index are modelled estimates on a 0–100 scale (or Elo for Arena), derived from capability tier and benchmark difficulty. They are not official leaderboard results.
What does Codestral 8B cost?
Codestral 8B costs $1.18 per million input tokens and $5.35 per million output tokens.