Model comparison

Codestral vs o4-mini

o4-mini is the stronger model overall, scoring 41.6 to 30.6 on the Noometry Index. Codestral costs 4.3× less per token, which makes it the better buy when o4-mini's lead doesn't matter for your workload.

Last verified . 3 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

o4-mini OpenAI

41.6

Rank #132 Confirmed

Summary

  • They share 3 benchmarks with published results for both. Codestral scores higher in 0 categories and o4-mini in 2 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where o4-mini leads 40.9 to 27.3.
  • The biggest single-benchmark swing is Aider Polyglot: 11.1% for Codestral and 72% for o4-mini.
  • Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $1.10 / $4.40 for o4-mini.
  • Codestral accepts more context: 256K tokens versus 200K.

Side by side

Codestral and o4-mini specifications
Codestralo4-mini
ProviderMistral AIOpenAI
Noometry Index30.641.6
Released2024-05-292025-04-16
WeightsProprietaryProprietary
Context window256K200K
Max output8K100K
Input $ / M tokens$0.30$1.10
Output $ / M tokens$0.90$4.40
Results tracked760

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding o4-mini leads

Codestral: 27.3 (#321), o4-mini: 40.9 (#127)

Coding benchmarks
BenchmarkCodestralo4-mini
Aider Polyglot11.1%72%
ALE-Bench137.78826.17
SWE-bench Verified (bash only)—45%
GSO—3.6%
WeirdML—52.6%
BigCodeBench Instruct41.8%—
LMArena Coding—1368
BigCodeBench Complete52.5%—
CadEval—62%
AlgoTune—1.72
HumanEval+73.8%—
MBPP+61.9%—

Agentic & Tool Use Not comparable

Codestral: —, o4-mini: 32.6 (#61)

Agentic & Tool Use benchmarks
BenchmarkCodestralo4-mini
Berkeley Function Calling Leaderboard—53.2%
GDPval—25.3%
METR Time Horizons—63.9%

Reasoning o4-mini leads

Codestral: 19.8 (#251), o4-mini: 24.6 (#162)

Reasoning benchmarks
BenchmarkCodestralo4-mini
Kagi LLM Benchmark32.5%67.6%
ARC-AGI-2—6.1%
SimpleBench—38.7%
ARC-AGI-1—58.7%
CritPt—0.6%
Chess Puzzles—26%
EnigmaEval—9.2%
LMArena Hard Prompts—1351
Mystery Game Puzzles—5%
DTBench—77.6%
LMCA—26.5%
Epoch Capabilities Index—145.64
ForecastBench—61.8

Math Not comparable

Codestral: —, o4-mini: 40.8 (#89)

Knowledge Not comparable

Codestral: —, o4-mini: 43.6 (#91)

Knowledge benchmarks
BenchmarkCodestralo4-mini
GPQA Diamond—79.6%
Humanity's Last Exam—18.1%
SimpleQA Verified—19.6%
MMLU-Pro—82%
Confabulations—15.8%
Vectara Hallucination Rate—18.6%
GPQA (HELM)—73.5%
LMArena Expert—1343

Multimodal Not comparable

Codestral: —, o4-mini: 40.2 (#49)

Multimodal benchmarks
BenchmarkCodestralo4-mini
LMArena Vision—1194
GeoBench—64%
VPCT—57.5%

Multilingual Not comparable

Codestral: —, o4-mini: 47.0 (#154)

Multilingual benchmarks
BenchmarkCodestralo4-mini
LMArena Non-English—1337
LMArena Chinese—1354
LMArena French—1364
LMArena German—1336
LMArena Japanese—1308
LMArena Korean—1312
LMArena Russian—1334
LMArena Spanish—1347

Instruction Following Not comparable

Codestral: —, o4-mini: 75.2 (#68)

Instruction Following benchmarks
BenchmarkCodestralo4-mini
IFEval—92.8%
LMArena Instruction Following—1321

Long Context Not comparable

Codestral: —, o4-mini: 45.5 (#33)

Long Context benchmarks
BenchmarkCodestralo4-mini
Fiction.LiveBench—77.8%
LMArena Longer Query—1315

Writing & Preference Not comparable

Codestral: —, o4-mini: 54.0 (#152)

Writing & Preference benchmarks
BenchmarkCodestralo4-mini
LMArena Text—1353
LMArena Creative Writing—1294
Short-Story Creative Writing—75%
WildBench—85.4%
LMArena Multi-Turn—1350

Frequently asked questions

Is Codestral better than o4-mini?

o4-mini is the stronger model overall, scoring 41.6 to 30.6 on the Noometry Index. Codestral costs 4.3× less per token, which makes it the better buy when o4-mini's lead doesn't matter for your workload.

Which is cheaper, Codestral or o4-mini?

Codestral is cheaper. It lists at $0.30 per million input tokens and $0.90 per million output tokens; o4-mini lists at $1.10 and $4.40.

Is Codestral or o4-mini better for coding?

o4-mini scores higher on coding benchmarks: 40.9 versus 27.3 in the Noometry coding category.

Which has the bigger context window?

Codestral does, with 256K tokens against 200K.

How many benchmarks do Codestral and o4-mini share?

3 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and o4-mini has 60.

Related comparisons

Go deeper