Enter opens the highlighted result. Esc closes.

Codestral 2508 vs GPT-4o-mini (2024-07-18)

GPT-4o-mini (2024-07-18) costs 1.5x less per output token than Codestral 2508 ($0.60 vs $0.90 per million). Updated October 22, 2026; no benchmark has tested both models yet.

Codestral 2508Mistral AI
Coding
No data
Overall
No data
Output $/M
$0.90
GPT-4o-mini (2024-07-18)OpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
vs $0.90 vs $0.60 per 1M output tokens. GPT-4o-mini (2024-07-18) is 1.5x cheaper.

Codestral 2508 or GPT-4o-mini (2024-07-18): which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Codestral 2508 for a larger context window (256K against 128K tokens).

No benchmark has tested both yet. Codestral 2508 has results on ALE-Bench, Kagi LLM Benchmark and Design Arena: websites; GPT-4o-mini (2024-07-18) on Aider polyglot, WeirdML and LMArena Text: coding. Compare them on price and context instead.

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-4o-mini (2024-07-18) not benchmarked.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
Codestral 2508 $0.90 against GPT-4o-mini (2024-07-18) $0.60 per million output tokens, 1.5x apart.
Context window
Codestral 2508 takes 256K tokens, GPT-4o-mini (2024-07-18) 128K.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index5 boards measured
Coding benchmarks for Codestral 2508 and GPT-4o-mini (2024-07-18)
BenchmarkCodestral 2508GPT-4o-mini (2024-07-18)Leader
Aider polyglotNot measured3.6%Only GPT-4o-mini (2024-07-18) measured
WeirdMLNot measured11.8%Only GPT-4o-mini (2024-07-18) measured
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
LMArena Text: codingNot measured1290Only GPT-4o-mini (2024-07-18) measured
LMArena Text: software and ITNot measured1291Only GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 34 boards here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Agentic work benchmarks for Codestral 2508 and GPT-4o-mini (2024-07-18)
BenchmarkCodestral 2508GPT-4o-mini (2024-07-18)Leader
BALROGNot measured17.4%Only GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 40 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index9 boards measured
Reasoning benchmarks for Codestral 2508 and GPT-4o-mini (2024-07-18)
BenchmarkCodestral 2508GPT-4o-mini (2024-07-18)Leader
GPQA Diamond (Epoch AI run)Not measured37.7%Only GPT-4o-mini (2024-07-18) measured
SimpleBenchNot measured10.7%Only GPT-4o-mini (2024-07-18) measured
Chess puzzlesNot measured3.0%Only GPT-4o-mini (2024-07-18) measured
Mystery game puzzlesNot measured12.0%Only GPT-4o-mini (2024-07-18) measured
VPCTNot measured34.0%Only GPT-4o-mini (2024-07-18) measured
LMArena Text: hard promptsNot measured1267Only GPT-4o-mini (2024-07-18) measured
LMArena Text: expertNot measured1234Only GPT-4o-mini (2024-07-18) measured
LMArena Text: hard prompts in EnglishNot measured1278Only GPT-4o-mini (2024-07-18) measured
Kagi LLM Benchmark32.5%Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 13 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards measured
Math benchmarks for Codestral 2508 and GPT-4o-mini (2024-07-18)
BenchmarkCodestral 2508GPT-4o-mini (2024-07-18)Leader
OTIS Mock AIMENot measured6.9%Only GPT-4o-mini (2024-07-18) measured
FrontierMath, tiers 1 to 3Not measured0.7%Only GPT-4o-mini (2024-07-18) measured
MATH level 5Not measured52.6%Only GPT-4o-mini (2024-07-18) measured
LMArena Text: mathNot measured1267Only GPT-4o-mini (2024-07-18) measured
LMArena Text: mathematical workNot measured1271Only GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 8 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Knowledge benchmarks for Codestral 2508 and GPT-4o-mini (2024-07-18)
BenchmarkCodestral 2508GPT-4o-mini (2024-07-18)Leader
SimpleQA VerifiedNot measured8.3%Only GPT-4o-mini (2024-07-18) measured
MMLUNot measured76.7%Only GPT-4o-mini (2024-07-18) measured
GeoBenchNot measured64.0%Only GPT-4o-mini (2024-07-18) measured
LMArena Text: scienceNot measured1286Only GPT-4o-mini (2024-07-18) measured
LMArena Text: medicine and healthcareNot measured1282Only GPT-4o-mini (2024-07-18) measured
LMArena Text: legal and governmentNot measured1305Only GPT-4o-mini (2024-07-18) measured
LMArena Text: business and financeNot measured1265Only GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Web design benchmarks for Codestral 2508 and GPT-4o-mini (2024-07-18)
BenchmarkCodestral 2508GPT-4o-mini (2024-07-18)Leader
Design Arena: websites1012Not measuredOnly Codestral 2508 measured
Design Arena: UI components1014Not measuredOnly Codestral 2508 measured
Design Arena: game dev967Not measuredOnly Codestral 2508 measured
Design Arena: data viz1017Not measuredOnly Codestral 2508 measured
Design Arena: 3D1019Not measuredOnly Codestral 2508 measured
Design Arena: all code categories1007Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 3 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index21 boards measured
General benchmarks for Codestral 2508 and GPT-4o-mini (2024-07-18)
BenchmarkCodestral 2508GPT-4o-mini (2024-07-18)Leader
Creative writing (Lech Mazur)Not measured67.2%Only GPT-4o-mini (2024-07-18) measured
LMArena TextNot measured1286Only GPT-4o-mini (2024-07-18) measured
LMArena Text: instruction followingNot measured1258Only GPT-4o-mini (2024-07-18) measured
LMArena Text: creative writingNot measured1268Only GPT-4o-mini (2024-07-18) measured
LMArena VisionNot measured1066Only GPT-4o-mini (2024-07-18) measured
LMArena Text: EnglishNot measured1301Only GPT-4o-mini (2024-07-18) measured
LMArena Text: non-EnglishNot measured1266Only GPT-4o-mini (2024-07-18) measured
LMArena Text: ChineseNot measured1265Only GPT-4o-mini (2024-07-18) measured
LMArena Text: GermanNot measured1272Only GPT-4o-mini (2024-07-18) measured
LMArena Text: JapaneseNot measured1216Only GPT-4o-mini (2024-07-18) measured
LMArena Text: KoreanNot measured1195Only GPT-4o-mini (2024-07-18) measured
LMArena Text: FrenchNot measured1297Only GPT-4o-mini (2024-07-18) measured
LMArena Text: SpanishNot measured1276Only GPT-4o-mini (2024-07-18) measured
LMArena Text: RussianNot measured1275Only GPT-4o-mini (2024-07-18) measured
LMArena Text: PolishNot measured1244Only GPT-4o-mini (2024-07-18) measured
LMArena Text: multi-turnNot measured1285Only GPT-4o-mini (2024-07-18) measured
LMArena Text: longer queriesNot measured1289Only GPT-4o-mini (2024-07-18) measured
LMArena Text: writing and languageNot measured1282Only GPT-4o-mini (2024-07-18) measured
LMArena Text: entertainment and mediaNot measured1253Only GPT-4o-mini (2024-07-18) measured
LMArena Vision: EnglishNot measured1072Only GPT-4o-mini (2024-07-18) measured
LMArena Vision: ChineseNot measured1033Only GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 25 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-4o-mini (2024-07-18)$0.0004Fits in one request

