Enter opens the highlighted result. Esc closes.

Codestral 2508 vs GPT-4.1

Updated October 21, 2026. 7 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Codestral 2508Mistral AI
Coding
No data
Overall
No data
Output $/M
$0.90
2
GPT-4.1OpenAI
Coding
No data
Overall
12.7
Output $/M
$8.00
5
vs boards won of 7 shared

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 8.9x less, and where what matters is ALE-Bench or Design Arena: websites, where it leads.

Shared results
7
Codestral 2508 only
0
GPT-4.1 only
80
Like-for-like categories
2 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.

At a glance

Coding index
Codestral 2508 not benchmarked, GPT-4.1 not benchmarked.
Widest category
Coding, 14.0 points apart on average over 1 shared benchmark.
Widest single gap
Design Arena: 3D: Codestral 2508 1020 against GPT-4.1 850, 21.3 points apart on a 0 to 100 scale.
Output price
Codestral 2508 $0.90 against GPT-4.1 $8.00 per million output tokens, 8.9x apart.
Context window
Codestral 2508 takes 256K tokens, GPT-4.1 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.

Boards won, where both have a result
CategoryCodestral 2508BarsGPT-4.1Ties
Coding01
Web design24
All shared boards25
CodingLike-for-likeSix of these boards feed the Vibe Coding Index01
Coding benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench VerifiedNot measured39.6%Only GPT-4.1 measured
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
LiveCodeBench (Vals AI)Not measured54.7%Only GPT-4.1 measured
LiveCodeBench (Artificial Analysis run)Not measured45.7%Only GPT-4.1 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured13.6%Only GPT-4.1 measured
WeirdMLNot measured39.0%Only GPT-4.1 measured
ALE-Bench137.8558.1GPT-4.1
LMArena Text: codingNot measured1390Only GPT-4.1 measured
LMArena Text: software and ITNot measured1391Only GPT-4.1 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
Intelligence benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
AA Intelligence IndexNot measured12.7Only GPT-4.1 measured
Epoch Capabilities IndexNot measured136.7Only GPT-4.1 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Agentic work benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
τ²-Bench TelecomNot measured47.1%Only GPT-4.1 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
Reasoning benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
GPQA DiamondNot measured65.4%Only GPT-4.1 measured
MMMU Pro (Vals AI)Not measured72.4%Only GPT-4.1 measured
GPQA Diamond (Artificial Analysis run)Not measured66.6%Only GPT-4.1 measured
Humanity's Last Exam (Artificial Analysis run)Not measured4.2%Only GPT-4.1 measured
GPQA Diamond (Epoch AI run)Not measured66.9%Only GPT-4.1 measured
ARC-AGINot measured5.5%Only GPT-4.1 measured
ARC-AGI-2Not measured0.4%Only GPT-4.1 measured
SimpleBenchNot measured27.0%Only GPT-4.1 measured
Chess puzzlesNot measured3.0%Only GPT-4.1 measured
LMArena Text: hard promptsNot measured1384Only GPT-4.1 measured
LMArena Text: expertNot measured1364Only GPT-4.1 measured
LMArena Text: hard prompts in EnglishNot measured1393Only GPT-4.1 measured
LMArena Vision: diagramsNot measured1215Only GPT-4.1 measured
LMArena Vision: homeworkNot measured1248Only GPT-4.1 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
Math benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
AIMENot measured39.6%Only GPT-4.1 measured
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)Not measured87.7%Only GPT-4.1 measured
AA Math IndexNot measured34.7Only GPT-4.1 measured
AIME 2025 (Artificial Analysis run)Not measured34.7%Only GPT-4.1 measured
OTIS Mock AIMENot measured38.3%Only GPT-4.1 measured
FrontierMath, tiers 1 to 3Not measured6.0%Only GPT-4.1 measured
MATH level 5Not measured83.0%Only GPT-4.1 measured
LMArena Text: mathNot measured1369Only GPT-4.1 measured
LMArena Text: mathematical workNot measured1360Only GPT-4.1 measured
Neither model has a result on the other 3 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
Knowledge benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
MMLU ProNot measured80.5%Only GPT-4.1 measured
LegalBench (Vals AI)Not measured83.1%Only GPT-4.1 measured
CaseLaw (Vals AI)Not measured69.9%Only GPT-4.1 measured
CorpFin (Vals AI)Not measured63.0%Only GPT-4.1 measured
TaxEval (Vals AI)Not measured75.1%Only GPT-4.1 measured
MortgageTax (Vals AI)Not measured65.9%Only GPT-4.1 measured
MedQA (Vals AI)Not measured91.2%Only GPT-4.1 measured
MMLU Pro (Artificial Analysis run)Not measured80.6%Only GPT-4.1 measured
SimpleQA VerifiedNot measured31.1%Only GPT-4.1 measured
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: scienceNot measured1382Only GPT-4.1 measured
LMArena Text: medicine and healthcareNot measured1379Only GPT-4.1 measured
LMArena Text: legal and governmentNot measured1399Only GPT-4.1 measured
LMArena Text: business and financeNot measured1369Only GPT-4.1 measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index24
Web design benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
Design Arena: websites10131039GPT-4.1
Design Arena: UI components10171000Codestral 2508
Design Arena: game dev9681079GPT-4.1
Design Arena: data viz10171104GPT-4.1
Design Arena: 3D1020850Codestral 2508
Design Arena: all code categories10071026GPT-4.1
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
General benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
IFBenchNot measured43.0%Only GPT-4.1 measured
Long context reasoning (AA-LCR)Not measured68.3%Only GPT-4.1 measured
DTBenchNot measured68.3%Only GPT-4.1 measured
LMCANot measured25.6%Only GPT-4.1 measured
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
LMArena TextNot measured1383Only GPT-4.1 measured
LMArena Text: instruction followingNot measured1367Only GPT-4.1 measured
LMArena Text: creative writingNot measured1363Only GPT-4.1 measured
LMArena VisionNot measured1210Only GPT-4.1 measured
LMArena Text: EnglishNot measured1392Only GPT-4.1 measured
LMArena Text: non-EnglishNot measured1370Only GPT-4.1 measured
LMArena Text: ChineseNot measured1382Only GPT-4.1 measured
LMArena Text: GermanNot measured1381Only GPT-4.1 measured
LMArena Text: JapaneseNot measured1319Only GPT-4.1 measured
LMArena Text: KoreanNot measured1338Only GPT-4.1 measured
LMArena Text: FrenchNot measured1382Only GPT-4.1 measured
LMArena Text: SpanishNot measured1376Only GPT-4.1 measured
LMArena Text: RussianNot measured1377Only GPT-4.1 measured
LMArena Text: PolishNot measured1389Only GPT-4.1 measured
LMArena Text: multi-turnNot measured1397Only GPT-4.1 measured
LMArena Text: longer queriesNot measured1385Only GPT-4.1 measured
LMArena Text: writing and languageNot measured1371Only GPT-4.1 measured
LMArena Text: entertainment and mediaNot measured1365Only GPT-4.1 measured
LMArena Vision: EnglishNot measured1209Only GPT-4.1 measured
LMArena Vision: ChineseNot measured1226Only GPT-4.1 measured
LMArena Vision: reading textNot measured1218Only GPT-4.1 measured
LMArena Vision: humorNot measured1196Only GPT-4.1 measured
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing thingsNot measured1208Only GPT-4.1 measured
LMArena Vision: creative writingNot measured1210Only GPT-4.1 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
Image generation benchmarks for Codestral 2508 and GPT-4.1
BenchmarkCodestral 2508GPT-4.1Leader
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$0.0008Fits in one request
GPT-4.1$0.0060Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
GPT-4.1$0.124Fits in one request

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
GPT-4.1$0.480Fits in one request

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.

Specifications of Codestral 2508 and GPT-4.1
SpecificationMistral Codestral 2508OpenAI GPT-4.1
MakerMistral AIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025April 14, 2025
Context window256K1.05M
Input $/Mtok$0.30$2.00
Output $/Mtok$0.90$8.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$0.37
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than GPT-4.1 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 8.9x less, and where what matters is ALE-Bench or Design Arena: websites, where it leads.

Which is cheaper, Codestral 2508 or GPT-4.1?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Cost per solved task is known for GPT-4.1 only.

Which has the bigger context window, Codestral 2508 or GPT-4.1?

GPT-4.1, with 1.05M tokens against 256K.

How many benchmarks is the Codestral 2508 vs GPT-4.1 comparison based on?

7 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's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next