LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs GLM 5.3 Flash

Updated October 21, 2026. 87 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemini 3.1 Pro PreviewGoogle
Coding
35.3
Overall
29.7
Output $/M
$12.00
45
GLM 5.3 FlashZ.ai
Coding
71.0
Overall
41.8
Output $/M
$0.50
41
vs boards won of 87 shared, 1 tied

Decision reading

Pick GLM 5.3 Flash for coding: it scores 71.0 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 Vibe Code Bench (Vals AI), where it leads.

Shared results
87
Gemini 3.1 Pro Preview only
44
GLM 5.3 Flash only
15
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.

At a glance

Coding index
Gemini 3.1 Pro Preview 35.3 from 1 benchmark, GLM 5.3 Flash 71.0 from 2 benchmarks.
Widest category
Agentic work, 15.9 points apart on average over 8 shared benchmarks.
Widest single gap
AA Agentic Index: Gemini 3.1 Pro Preview 8.2 against GLM 5.3 Flash 50.9, 42.7 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against GLM 5.3 Flash $0.50 per million output tokens, 24.0x 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.

Boards won, where both have a result
CategoryGemini 3.1 Pro PreviewBarsGLM 5.3 FlashTies
Coding5121 tie
Intelligence01
Agentic work08
Reasoning95
Math42
Knowledge52
Web design26
General205
All shared boards45411 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index512
Coding benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
LiveBench codingNot measured80.6%Only GLM 5.3 Flash measured
LMArena WebDev14471607GLM 5.3 Flash
AA Coding Index68.871.5GLM 5.3 Flash
LiveCodeBench (Vals AI)88.5%80.5%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.8%92.0%GLM 5.3 Flash
Terminal-Bench 4 (Vals AI)2.5%37.4%GLM 5.3 Flash
Vibe Code Bench (Vals AI)32.0%30.8%Gemini 3.1 Pro Preview
Code migration (Vals AI)17.3%20.5%GLM 5.3 Flash
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)51.8%52.5%GLM 5.3 Flash
Terminal-Bench 2.1 (Vals AI)70.8%62.9%Gemini 3.1 Pro Preview
Vibe Code Bench 1-100 (Vals AI)6.7%16.0%GLM 5.3 Flash
SkillsBench (Vals AI)Not measured40.2%Only GLM 5.3 Flash measured
CyberBench (Vals AI)Not measured67.9%Only GLM 5.3 Flash measured
SciCode58.7%51.6%Gemini 3.1 Pro Preview
Terminal-Bench Hard (Artificial Analysis run)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierCodeNot measured31.8%Only GLM 5.3 Flash measured
FrontierSWENot measured18.1%Only GLM 5.3 Flash measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%Not measuredOnly Gemini 3.1 Pro Preview measured
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.6303.6Gemini 3.1 Pro Preview
LMArena Text: coding14841507GLM 5.3 Flash
LMArena Text: software and IT14871500GLM 5.3 Flash
LMArena WebDev: React14381624GLM 5.3 Flash
LMArena WebDev: HTML14901577GLM 5.3 Flash
LMArena WebDev: from an image14811578GLM 5.3 Flash
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
AA Intelligence Index29.741.8GLM 5.3 Flash
Epoch Capabilities IndexNot measured153.1Only GLM 5.3 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index08
Agentic work benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
AA Agentic Index8.250.9GLM 5.3 Flash
Design Arena: agents building web apps1125Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building full-stack apps1068Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building mobile apps1094Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Android apps1055Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot games1236Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building games1114Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: HTML slides1153Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides1064Not measuredOnly Gemini 3.1 Pro Preview measured
LiveBench researchNot measured70.1%Only GLM 5.3 Flash measured
LiveBench browserNot measured84.0%Only GLM 5.3 Flash measured
LiveBench long agenticNot measured28.4%Only GLM 5.3 Flash measured
SREBench (Vals AI)0.0%0.8%GLM 5.3 Flash
Finance Agent (Vals AI)43.0%57.9%GLM 5.3 Flash
Tax Agent Bench (Vals AI)9.3%31.6%GLM 5.3 Flash
Legal Research Bench (Vals AI)20.7%45.2%GLM 5.3 Flash
Harvey's Legal Agent Benchmark (Vals AI)Not measured10.4%Only GLM 5.3 Flash measured
Excel Modeling Benchmark (Vals AI)52.6%55.9%GLM 5.3 Flash
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%2.9%GLM 5.3 Flash
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
APEX-Agents35.1%52.8%GLM 5.3 Flash
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
BALROG57.0%Not measuredOnly Gemini 3.1 Pro Preview measured
DeepResearch Bench47.8%Not measuredOnly Gemini 3.1 Pro Preview measured
PostTrainBench22.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Vending-Bench 2$911Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 11 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index95
Reasoning benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
GPQA Diamond95.5%86.4%Gemini 3.1 Pro Preview
LiveBench reasoningNot measured77.6%Only GLM 5.3 Flash measured
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%86.0%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)94.1%91.2%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%39.9%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%90.2%Gemini 3.1 Pro Preview
ARC-AGI98.0%91.0%Gemini 3.1 Pro Preview
ARC-AGI-277.1%65.8%Gemini 3.1 Pro Preview
SimpleBench79.6%Not measuredOnly Gemini 3.1 Pro Preview measured
Chess puzzles51.0%21.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%8.0%Gemini 3.1 Pro Preview
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851490GLM 5.3 Flash
LMArena Text: expert14831511GLM 5.3 Flash
LMArena Text: hard prompts in English14801488GLM 5.3 Flash
LMArena Vision: diagrams13111317GLM 5.3 Flash
LMArena Vision: homework13161318GLM 5.3 Flash
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index42
Math benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%93.9%Gemini 3.1 Pro Preview
FrontierMath, tiers 1 to 359.6%55.8%Gemini 3.1 Pro Preview
FrontierMath, tier 426.8%17.1%Gemini 3.1 Pro Preview
ProofBench26.0%21.0%Gemini 3.1 Pro Preview
LMArena Text: math14861503GLM 5.3 Flash
LMArena Text: mathematical work14781497GLM 5.3 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index52
Knowledge benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
MMLU Pro91.0%86.1%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%83.9%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%Not measuredOnly Gemini 3.1 Pro Preview measured
TaxEval (Vals AI)72.9%75.6%GLM 5.3 Flash
MortgageTax (Vals AI)69.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%Not measuredOnly Gemini 3.1 Pro Preview measured
SimpleQA Verified73.5%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: science14971484Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861475Gemini 3.1 Pro Preview
LMArena Text: legal and government14871473Gemini 3.1 Pro Preview
LMArena Text: business and finance14591460GLM 5.3 Flash
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index26
Web design benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
Design Arena: websites12341272GLM 5.3 Flash
Design Arena: UI components12261316GLM 5.3 Flash
Design Arena: game dev12031279GLM 5.3 Flash
Design Arena: data viz12091262GLM 5.3 Flash
Design Arena: 3D12341316GLM 5.3 Flash
Design Arena: all code categories12311282GLM 5.3 Flash
Design Arena: SVG12851284Gemini 3.1 Pro Preview
Design Arena: ASCII art12701269Gemini 3.1 Pro Preview
LiveBench designNot measured77.2%Only GLM 5.3 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index205
General benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
Vals IndexNot measured50.9%Only GLM 5.3 Flash measured
LiveBench data analysisNot measured76.4%Only GLM 5.3 Flash measured
Public Benefits Bench (Vals AI)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
SAGE (Vals AI)48.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MedScribe (Vals AI)76.1%88.9%GLM 5.3 Flash
Vals Multimodal Index56.1%Not measuredOnly Gemini 3.1 Pro Preview measured
IFBench77.1%Not measuredOnly Gemini 3.1 Pro Preview measured
Long context reasoning (AA-LCR)82.0%80.0%Gemini 3.1 Pro Preview
DTBench97.1%Not measuredOnly Gemini 3.1 Pro Preview measured
LMCA53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Surface Evolver BenchNot measured52.5%Only GLM 5.3 Flash measured
Furniture assembly26.7%Not measuredOnly Gemini 3.1 Pro Preview measured
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801471Gemini 3.1 Pro Preview
LMArena Text: instruction following14661478GLM 5.3 Flash
LMArena Text: creative writing14821441Gemini 3.1 Pro Preview
LMArena Vision12961294Gemini 3.1 Pro Preview
LMArena Text: English14781474Gemini 3.1 Pro Preview
LMArena Text: non-English14761462Gemini 3.1 Pro Preview
LMArena Text: Chinese15271531GLM 5.3 Flash
LMArena Text: German14901462Gemini 3.1 Pro Preview
LMArena Text: Japanese14911444Gemini 3.1 Pro Preview
LMArena Text: Korean14551436Gemini 3.1 Pro Preview
LMArena Text: French14871491GLM 5.3 Flash
LMArena Text: Spanish14811475Gemini 3.1 Pro Preview
LMArena Text: Russian14971465Gemini 3.1 Pro Preview
LMArena Text: Polish14981450Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871469Gemini 3.1 Pro Preview
LMArena Text: longer queries14821481Gemini 3.1 Pro Preview
LMArena Text: writing and language14811455Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651440Gemini 3.1 Pro Preview
LMArena Vision: English12871295GLM 5.3 Flash
LMArena Vision: Chinese13641363Gemini 3.1 Pro Preview
LMArena Vision: reading text13041299Gemini 3.1 Pro Preview
LMArena Vision: humor13221279Gemini 3.1 Pro Preview
LMArena Vision: captioning1345Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things1330Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: creative writing13241270Gemini 3.1 Pro Preview
LMArena Document1444Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 5 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
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

