Enter opens the highlighted result. Esc closes.

Codestral 2508 vs GLM 5.1

Updated October 21, 2026. 7 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
0
GLM 5.1Z.ai
Coding
49.2
Overall
26.1
Output $/M
$4.40
7
vs boards won of 7 shared

Decision reading

Only GLM 5.1 has a coding score, 49.2 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding.

Codestral 2508 has the edge where output tokens cost 4.9x less, and where the context window is larger, 256K against 205K tokens.

Shared results
7
Codestral 2508 only
0
GLM 5.1 only
82
Like-for-like categories
2 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, GLM 5.1 49.2 from 3 benchmarks.
Widest category
Web design, 37.0 points apart on average over 6 shared benchmarks.
Widest single gap
Design Arena: data viz: Codestral 2508 1017 against GLM 5.1 1366, 43.6 points apart on a 0 to 100 scale.
Output price
Codestral 2508 $0.90 against GLM 5.1 $4.40 per million output tokens, 4.9x apart.
Context window
Codestral 2508 takes 256K tokens, GLM 5.1 205K.

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 2508BarsGLM 5.1Ties
Coding01
Web design06
All shared boards07
CodingLike-for-likeSix of these boards feed the Vibe Coding Index01
Coding benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
LMArena WebDevNot measured1508Only GLM 5.1 measured
AA Coding IndexNot measured55.8Only GLM 5.1 measured
LiveCodeBench (Vals AI)Not measured81.4%Only GLM 5.1 measured
SWE-bench Verified (Vals AI)Not measured76.4%Only GLM 5.1 measured
Vibe Code Bench (Vals AI)Not measured31.5%Only GLM 5.1 measured
Code migration (Vals AI)Not measured25.8%Only GLM 5.1 measured
ProgramBench (Vals AI)Not measured0.0%Only GLM 5.1 measured
Terminal-Bench 2.1 (Vals AI)Not measured56.9%Only GLM 5.1 measured
SciCodeNot measured44.8%Only GLM 5.1 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5.1 measured
WeirdMLNot measured57.1%Only GLM 5.1 measured
ALE-Bench137.8887.1GLM 5.1
LMArena Text: codingNot measured1485Only GLM 5.1 measured
LMArena Text: software and ITNot measured1484Only GLM 5.1 measured
LMArena WebDev: ReactNot measured1505Only GLM 5.1 measured
LMArena WebDev: HTMLNot measured1508Only GLM 5.1 measured
Neither model has a result on the other 22 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
AA Intelligence IndexNot measured26.1Only GLM 5.1 measured
Epoch Capabilities IndexNot measured149.8Only GLM 5.1 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
Agentic work benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
AA Agentic IndexNot measured23.9Only GLM 5.1 measured
Design Arena: agents building web appsNot measured1175Only GLM 5.1 measured
Design Arena: agents building full-stack appsNot measured1167Only GLM 5.1 measured
Design Arena: agents building mobile appsNot measured1161Only GLM 5.1 measured
Design Arena: agents building Android appsNot measured1187Only GLM 5.1 measured
Design Arena: agents building Godot gamesNot measured1053Only GLM 5.1 measured
Design Arena: agents building gamesNot measured1164Only GLM 5.1 measured
Design Arena: HTML slidesNot measured1170Only GLM 5.1 measured
Design Arena: PowerPoint slidesNot measured1188Only GLM 5.1 measured
Design Arena: spreadsheetsNot measured1315Only GLM 5.1 measured
Finance Agent (Vals AI)Not measured44.8%Only GLM 5.1 measured
Legal Research Bench (Vals AI)Not measured27.9%Only GLM 5.1 measured
τ²-Bench TelecomNot measured97.7%Only GLM 5.1 measured
APEX-AgentsNot measured40.9%Only GLM 5.1 measured
Vending-Bench 2Not measured$5,634Only GLM 5.1 measured
Neither model has a result on the other 24 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Reasoning benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
GPQA DiamondNot measured84.5%Only GLM 5.1 measured
GPQA Diamond (Artificial Analysis run)Not measured86.8%Only GLM 5.1 measured
Humanity's Last Exam (Artificial Analysis run)Not measured30.1%Only GLM 5.1 measured
GPQA Diamond (Epoch AI run)Not measured89.9%Only GLM 5.1 measured
SimpleBenchNot measured55.1%Only GLM 5.1 measured
Chess puzzlesNot measured20.0%Only GLM 5.1 measured
LMArena Text: hard promptsNot measured1473Only GLM 5.1 measured
LMArena Text: expertNot measured1478Only GLM 5.1 measured
LMArena Text: hard prompts in EnglishNot measured1482Only GLM 5.1 measured
Neither model has a result on the other 12 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
AIMENot measured91.9%Only GLM 5.1 measured
OTIS Mock AIMENot measured93.3%Only GLM 5.1 measured
FrontierMath, tiers 1 to 3Not measured36.8%Only GLM 5.1 measured
ProofBenchNot measured22.2%Only GLM 5.1 measured
LMArena Text: mathNot measured1473Only GLM 5.1 measured
LMArena Text: mathematical workNot measured1470Only GLM 5.1 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Knowledge benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
MMLU ProNot measured86.9%Only GLM 5.1 measured
LegalBench (Vals AI)Not measured84.4%Only GLM 5.1 measured
CaseLaw (Vals AI)Not measured51.5%Only GLM 5.1 measured
CorpFin (Vals AI)Not measured64.5%Only GLM 5.1 measured
TaxEval (Vals AI)Not measured71.2%Only GLM 5.1 measured
MedCode (Vals AI)Not measured41.6%Only GLM 5.1 measured
SimpleQA VerifiedNot measured34.0%Only GLM 5.1 measured
LMArena Text: scienceNot measured1478Only GLM 5.1 measured
LMArena Text: medicine and healthcareNot measured1474Only GLM 5.1 measured
LMArena Text: legal and governmentNot measured1465Only GLM 5.1 measured
LMArena Text: business and financeNot measured1452Only GLM 5.1 measured
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
Design Arena: websites10131290GLM 5.1
Design Arena: UI components10171292GLM 5.1
Design Arena: game dev9681265GLM 5.1
Design Arena: data viz10171366GLM 5.1
Design Arena: 3D10201336GLM 5.1
Design Arena: all code categories10071268GLM 5.1
Design Arena: SVGNot measured1218Only GLM 5.1 measured
Design Arena: ASCII artNot measured1142Only GLM 5.1 measured
Neither model has a result on the other 1 board here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index22 boards, none shared
General benchmarks for Codestral 2508 and GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
Public Benefits Bench (Vals AI)Not measured61.8%Only GLM 5.1 measured
MedScribe (Vals AI)Not measured72.3%Only GLM 5.1 measured
IFBenchNot measured76.3%Only GLM 5.1 measured
Long context reasoning (AA-LCR)Not measured73.7%Only GLM 5.1 measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena TextNot measured1463Only GLM 5.1 measured
LMArena Text: instruction followingNot measured1453Only GLM 5.1 measured
LMArena Text: creative writingNot measured1453Only GLM 5.1 measured
LMArena Text: EnglishNot measured1476Only GLM 5.1 measured
LMArena Text: non-EnglishNot measured1448Only GLM 5.1 measured
LMArena Text: ChineseNot measured1515Only GLM 5.1 measured
LMArena Text: GermanNot measured1467Only GLM 5.1 measured
LMArena Text: JapaneseNot measured1435Only GLM 5.1 measured
LMArena Text: KoreanNot measured1424Only GLM 5.1 measured
LMArena Text: FrenchNot measured1470Only GLM 5.1 measured
LMArena Text: SpanishNot measured1468Only GLM 5.1 measured
LMArena Text: RussianNot measured1454Only GLM 5.1 measured
LMArena Text: PolishNot measured1449Only GLM 5.1 measured
LMArena Text: multi-turnNot measured1473Only GLM 5.1 measured
LMArena Text: longer queriesNot measured1467Only GLM 5.1 measured
LMArena Text: writing and languageNot measured1454Only GLM 5.1 measured
LMArena Text: entertainment and mediaNot measured1442Only GLM 5.1 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 GLM 5.1
BenchmarkCodestral 2508GLM 5.1Leader
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
GLM 5.1$0.0036Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
GLM 5.1$0.083Fits in one request

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
GLM 5.1$0.324Exceeds 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 GLM 5.1
SpecificationMistral Codestral 2508Z.ai GLM 5.1
MakerMistral AIZ.ai
WeightsNo public weights listedOpen weights
ReleasedAugust 1, 2025April 7, 2026
Context window256K205K
Input $/Mtok$0.30$1.40
Output $/Mtok$0.90$4.40
Coding indexNot benchmarked49.2
Independent measurements behind it03
Cost per solved taskNot computable$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than GLM 5.1 for coding?

Only GLM 5.1 has a coding score, 49.2 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding. Codestral 2508 has the edge where output tokens cost 4.9x less, and where the context window is larger, 256K against 205K tokens.

Which is cheaper, Codestral 2508 or GLM 5.1?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Cost per solved task is known for GLM 5.1 only.

Which has the bigger context window, Codestral 2508 or GLM 5.1?

Codestral 2508, with 256K tokens against 205K.

How many benchmarks is the Codestral 2508 vs GLM 5.1 comparison based on?

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

Compare next