Enter opens the highlighted result. Esc closes.

GLM 5 vs Mistral Medium 3.5

GLM 5 leads Mistral Medium 3.5 on coding, 41.7 to 25.5 on the Vibe Coding Index, and GLM 5 costs 2.3x less per output token ($3.20 vs $7.50 per million). Updated October 21, 2026; 55 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
54
Mistral Medium 3.5Mistral AI
Coding
25.5
Overall
37.3
Output $/M
$7.50
1
vs boards won of 55 shared

GLM 5 or Mistral Medium 3.5: which to pick

Pick GLM 5 for coding: it scores 41.7 on the Vibe Coding Index against 25.5 for Mistral Medium 3.5.

Pick Mistral Medium 3.5 for a larger context window (262K against 205K tokens) and work measured by LMArena Text: German, where it leads.

Shared results
55
GLM 5 only
21
Mistral Medium 3.5 only
26
Like-for-like categories
8 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.

At a glance

Coding index
GLM 5 41.7 from 3 benchmarks, Mistral Medium 3.5 25.5 from 3 benchmarks.
Widest category
Web design, 17.4 points apart on average over 8 shared benchmarks.
Widest single gap
GPQA Diamond: GLM 5 83.3% against Mistral Medium 3.5 34.9%, 48.5 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against Mistral Medium 3.5 $7.50 per million output tokens, 2.3x apart.
Context window
GLM 5 takes 205K tokens, Mistral Medium 3.5 262K.

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
CategoryGLM 5BarsMistral Medium 3.5Ties
Coding90
Intelligence20
Agentic work10
Reasoning70
Math20
Knowledge80
Web design80
General171
All shared boards541
CodingLike-for-likeSix of these boards feed the Vibe Coding Index90
Coding benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LMArena WebDev14351264GLM 5
AA Coding IndexNot measured46.9Only Mistral Medium 3.5 measured
LiveCodeBench (Vals AI)81.9%Not measuredOnly GLM 5 measured
SWE-bench Verified (Vals AI)71.4%66.4%GLM 5
Vibe Code Bench (Vals AI)23.4%2.9%GLM 5
Code migration (Vals AI)Not measured5.1%Only Mistral Medium 3.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured39.0%Only Mistral Medium 3.5 measured
SciCodeNot measured40.2%Only Mistral Medium 3.5 measured
Terminal-Bench Hard (Artificial Analysis run)43.2%33.3%GLM 5
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
WeirdML48.2%Not measuredOnly GLM 5 measured
ALE-Bench765.6764.0GLM 5
LMArena Text: coding14611460GLM 5
LMArena Text: software and IT14601458GLM 5
LMArena WebDev: React14241254GLM 5
LMArena WebDev: HTML14501308GLM 5
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
AA Intelligence Index27.914.2GLM 5
Epoch Capabilities Index145.8141.4GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
AA Agentic IndexNot measured7.0Only Mistral Medium 3.5 measured
Design Arena: agents building full-stack apps1123Not measuredOnly GLM 5 measured
Design Arena: agents building mobile apps1136Not measuredOnly GLM 5 measured
Design Arena: agents building Android apps1146Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1148Not measuredOnly GLM 5 measured
Finance Agent (Vals AI)Not measured32.1%Only Mistral Medium 3.5 measured
Tax Agent Bench (Vals AI)Not measured4.5%Only Mistral Medium 3.5 measured
Legal Research Bench (Vals AI)Not measured9.1%Only Mistral Medium 3.5 measured
Excel Modeling Benchmark (Vals AI)Not measured11.2%Only Mistral Medium 3.5 measured
τ²-Bench Telecom98.2%94.2%GLM 5
Vending-Bench 2$4,432Not measuredOnly GLM 5 measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
Reasoning benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
GPQA Diamond83.3%34.9%GLM 5
GPQA Diamond (Artificial Analysis run)82.0%74.8%GLM 5
Humanity's Last Exam (Artificial Analysis run)29.3%13.8%GLM 5
GPQA Diamond (Epoch AI run)87.8%Not measuredOnly GLM 5 measured
ARC-AGI44.7%Not measuredOnly GLM 5 measured
ARC-AGI-24.9%Not measuredOnly GLM 5 measured
SimpleBench53.2%Not measuredOnly GLM 5 measured
LMArena Text: hard prompts14521436GLM 5
LMArena Text: expert14541432GLM 5
LMArena Text: hard prompts in English14601445GLM 5
LMArena Vision: diagramsNot measured1254Only Mistral Medium 3.5 measured
LMArena Vision: homeworkNot measured1230Only Mistral Medium 3.5 measured
Kagi LLM Benchmark75.0%41.4%GLM 5
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
AIME91.7%Not measuredOnly GLM 5 measured
OTIS Mock AIME80.0%Not measuredOnly GLM 5 measured
ProofBenchNot measured9.0%Only Mistral Medium 3.5 measured
LMArena Text: math14401431GLM 5
LMArena Text: mathematical work14511440GLM 5
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index80
Knowledge benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
MMLU Pro86.0%75.3%GLM 5
LegalBench (Vals AI)84.1%Not measuredOnly GLM 5 measured
CaseLaw (Vals AI)52.5%44.2%GLM 5
CorpFin (Vals AI)62.9%58.8%GLM 5
TaxEval (Vals AI)70.0%68.0%GLM 5
MortgageTax (Vals AI)Not measured28.9%Only Mistral Medium 3.5 measured
MedQA (Vals AI)94.3%Not measuredOnly GLM 5 measured
MedCode (Vals AI)Not measured33.8%Only Mistral Medium 3.5 measured
LMArena Text: science14601428GLM 5
LMArena Text: medicine and healthcare14551409GLM 5
LMArena Text: legal and government14531437GLM 5
LMArena Text: business and finance14301426GLM 5
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
Design Arena: websites12471142GLM 5
Design Arena: UI components12301079GLM 5
Design Arena: game dev12341079GLM 5
Design Arena: data viz12281120GLM 5
Design Arena: 3D12291061GLM 5
Design Arena: all code categories12461121GLM 5
Design Arena: SVG1168950GLM 5
Design Arena: ASCII art11471063GLM 5
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index171
General benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
SAGE (Vals AI)Not measured37.6%Only Mistral Medium 3.5 measured
MedScribe (Vals AI)Not measured67.7%Only Mistral Medium 3.5 measured
Vals Multimodal IndexNot measured34.8%Only Mistral Medium 3.5 measured
IFBench72.3%68.8%GLM 5
Long context reasoning (AA-LCR)75.7%69.3%GLM 5
DTBenchNot measured75.5%Only Mistral Medium 3.5 measured
LMCANot measured26.1%Only Mistral Medium 3.5 measured
CL-bench18.7%Not measuredOnly GLM 5 measured
Surface Evolver BenchNot measured26.9%Only Mistral Medium 3.5 measured
LMArena Text14461421GLM 5
LMArena Text: instruction following14281415GLM 5
LMArena Text: creative writing14381374GLM 5
LMArena VisionNot measured1222Only Mistral Medium 3.5 measured
LMArena Text: English14581433GLM 5
LMArena Text: non-English14301404GLM 5
LMArena Text: Chinese15111444GLM 5
LMArena Text: German14471453Mistral Medium 3.5
LMArena Text: Japanese1416Not measuredOnly GLM 5 measured
LMArena Text: Korean14231384GLM 5
LMArena Text: French14561448GLM 5
LMArena Text: Spanish14541411GLM 5
LMArena Text: Russian14361395GLM 5
LMArena Text: Polish14341430GLM 5
LMArena Text: multi-turn14561423GLM 5
LMArena Text: longer queries14461415GLM 5
LMArena Text: writing and language14371384GLM 5
LMArena Text: entertainment and media14261382GLM 5
LMArena Vision: EnglishNot measured1240Only Mistral Medium 3.5 measured
LMArena Vision: ChineseNot measured1244Only Mistral Medium 3.5 measured
LMArena Vision: reading textNot measured1233Only Mistral Medium 3.5 measured
LMArena Vision: humorNot measured1216Only Mistral Medium 3.5 measured
LMArena Vision: creative writingNot measured1198Only Mistral Medium 3.5 measured
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5 and Mistral Medium 3.5
BenchmarkGLM 5Mistral Medium 3.5Leader
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

