Model comparison
Codestral vs GPT-4o
Codestral is the stronger model overall, scoring 30.6 to 28.6 on the Noometry Index.
Last verified . 5 shared benchmarks.
Summary
- They share 5 benchmarks with published results for both. Codestral scores higher in 2 categories and GPT-4o in 0 categories; 2 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Codestral leads 19.8 to 9.4.
- The biggest single-benchmark swing is Aider Polyglot: 11.1% for Codestral and 45.3% for GPT-4o.
- Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $2.50 / $10 for GPT-4o.
- Codestral accepts more context: 256K tokens versus 128K.
Side by side
| Codestral | GPT-4o | |
|---|---|---|
| Provider | Mistral AI | OpenAI |
| Noometry Index | 30.6 | 28.6 |
| Released | 2024-05-29 | 2024-05-13 |
| Weights | Proprietary | Proprietary |
| Context window | 256K | 128K |
| Max output | 8K | 16K |
| Input $ / M tokens | $0.30 | $2.50 |
| Output $ / M tokens | $0.90 | $10 |
| Results tracked | 7 | 72 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Codestral leads
Codestral: 27.3 (#321), GPT-4o: 24.8 (#328)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| Aider Polyglot | 11.1% | 45.3% |
| BigCodeBench Instruct | 41.8% | 51.1% |
| BigCodeBench Complete | 52.5% | 61.1% |
| HumanEval+ | 73.8% | 87.2% |
| MBPP+ | 61.9% | 72.2% |
| SWE-bench Verified | — | 31% |
| SWE-bench Verified (bash only) | — | 21.6% |
| GSO | — | 0% |
| WeirdML | — | 25.1% |
| LiveBench Coding | — | 51.4% |
| LMArena Coding | — | 1297 |
| CadEval | — | 26% |
| ALE-Bench | 137.78 | — |
Agentic & Tool Use Not comparable
Codestral: —, GPT-4o: 21.0 (#141)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| GDPval | — | 9.9% |
| TheAgentCompany | — | 8.6% |
| Cybench | — | 12.5% |
| BALROG | — | 32.3% |
| LMArena Search | — | 1006 |
| METR Time Horizons | — | 40.8% |
Reasoning Codestral leads
Codestral: 19.8 (#251), GPT-4o: 9.4 (#343)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| ARC-AGI-2 | — | 0% |
| SimpleBench | — | 17.8% |
| Kagi LLM Benchmark | 32.5% | — |
| ARC-AGI-1 | — | 4.5% |
| CritPt | — | 0% |
| Chess Puzzles | — | 13% |
| EnigmaEval | — | 0.8% |
| LiveBench Reasoning | — | 55.8% |
| LMArena Hard Prompts | — | 1281 |
| DTBench | — | 64.5% |
| LiveBench Data Analysis | — | 60.9% |
| LMCA | — | 16.6% |
| Epoch Capabilities Index | — | 128.97 |
| ForecastBench | — | 57.7 |
| LiveBench | — | 55.3% |
Math Not comparable
Codestral: —, GPT-4o: 10.6 (#312)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| FrontierMath (Tiers 1-3) | — | 0.4% |
| OTIS Mock AIME 2024-2025 | — | 6.4% |
| Omni-MATH | — | 29.3% |
| LiveBench Math | — | 49.5% |
| LMArena Math | — | 1285 |
| MATH Level 5 | — | 53.3% |
| FrontierMath (Feb 2025 set) | — | 0.3% |
Knowledge Not comparable
Codestral: —, GPT-4o: 28.8 (#242)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| GPQA Diamond | — | 49.2% |
| Humanity's Last Exam | — | 2.7% |
| SimpleQA Verified | — | 26% |
| MMLU-Pro | — | 71.3% |
| Confabulations | — | 15.3% |
| Vectara Hallucination Rate | — | 9.6% |
| GPQA (HELM) | — | 52% |
| LMArena Expert | — | 1250 |
| MMLU | — | 88.1% |
Multimodal Not comparable
Codestral: —, GPT-4o: 34.5 (#91)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| LMArena Vision | — | 1137 |
| Video-MME | — | 71.9% |
| GeoBench | — | 71% |
| VPCT | — | 40% |
| ScienceQA | — | 88.5% |
Multilingual Not comparable
Codestral: —, GPT-4o: 43.2 (#186)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| LMArena Non-English | — | 1283 |
| LMArena Chinese | — | 1277 |
| LMArena French | — | 1304 |
| LMArena German | — | 1282 |
| LMArena Japanese | — | 1257 |
| LMArena Korean | — | 1234 |
| LMArena Russian | — | 1286 |
| LMArena Spanish | — | 1292 |
Instruction Following Not comparable
Codestral: —, GPT-4o: 66.6 (#207)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| LiveBench Instruction Following | — | 68.6% |
| IFEval | — | 81.7% |
| LMArena Instruction Following | — | 1278 |
Long Context Not comparable
Codestral: —, GPT-4o: 39.4 (#179)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| Fiction.LiveBench | — | 66.7% |
| LMArena Longer Query | — | 1289 |
Writing & Preference Not comparable
Codestral: —, GPT-4o: 52.6 (#166)
| Benchmark | Codestral | GPT-4o |
|---|---|---|
| LMArena Text | — | 1300 |
| LMArena Creative Writing | — | 1292 |
| Short-Story Creative Writing | — | 81.8% |
| WildBench | — | 82.8% |
| LMArena Multi-Turn | — | 1302 |
| LiveBench Language | — | 47.6% |
Frequently asked questions
Is Codestral better than GPT-4o?
Codestral is the stronger model overall, scoring 30.6 to 28.6 on the Noometry Index.
Which is cheaper, Codestral or GPT-4o?
Codestral is cheaper. It lists at $0.30 per million input tokens and $0.90 per million output tokens; GPT-4o lists at $2.50 and $10.
Is Codestral or GPT-4o better for coding?
Codestral scores higher on coding benchmarks: 27.3 versus 24.8 in the Noometry coding category.
Which has the bigger context window?
Codestral does, with 256K tokens against 128K.
How many benchmarks do Codestral and GPT-4o share?
5 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and GPT-4o has 72.