Codestral 2508 vs GPT-4.1 Mini
Updated October 21, 2026. 6 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Neither model has a coding score yet, so the two cannot be ranked on coding.
Codestral 2508 has the edge where output tokens cost 1.8x less, and where what matters is Design Arena: game dev or Design Arena: data viz, where it leads.
- Shared results
- 6
- Codestral 2508 only
- 1
- GPT-4.1 Mini only
- 78
- Like-for-like categories
- 1 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
No call
Only GPT-4.1 Mini has a AA Intelligence Index result, 10.2.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-4.1 Mini has a GPQA Diamond result, 67.9%.
Directional only
Math
AIME
No call
Only GPT-4.1 Mini has a AIME result, 49.4%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-4.1 Mini has a MMLU Pro result, 77.2%.
Directional only
Web design
Design Arena: websites
Codestral 2508
Codestral 2508 leads, 1013 against 997.
Same board, both measured
Long documents
Listed context window
GPT-4.1 Mini
GPT-4.1 Mini takes 1.05M tokens against 256K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Codestral 2508
Codestral 2508 $0.0008, GPT-4.1 Mini $0.0012 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-4.1 Mini has the number, $1.818.
Directional only
At a glance
- Coding index
- Codestral 2508 not benchmarked, GPT-4.1 Mini not benchmarked.
- Widest category
- Web design, 8.1 points apart on average over 6 shared benchmarks.
- Widest single gap
- Design Arena: 3D: Codestral 2508 1020 against GPT-4.1 Mini 837, 22.9 points apart on a 0 to 100 scale.
- Output price
- Codestral 2508 $0.90 against GPT-4.1 Mini $1.60 per million output tokens, 1.8x apart.
- Context window
- Codestral 2508 takes 256K tokens, GPT-4.1 Mini 1.05M.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Codestral 2508 | Bars | GPT-4.1 Mini | Ties |
|---|---|---|---|---|
| Web design | 4 | 2 | ||
| All shared boards | 4 | 2 |
CodingDirectional onlySix of these boards feed the Vibe Coding Index10 boards, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 32.4% | Only GPT-4.1 Mini measured |
| SWE-bench Verified | Not measured | 23.9% | Only GPT-4.1 Mini measured |
| AA Coding Index | Not measured | 20.2 | Only GPT-4.1 Mini measured |
| LiveCodeBench (Vals AI) | Not measured | 58.2% | Only GPT-4.1 Mini measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 48.3% | Only GPT-4.1 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 7.6% | Only GPT-4.1 Mini measured |
| WeirdML | Not measured | 37.6% | Only GPT-4.1 Mini measured |
| ALE-Bench | 137.8 | Not measured | Only Codestral 2508 measured |
| LMArena Text: coding | Not measured | 1367 | Only GPT-4.1 Mini measured |
| LMArena Text: software and IT | Not measured | 1360 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 28 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 10.2 | Only GPT-4.1 Mini measured |
| Epoch Capabilities Index | Not measured | 134.9 | Only GPT-4.1 Mini measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 52.9% | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 67.9% | Only GPT-4.1 Mini measured |
| MMMU Pro (Vals AI) | Not measured | 70.5% | Only GPT-4.1 Mini measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 66.4% | Only GPT-4.1 Mini measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 5.0% | Only GPT-4.1 Mini measured |
| GPQA Diamond (Epoch AI run) | Not measured | 65.8% | Only GPT-4.1 Mini measured |
| ARC-AGI | Not measured | 3.5% | Only GPT-4.1 Mini measured |
| ARC-AGI-2 | Not measured | 0.0% | Only GPT-4.1 Mini measured |
| Chess puzzles | Not measured | 1.0% | Only GPT-4.1 Mini measured |
| Mystery game puzzles | Not measured | 7.0% | Only GPT-4.1 Mini measured |
| LMArena Text: hard prompts | Not measured | 1349 | Only GPT-4.1 Mini measured |
| LMArena Text: expert | Not measured | 1338 | Only GPT-4.1 Mini measured |
| LMArena Text: hard prompts in English | Not measured | 1362 | Only GPT-4.1 Mini measured |
| LMArena Vision: diagrams | Not measured | 1182 | Only GPT-4.1 Mini measured |
| LMArena Vision: homework | Not measured | 1214 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 7 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| AIME | Not measured | 49.4% | Only GPT-4.1 Mini measured |
| MATH 500 (Vals AI) | Not measured | 88.0% | Only GPT-4.1 Mini measured |
| MGSM (Vals AI) | Not measured | 87.8% | Only GPT-4.1 Mini measured |
| AA Math Index | Not measured | 46.3 | Only GPT-4.1 Mini measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 46.3% | Only GPT-4.1 Mini measured |
| OTIS Mock AIME | Not measured | 44.7% | Only GPT-4.1 Mini measured |
| FrontierMath, tiers 1 to 3 | Not measured | 6.7% | Only GPT-4.1 Mini measured |
| MATH level 5 | Not measured | 87.3% | Only GPT-4.1 Mini measured |
| LMArena Text: math | Not measured | 1343 | Only GPT-4.1 Mini measured |
| LMArena Text: mathematical work | Not measured | 1347 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 3 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 77.2% | Only GPT-4.1 Mini measured |
| LegalBench (Vals AI) | Not measured | 78.0% | Only GPT-4.1 Mini measured |
| CorpFin (Vals AI) | Not measured | 57.9% | Only GPT-4.1 Mini measured |
| TaxEval (Vals AI) | Not measured | 71.9% | Only GPT-4.1 Mini measured |
| MortgageTax (Vals AI) | Not measured | 65.5% | Only GPT-4.1 Mini measured |
| MedQA (Vals AI) | Not measured | 84.6% | Only GPT-4.1 Mini measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 78.1% | Only GPT-4.1 Mini measured |
| SimpleQA Verified | Not measured | 12.7% | Only GPT-4.1 Mini measured |
| LMArena Text: science | Not measured | 1328 | Only GPT-4.1 Mini measured |
| LMArena Text: medicine and healthcare | Not measured | 1324 | Only GPT-4.1 Mini measured |
| LMArena Text: legal and government | Not measured | 1343 | Only GPT-4.1 Mini measured |
| LMArena Text: business and finance | Not measured | 1322 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index42
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1013 | 997 | Codestral 2508 |
| Design Arena: UI components | 1017 | 961 | Codestral 2508 |
| Design Arena: game dev | 968 | 1071 | GPT-4.1 Mini |
| Design Arena: data viz | 1017 | 1034 | GPT-4.1 Mini |
| Design Arena: 3D | 1020 | 837 | Codestral 2508 |
| Design Arena: all code categories | 1007 | 994 | Codestral 2508 |
| Neither model has a result on the other 3 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index30 boards, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| IFBench | Not measured | 38.3% | Only GPT-4.1 Mini measured |
| Long context reasoning (AA-LCR) | Not measured | 44.0% | Only GPT-4.1 Mini measured |
| DTBench | Not measured | 68.8% | Only GPT-4.1 Mini measured |
| LMCA | Not measured | 21.1% | Only GPT-4.1 Mini measured |
| Fiction.LiveBench | Not measured | 44.4% | Only GPT-4.1 Mini measured |
| LMArena Text | Not measured | 1341 | Only GPT-4.1 Mini measured |
| LMArena Text: instruction following | Not measured | 1333 | Only GPT-4.1 Mini measured |
| LMArena Text: creative writing | Not measured | 1299 | Only GPT-4.1 Mini measured |
| LMArena Vision | Not measured | 1181 | Only GPT-4.1 Mini measured |
| LMArena Text: English | Not measured | 1356 | Only GPT-4.1 Mini measured |
| LMArena Text: non-English | Not measured | 1318 | Only GPT-4.1 Mini measured |
| LMArena Text: Chinese | Not measured | 1329 | Only GPT-4.1 Mini measured |
| LMArena Text: German | Not measured | 1350 | Only GPT-4.1 Mini measured |
| LMArena Text: Japanese | Not measured | 1290 | Only GPT-4.1 Mini measured |
| LMArena Text: Korean | Not measured | 1298 | Only GPT-4.1 Mini measured |
| LMArena Text: French | Not measured | 1358 | Only GPT-4.1 Mini measured |
| LMArena Text: Spanish | Not measured | 1319 | Only GPT-4.1 Mini measured |
| LMArena Text: Russian | Not measured | 1324 | Only GPT-4.1 Mini measured |
| LMArena Text: Polish | Not measured | 1326 | Only GPT-4.1 Mini measured |
| LMArena Text: multi-turn | Not measured | 1354 | Only GPT-4.1 Mini measured |
| LMArena Text: longer queries | Not measured | 1344 | Only GPT-4.1 Mini measured |
| LMArena Text: writing and language | Not measured | 1319 | Only GPT-4.1 Mini measured |
| LMArena Text: entertainment and media | Not measured | 1300 | Only GPT-4.1 Mini measured |
| LMArena Vision: English | Not measured | 1191 | Only GPT-4.1 Mini measured |
| LMArena Vision: Chinese | Not measured | 1186 | Only GPT-4.1 Mini measured |
| LMArena Vision: reading text | Not measured | 1188 | Only GPT-4.1 Mini measured |
| LMArena Vision: humor | Not measured | 1182 | Only GPT-4.1 Mini measured |
| LMArena Vision: captioning | Not measured | 1174 | Only GPT-4.1 Mini measured |
| LMArena Vision: recognizing things | Not measured | 1187 | Only GPT-4.1 Mini measured |
| LMArena Vision: creative writing | Not measured | 1182 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 16 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Codestral 2508 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Codestral 2508 costs less
Repository review
50K input + 3K output tokens
Codestral 2508 costs less
Agent loop
200K input + 10K output tokens
Codestral 2508 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Mistral Codestral 2508 | OpenAI GPT-4.1 Mini |
|---|---|---|
| Maker | Mistral AI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | August 1, 2025 | April 14, 2025 |
| Context window | 256K | 1.05M |
| Input $/Mtok | $0.30 | $0.40 |
| Output $/Mtok | $0.90 | $1.60 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | $1.818 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Codestral 2508 better than GPT-4.1 Mini for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Codestral 2508 has the edge where output tokens cost 1.8x less, and where what matters is Design Arena: game dev or Design Arena: data viz, where it leads.
Which is cheaper, Codestral 2508 or GPT-4.1 Mini?
Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Cost per solved task is known for GPT-4.1 Mini only.
Which has the bigger context window, Codestral 2508 or GPT-4.1 Mini?
GPT-4.1 Mini, with 1.05M tokens against 256K.
How many benchmarks is the Codestral 2508 vs GPT-4.1 Mini comparison based on?
6 benchmarks have a result for both models as of October 21, 2026. Codestral 2508's coding index rests on 0 independent benchmarks and GPT-4.1 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.