LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Flash Lite Preview vs GLM 5.2

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

Gemini 3.1 Flash Lite PreviewGoogle
Coding
8.1
Overall
15.6
Output $/M
$1.50
2
GLM 5.2Z.ai
Coding
57.7
Overall
33.7
Output $/M
$7.00
57
vs boards won of 59 shared

Decision reading

Pick GLM 5.2 for coding: it scores 57.7 on the Vibe Coding Index against 8.1 for Gemini 3.1 Flash Lite Preview.

Pick Gemini 3.1 Flash Lite Preview when output tokens cost 4.7x less, or when a solved task costs $0.18 against $0.86.

Shared results
59
Gemini 3.1 Flash Lite Preview only
18
GLM 5.2 only
38
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 Flash Lite Preview 8.1 from 1 benchmark, GLM 5.2 57.7 from 1 benchmark.
Widest category
Agentic work, 34.3 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.1 Flash Lite Preview 0.0% against GLM 5.2 64.0%, 64.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Flash Lite Preview $1.50 against GLM 5.2 $7.00 per million output tokens, 4.7x 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 Flash Lite PreviewBarsGLM 5.2Ties
Coding112
Intelligence01
Agentic work04
Reasoning04
Math02
Knowledge18
Web design08
General018
All shared boards257
CodingLike-for-likeFour of these boards feed the Vibe Coding Index112
Coding benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
LMArena WebDev12571604GLM 5.2
AA Coding Index34.768.8GLM 5.2
LiveCodeBench (Vals AI)80.1%69.5%Gemini 3.1 Flash Lite Preview
SWE-bench Verified (Vals AI)62.8%82.8%GLM 5.2
Vibe Code Bench (Vals AI)0.0%64.0%GLM 5.2
Code migration (Vals AI)4.6%37.9%GLM 5.2
ProgramBench (Vals AI)0.0%0.5%GLM 5.2
Terminal-Bench 2.1 (Vals AI)34.1%67.8%GLM 5.2
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
SciCodeNot measured51.2%Only GLM 5.2 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured50.8%Only GLM 5.2 measured
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdMLNot measured70.1%Only GLM 5.2 measured
ALE-Bench797.71047.0GLM 5.2
LMArena Text: coding14001487GLM 5.2
LMArena Text: software and IT14131486GLM 5.2
LMArena WebDev: React12451617GLM 5.2
LMArena WebDev: HTML12761565GLM 5.2
LMArena WebDev: from an image1336Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
AA Intelligence Index15.633.7GLM 5.2
Epoch Capabilities IndexNot measured151.9Only GLM 5.2 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index04
Agentic work benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
AA Agentic Index1.638.4GLM 5.2
Design Arena: agents building web appsNot measured1222Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1241Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1160Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1184Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1206Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1175Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1195Only GLM 5.2 measured
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)30.0%49.7%GLM 5.2
Tax Agent Bench (Vals AI)3.1%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Legal Research Bench (Vals AI)3.4%31.3%GLM 5.2
Excel Modeling Benchmark (Vals AI)8.6%61.5%GLM 5.2
τ²-Bench TelecomNot measured99.1%Only GLM 5.2 measured
APEX-AgentsNot measured45.2%Only GLM 5.2 measured
PostTrainBenchNot measured31.7%Only GLM 5.2 measured
Vending-Bench 2Not measured$8,314Only GLM 5.2 measured
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
GPQA Diamond81.1%85.6%GLM 5.2
MMMU Pro (Vals AI)82.5%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
GPQA Diamond (Artificial Analysis run)Not measured89.5%Only GLM 5.2 measured
Humanity's Last Exam (Artificial Analysis run)Not measured41.1%Only GLM 5.2 measured
GPQA Diamond (Epoch AI run)Not measured91.9%Only GLM 5.2 measured
ARC-AGINot measured77.0%Only GLM 5.2 measured
ARC-AGI-2Not measured22.8%Only GLM 5.2 measured
SimpleBenchNot measured58.8%Only GLM 5.2 measured
Chess puzzlesNot measured22.0%Only GLM 5.2 measured
Mystery game puzzlesNot measured19.0%Only GLM 5.2 measured
EBR-benchNot measured9.5%Only GLM 5.2 measured
LMArena Text: hard prompts14071481GLM 5.2
LMArena Text: expert13981487GLM 5.2
LMArena Text: hard prompts in English14031481GLM 5.2
LMArena Vision: diagrams1242Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: homework1271Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
AIME83.3%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
OTIS Mock AIMENot measured86.4%Only GLM 5.2 measured
FrontierMath, tiers 1 to 3Not measured59.2%Only GLM 5.2 measured
FrontierMath, tier 4Not measured29.3%Only GLM 5.2 measured
ProofBenchNot measured35.0%Only GLM 5.2 measured
LMArena Text: math14281483GLM 5.2
LMArena Text: mathematical work14171489GLM 5.2
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index18
Knowledge benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
MMLU Pro86.2%86.7%GLM 5.2
LegalBench (Vals AI)83.8%84.1%GLM 5.2
CaseLaw (Vals AI)55.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
CorpFin (Vals AI)59.4%66.1%GLM 5.2
TaxEval (Vals AI)71.8%73.3%GLM 5.2
MortgageTax (Vals AI)68.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MedCode (Vals AI)47.6%40.8%Gemini 3.1 Flash Lite Preview
SimpleQA VerifiedNot measured34.2%Only GLM 5.2 measured
LMArena Text: science14251489GLM 5.2
LMArena Text: medicine and healthcare14281475GLM 5.2
LMArena Text: legal and government14181486GLM 5.2
LMArena Text: business and finance13891451GLM 5.2
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
Design Arena: websites10831285GLM 5.2
Design Arena: UI components10711296GLM 5.2
Design Arena: game dev10291268GLM 5.2
Design Arena: data viz10451285GLM 5.2
Design Arena: 3D10481288GLM 5.2
Design Arena: all code categories10721288GLM 5.2
Design Arena: SVG10521214GLM 5.2
Design Arena: ASCII art11661190GLM 5.2
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index018
General benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
SAGE (Vals AI)49.5%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MedScribe (Vals AI)63.9%83.5%GLM 5.2
Vals Multimodal Index41.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
IFBenchNot measured73.3%Only GLM 5.2 measured
Long context reasoning (AA-LCR)Not measured78.3%Only GLM 5.2 measured
DTBenchNot measured93.6%Only GLM 5.2 measured
LMCANot measured45.8%Only GLM 5.2 measured
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
LMArena Text14161470GLM 5.2
LMArena Text: instruction following13771466GLM 5.2
LMArena Text: creative writing14011463GLM 5.2
LMArena Vision1240Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: English14141475GLM 5.2
LMArena Text: non-English14101459GLM 5.2
LMArena Text: Chinese14601522GLM 5.2
LMArena Text: German14301470GLM 5.2
LMArena Text: Japanese14131450GLM 5.2
LMArena Text: Korean13921440GLM 5.2
LMArena Text: French14241479GLM 5.2
LMArena Text: Spanish14211478GLM 5.2
LMArena Text: Russian14201468GLM 5.2
LMArena Text: Polish14431456GLM 5.2
LMArena Text: multi-turn14171469GLM 5.2
LMArena Text: longer queries13941480GLM 5.2
LMArena Text: writing and language14081463GLM 5.2
LMArena Text: entertainment and media13861450GLM 5.2
LMArena Vision: English1232Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: Chinese1278Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: reading text1246Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: humor1266Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: captioning1259Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: recognizing things1308Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: creative writing1248Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
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 Flash Lite Preview$0.0010Fits in one request
GLM 5.2$0.0035Fits in one request

