Enter opens the highlighted result. Esc closes.

GLM 5 vs Mistral Medium 3.1

GLM 5 leads Mistral Medium 3.1 on the Artificial Analysis Intelligence Index, 27.9 to 9.2, and Mistral Medium 3.1 costs 1.6x less per output token ($2.00 vs $3.20 per million). Updated October 21, 2026; 51 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.7
Overall
27.9
Output $/M
$3.20
49
Mistral Medium 3.1Mistral AI
Coding
No data
Overall
9.2
Output $/M
$2.00
2
vs boards won of 51 shared

GLM 5 or Mistral Medium 3.1: which to pick

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Mistral Medium 3.1 has none, so the two cannot be ranked on coding.

Pick Mistral Medium 3.1 for output tokens 1.6x cheaper ($2.00 vs $3.20 per million) and work measured by TaxEval (Vals AI) or LMArena Text: French, where it leads.

Shared results
51
GLM 5 only
24
Mistral Medium 3.1 only
23
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.1 not benchmarked.
Widest category
Agentic work, 57.6 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 5 98.2% against Mistral Medium 3.1 40.6%, 57.6 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against Mistral Medium 3.1 $2.00 per million output tokens, 1.6x apart.
Context window
GLM 5 takes 205K tokens, Mistral Medium 3.1 131K.

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.1Ties
Coding50
Intelligence10
Agentic work10
Reasoning50
Math30
Knowledge81
Web design80
General181
All shared boards492
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for GLM 5 and Mistral Medium 3.1
BenchmarkGLM 5Mistral Medium 3.1Leader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LMArena WebDev1435Not measuredOnly GLM 5 measured
AA Coding IndexNot measured20.5Only Mistral Medium 3.1 measured
LiveCodeBench (Vals AI)81.9%44.8%GLM 5
SWE-bench Verified (Vals AI)71.4%Not measuredOnly GLM 5 measured
Vibe Code Bench (Vals AI)23.4%Not measuredOnly GLM 5 measured
LiveCodeBench (Artificial Analysis run)Not measured40.6%Only Mistral Medium 3.1 measured
SciCodeNot measured32.4%Only Mistral Medium 3.1 measured
Terminal-Bench Hard (Artificial Analysis run)43.2%10.6%GLM 5
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
WeirdML48.2%Not measuredOnly GLM 5 measured
ALE-Bench765.6210.2GLM 5
LMArena Text: coding14611433GLM 5
LMArena Text: software and IT14601436GLM 5
LMArena WebDev: React1424Not measuredOnly GLM 5 measured
LMArena WebDev: HTML1450Not measuredOnly GLM 5 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 5 and Mistral Medium 3.1
BenchmarkGLM 5Mistral Medium 3.1Leader
AA Intelligence Index27.99.2GLM 5
Epoch Capabilities Index145.8Not measuredOnly GLM 5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 5 and Mistral Medium 3.1
BenchmarkGLM 5Mistral Medium 3.1Leader
AA Agentic IndexNot measured1.9Only Mistral Medium 3.1 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
τ²-Bench Telecom98.2%40.6%GLM 5
Vending-Bench 2$4,432Not measuredOnly GLM 5 measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for GLM 5 and Mistral Medium 3.1
BenchmarkGLM 5Mistral Medium 3.1Leader
GPQA Diamond83.3%Not measuredOnly GLM 5 measured
MMMU Pro (Vals AI)Not measured63.0%Only Mistral Medium 3.1 measured
GPQA Diamond (Artificial Analysis run)82.0%58.8%GLM 5
Humanity's Last Exam (Artificial Analysis run)29.3%4.7%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 prompts14521426GLM 5
LMArena Text: expert14541408GLM 5
LMArena Text: hard prompts in English14601435GLM 5
LMArena Vision: diagramsNot measured1175Only Mistral Medium 3.1 measured
LMArena Vision: homeworkNot measured1165Only Mistral Medium 3.1 measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for GLM 5 and Mistral Medium 3.1
BenchmarkGLM 5Mistral Medium 3.1Leader
AIME91.7%42.3%GLM 5
MATH 500 (Vals AI)Not measured87.0%Only Mistral Medium 3.1 measured
MGSM (Vals AI)Not measured90.9%Only Mistral Medium 3.1 measured
AA Math IndexNot measured38.3Only Mistral Medium 3.1 measured
AIME 2025 (Artificial Analysis run)Not measured38.3%Only Mistral Medium 3.1 measured
OTIS Mock AIME80.0%Not measuredOnly GLM 5 measured
LMArena Text: math14401408GLM 5
LMArena Text: mathematical work14511412GLM 5
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index81
Knowledge benchmarks for GLM 5 and Mistral Medium 3.1
BenchmarkGLM 5Mistral Medium 3.1Leader
MMLU Pro86.0%75.3%GLM 5
LegalBench (Vals AI)84.1%62.0%GLM 5
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%50.7%GLM 5
TaxEval (Vals AI)70.0%70.3%Mistral Medium 3.1
MortgageTax (Vals AI)Not measured36.5%Only Mistral Medium 3.1 measured
MedQA (Vals AI)94.3%78.2%GLM 5
MMLU Pro (Artificial Analysis run)Not measured68.3%Only Mistral Medium 3.1 measured
LMArena Text: science14601444GLM 5
LMArena Text: medicine and healthcare14551449GLM 5
LMArena Text: legal and government14531439GLM 5
LMArena Text: business and finance14301418GLM 5
Neither model has a result on the other 5 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.1
BenchmarkGLM 5Mistral Medium 3.1Leader
Design Arena: websites12471133GLM 5
Design Arena: UI components12301100GLM 5
Design Arena: game dev12341074GLM 5
Design Arena: data viz12281144GLM 5
Design Arena: 3D12291081GLM 5
Design Arena: all code categories12461120GLM 5
Design Arena: SVG1168993GLM 5
Design Arena: ASCII art1147997GLM 5
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index181
General benchmarks for GLM 5 and Mistral Medium 3.1
BenchmarkGLM 5Mistral Medium 3.1Leader
IFBench72.3%39.8%GLM 5
Long context reasoning (AA-LCR)75.7%42.7%GLM 5
DTBenchNot measured67.5%Only Mistral Medium 3.1 measured
LMCANot measured19.1%Only Mistral Medium 3.1 measured
CL-bench18.7%Not measuredOnly GLM 5 measured
LMArena Text14461424GLM 5
LMArena Text: instruction following14281398GLM 5
LMArena Text: creative writing14381391GLM 5
LMArena VisionNot measured1172Only Mistral Medium 3.1 measured
LMArena Text: English14581438GLM 5
LMArena Text: non-English14301408GLM 5
LMArena Text: Chinese15111447GLM 5
LMArena Text: German14471432GLM 5
LMArena Text: Japanese14161379GLM 5
LMArena Text: Korean14231380GLM 5
LMArena Text: French14561460Mistral Medium 3.1
LMArena Text: Spanish14541433GLM 5
LMArena Text: Russian14361411GLM 5
LMArena Text: Polish14341430GLM 5
LMArena Text: multi-turn14561418GLM 5
LMArena Text: longer queries14461406GLM 5
LMArena Text: writing and language14371395GLM 5
LMArena Text: entertainment and media14261390GLM 5
LMArena Vision: EnglishNot measured1179Only Mistral Medium 3.1 measured
LMArena Vision: ChineseNot measured1190Only Mistral Medium 3.1 measured
LMArena Vision: reading textNot measured1175Only Mistral Medium 3.1 measured
LMArena Vision: humorNot measured1168Only Mistral Medium 3.1 measured
LMArena Vision: captioningNot measured1145Only Mistral Medium 3.1 measured
LMArena Vision: recognizing thingsNot measured1147Only Mistral Medium 3.1 measured
LMArena Vision: creative writingNot measured1200Only Mistral Medium 3.1 measured
Neither model has a result on the other 16 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.1
BenchmarkGLM 5Mistral Medium 3.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

GLM 5$0.0026Fits in one request
Mistral Medium 3.1$0.0014Fits in one request

Mistral Medium 3.1 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
Mistral Medium 3.1$0.026Fits in one request

Mistral Medium 3.1 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
Mistral Medium 3.1$0.100Exceeds the context window

Mistral Medium 3.1 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.1
SpecificationZ.ai GLM 5Mistral Medium 3.1
MakerZ.aiMistral AI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026August 13, 2025
Context window205K131K
Input $/Mtok$1.00$0.40
Output $/Mtok$3.20$2.00
Coding index41.7Not benchmarked
Independent measurements behind it30
Cost per solved task$0.63Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than Mistral Medium 3.1 for coding?

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Mistral Medium 3.1 has none, so the two cannot be ranked on coding. Pick Mistral Medium 3.1 for output tokens 1.6x cheaper ($2.00 vs $3.20 per million) and work measured by TaxEval (Vals AI) or LMArena Text: French, where it leads.

Which is cheaper, GLM 5 or Mistral Medium 3.1?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; Mistral Medium 3.1 costs $0.40 and $2.00. Cost per solved task is known for GLM 5 only.

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

GLM 5, with 205K tokens against 131K.

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

51 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.1's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next