Enter opens the highlighted result. Esc closes.

Gemini 3.1 Flash Lite Preview vs GLM 5.2

GLM 5.2 leads Gemini 3.1 Flash Lite Preview on coding, 59.7 to 40.9 on the Vibe Coding Index, and Gemini 3.1 Flash Lite Preview costs 2.9x less per output token ($1.50 vs $4.40 per million). Updated December 6, 2026; 55 benchmarks have a result for both.

Gemini 3.1 Flash Lite PreviewGoogle
Coding
40.9
Overall
39.7
Output $/M
$1.50
2
GLM 5.2Z.ai
Coding
59.7
Overall
65.2
Output $/M
$4.40
53
vs boards won of 55 shared

Gemini 3.1 Flash Lite Preview or GLM 5.2: which to pick

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

Pick Gemini 3.1 Flash Lite Preview for output tokens 2.9x cheaper ($1.50 vs $4.40 per million) and a lower cost per solved task ($0.18 against $0.86).

Shared results
55
Gemini 3.1 Flash Lite Preview only
19
GLM 5.2 only
56
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 Flash Lite Preview 40.9 from 2 benchmarks, GLM 5.2 59.7 from 3 benchmarks.
Widest category
Agentic work, 33.5 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena WebDev: React: Gemini 3.1 Flash Lite Preview 1244 against GLM 5.2 1621, 59.4 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Flash Lite Preview $1.50 against GLM 5.2 $4.40 per million output tokens, 2.9x 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
Coding110
Agentic work03
Reasoning04
Math02
Knowledge18
Web design08
General018
All shared boards253
CodingLike-for-likeSix of these boards feed the Vibe Coding Index110
Coding benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
LMArena WebDev12561608GLM 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
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
Terminal-Bench 4.0 (Artificial Analysis run)Not measured1.0%Only GLM 5.2 measured
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdMLNot measured70.1%Only GLM 5.2 measured
MirrorCodeNot measured36.7%Only GLM 5.2 measured
ALE-Bench797.71047.0GLM 5.2
LMArena Text: coding14001488GLM 5.2
LMArena Text: software and IT14131487GLM 5.2
LMArena WebDev: React12441621GLM 5.2
LMArena WebDev: HTML12761567GLM 5.2
LMArena WebDev: from an image1338Not measuredOnly Gemini 3.1 Flash Lite Preview measured
SciCode4.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
SWE Atlas: Codebase QnANot measured48.1%Only GLM 5.2 measured
SWE Atlas: RefactoringNot measured42.4%Only GLM 5.2 measured
SWE Atlas: Test WritingNot measured41.5%Only GLM 5.2 measured
GameBench 2Not measured49.9Only GLM 5.2 measured
Terminal-Bench 3.0Not measured4.6%Only GLM 5.2 measured
ProgramBenchNot measured0.0%Only GLM 5.2 measured
Neither model has a result on the other 26 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
AA Intelligence Index6.0Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Epoch Capabilities IndexNot measured153.0Only GLM 5.2 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
Agentic work benchmarks for Gemini 3.1 Flash Lite Preview and GLM 5.2
BenchmarkGemini 3.1 Flash Lite PreviewGLM 5.2Leader
Design Arena: agents building web appsNot measured1184Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1288Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1152Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1162Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1156Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1077Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1157Only GLM 5.2 measured
Design Arena: spreadsheetsNot measured1123Only 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 measured30.4%Only GLM 5.2 measured
Vending-Bench 2Not measured$8,314Only GLM 5.2 measured
MCP AtlasNot measured77.8%Only GLM 5.2 measured
Toolathlon-VerifiedNot measured59.9%Only GLM 5.2 measured
τ³-BankingNot measured37.1%Only GLM 5.2 measured
Neither model has a result on the other 23 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
HLE-Diamond (Artificial Analysis run)Not measured17.7%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 prompts14081481GLM 5.2
LMArena Text: expert13991488GLM 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
Kagi LLM BenchmarkNot measured62.6%Only GLM 5.2 measured
Neither model has a result on the other 8 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: math14281485GLM 5.2
LMArena Text: mathematical work14161490GLM 5.2
MathArenaNot measured21.1%Only GLM 5.2 measured
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
AA-OmniscienceNot measured0.6Only GLM 5.2 measured
SimpleQA VerifiedNot measured34.2%Only GLM 5.2 measured
LMArena Text: science14261489GLM 5.2
LMArena Text: medicine and healthcare14271476GLM 5.2
LMArena Text: legal and government14181490GLM 5.2
LMArena Text: business and finance13901450GLM 5.2
Neither model has a result on the other 8 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: websites11221323GLM 5.2
Design Arena: UI components10501271GLM 5.2
Design Arena: game dev9951234GLM 5.2
Design Arena: data viz10371275GLM 5.2
Design Arena: 3D10111247GLM 5.2
Design Arena: all code categories11141328GLM 5.2
Design Arena: SVG10941245GLM 5.2
Design Arena: ASCII art11431174GLM 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
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
GDPval-AANot measured1383Only 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 following13781467GLM 5.2
LMArena Text: creative writing14011460GLM 5.2
LMArena Vision1240Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: English14131475GLM 5.2
LMArena Text: non-English14111458GLM 5.2
LMArena Text: Chinese14601523GLM 5.2
LMArena Text: German14291467GLM 5.2
LMArena Text: Japanese14091452GLM 5.2
LMArena Text: Korean13921430GLM 5.2
LMArena Text: French14221477GLM 5.2
LMArena Text: Spanish14231480GLM 5.2
LMArena Text: Russian14201466GLM 5.2
LMArena Text: Polish14441459GLM 5.2
LMArena Text: multi-turn14181470GLM 5.2
LMArena Text: longer queries13951479GLM 5.2
LMArena Text: writing and language14091462GLM 5.2
LMArena Text: entertainment and media13861448GLM 5.2
LMArena Vision: English1233Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: Chinese1276Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: reading text1246Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: humor1267Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: captioning1251Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: recognizing things1306Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: creative writing1248Not measuredOnly Gemini 3.1 Flash Lite Preview measured
EQ-Bench 4Not measured1208Only GLM 5.2 measured
Neither model has a result on the other 15 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.0036Fits 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.083Fits 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.324Fits 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$1.40
Output $/Mtok$1.50$4.40
Coding index40.959.7
Independent measurements behind it23
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 59.7 on the Vibe Coding Index against 40.9 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview for output tokens 2.9x cheaper ($1.50 vs $4.40 per million) and a lower cost per solved task ($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 $1.40 and $4.40. 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?

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