Enter opens the highlighted result. Esc closes.

Gemini 3.1 Flash Lite Preview vs GLM 4.7 Flash

Gemini 3.1 Flash Lite Preview leads GLM 4.7 Flash on the Artificial Analysis Intelligence Index, 15.6 to 14.9, and GLM 4.7 Flash costs 3.8x less per output token ($0.40 vs $1.50 per million). Updated October 22, 2026; 35 benchmarks have a result for both.

Gemini 3.1 Flash Lite PreviewGoogle
Coding
22.7
Overall
36.6
Output $/M
$1.50
29
GLM 4.7 FlashZ.ai
Coding
No data
Overall
42.1
Output $/M
$0.40
6
vs boards won of 35 shared

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

Only Gemini 3.1 Flash Lite Preview has a coding score, 22.7 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding.

Pick GLM 4.7 Flash for output tokens 3.8x cheaper ($0.40 vs $1.50 per million) and work measured by Design Arena: websites or Design Arena: UI components, where it leads.

Shared results
35
Gemini 3.1 Flash Lite Preview only
45
GLM 4.7 Flash only
8
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 Flash not benchmarked.
Widest category
General, 13.5 points apart on average over 16 shared benchmarks.
Widest single gap
LMArena Text: Polish: Gemini 3.1 Flash Lite Preview 1443 against GLM 4.7 Flash 1291, 25.4 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Flash Lite Preview $1.50 against GLM 4.7 Flash $0.40 per million output tokens, 3.8x apart.
Context window
Gemini 3.1 Flash Lite Preview takes 1.05M tokens, GLM 4.7 Flash 200K.

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.7 FlashTies
Coding20
Intelligence10
Reasoning30
Math20
Knowledge40
Web design16
General160
All shared boards296
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
LMArena WebDev1257Not measuredOnly Gemini 3.1 Flash Lite Preview measured
AA Coding Index34.7Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LiveCodeBench (Vals AI)80.1%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
SWE-bench Verified (Vals AI)62.8%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
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
Terminal-Bench Hard (Artificial Analysis run)Not measured22.0%Only GLM 4.7 Flash measured
ALE-Bench797.7Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: coding14001382Gemini 3.1 Flash Lite Preview
LMArena Text: software and IT14131389Gemini 3.1 Flash Lite Preview
LMArena WebDev: React1245Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena WebDev: HTML1276Not measuredOnly Gemini 3.1 Flash Lite Preview measured
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 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
AA Intelligence Index15.614.9Gemini 3.1 Flash Lite Preview
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Agentic work benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
AA Agentic Index1.6Not measuredOnly Gemini 3.1 Flash Lite Preview 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 measured98.8%Only GLM 4.7 Flash measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
Reasoning benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
GPQA Diamond81.1%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MMMU Pro (Vals AI)82.5%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
GPQA Diamond (Artificial Analysis run)Not measured58.1%Only GLM 4.7 Flash measured
Humanity's Last Exam (Artificial Analysis run)Not measured7.6%Only GLM 4.7 Flash measured
GPQA Diamond (Epoch AI run)Not measured60.5%Only GLM 4.7 Flash measured
LMArena Text: hard prompts14071356Gemini 3.1 Flash Lite Preview
LMArena Text: expert13981357Gemini 3.1 Flash Lite Preview
LMArena Text: hard prompts in English14031369Gemini 3.1 Flash Lite Preview
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 13 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
AIME83.3%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
OTIS Mock AIMENot measured58.3%Only GLM 4.7 Flash measured
LMArena Text: math14281355Gemini 3.1 Flash Lite Preview
LMArena Text: mathematical work14171369Gemini 3.1 Flash Lite Preview
Neither model has a result on the other 10 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
MMLU Pro86.2%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LegalBench (Vals AI)83.8%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
CaseLaw (Vals AI)55.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
CorpFin (Vals AI)59.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
TaxEval (Vals AI)71.8%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MortgageTax (Vals AI)68.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MedCode (Vals AI)47.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: science14251358Gemini 3.1 Flash Lite Preview
LMArena Text: medicine and healthcare14281343Gemini 3.1 Flash Lite Preview
LMArena Text: legal and government14181357Gemini 3.1 Flash Lite Preview
LMArena Text: business and finance13891343Gemini 3.1 Flash Lite Preview
FACTS Benchmark Suite51.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 8 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index16
Web design benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
Design Arena: websites10821194GLM 4.7 Flash
Design Arena: UI components10691205GLM 4.7 Flash
Design Arena: game dev10291134GLM 4.7 Flash
Design Arena: data viz10451123GLM 4.7 Flash
Design Arena: 3D10471120GLM 4.7 Flash
Design Arena: all code categories10711177GLM 4.7 Flash
Design Arena: SVG10521037Gemini 3.1 Flash Lite Preview
Design Arena: ASCII art1167Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index160
General benchmarks for Gemini 3.1 Flash Lite Preview and GLM 4.7 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 FlashLeader
SAGE (Vals AI)49.5%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MedScribe (Vals AI)63.9%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Vals Multimodal Index41.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
IFBenchNot measured60.8%Only GLM 4.7 Flash measured
Long context reasoning (AA-LCR)Not measured41.7%Only GLM 4.7 Flash measured
LMArena Text14161351Gemini 3.1 Flash Lite Preview
LMArena Text: instruction following13771327Gemini 3.1 Flash Lite Preview
LMArena Text: creative writing14011296Gemini 3.1 Flash Lite Preview
LMArena Vision1240Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: English14141373Gemini 3.1 Flash Lite Preview
LMArena Text: non-English14101330Gemini 3.1 Flash Lite Preview
LMArena Text: Chinese14601403Gemini 3.1 Flash Lite Preview
LMArena Text: German14301336Gemini 3.1 Flash Lite Preview
LMArena Text: Japanese1413Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: Korean13921283Gemini 3.1 Flash Lite Preview
LMArena Text: French14241332Gemini 3.1 Flash Lite Preview
LMArena Text: Spanish14211350Gemini 3.1 Flash Lite Preview
LMArena Text: Russian14201333Gemini 3.1 Flash Lite Preview
LMArena Text: Polish14431291Gemini 3.1 Flash Lite Preview
LMArena Text: multi-turn14171342Gemini 3.1 Flash Lite Preview
LMArena Text: longer queries13941345Gemini 3.1 Flash Lite Preview
LMArena Text: writing and language14081320Gemini 3.1 Flash Lite Preview
LMArena Text: entertainment and media13861304Gemini 3.1 Flash Lite Preview
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
MultiChallenge60.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 17 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 Flash
BenchmarkGemini 3.1 Flash Lite PreviewGLM 4.7 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 Flash Lite Preview$0.0010Fits in one request
GLM 4.7 Flash$0.0003Fits in one request

GLM 4.7 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Flash Lite Preview$0.017Fits in one request
GLM 4.7 Flash$0.0045Fits in one request

GLM 4.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Flash Lite Preview$0.065Fits in one request
GLM 4.7 Flash$0.017Exceeds the context window

GLM 4.7 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 Flash Lite Preview and GLM 4.7 Flash
SpecificationGoogle Gemini 3.1 Flash Lite PreviewZ.ai GLM 4.7 Flash
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedMarch 3, 2026January 19, 2026
Context window1.05M200K
Input $/Mtok$0.25$0.0653
Output $/Mtok$1.50$0.40
Coding index22.7Not benchmarked
Independent measurements behind it30
Cost per solved task$0.18Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Only Gemini 3.1 Flash Lite Preview has a coding score, 22.7 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding. Pick GLM 4.7 Flash for output tokens 3.8x cheaper ($0.40 vs $1.50 per million) and work measured by Design Arena: websites or Design Arena: UI components, where it leads.

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

Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; GLM 4.7 Flash costs $0.0653 and $0.40. Cost per solved task is known for Gemini 3.1 Flash Lite Preview only.

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

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

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

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

Compare next