Enter opens the highlighted result. Esc closes.

Gemini 3.1 Flash Lite Preview vs GLM 4.7

GLM 4.7 leads Gemini 3.1 Flash Lite Preview on coding, 55.1 to 22.7 on the Vibe Coding Index, and Gemini 3.1 Flash Lite Preview costs 1.5x less per output token ($1.50 vs $2.20 per million). Updated October 22, 2026; 53 benchmarks have a result for both.

Gemini 3.1 Flash Lite PreviewGoogle
Coding
22.7
Overall
36.6
Output $/M
$1.50
14
GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
39
vs boards won of 53 shared

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

Pick GLM 4.7 for coding: it scores 55.1 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview, though on 2 benchmarks against 3.

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

Shared results
53
Gemini 3.1 Flash Lite Preview only
26
GLM 4.7 only
28
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 22.7 from 3 benchmarks, GLM 4.7 55.1 from 2 benchmarks.
Widest category
Web design, 15.0 points apart on average over 8 shared benchmarks.
Widest single gap
LMArena WebDev: React: Gemini 3.1 Flash Lite Preview 1245 against GLM 4.7 1420, 29.1 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Flash Lite Preview $1.50 against GLM 4.7 $2.20 per million output tokens, 1.5x apart.
Context window
Gemini 3.1 Flash Lite Preview takes 1.05M tokens, GLM 4.7 205K.

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 4.7Ties
Coding18
Intelligence01
Reasoning13
Math21
Knowledge64
Web design17
General315
All shared boards1439
CodingLike-for-likeSix of these boards feed the Vibe Coding Index18
Coding benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
LMArena WebDev12571435GLM 4.7
AA Coding Index34.745.3GLM 4.7
LiveCodeBench (Vals AI)80.1%82.2%GLM 4.7
SWE-bench Verified (Vals AI)62.8%69.4%GLM 4.7
Vibe Code Bench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Code migration (Vals AI)4.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Terminal-Bench 2.1 (Vals AI)34.1%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LiveCodeBench (Artificial Analysis run)Not measured89.4%Only GLM 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured31.8%Only GLM 4.7 measured
Terminal-BenchNot measured33.4%Only GLM 4.7 measured
ALE-Bench797.7399.5Gemini 3.1 Flash Lite Preview
LMArena Text: coding14001454GLM 4.7
LMArena Text: software and IT14131453GLM 4.7
LMArena WebDev: React12451420GLM 4.7
LMArena WebDev: HTML12761447GLM 4.7
LMArena WebDev: from an image1336Not measuredOnly Gemini 3.1 Flash Lite Preview measured
SciCode4.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 21 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 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
AA Intelligence Index15.622.2GLM 4.7
Epoch Capabilities IndexNot measured143.6Only GLM 4.7 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Agentic work benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
AA Agentic Index1.6Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: agents building full-stack appsNot measured1050Only GLM 4.7 measured
Design Arena: agents building mobile appsNot measured1105Only GLM 4.7 measured
Design Arena: agents building Android appsNot measured1112Only GLM 4.7 measured
Design Arena: agents building Godot gamesNot measured1058Only GLM 4.7 measured
Finance Agent (Vals AI)30.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Tax Agent Bench (Vals AI)3.1%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Legal Research Bench (Vals AI)3.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Excel Modeling Benchmark (Vals AI)8.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
τ²-Bench TelecomNot measured95.9%Only GLM 4.7 measured
Vending-Bench 2Not measured$2,377Only GLM 4.7 measured
BrowseComp-PlusNot measured64.7%Only GLM 4.7 measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index13
Reasoning benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
GPQA Diamond81.1%80.0%Gemini 3.1 Flash Lite Preview
MMMU Pro (Vals AI)82.5%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
GPQA Diamond (Artificial Analysis run)Not measured85.9%Only GLM 4.7 measured
Humanity's Last Exam (Artificial Analysis run)Not measured27.4%Only GLM 4.7 measured
GPQA Diamond (Epoch AI run)Not measured83.3%Only GLM 4.7 measured
SimpleBenchNot measured47.7%Only GLM 4.7 measured
Chess puzzlesNot measured21.0%Only GLM 4.7 measured
LMArena Text: hard prompts14071443GLM 4.7
LMArena Text: expert13981424GLM 4.7
LMArena Text: hard prompts in English14031452GLM 4.7
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 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index21
Math benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
AIME83.3%93.3%GLM 4.7
MGSM (Vals AI)Not measured88.2%Only GLM 4.7 measured
AA Math IndexNot measured95.0Only GLM 4.7 measured
AIME 2025 (Artificial Analysis run)Not measured95.0%Only GLM 4.7 measured
OTIS Mock AIMENot measured83.3%Only GLM 4.7 measured
ProofBenchNot measured6.0%Only GLM 4.7 measured
LMArena Text: math14281424Gemini 3.1 Flash Lite Preview
LMArena Text: mathematical work14171411Gemini 3.1 Flash Lite Preview
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index64
Knowledge benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
MMLU Pro86.2%82.7%Gemini 3.1 Flash Lite Preview
LegalBench (Vals AI)83.8%83.4%Gemini 3.1 Flash Lite Preview
CaseLaw (Vals AI)55.0%54.9%Gemini 3.1 Flash Lite Preview
CorpFin (Vals AI)59.4%46.4%Gemini 3.1 Flash Lite Preview
TaxEval (Vals AI)71.8%68.8%Gemini 3.1 Flash Lite Preview
MortgageTax (Vals AI)68.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MedQA (Vals AI)Not measured93.7%Only GLM 4.7 measured
MedCode (Vals AI)47.6%32.8%Gemini 3.1 Flash Lite Preview
MMLU Pro (Artificial Analysis run)Not measured85.6%Only GLM 4.7 measured
SimpleQA VerifiedNot measured32.2%Only GLM 4.7 measured
LMArena Text: science14251457GLM 4.7
LMArena Text: medicine and healthcare14281469GLM 4.7
LMArena Text: legal and government14181444GLM 4.7
LMArena Text: business and finance13891429GLM 4.7
FACTS Benchmark Suite51.4%Not measuredOnly Gemini 3.1 Flash Lite Preview 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 Flash Lite Preview and GLM 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
Design Arena: websites10821225GLM 4.7
Design Arena: UI components10691196GLM 4.7
Design Arena: game dev10291188GLM 4.7
Design Arena: data viz10451195GLM 4.7
Design Arena: 3D10471190GLM 4.7
Design Arena: all code categories10721216GLM 4.7
Design Arena: SVG10521142GLM 4.7
Design Arena: ASCII art11671165Gemini 3.1 Flash Lite Preview
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index315
General benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
SAGE (Vals AI)49.5%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MedScribe (Vals AI)63.9%68.6%GLM 4.7
Vals Multimodal Index41.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
IFBenchNot measured67.9%Only GLM 4.7 measured
Long context reasoning (AA-LCR)Not measured71.0%Only GLM 4.7 measured
CL-benchNot measured15.9%Only GLM 4.7 measured
CL-bench LifeNot measured10.9%Only GLM 4.7 measured
LMArena Text14161435GLM 4.7
LMArena Text: instruction following13771412GLM 4.7
LMArena Text: creative writing14011401Gemini 3.1 Flash Lite Preview
LMArena Vision1240Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: English14141453GLM 4.7
LMArena Text: non-English14101417GLM 4.7
LMArena Text: Chinese14601495GLM 4.7
LMArena Text: German14301426Gemini 3.1 Flash Lite Preview
LMArena Text: Japanese14131439GLM 4.7
LMArena Text: Korean13921399GLM 4.7
LMArena Text: French14241432GLM 4.7
LMArena Text: Spanish14211434GLM 4.7
LMArena Text: Russian14201423GLM 4.7
LMArena Text: Polish14431435Gemini 3.1 Flash Lite Preview
LMArena Text: multi-turn14171446GLM 4.7
LMArena Text: longer queries13941432GLM 4.7
LMArena Text: writing and language14081411GLM 4.7
LMArena Text: entertainment and media13861400GLM 4.7
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 14 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 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7Leader
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 4.7$0.0017Fits 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 4.7$0.037Fits 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 4.7$0.142Exceeds the context window

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 4.7
SpecificationGoogle Gemini 3.1 Flash Lite PreviewZ.ai GLM 4.7
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedMarch 3, 2026December 22, 2025
Context window1.05M205K
Input $/Mtok$0.25$0.60
Output $/Mtok$1.50$2.20
Coding index22.755.1
Independent measurements behind it32
Cost per solved task$0.18$0.29
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GLM 4.7 for coding: it scores 55.1 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview, though on 2 benchmarks against 3. Pick Gemini 3.1 Flash Lite Preview for output tokens 1.5x cheaper ($1.50 vs $2.20 per million) and a lower cost per solved task ($0.18 against $0.29).

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

Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; GLM 4.7 costs $0.60 and $2.20. Per solved SWE-bench Verified task, Gemini 3.1 Flash Lite Preview costs $0.18 and GLM 4.7 $0.29.

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

Gemini 3.1 Flash Lite Preview, with 1.05M tokens against 205K.

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

53 benchmarks have a result for both models as of October 22, 2026. Gemini 3.1 Flash Lite Preview's coding index rests on 3 independent benchmarks and GLM 4.7's on 2. 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-4-7" title="Gemini 3.1 Flash Lite Preview vs GLM 4.7, 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-4-7">LLMBenchmark.ai, Gemini 3.1 Flash Lite Preview vs GLM 4.7</a></p>