Enter opens the highlighted result. Esc closes.

Codestral 2508 vs GPT-4o

Updated October 21, 2026. 6 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
6
GPT-4oOpenAI
Coding
No data
Overall
No data
Output $/M
$10.00
0
vs boards won of 6 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 11.1x less, and where the context window is larger, 256K against 128K tokens.

Shared results
6
Codestral 2508 only
1
GPT-4o only
20
Like-for-like categories
1 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-4o not benchmarked.
Widest category
Web design, 17.3 points apart on average over 6 shared benchmarks.
Widest single gap
Design Arena: websites: Codestral 2508 1013 against GPT-4o 831, 22.8 points apart on a 0 to 100 scale.
Output price
Codestral 2508 $0.90 against GPT-4o $10.00 per million output tokens, 11.1x apart.
Context window
Codestral 2508 takes 256K tokens, GPT-4o 128K.

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-4oTies
Web design60
All shared boards60
CodingDirectional onlySix of these boards feed the Vibe Coding Index7 boards, none shared
Coding benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
SWE-bench VerifiedNot measured38.8%Only GPT-4o measured
SWE-bench LiteNot measured38.0%Only GPT-4o measured
SWE-bench (full test set)Not measured18.8%Only GPT-4o measured
SWE-bench MultimodalNot measured30.4%Only GPT-4o measured
LiveCodeBench (Artificial Analysis run)Not measured30.9%Only GPT-4o measured
Terminal-Bench Hard (Artificial Analysis run)Not measured8.3%Only GPT-4o measured
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 31 boards here
IntelligenceNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Intelligence benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
Neither model has a result on 2 boards here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
τ²-Bench TelecomNot measured25.1%Only GPT-4o measured
GDPvalNot measured9.9%Only GPT-4o measured
Neither model has a result on the other 37 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Reasoning benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
GPQA Diamond (Artificial Analysis run)Not measured54.3%Only GPT-4o measured
Humanity's Last Exam (Artificial Analysis run)Not measured2.4%Only GPT-4o measured
ARC-AGINot measured4.5%Only GPT-4o measured
ARC-AGI-2Not measured0.0%Only GPT-4o measured
Neither model has a result on the other 17 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Math benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
AA Math IndexNot measured6.0Only GPT-4o measured
AIME 2025 (Artificial Analysis run)Not measured6.0%Only GPT-4o measured
Neither model has a result on the other 11 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Knowledge benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
MMLU Pro (Artificial Analysis run)Not measured74.8%Only GPT-4o measured
MMLUNot measured88.1%Only GPT-4o measured
Neither model has a result on the other 15 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
Design Arena: websites1013831Codestral 2508
Design Arena: UI components1017885Codestral 2508
Design Arena: game dev968906Codestral 2508
Design Arena: data viz1017858Codestral 2508
Design Arena: 3D1020869Codestral 2508
Design Arena: all code categories1007861Codestral 2508
Neither model has a result on the other 3 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
General benchmarks for Codestral 2508 and GPT-4o
BenchmarkCodestral 2508GPT-4oLeader
IFBenchNot measured34.3%Only GPT-4o measured
Long context reasoning (AA-LCR)Not measured49.3%Only GPT-4o measured
DTBenchNot measured64.5%Only GPT-4o measured
LMCANot measured16.6%Only GPT-4o measured
Neither model has a result on the other 42 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-4o
BenchmarkCodestral 2508GPT-4oLeader
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-4o$0.0075Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
GPT-4o$0.155Fits in one request

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
GPT-4o$0.600Exceeds 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
SpecificationMistral Codestral 2508OpenAI GPT-4o
MakerMistral AIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025May 13, 2024
Context window256K128K
Input $/Mtok$0.30$2.50
Output $/Mtok$0.90$10.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 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 11.1x less, and where the context window is larger, 256K against 128K tokens.

Which is cheaper, Codestral 2508 or GPT-4o?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; GPT-4o costs $2.50 and $10.00. Cost per solved task is known for neither of them.

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

Codestral 2508, with 256K tokens against 128K.

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

6 benchmarks have a result for both models as of October 21, 2026. Codestral 2508's coding index rests on 0 independent benchmarks and GPT-4o's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next