Gemini 3.1 Flash Lite Preview costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Flash Lite Preview$0.017Fits in one request
GLM 5.2$0.023Fits in one request

Gemini 3.1 Flash Lite Preview costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Flash Lite Preview$0.065Fits in one request
GLM 5.2$0.077Fits in one request

Gemini 3.1 Flash Lite Preview 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 Flash Lite Preview and GLM 5.2
SpecificationGoogle Gemini 3.1 Flash Lite PreviewZ.ai GLM 5.2
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedMarch 3, 2026June 16, 2026
Context window1.05M1.05M
Input $/Mtok$0.25$0.0341
Output $/Mtok$1.50$7.00
Coding index8.157.7
Independent measurements behind it11
Cost per solved task$0.18$0.86
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Flash Lite Preview better than GLM 5.2 for coding?

Pick GLM 5.2 for coding: it scores 57.7 on the Vibe Coding Index against 8.1 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview when output tokens cost 4.7x less, or when a solved task costs $0.18 against $0.86.

Which is cheaper, Gemini 3.1 Flash Lite Preview or GLM 5.2?

Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; GLM 5.2 costs $0.0341 and $7.00. Per solved SWE-bench Verified task, Gemini 3.1 Flash Lite Preview costs $0.18 and GLM 5.2 $0.86.

Which has the bigger context window, Gemini 3.1 Flash Lite Preview or GLM 5.2?

Neither: both take 1.05M tokens.

How many benchmarks is the Gemini 3.1 Flash Lite Preview vs GLM 5.2 comparison based on?

59 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Flash Lite Preview's coding index rests on 1 independent benchmark and GLM 5.2's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next