Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs GLM 5.3 Flash

GLM 5.3 Flash leads Gemini 3.1 Pro Preview on coding, 54.0 to 32.4 on the Vibe Coding Index, and GLM 5.3 Flash costs 24.0x less per output token ($0.50 vs $12.00 per million). Updated December 6, 2026; 90 benchmarks have a result for both.

Gemini 3.1 Pro PreviewGoogle
Coding
32.4
Overall
66.5
Output $/M
$12.00
44
GLM 5.3 FlashZ.ai
Coding
54.0
Overall
60.3
Output $/M
$0.50
44
vs boards won of 90 shared, 2 tied

Gemini 3.1 Pro Preview or GLM 5.3 Flash: which to pick

Pick GLM 5.3 Flash for coding: it scores 54.0 on the Vibe Coding Index against 32.4 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview for work measured by LiveCodeBench (Vals AI) or Terminal-Bench 2.1 (Vals AI), where it leads.

Shared results
90
Gemini 3.1 Pro Preview only
48
GLM 5.3 Flash only
25
Like-for-like categories
7 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
Gemini 3.1 Pro Preview 32.4 from 3 benchmarks, GLM 5.3 Flash 54.0 from 6 benchmarks.
Widest category
Coding, 13.8 points apart on average over 18 shared benchmarks.
Widest single gap
GDPval-AA: Gemini 3.1 Pro Preview 802 against GLM 5.3 Flash 1651, 70.8 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
Agentic work071 tie
Reasoning105
Math42
Knowledge52
Web design17
General199
All shared boards44442 ties
CodingLike-for-likeSix 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 measured70.9%Only GLM 5.3 Flash measured
LMArena WebDev14471613GLM 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)Not measured19.4%Only GLM 5.3 Flash measured
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-Bench 4.0 (Artificial Analysis run)4.0%32.8%GLM 5.3 Flash
FrontierCode 2.0Not measured17.2%Only GLM 5.3 Flash 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: coding14831509GLM 5.3 Flash
LMArena Text: software and IT14861501GLM 5.3 Flash
LMArena WebDev: React14381631GLM 5.3 Flash
LMArena WebDev: HTML14901582GLM 5.3 Flash
LMArena WebDev: from an image14801584GLM 5.3 Flash
SciCode14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
GameBench 264.760.4Gemini 3.1 Pro Preview
Terminal-Bench 4.0Not measured36.7%Only GLM 5.3 Flash measured
Neither model has a result on the other 20 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
AA Intelligence IndexNot measured28.0Only GLM 5.3 Flash measured
Epoch Capabilities IndexNot measured153.6Only GLM 5.3 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index07
Agentic work benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
Design Arena: agents building web apps1086Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building full-stack apps1114Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building mobile apps1083Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Android apps1028Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot games1129Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building games1061Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: HTML slides1056Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides1046Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: spreadsheets984Not measuredOnly Gemini 3.1 Pro Preview measured
LiveBench researchNot measured73.9%Only GLM 5.3 Flash measured
LiveBench browserNot measured59.8%Only GLM 5.3 Flash measured
LiveBench long agenticNot measured20.7%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)2.9%2.9%Tie
Vals Science Index27.9%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
PostTrainBench18.1%36.8%GLM 5.3 Flash
Vending-Bench 2$911Not measuredOnly Gemini 3.1 Pro Preview measured
Toolathlon-VerifiedNot measured78.4%Only GLM 5.3 Flash measured
τ³-Banking26.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 14 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index105
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
HLE-Diamond (Artificial Analysis run)31.4%18.2%Gemini 3.1 Pro Preview
CritPt v2, hard subset (Artificial Analysis run)Not measured24.5%Only GLM 5.3 Flash measured
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 prompts14841491GLM 5.3 Flash
LMArena Text: expert14831514GLM 5.3 Flash
LMArena Text: hard prompts in English14801491GLM 5.3 Flash
LMArena Vision: diagrams13121320GLM 5.3 Flash
LMArena Vision: homework13171325GLM 5.3 Flash
Humanity's Last Exam (Scale run)Not measured16.8%Only GLM 5.3 Flash measured
Neither model has a result on the other 5 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: math14851506GLM 5.3 Flash
LMArena Text: mathematical work14771496GLM 5.3 Flash
MathArena27.8%Not measuredOnly Gemini 3.1 Pro Preview measured
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
AA-OmniscienceNot measured0.7Only GLM 5.3 Flash measured
SimpleQA Verified73.5%Not measuredOnly Gemini 3.1 Pro Preview measured
GeoBench84.0%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: science14961488Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861476Gemini 3.1 Pro Preview
LMArena Text: legal and government14871479Gemini 3.1 Pro Preview
LMArena Text: business and finance14601461GLM 5.3 Flash
FACTS Benchmark Suite69.1%Not measuredOnly Gemini 3.1 Pro Preview measured
PRBench FinanceNot measured51.7%Only GLM 5.3 Flash measured
PRBench LegalNot measured51.7%Only GLM 5.3 Flash measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index17
Web design benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
Design Arena: websites12741305GLM 5.3 Flash
Design Arena: UI components12041284GLM 5.3 Flash
Design Arena: game dev11701250GLM 5.3 Flash
Design Arena: data viz12011249GLM 5.3 Flash
Design Arena: 3D11961276GLM 5.3 Flash
Design Arena: all code categories12731321GLM 5.3 Flash
Design Arena: SVG13271319Gemini 3.1 Pro Preview
Design Arena: ASCII art12461256GLM 5.3 Flash
LiveBench designNot measured73.7%Only GLM 5.3 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index199
General benchmarks for Gemini 3.1 Pro Preview and GLM 5.3 Flash
BenchmarkGemini 3.1 Pro PreviewGLM 5.3 FlashLeader
Vals IndexNot measured49.5%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)83.2%89.3%GLM 5.3 Flash
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
GDPval-AA8021651GLM 5.3 Flash
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 Text14801472Gemini 3.1 Pro Preview
LMArena Text: instruction following14651480GLM 5.3 Flash
LMArena Text: creative writing14831443Gemini 3.1 Pro Preview
LMArena Vision12961296GLM 5.3 Flash
LMArena Text: English14781477Gemini 3.1 Pro Preview
LMArena Text: non-English14761461Gemini 3.1 Pro Preview
LMArena Text: Chinese15291528Gemini 3.1 Pro Preview
LMArena Text: German14921457Gemini 3.1 Pro Preview
LMArena Text: Japanese14941449Gemini 3.1 Pro Preview
LMArena Text: Korean14581427Gemini 3.1 Pro Preview
LMArena Text: French14871488GLM 5.3 Flash
LMArena Text: Spanish14801478Gemini 3.1 Pro Preview
LMArena Text: Russian14971468Gemini 3.1 Pro Preview
LMArena Text: Polish14981452Gemini 3.1 Pro Preview
LMArena Text: multi-turn14851473Gemini 3.1 Pro Preview
LMArena Text: longer queries14821483GLM 5.3 Flash
LMArena Text: writing and language14811458Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651442Gemini 3.1 Pro Preview
LMArena Vision: English12861300GLM 5.3 Flash
LMArena Vision: Chinese13611355Gemini 3.1 Pro Preview
LMArena Vision: reading text13041306GLM 5.3 Flash
LMArena Vision: humor13241288Gemini 3.1 Pro Preview
LMArena Vision: captioning1343Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things13271275Gemini 3.1 Pro Preview
LMArena Vision: creative writing13241273Gemini 3.1 Pro Preview
LMArena Document1443Not measuredOnly Gemini 3.1 Pro Preview measured
EQ-Bench 41132Not measuredOnly 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
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 index32.454.0
Independent measurements behind it36
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 54.0 on the Vibe Coding Index against 32.4 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview for work measured by LiveCodeBench (Vals AI) or Terminal-Bench 2.1 (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?

90 benchmarks have a result for both models as of December 6, 2026. Gemini 3.1 Pro Preview's coding index rests on 3 independent benchmarks and GLM 5.3 Flash's on 6. 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/gemini-3-1-pro-preview-vs-glm-5-3-flash" title="Gemini 3.1 Pro Preview vs GLM 5.3 Flash, 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/gemini-3-1-pro-preview-vs-glm-5-3-flash">LLMBenchmark.ai, Gemini 3.1 Pro Preview vs GLM 5.3 Flash</a></p>