Gemini 3.1 Pro Preview$0.0080Fits in one request
GLM 5.3 Flash$0.0004Fits in one request

GLM 5.3 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
GLM 5.3 Flash$0.0090Fits in one request

GLM 5.3 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
GLM 5.3 Flash$0.035Fits in one request

GLM 5.3 Flash 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 Gemini 3.1 Pro Preview and GLM 5.3 Flash
SpecificationGoogle Gemini 3.1 Pro PreviewZ.ai GLM 5.3 Flash
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedFebruary 19, 2026August 26, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$0.15
Output $/Mtok$12.00$0.50
Coding index35.371.0
Independent measurements behind it12
Cost per solved task$0.99$0.02
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than GLM 5.3 Flash for coding?

Pick GLM 5.3 Flash for coding: it scores 71.0 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 Vibe Code Bench (Vals AI), where it leads.

Which is cheaper, Gemini 3.1 Pro Preview or GLM 5.3 Flash?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; GLM 5.3 Flash costs $0.15 and $0.50. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and GLM 5.3 Flash $0.02.

Which has the bigger context window, Gemini 3.1 Pro Preview or GLM 5.3 Flash?

Neither: both take 1.05M tokens.

How many benchmarks is the Gemini 3.1 Pro Preview vs GLM 5.3 Flash comparison based on?

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

Compare next