Gemini 3.1 Pro Preview vs GLM 5.3
Updated October 21, 2026. 86 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick GLM 5.3 for coding: it scores 73.1 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview.
Pick Gemini 3.1 Pro Preview when what matters is LiveCodeBench (Vals AI) or GPQA Diamond, where it leads.
- Shared results
- 86
- Gemini 3.1 Pro Preview only
- 45
- GLM 5.3 only
- 14
- Like-for-like categories
- 8 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
GLM 5.3
GLM 5.3 scores 73.1 against 35.3.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
GLM 5.3
GLM 5.3 leads, 44.8 against 29.7.
Same board, both measured
Agentic work
AA Agentic Index
GLM 5.3
GLM 5.3 leads, 53.1 against 8.2.
Same board, both measured
Reasoning
GPQA Diamond
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 95.5% against 88.1%.
Same board, both measured
Math
AIME
No call
Only Gemini 3.1 Pro Preview has a AIME result, 98.1%.
Directional only
Knowledge
MMLU Pro
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 91.0% against 86.8%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.3
GLM 5.3 leads, 1295 against 1234.
Same board, both measured
General
Vals Index
No call
Only GLM 5.3 has a Vals Index result, 59.7%.
Directional only
Long documents
Listed context window
No call
Both take 1.05M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.3
Gemini 3.1 Pro Preview $0.0080, GLM 5.3 $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.3
Gemini 3.1 Pro Preview $0.99, GLM 5.3 $0.36.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.1 Pro Preview 35.3 from 1 benchmark, GLM 5.3 73.1 from 2 benchmarks.
- Widest category
- Agentic work, 20.1 points apart on average over 12 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 3.1 Pro Preview 32.0% against GLM 5.3 78.1%, 46.1 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Pro Preview $12.00 against GLM 5.3 $1.40 per million output tokens, 8.6x 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 | Gemini 3.1 Pro Preview | Bars | GLM 5.3 | Ties |
|---|---|---|---|---|
| Coding | 1 | 17 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 12 | ||
| Reasoning | 6 | 4 | ||
| Math | 1 | 5 | ||
| Knowledge | 7 | 2 | ||
| Web design | 1 | 7 | ||
| General | 13 | 9 | ||
| All shared boards | 29 | 57 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index117
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 82.8% | Only GLM 5.3 measured |
| LMArena WebDev | 1447 | 1621 | GLM 5.3 |
| AA Coding Index | 68.8 | 74.8 | GLM 5.3 |
| LiveCodeBench (Vals AI) | 88.5% | 80.5% | Gemini 3.1 Pro Preview |
| SWE-bench Verified (Vals AI) | 78.8% | 95.4% | GLM 5.3 |
| Terminal-Bench 4 (Vals AI) | 2.5% | 38.9% | GLM 5.3 |
| Vibe Code Bench (Vals AI) | 32.0% | 78.1% | GLM 5.3 |
| Code migration (Vals AI) | 17.3% | 44.2% | GLM 5.3 |
| ProgramBench (Vals AI) | 0.0% | 1.5% | GLM 5.3 |
| IOI (Vals AI) | 51.8% | 68.4% | GLM 5.3 |
| Terminal-Bench 2.1 (Vals AI) | 70.8% | 71.5% | GLM 5.3 |
| Vibe Code Bench 1-100 (Vals AI) | 6.7% | 20.0% | GLM 5.3 |
| SkillsBench (Vals AI) | Not measured | 47.5% | Only GLM 5.3 measured |
| CyberBench (Vals AI) | Not measured | 72.1% | Only GLM 5.3 measured |
| SciCode | 58.7% | 59.0% | GLM 5.3 |
| Terminal-Bench Hard (Artificial Analysis run) | 53.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench | 80.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| FrontierCode | Not measured | 40.1% | Only GLM 5.3 measured |
| FrontierSWE | Not measured | 30.2% | Only GLM 5.3 measured |
| GSO-Bench | 22.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| WeirdML | 72.1% | 75.4% | GLM 5.3 |
| MirrorCode | 8.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ALE-Bench | 1160.6 | 1317.4 | GLM 5.3 |
| LMArena Text: coding | 1484 | 1497 | GLM 5.3 |
| LMArena Text: software and IT | 1487 | 1493 | GLM 5.3 |
| LMArena WebDev: React | 1438 | 1641 | GLM 5.3 |
| LMArena WebDev: HTML | 1490 | 1595 | GLM 5.3 |
| LMArena WebDev: from an image | 1481 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 10 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| AA Intelligence Index | 29.7 | 44.8 | GLM 5.3 |
| Epoch Capabilities Index | Not measured | 156.0 | Only GLM 5.3 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index012
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| AA Agentic Index | 8.2 | 53.1 | GLM 5.3 |
| Design Arena: agents building web apps | 1125 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building full-stack apps | 1068 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building mobile apps | 1094 | 1194 | GLM 5.3 |
| Design Arena: agents building Android apps | 1055 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building Godot games | 1236 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building games | 1114 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: HTML slides | 1153 | 1189 | GLM 5.3 |
| Design Arena: PowerPoint slides | 1064 | 1255 | GLM 5.3 |
| LiveBench research | Not measured | 73.2% | Only GLM 5.3 measured |
| LiveBench browser | Not measured | 0.0% | Only GLM 5.3 measured |
| LiveBench long agentic | Not measured | 35.9% | Only GLM 5.3 measured |
| SREBench (Vals AI) | 0.0% | 9.2% | GLM 5.3 |
| Finance Agent (Vals AI) | 43.0% | 55.8% | GLM 5.3 |
| Tax Agent Bench (Vals AI) | 9.3% | 39.7% | GLM 5.3 |
| Legal Research Bench (Vals AI) | 20.7% | 49.0% | GLM 5.3 |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 14.6% | Only GLM 5.3 measured |
| Excel Modeling Benchmark (Vals AI) | 52.6% | 56.3% | GLM 5.3 |
| BioMysteryBench (Vals AI) | 60.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench-Science (Vals AI) | 1.4% | 5.7% | GLM 5.3 |
| Vals Science Index | 27.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| τ²-Bench Telecom | 95.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| APEX-Agents | 35.1% | 56.6% | GLM 5.3 |
| METR time horizons | 77.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| BALROG | 57.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| DeepResearch Bench | 47.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| PostTrainBench | 22.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vending-Bench 2 | $911 | $8,164 | GLM 5.3 |
| Neither model has a result on the other 11 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index64
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| GPQA Diamond | 95.5% | 88.1% | Gemini 3.1 Pro Preview |
| LiveBench reasoning | Not measured | 85.8% | Only GLM 5.3 measured |
| MysteryMechanism (Vals AI) | 20.7% | 23.0% | GLM 5.3 |
| MMMU Pro (Vals AI) | 88.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GPQA Diamond (Artificial Analysis run) | 94.1% | 91.7% | Gemini 3.1 Pro Preview |
| Humanity's Last Exam (Artificial Analysis run) | 47.0% | 42.3% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Epoch AI run) | 94.4% | 90.9% | Gemini 3.1 Pro Preview |
| ARC-AGI | 98.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ARC-AGI-2 | 77.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SimpleBench | 79.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Chess puzzles | 51.0% | 37.0% | Gemini 3.1 Pro Preview |
| Mystery game puzzles | 34.0% | 33.0% | Gemini 3.1 Pro Preview |
| EBR-bench | 14.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: hard prompts | 1485 | 1490 | GLM 5.3 |
| LMArena Text: expert | 1483 | 1514 | GLM 5.3 |
| LMArena Text: hard prompts in English | 1480 | 1496 | GLM 5.3 |
| LMArena Vision: diagrams | 1311 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: homework | 1316 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 3 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index15
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| AIME | 98.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| OTIS Mock AIME | 95.6% | 91.1% | Gemini 3.1 Pro Preview |
| FrontierMath, tiers 1 to 3 | 59.6% | 68.8% | GLM 5.3 |
| FrontierMath, tier 4 | 26.8% | 29.3% | GLM 5.3 |
| ProofBench | 26.0% | 49.0% | GLM 5.3 |
| LMArena Text: math | 1486 | 1495 | GLM 5.3 |
| LMArena Text: mathematical work | 1478 | 1497 | GLM 5.3 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index72
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| MMLU Pro | 91.0% | 86.8% | Gemini 3.1 Pro Preview |
| LegalBench (Vals AI) | 87.4% | 84.8% | Gemini 3.1 Pro Preview |
| CaseLaw (Vals AI) | 64.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CorpFin (Vals AI) | 64.5% | Not measured | Only Gemini 3.1 Pro Preview measured |
| TaxEval (Vals AI) | 72.9% | 72.4% | Gemini 3.1 Pro Preview |
| MortgageTax (Vals AI) | 69.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedQA (Vals AI) | 96.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedCode (Vals AI) | 59.1% | 42.9% | Gemini 3.1 Pro Preview |
| SimpleQA Verified | 73.5% | 41.0% | Gemini 3.1 Pro Preview |
| LMArena Text: science | 1497 | 1498 | GLM 5.3 |
| LMArena Text: medicine and healthcare | 1486 | 1481 | Gemini 3.1 Pro Preview |
| LMArena Text: legal and government | 1487 | 1473 | Gemini 3.1 Pro Preview |
| LMArena Text: business and finance | 1459 | 1459 | GLM 5.3 |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index17
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| Design Arena: websites | 1234 | 1295 | GLM 5.3 |
| Design Arena: UI components | 1226 | 1314 | GLM 5.3 |
| Design Arena: game dev | 1203 | 1311 | GLM 5.3 |
| Design Arena: data viz | 1209 | 1260 | GLM 5.3 |
| Design Arena: 3D | 1234 | 1332 | GLM 5.3 |
| Design Arena: all code categories | 1231 | 1304 | GLM 5.3 |
| Design Arena: SVG | 1285 | 1292 | GLM 5.3 |
| Design Arena: ASCII art | 1270 | 1213 | Gemini 3.1 Pro Preview |
| LiveBench design | Not measured | 77.3% | Only GLM 5.3 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index139
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 59.7% | Only GLM 5.3 measured |
| LiveBench data analysis | Not measured | 70.2% | Only GLM 5.3 measured |
| Public Benefits Bench (Vals AI) | 53.8% | 68.5% | GLM 5.3 |
| SAGE (Vals AI) | 48.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedScribe (Vals AI) | 76.1% | 88.8% | GLM 5.3 |
| Vals Multimodal Index | 56.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| IFBench | 77.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Long context reasoning (AA-LCR) | 82.0% | 79.7% | Gemini 3.1 Pro Preview |
| DTBench | 97.1% | 87.7% | Gemini 3.1 Pro Preview |
| LMCA | 53.8% | 55.5% | GLM 5.3 |
| CL-bench | 20.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Furniture assembly | 26.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ExploitBench | 26.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CL-bench Life | 16.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text | 1480 | 1474 | Gemini 3.1 Pro Preview |
| LMArena Text: instruction following | 1466 | 1479 | GLM 5.3 |
| LMArena Text: creative writing | 1482 | 1458 | Gemini 3.1 Pro Preview |
| LMArena Vision | 1296 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: English | 1478 | 1482 | GLM 5.3 |
| LMArena Text: non-English | 1476 | 1459 | Gemini 3.1 Pro Preview |
| LMArena Text: Chinese | 1527 | 1532 | GLM 5.3 |
| LMArena Text: German | 1490 | 1488 | Gemini 3.1 Pro Preview |
| LMArena Text: Japanese | 1491 | 1460 | Gemini 3.1 Pro Preview |
| LMArena Text: Korean | 1455 | 1460 | GLM 5.3 |
| LMArena Text: French | 1487 | 1503 | GLM 5.3 |
| LMArena Text: Spanish | 1481 | 1462 | Gemini 3.1 Pro Preview |
| LMArena Text: Russian | 1497 | 1469 | Gemini 3.1 Pro Preview |
| LMArena Text: Polish | 1498 | 1466 | Gemini 3.1 Pro Preview |
| LMArena Text: multi-turn | 1487 | 1472 | Gemini 3.1 Pro Preview |
| LMArena Text: longer queries | 1482 | 1483 | GLM 5.3 |
| LMArena Text: writing and language | 1481 | 1469 | Gemini 3.1 Pro Preview |
| LMArena Text: entertainment and media | 1465 | 1447 | Gemini 3.1 Pro Preview |
| LMArena Vision: English | 1287 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: Chinese | 1364 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: reading text | 1304 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: humor | 1322 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: captioning | 1345 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: recognizing things | 1330 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: creative writing | 1324 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Document | 1444 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 6 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | GLM 5.3 | 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
GLM 5.3 costs less
Repository review
50K input + 3K output tokens
GLM 5.3 costs less
Agent loop
200K input + 10K output tokens
GLM 5.3 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 | Google Gemini 3.1 Pro Preview | Z.ai GLM 5.3 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | February 19, 2026 | August 18, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $2.00 | $0.079 |
| Output $/Mtok | $12.00 | $1.40 |
| Coding index | 35.3 | 73.1 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | $0.99 | $0.36 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview better than GLM 5.3 for coding?
Pick GLM 5.3 for coding: it scores 73.1 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview when what matters is LiveCodeBench (Vals AI) or GPQA Diamond, where it leads.
Which is cheaper, Gemini 3.1 Pro Preview or GLM 5.3?
Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; GLM 5.3 costs $0.079 and $1.40. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and GLM 5.3 $0.36.
Which has the bigger context window, Gemini 3.1 Pro Preview or GLM 5.3?
Neither: both take 1.05M tokens.
How many benchmarks is the Gemini 3.1 Pro Preview vs GLM 5.3 comparison based on?
86 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Pro Preview's coding index rests on 1 independent benchmark and GLM 5.3's on 2. Where only one model has a result, the page says so instead of naming a winner.