GPT-4o-mini (2024-07-18) costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
GPT-4o-mini (2024-07-18)$0.0093Fits in one request

GPT-4o-mini (2024-07-18) costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
GPT-4o-mini (2024-07-18)$0.036Exceeds the context window

GPT-4o-mini (2024-07-18) 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-4o-mini (2024-07-18)
SpecificationMistral Codestral 2508OpenAI GPT-4o-mini (2024-07-18)
MakerMistral AIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025July 18, 2024
Context window256K128K
Input $/Mtok$0.30$0.15
Output $/Mtok$0.90$0.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than GPT-4o-mini (2024-07-18) for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Codestral 2508 for a larger context window (256K against 128K tokens).

Which is cheaper, Codestral 2508 or GPT-4o-mini (2024-07-18)?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; GPT-4o-mini (2024-07-18) costs $0.15 and $0.60. Cost per solved task is known for neither of them.

Which has the bigger context window, Codestral 2508 or GPT-4o-mini (2024-07-18)?

Codestral 2508, with 256K tokens against 128K.

Has any benchmark tested both Codestral 2508 and GPT-4o-mini (2024-07-18)?

No benchmark has tested both yet. Codestral 2508 has results on ALE-Bench, Kagi LLM Benchmark and Design Arena: websites; GPT-4o-mini (2024-07-18) on Aider polyglot, WeirdML and LMArena Text: coding. Compare them on price and context instead. Data as of October 22, 2026.

Compare next