Enter opens the highlighted result. Esc closes.

Codestral 2508 vs GPT-4o (2024-05-13)

Codestral 2508 costs 16.7x less per output token than GPT-4o (2024-05-13) ($0.90 vs $15.00 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 (2024-05-13)OpenAI
Coding
No data
Overall
27.1
Output $/M
$15.00
vs $0.90 vs $15.00 per 1M output tokens. Codestral 2508 is 16.7x cheaper.

Codestral 2508 or GPT-4o (2024-05-13): which to pick

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

Pick Codestral 2508 for output tokens 16.7x cheaper ($0.90 vs $15.00 per million) and 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 (2024-05-13) on AA Coding Index, LiveCodeBench (Artificial Analysis run) 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 (2024-05-13) 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 (2024-05-13) $15.00 per million output tokens, 16.7x apart.
Context window
Codestral 2508 takes 256K tokens, GPT-4o (2024-05-13) 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 (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)Leader
AA Coding IndexNot measured24.2Only GPT-4o (2024-05-13) measured
LiveCodeBench (Artificial Analysis run)Not measured33.4%Only GPT-4o (2024-05-13) measured
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
LMArena Text: codingNot measured1297Only GPT-4o (2024-05-13) measured
LMArena Text: software and ITNot measured1297Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 34 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for Codestral 2508 and GPT-4o (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)Leader
AA Intelligence IndexNot measured7.3Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Agentic work benchmarks for Codestral 2508 and GPT-4o (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)Leader
METR time horizonsNot measured40.8%Only GPT-4o (2024-05-13) measured
BALROGNot measured32.3%Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 39 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index8 boards measured
Reasoning benchmarks for Codestral 2508 and GPT-4o (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)Leader
GPQA DiamondNot measured50.2%Only GPT-4o (2024-05-13) measured
GPQA Diamond (Artificial Analysis run)Not measured52.6%Only GPT-4o (2024-05-13) measured
Humanity's Last Exam (Artificial Analysis run)Not measured1.8%Only GPT-4o (2024-05-13) measured
GPQA Diamond (Epoch AI run)Not measured48.9%Only GPT-4o (2024-05-13) measured
LMArena Text: hard promptsNot measured1281Only GPT-4o (2024-05-13) measured
LMArena Text: expertNot measured1250Only GPT-4o (2024-05-13) measured
LMArena Text: hard prompts in EnglishNot measured1293Only GPT-4o (2024-05-13) measured
Kagi LLM Benchmark32.5%Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 14 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards measured
Math benchmarks for Codestral 2508 and GPT-4o (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)Leader
OTIS Mock AIMENot measured6.3%Only GPT-4o (2024-05-13) measured
MATH level 5Not measured51.0%Only GPT-4o (2024-05-13) measured
LMArena Text: mathNot measured1284Only GPT-4o (2024-05-13) measured
LMArena Text: mathematical workNot measured1284Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Knowledge benchmarks for Codestral 2508 and GPT-4o (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)Leader
MMLU Pro (Artificial Analysis run)Not measured74.0%Only GPT-4o (2024-05-13) measured
MMLUNot measured84.2%Only GPT-4o (2024-05-13) measured
LMArena Text: scienceNot measured1295Only GPT-4o (2024-05-13) measured
LMArena Text: medicine and healthcareNot measured1278Only GPT-4o (2024-05-13) measured
LMArena Text: legal and governmentNot measured1314Only GPT-4o (2024-05-13) measured
LMArena Text: business and financeNot measured1262Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 12 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 (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)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 index20 boards measured
General benchmarks for Codestral 2508 and GPT-4o (2024-05-13)
BenchmarkCodestral 2508GPT-4o (2024-05-13)Leader
LMArena TextNot measured1300Only GPT-4o (2024-05-13) measured
LMArena Text: instruction followingNot measured1278Only GPT-4o (2024-05-13) measured
LMArena Text: creative writingNot measured1291Only GPT-4o (2024-05-13) measured
LMArena VisionNot measured1137Only GPT-4o (2024-05-13) measured
LMArena Text: EnglishNot measured1312Only GPT-4o (2024-05-13) measured
LMArena Text: non-EnglishNot measured1283Only GPT-4o (2024-05-13) measured
LMArena Text: ChineseNot measured1277Only GPT-4o (2024-05-13) measured
LMArena Text: GermanNot measured1283Only GPT-4o (2024-05-13) measured
LMArena Text: JapaneseNot measured1257Only GPT-4o (2024-05-13) measured
LMArena Text: KoreanNot measured1234Only GPT-4o (2024-05-13) measured
LMArena Text: FrenchNot measured1304Only GPT-4o (2024-05-13) measured
LMArena Text: SpanishNot measured1292Only GPT-4o (2024-05-13) measured
LMArena Text: RussianNot measured1285Only GPT-4o (2024-05-13) measured
LMArena Text: PolishNot measured1365Only GPT-4o (2024-05-13) measured
LMArena Text: multi-turnNot measured1302Only GPT-4o (2024-05-13) measured
LMArena Text: longer queriesNot measured1288Only GPT-4o (2024-05-13) measured
LMArena Text: writing and languageNot measured1298Only GPT-4o (2024-05-13) measured
LMArena Text: entertainment and mediaNot measured1289Only GPT-4o (2024-05-13) measured
LMArena Vision: EnglishNot measured1147Only GPT-4o (2024-05-13) measured
LMArena Vision: ChineseNot measured1132Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 26 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 (2024-05-13)$0.013Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
GPT-4o (2024-05-13)$0.295Fits in one request

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
GPT-4o (2024-05-13)$1.15Exceeds the context window

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-4o (2024-05-13)
SpecificationMistral Codestral 2508OpenAI GPT-4o (2024-05-13)
MakerMistral AIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025May 13, 2024
Context window256K128K
Input $/Mtok$0.30$5.00
Output $/Mtok$0.90$15.00
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 (2024-05-13) for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Codestral 2508 for output tokens 16.7x cheaper ($0.90 vs $15.00 per million) and a larger context window (256K against 128K tokens).

Which is cheaper, Codestral 2508 or GPT-4o (2024-05-13)?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; GPT-4o (2024-05-13) costs $5.00 and $15.00. Cost per solved task is known for neither of them.

Which has the bigger context window, Codestral 2508 or GPT-4o (2024-05-13)?

Codestral 2508, with 256K tokens against 128K.

Has any benchmark tested both Codestral 2508 and GPT-4o (2024-05-13)?

No benchmark has tested both yet. Codestral 2508 has results on ALE-Bench, Kagi LLM Benchmark and Design Arena: websites; GPT-4o (2024-05-13) on AA Coding Index, LiveCodeBench (Artificial Analysis run) and LMArena Text: coding. Compare them on price and context instead. Data as of October 22, 2026.

Compare next