GLM 5.4 vs Mistral Large 4
GLM 5.4 leads Mistral Large 4 on coding, 72.7 to 61.0 on the Vibe Coding Index, and Mistral Large 4 costs 2.1x less per output token ($2.10 vs $4.40 per million). Updated December 3, 2026; 10 benchmarks have a result for both.
GLM 5.4 or Mistral Large 4: which to pick
Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 61.0 for Mistral Large 4, though on 2 benchmarks against 5.
Pick Mistral Large 4 for output tokens 2.1x cheaper ($2.10 vs $4.40 per million) and work measured by LiveBench coding or LiveBench design, where it leads.
- Shared results
- 10
- GLM 5.4 only
- 0
- Mistral Large 4 only
- 85
- Like-for-like categories
- 5 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
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, six public coding benchmarks
GLM 5.4
GLM 5.4 scores 72.7 against 61.0.
2 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only Mistral Large 4 has a AA Intelligence Index result, 26.0.
Directional only
Web design
Design Arena: websites
No call
Only Mistral Large 4 has a Design Arena: websites result, 1315.
Directional only
General
Vals Index
No call
Only Mistral Large 4 has a Vals Index result, 54.4%.
Directional only
Long documents
Listed context window
No call
Both take 1.05M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Mistral Large 4
GLM 5.4 $0.0036, Mistral Large 4 $0.0018 per turn.
List prices
At a glance
- Coding index
- GLM 5.4 72.7 from 2 benchmarks, Mistral Large 4 61.0 from 5 benchmarks.
- Widest category
- Agentic work, 23.1 points apart on average over 3 shared benchmarks.
- Widest single gap
- LiveBench browser: GLM 5.4 64.5% against Mistral Large 4 17.4%, 47.1 points apart on a 0 to 100 scale.
- Output price
- GLM 5.4 $4.40 against Mistral Large 4 $2.10 per million output tokens, 2.1x apart.
- Context window
- Both take 1.05M tokens.
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 | GLM 5.4 | Bars | Mistral Large 4 | Ties |
|---|---|---|---|---|
| Coding | 3 | 1 | ||
| Agentic work | 3 | 0 | ||
| Reasoning | 0 | 0 | 1 tie | |
| Web design | 0 | 1 | ||
| General | 0 | 1 | ||
| All shared boards | 6 | 3 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index31
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| LiveBench coding | 74.5% | 79.4% | Mistral Large 4 |
| LMArena WebDev | 1690 | 1571 | GLM 5.4 |
| Terminal-Bench 4 (Vals AI) | Not measured | 27.8% | Only Mistral Large 4 measured |
| Vibe Code Bench (Vals AI) | Not measured | 81.6% | Only Mistral Large 4 measured |
| Code migration (Vals AI) | Not measured | 30.6% | Only Mistral Large 4 measured |
| IOI (Vals AI) | Not measured | 45.3% | Only Mistral Large 4 measured |
| SWE-bench Multimodal (Vals AI) | Not measured | 33.1% | Only Mistral Large 4 measured |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 14.3% | Only Mistral Large 4 measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | Not measured | 24.7% | Only Mistral Large 4 measured |
| FrontierCode 2.0 | Not measured | 15.0% | Only Mistral Large 4 measured |
| FrontierCode | Not measured | 39.4% | Only Mistral Large 4 measured |
| MirrorCode | Not measured | 40.0% | Only Mistral Large 4 measured |
| ALE-Bench | Not measured | 1213.2 | Only Mistral Large 4 measured |
| LMArena Text: coding | Not measured | 1460 | Only Mistral Large 4 measured |
| LMArena Text: software and IT | Not measured | 1459 | Only Mistral Large 4 measured |
| LMArena WebDev: React | 1739 | 1580 | GLM 5.4 |
| LMArena WebDev: HTML | 1675 | 1561 | GLM 5.4 |
| GameBench 2 | Not measured | 57.9 | Only Mistral Large 4 measured |
| Terminal-Bench 4.0 | Not measured | 27.9% | Only Mistral Large 4 measured |
| Neither model has a result on the other 33 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 26.0 | Only Mistral Large 4 measured |
| Epoch Capabilities Index | Not measured | 154.5 | Only Mistral Large 4 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| LiveBench research | 86.0% | 80.3% | GLM 5.4 |
| LiveBench browser | 64.5% | 17.4% | GLM 5.4 |
| LiveBench long agentic | 41.3% | 24.7% | GLM 5.4 |
| Finance Agent (Vals AI) | Not measured | 54.7% | Only Mistral Large 4 measured |
| Tax Agent Bench (Vals AI) | Not measured | 30.7% | Only Mistral Large 4 measured |
| Legal Research Bench (Vals AI) | Not measured | 35.6% | Only Mistral Large 4 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 17.5% | Only Mistral Large 4 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 56.2% | Only Mistral Large 4 measured |
| BioMysteryBench (Vals AI) | Not measured | 67.0% | Only Mistral Large 4 measured |
| APEX-Agents | Not measured | 51.6% | Only Mistral Large 4 measured |
| Neither model has a result on the other 34 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index00
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| LiveBench reasoning | 85.2% | 85.2% | Tie |
| MysteryMechanism (Vals AI) | Not measured | 12.2% | Only Mistral Large 4 measured |
| HLE-Diamond (Artificial Analysis run) | Not measured | 17.3% | Only Mistral Large 4 measured |
| CritPt v2, hard subset (Artificial Analysis run) | Not measured | 27.0% | Only Mistral Large 4 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 88.1% | Only Mistral Large 4 measured |
| Chess puzzles | Not measured | 33.0% | Only Mistral Large 4 measured |
| Mystery game puzzles | Not measured | 17.0% | Only Mistral Large 4 measured |
| LMArena Text: hard prompts | Not measured | 1437 | Only Mistral Large 4 measured |
| LMArena Text: expert | Not measured | 1450 | Only Mistral Large 4 measured |
| LMArena Text: hard prompts in English | Not measured | 1446 | Only Mistral Large 4 measured |
| LMArena Vision: diagrams | Not measured | 1273 | Only Mistral Large 4 measured |
| LMArena Vision: homework | Not measured | 1266 | Only Mistral Large 4 measured |
| Humanity's Last Exam (Scale run) | Not measured | 12.3% | Only Mistral Large 4 measured |
| Neither model has a result on the other 13 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| OTIS Mock AIME | Not measured | 98.3% | Only Mistral Large 4 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 58.6% | Only Mistral Large 4 measured |
| FrontierMath, tier 4 | Not measured | 26.8% | Only Mistral Large 4 measured |
| ProofBench | Not measured | 10.0% | Only Mistral Large 4 measured |
| LMArena Text: math | Not measured | 1445 | Only Mistral Large 4 measured |
| LMArena Text: mathematical work | Not measured | 1451 | Only Mistral Large 4 measured |
| MathArena | Not measured | 20.7% | Only Mistral Large 4 measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| MedCode (Vals AI) | Not measured | 40.7% | Only Mistral Large 4 measured |
| AA-Omniscience | Not measured | 5.1 | Only Mistral Large 4 measured |
| SimpleQA Verified | Not measured | 20.0% | Only Mistral Large 4 measured |
| LMArena Text: science | Not measured | 1433 | Only Mistral Large 4 measured |
| LMArena Text: medicine and healthcare | Not measured | 1402 | Only Mistral Large 4 measured |
| LMArena Text: legal and government | Not measured | 1433 | Only Mistral Large 4 measured |
| LMArena Text: business and finance | Not measured | 1427 | Only Mistral Large 4 measured |
| PRBench Finance | Not measured | 52.3% | Only Mistral Large 4 measured |
| PRBench Legal | Not measured | 52.3% | Only Mistral Large 4 measured |
| Neither model has a result on the other 12 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1315 | Only Mistral Large 4 measured |
| Design Arena: UI components | Not measured | 1306 | Only Mistral Large 4 measured |
| Design Arena: game dev | Not measured | 1293 | Only Mistral Large 4 measured |
| Design Arena: data viz | Not measured | 1268 | Only Mistral Large 4 measured |
| Design Arena: 3D | Not measured | 1279 | Only Mistral Large 4 measured |
| Design Arena: all code categories | Not measured | 1335 | Only Mistral Large 4 measured |
| Design Arena: SVG | Not measured | 1272 | Only Mistral Large 4 measured |
| Design Arena: ASCII art | Not measured | 1190 | Only Mistral Large 4 measured |
| LiveBench design | 74.2% | 76.3% | Mistral Large 4 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.4 | Mistral Large 4 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 54.4% | Only Mistral Large 4 measured |
| LiveBench data analysis | 72.2% | 76.6% | Mistral Large 4 |
| MedScribe (Vals AI) | Not measured | 80.4% | Only Mistral Large 4 measured |
| DTBench | Not measured | 88.2% | Only Mistral Large 4 measured |
| LMCA | Not measured | 35.8% | Only Mistral Large 4 measured |
| Surface Evolver Bench | Not measured | 28.1% | Only Mistral Large 4 measured |
| Furniture assembly | Not measured | 20.8% | Only Mistral Large 4 measured |
| LMArena Text | Not measured | 1414 | Only Mistral Large 4 measured |
| LMArena Text: instruction following | Not measured | 1419 | Only Mistral Large 4 measured |
| LMArena Text: creative writing | Not measured | 1344 | Only Mistral Large 4 measured |
| LMArena Vision | Not measured | 1245 | Only Mistral Large 4 measured |
| LMArena Text: English | Not measured | 1426 | Only Mistral Large 4 measured |
| LMArena Text: non-English | Not measured | 1400 | Only Mistral Large 4 measured |
| LMArena Text: Chinese | Not measured | 1463 | Only Mistral Large 4 measured |
| LMArena Text: French | Not measured | 1445 | Only Mistral Large 4 measured |
| LMArena Text: Spanish | Not measured | 1457 | Only Mistral Large 4 measured |
| LMArena Text: Russian | Not measured | 1416 | Only Mistral Large 4 measured |
| LMArena Text: multi-turn | Not measured | 1422 | Only Mistral Large 4 measured |
| LMArena Text: longer queries | Not measured | 1411 | Only Mistral Large 4 measured |
| LMArena Text: writing and language | Not measured | 1372 | Only Mistral Large 4 measured |
| LMArena Text: entertainment and media | Not measured | 1360 | Only Mistral Large 4 measured |
| LMArena Vision: English | Not measured | 1259 | Only Mistral Large 4 measured |
| LMArena Vision: Chinese | Not measured | 1339 | Only Mistral Large 4 measured |
| LMArena Vision: reading text | Not measured | 1259 | Only Mistral Large 4 measured |
| LMArena Vision: humor | Not measured | 1207 | Only Mistral Large 4 measured |
| LMArena Vision: creative writing | Not measured | 1208 | Only Mistral Large 4 measured |
| Neither model has a result on the other 23 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.4 | Mistral Large 4 | 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
Mistral Large 4 costs less
Repository review
50K input + 3K output tokens
Mistral Large 4 costs less
Agent loop
200K input + 10K output tokens
Mistral Large 4 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 | Z.ai GLM 5.4 | Mistral Large 4 |
|---|---|---|
| Maker | Z.ai | Mistral AI |
| Weights | Open weights | Open weights |
| Released | December 2, 2026 | October 6, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.40 | $0.70 |
| Output $/Mtok | $4.40 | $2.10 |
| Coding index | 72.7 | 61.0 |
| Independent measurements behind it | 2 | 5 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.4 better than Mistral Large 4 for coding?
Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 61.0 for Mistral Large 4, though on 2 benchmarks against 5. Pick Mistral Large 4 for output tokens 2.1x cheaper ($2.10 vs $4.40 per million) and work measured by LiveBench coding or LiveBench design, where it leads.
Which is cheaper, GLM 5.4 or Mistral Large 4?
GLM 5.4 costs $1.40 per million input tokens and $4.40 per million output tokens; Mistral Large 4 costs $0.70 and $2.10. Cost per solved task is known for neither of them.
Which has the bigger context window, GLM 5.4 or Mistral Large 4?
Neither: both take 1.05M tokens.
How many benchmarks is the GLM 5.4 vs Mistral Large 4 comparison based on?
10 benchmarks have a result for both models as of December 3, 2026. GLM 5.4's coding index rests on 2 independent benchmarks and Mistral Large 4's on 5. Where only one model has a result, the page says so instead of naming a winner.