GLM 5$0.0026Fits in one request
Mistral Medium 3.5$0.0053Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
Mistral Medium 3.5$0.098Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
Mistral Medium 3.5$0.375Fits in one request

GLM 5 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 GLM 5 and Mistral Medium 3.5
SpecificationZ.ai GLM 5Mistral Medium 3.5
MakerZ.aiMistral AI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026April 30, 2026
Context window205K262K
Input $/Mtok$1.00$1.50
Output $/Mtok$3.20$7.50
Coding index41.725.5
Independent measurements behind it33
Cost per solved task$0.63$6.02
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than Mistral Medium 3.5 for coding?

Pick GLM 5 for coding: it scores 41.7 on the Vibe Coding Index against 25.5 for Mistral Medium 3.5. Pick Mistral Medium 3.5 for a larger context window (262K against 205K tokens) and work measured by LMArena Text: German, where it leads.

Which is cheaper, GLM 5 or Mistral Medium 3.5?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; Mistral Medium 3.5 costs $1.50 and $7.50. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and Mistral Medium 3.5 $6.02.

Which has the bigger context window, GLM 5 or Mistral Medium 3.5?

Mistral Medium 3.5, with 262K tokens against 205K.

How many benchmarks is the GLM 5 vs Mistral Medium 3.5 comparison based on?

55 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 3 independent benchmarks and Mistral Medium 3.5's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/glm-5-vs-mistral-medium-3-5" title="GLM 5 vs Mistral Medium 3.5, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/glm-5-vs-mistral-medium-3-5">LLMBenchmark.ai, GLM 5 vs Mistral Medium 3.5</a></p>