Devstral 2 2512 vs GLM 5.1
Updated October 21, 2026. 5 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Devstral 2 2512 for coding: it scores 53.8 on the Vibe Coding Index against 44.0 for GLM 5.1.
Pick GLM 5.1 when a solved task costs $0.60 against $1.19, or when what matters is AA Coding Index or LiveCodeBench (Vals AI), where it leads.
- Shared results
- 5
- Devstral 2 2512 only
- 1
- GLM 5.1 only
- 84
- Like-for-like categories
- 3 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.
Coding
Vibe Coding Index, four public coding benchmarks
Devstral 2 2512
Devstral 2 2512 scores 53.8 against 44.0.
One benchmark behind each score
Intelligence
AA Intelligence Index
GLM 5.1
GLM 5.1 leads, 26.1 against 8.6.
Same board, both measured
Agentic work
AA Agentic Index
GLM 5.1
GLM 5.1 leads, 23.9 against 2.3.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GLM 5.1 has a GPQA Diamond result, 84.5%.
Directional only
Math
AIME
No call
Only GLM 5.1 has a AIME result, 91.9%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.1 has a MMLU Pro result, 86.9%.
Directional only
Web design
Design Arena: websites
No call
Only GLM 5.1 has a Design Arena: websites result, 1290.
Directional only
Long documents
Listed context window
Devstral 2 2512
Devstral 2 2512 takes 262K tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Devstral 2 2512
Devstral 2 2512 $0.0014, GLM 5.1 $0.0036 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.1
Devstral 2 2512 $1.19, GLM 5.1 $0.60.
Published attempt cost and pass rate
At a glance
- Coding index
- Devstral 2 2512 53.8 from 1 benchmark, GLM 5.1 44.0 from 1 benchmark.
- Widest category
- Coding, 22.5 points apart on average over 3 shared benchmarks.
- Widest single gap
- LiveCodeBench (Vals AI): Devstral 2 2512 51.8% against GLM 5.1 81.4%, 29.5 points apart on a 0 to 100 scale.
- Output price
- Devstral 2 2512 $2.00 against GLM 5.1 $4.40 per million output tokens, 2.2x apart.
- Context window
- Devstral 2 2512 takes 262K 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.
| Category | Devstral 2 2512 | Bars | GLM 5.1 | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 1 | ||
| All shared boards | 0 | 5 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| SWE-bench Verified | 53.8% | Not measured | Only Devstral 2 2512 measured |
| LMArena WebDev | Not measured | 1508 | Only GLM 5.1 measured |
| AA Coding Index | 31.3 | 55.8 | GLM 5.1 |
| LiveCodeBench (Vals AI) | 51.8% | 81.4% | GLM 5.1 |
| SWE-bench Verified (Vals AI) | 62.8% | 76.4% | GLM 5.1 |
| Vibe Code Bench (Vals AI) | Not measured | 31.5% | Only GLM 5.1 measured |
| Code migration (Vals AI) | Not measured | 25.8% | Only GLM 5.1 measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only GLM 5.1 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 56.9% | Only GLM 5.1 measured |
| SciCode | Not measured | 44.8% | Only GLM 5.1 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 43.2% | Only GLM 5.1 measured |
| WeirdML | Not measured | 57.1% | Only GLM 5.1 measured |
| ALE-Bench | Not measured | 887.1 | Only GLM 5.1 measured |
| LMArena Text: coding | Not measured | 1485 | Only GLM 5.1 measured |
| LMArena Text: software and IT | Not measured | 1484 | Only GLM 5.1 measured |
| LMArena WebDev: React | Not measured | 1505 | Only GLM 5.1 measured |
| LMArena WebDev: HTML | Not measured | 1508 | Only GLM 5.1 measured |
| Neither model has a result on the other 21 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 8.6 | 26.1 | GLM 5.1 |
| Epoch Capabilities Index | Not measured | 149.8 | Only GLM 5.1 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| AA Agentic Index | 2.3 | 23.9 | GLM 5.1 |
| Design Arena: agents building web apps | Not measured | 1175 | Only GLM 5.1 measured |
| Design Arena: agents building full-stack apps | Not measured | 1167 | Only GLM 5.1 measured |
| Design Arena: agents building mobile apps | Not measured | 1162 | Only GLM 5.1 measured |
| Design Arena: agents building Android apps | Not measured | 1186 | Only GLM 5.1 measured |
| Design Arena: agents building Godot games | Not measured | 1053 | Only GLM 5.1 measured |
| Design Arena: agents building games | Not measured | 1164 | Only GLM 5.1 measured |
| Design Arena: HTML slides | Not measured | 1170 | Only GLM 5.1 measured |
| Design Arena: PowerPoint slides | Not measured | 1189 | Only GLM 5.1 measured |
| Design Arena: spreadsheets | Not measured | 1315 | Only GLM 5.1 measured |
| Finance Agent (Vals AI) | Not measured | 44.8% | Only GLM 5.1 measured |
| Legal Research Bench (Vals AI) | Not measured | 27.9% | Only GLM 5.1 measured |
| τ²-Bench Telecom | Not measured | 97.7% | Only GLM 5.1 measured |
| APEX-Agents | Not measured | 40.9% | Only GLM 5.1 measured |
| Vending-Bench 2 | Not measured | $5,634 | Only 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
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 84.5% | Only GLM 5.1 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 86.8% | Only GLM 5.1 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 30.1% | Only GLM 5.1 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 89.9% | Only GLM 5.1 measured |
| SimpleBench | Not measured | 55.1% | Only GLM 5.1 measured |
| Chess puzzles | Not measured | 20.0% | Only GLM 5.1 measured |
| LMArena Text: hard prompts | Not measured | 1473 | Only GLM 5.1 measured |
| LMArena Text: expert | Not measured | 1478 | Only GLM 5.1 measured |
| LMArena Text: hard prompts in English | Not measured | 1482 | Only 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
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| AIME | Not measured | 91.9% | Only GLM 5.1 measured |
| OTIS Mock AIME | Not measured | 93.3% | Only GLM 5.1 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 36.8% | Only GLM 5.1 measured |
| ProofBench | Not measured | 22.2% | Only GLM 5.1 measured |
| LMArena Text: math | Not measured | 1473 | Only GLM 5.1 measured |
| LMArena Text: mathematical work | Not measured | 1470 | Only 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
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 86.9% | Only GLM 5.1 measured |
| LegalBench (Vals AI) | Not measured | 84.4% | Only GLM 5.1 measured |
| CaseLaw (Vals AI) | Not measured | 51.5% | Only GLM 5.1 measured |
| CorpFin (Vals AI) | Not measured | 64.5% | Only GLM 5.1 measured |
| TaxEval (Vals AI) | Not measured | 71.2% | Only GLM 5.1 measured |
| MedCode (Vals AI) | Not measured | 41.6% | Only GLM 5.1 measured |
| SimpleQA Verified | Not measured | 34.0% | Only GLM 5.1 measured |
| LMArena Text: science | Not measured | 1478 | Only GLM 5.1 measured |
| LMArena Text: medicine and healthcare | Not measured | 1474 | Only GLM 5.1 measured |
| LMArena Text: legal and government | Not measured | 1465 | Only GLM 5.1 measured |
| LMArena Text: business and finance | Not measured | 1452 | Only GLM 5.1 measured |
| Neither model has a result on the other 6 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1290 | Only GLM 5.1 measured |
| Design Arena: UI components | Not measured | 1292 | Only GLM 5.1 measured |
| Design Arena: game dev | Not measured | 1265 | Only GLM 5.1 measured |
| Design Arena: data viz | Not measured | 1366 | Only GLM 5.1 measured |
| Design Arena: 3D | Not measured | 1336 | Only GLM 5.1 measured |
| Design Arena: all code categories | Not measured | 1268 | Only GLM 5.1 measured |
| Design Arena: SVG | Not measured | 1217 | Only GLM 5.1 measured |
| Design Arena: ASCII art | Not measured | 1142 | Only 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
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | Not measured | 61.8% | Only GLM 5.1 measured |
| MedScribe (Vals AI) | Not measured | 72.3% | Only GLM 5.1 measured |
| IFBench | Not measured | 76.3% | Only GLM 5.1 measured |
| Long context reasoning (AA-LCR) | Not measured | 73.7% | Only GLM 5.1 measured |
| ExploitBench | Not measured | 18.1% | Only GLM 5.1 measured |
| LMArena Text | Not measured | 1463 | Only GLM 5.1 measured |
| LMArena Text: instruction following | Not measured | 1453 | Only GLM 5.1 measured |
| LMArena Text: creative writing | Not measured | 1453 | Only GLM 5.1 measured |
| LMArena Text: English | Not measured | 1476 | Only GLM 5.1 measured |
| LMArena Text: non-English | Not measured | 1448 | Only GLM 5.1 measured |
| LMArena Text: Chinese | Not measured | 1515 | Only GLM 5.1 measured |
| LMArena Text: German | Not measured | 1467 | Only GLM 5.1 measured |
| LMArena Text: Japanese | Not measured | 1435 | Only GLM 5.1 measured |
| LMArena Text: Korean | Not measured | 1424 | Only GLM 5.1 measured |
| LMArena Text: French | Not measured | 1470 | Only GLM 5.1 measured |
| LMArena Text: Spanish | Not measured | 1468 | Only GLM 5.1 measured |
| LMArena Text: Russian | Not measured | 1454 | Only GLM 5.1 measured |
| LMArena Text: Polish | Not measured | 1449 | Only GLM 5.1 measured |
| LMArena Text: multi-turn | Not measured | 1473 | Only GLM 5.1 measured |
| LMArena Text: longer queries | Not measured | 1467 | Only GLM 5.1 measured |
| LMArena Text: writing and language | Not measured | 1454 | Only GLM 5.1 measured |
| LMArena Text: entertainment and media | Not measured | 1442 | Only 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
| Benchmark | Devstral 2 2512 | GLM 5.1 | Leader |
|---|---|---|---|
| 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
Devstral 2 2512 costs less
Repository review
50K input + 3K output tokens
Devstral 2 2512 costs less
Agent loop
200K input + 10K output tokens
Devstral 2 2512 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.
| Specification | Mistral Devstral 2 2512 | Z.ai GLM 5.1 |
|---|---|---|
| Maker | Mistral AI | Z.ai |
| Weights | Open weights | Open weights |
| Released | December 9, 2025 | April 7, 2026 |
| Context window | 262K | 205K |
| Input $/Mtok | $0.40 | $1.40 |
| Output $/Mtok | $2.00 | $4.40 |
| Coding index | 53.8 | 44.0 |
| Independent measurements behind it | 1 | 1 |
| Cost per solved task | $1.19 | $0.60 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Devstral 2 2512 better than GLM 5.1 for coding?
Pick Devstral 2 2512 for coding: it scores 53.8 on the Vibe Coding Index against 44.0 for GLM 5.1. Pick GLM 5.1 when a solved task costs $0.60 against $1.19, or when what matters is AA Coding Index or LiveCodeBench (Vals AI), where it leads.
Which is cheaper, Devstral 2 2512 or GLM 5.1?
Devstral 2 2512 costs $0.40 per million input tokens and $2.00 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Devstral 2 2512 costs $1.19 and GLM 5.1 $0.60.
Which has the bigger context window, Devstral 2 2512 or GLM 5.1?
Devstral 2 2512, with 262K tokens against 205K.
How many benchmarks is the Devstral 2 2512 vs GLM 5.1 comparison based on?
5 benchmarks have a result for both models as of October 21, 2026. Devstral 2 2512's coding index rests on 1 independent benchmark and GLM 5.1's on 1. Where only one model has a result, the page says so instead of naming a winner.