Enter opens the highlighted result. Esc closes.

Codestral 2508 vs GPT-4

Updated October 21, 2026. 0 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
GPT-4OpenAI
Coding
No data
Overall
6.7
Output $/M
$60.00
vs $0.90 vs $60.00 per 1M output tokens. Codestral 2508 is 66.7x cheaper.

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 66.7x less, and where the context window is larger, 256K against 8K tokens.

Shared results
0
Codestral 2508 only
7
GPT-4 only
45
Like-for-like categories
0 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-4 not benchmarked.
Widest category
No category has a result for both models.
Widest single gap
No benchmark has a result for both models.
Output price
Codestral 2508 $0.90 against GPT-4 $60.00 per million output tokens, 66.7x apart.
Context window
Codestral 2508 takes 256K tokens, GPT-4 8K.

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.

CodingDirectional onlySix of these boards feed the Vibe Coding Index7 boards, none shared
Coding benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
SWE-bench VerifiedNot measured22.4%Only GPT-4 measured
SWE-bench LiteNot measured39.7%Only GPT-4 measured
SWE-bench (full test set)Not measured12.5%Only GPT-4 measured
AA Coding IndexNot measured13.1Only GPT-4 measured
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
LMArena Text: codingNot measured1209Only GPT-4 measured
LMArena Text: software and ITNot measured1195Only GPT-4 measured
Neither model has a result on the other 31 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
AA Intelligence IndexNot measured6.7Only GPT-4 measured
Epoch Capabilities IndexNot measured125.7Only GPT-4 measured
Agentic workNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Agentic work benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
Neither model has a result on 39 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Reasoning benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
GPQA Diamond (Artificial Analysis run)Not measured34.9%Only GPT-4 measured
BIG-Bench HardNot measured75.1%Only GPT-4 measured
LMArena Text: hard promptsNot measured1200Only GPT-4 measured
LMArena Text: expertNot measured1149Only GPT-4 measured
LMArena Text: hard prompts in EnglishNot measured1209Only GPT-4 measured
Neither model has a result on the other 16 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Math benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
GSM8KNot measured92.0%Only GPT-4 measured
LMArena Text: mathNot measured1230Only GPT-4 measured
LMArena Text: mathematical workNot measured1228Only GPT-4 measured
Neither model has a result on the other 10 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Knowledge benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
MMLU Pro (Artificial Analysis run)Not measured56.2%Only GPT-4 measured
MMLUNot measured86.4%Only GPT-4 measured
AI2 Reasoning ChallengeNot measured96.3%Only GPT-4 measured
LMArena Text: scienceNot measured1177Only GPT-4 measured
LMArena Text: medicine and healthcareNot measured1145Only GPT-4 measured
LMArena Text: legal and governmentNot measured1191Only GPT-4 measured
LMArena Text: business and financeNot measured1145Only GPT-4 measured
Neither model has a result on the other 10 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
Design Arena: websites1013Not measuredOnly Codestral 2508 measured
Design Arena: UI components1017Not measuredOnly Codestral 2508 measured
Design Arena: game dev968Not measuredOnly Codestral 2508 measured
Design Arena: data viz1017Not measuredOnly Codestral 2508 measured
Design Arena: 3D1020Not 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 index22 boards, none shared
General benchmarks for Codestral 2508 and GPT-4
BenchmarkCodestral 2508GPT-4Leader
IFBenchNot measured33.2%Only GPT-4 measured
DTBenchNot measured62.7%Only GPT-4 measured
LMCANot measured17.1%Only GPT-4 measured
HellaSwagNot measured95.3%Only GPT-4 measured
WinoGrandeNot measured87.5%Only GPT-4 measured
LMArena TextNot measured1206Only GPT-4 measured
LMArena Text: instruction followingNot measured1201Only GPT-4 measured
LMArena Text: creative writingNot measured1191Only GPT-4 measured
LMArena Text: EnglishNot measured1220Only GPT-4 measured
LMArena Text: non-EnglishNot measured1194Only GPT-4 measured
LMArena Text: ChineseNot measured1184Only GPT-4 measured
LMArena Text: GermanNot measured1198Only GPT-4 measured
LMArena Text: JapaneseNot measured1137Only GPT-4 measured
LMArena Text: KoreanNot measured1087Only GPT-4 measured
LMArena Text: FrenchNot measured1220Only GPT-4 measured
LMArena Text: SpanishNot measured1197Only GPT-4 measured
LMArena Text: RussianNot measured1195Only GPT-4 measured
LMArena Text: PolishNot measured1265Only GPT-4 measured
LMArena Text: multi-turnNot measured1206Only GPT-4 measured
LMArena Text: longer queriesNot measured1190Only GPT-4 measured
LMArena Text: writing and languageNot measured1219Only GPT-4 measured
LMArena Text: entertainment and mediaNot measured1184Only GPT-4 measured
Neither model has a result on the other 24 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-4
BenchmarkCodestral 2508GPT-4Leader
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-4$0.060Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
GPT-4$1.68Exceeds the context window

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
GPT-4$6.60Exceeds 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-4
SpecificationMistral Codestral 2508OpenAI GPT-4
MakerMistral AIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025May 28, 2023
Context window256K8K
Input $/Mtok$0.30$30.00
Output $/Mtok$0.90$60.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-4 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 66.7x less, and where the context window is larger, 256K against 8K tokens.

Which is cheaper, Codestral 2508 or GPT-4?

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

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

Codestral 2508, with 256K tokens against 8K.

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

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

Compare next