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 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.
Coding
Vibe Coding Index, six public coding benchmarks
GLM 4.7
GLM 4.7 scores 55.1 against 22.7.
3 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
GLM 4.7
GLM 4.7 leads, 22.2 against 15.6.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemini 3.1 Flash Lite Preview has a AA Agentic Index result, 1.6.
Directional only
Reasoning
GPQA Diamond
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview leads, 81.1% against 80.0%.
Same board, both measured
Math
AIME
GLM 4.7
GLM 4.7 leads, 93.3% against 83.3%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview leads, 86.2% against 82.7%.
Same board, both measured
Web design
Design Arena: websites
GLM 4.7
GLM 4.7 leads, 1225 against 1082.
Same board, both measured
Long documents
Listed context window
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview takes 1.05M tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview $0.0010, GLM 4.7 $0.0017 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview $0.18, GLM 4.7 $0.29.
Published attempt cost and pass rate
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.
| Category | Gemini 3.1 Flash Lite Preview | Bars | GLM 4.7 | Ties |
|---|---|---|---|---|
| Coding | 1 | 8 | ||
| Intelligence | 0 | 1 | ||
| Reasoning | 1 | 3 | ||
| Math | 2 | 1 | ||
| Knowledge | 6 | 4 | ||
| Web design | 1 | 7 | ||
| General | 3 | 15 | ||
| All shared boards | 14 | 39 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index18
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| LMArena WebDev | 1257 | 1435 | GLM 4.7 |
| AA Coding Index | 34.7 | 45.3 | GLM 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 measured | Only Gemini 3.1 Flash Lite Preview measured |
| Code migration (Vals AI) | 4.6% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Terminal-Bench 2.1 (Vals AI) | 34.1% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 89.4% | Only GLM 4.7 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 31.8% | Only GLM 4.7 measured |
| Terminal-Bench | Not measured | 33.4% | Only GLM 4.7 measured |
| ALE-Bench | 797.7 | 399.5 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: coding | 1400 | 1454 | GLM 4.7 |
| LMArena Text: software and IT | 1413 | 1453 | GLM 4.7 |
| LMArena WebDev: React | 1245 | 1420 | GLM 4.7 |
| LMArena WebDev: HTML | 1276 | 1447 | GLM 4.7 |
| LMArena WebDev: from an image | 1336 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| SciCode | 4.6% | Not measured | Only 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
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 15.6 | 22.2 | GLM 4.7 |
| Epoch Capabilities Index | Not measured | 143.6 | Only GLM 4.7 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 1.6 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: agents building full-stack apps | Not measured | 1050 | Only GLM 4.7 measured |
| Design Arena: agents building mobile apps | Not measured | 1105 | Only GLM 4.7 measured |
| Design Arena: agents building Android apps | Not measured | 1112 | Only GLM 4.7 measured |
| Design Arena: agents building Godot games | Not measured | 1058 | Only GLM 4.7 measured |
| Finance Agent (Vals AI) | 30.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Tax Agent Bench (Vals AI) | 3.1% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Legal Research Bench (Vals AI) | 3.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Excel Modeling Benchmark (Vals AI) | 8.6% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| τ²-Bench Telecom | Not measured | 95.9% | Only GLM 4.7 measured |
| Vending-Bench 2 | Not measured | $2,377 | Only GLM 4.7 measured |
| BrowseComp-Plus | Not measured | 64.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
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 81.1% | 80.0% | Gemini 3.1 Flash Lite Preview |
| MMMU Pro (Vals AI) | 82.5% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 85.9% | Only GLM 4.7 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 27.4% | Only GLM 4.7 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 83.3% | Only GLM 4.7 measured |
| SimpleBench | Not measured | 47.7% | Only GLM 4.7 measured |
| Chess puzzles | Not measured | 21.0% | Only GLM 4.7 measured |
| LMArena Text: hard prompts | 1407 | 1443 | GLM 4.7 |
| LMArena Text: expert | 1398 | 1424 | GLM 4.7 |
| LMArena Text: hard prompts in English | 1403 | 1452 | GLM 4.7 |
| LMArena Vision: diagrams | 1242 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: homework | 1271 | Not measured | Only 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
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| AIME | 83.3% | 93.3% | GLM 4.7 |
| MGSM (Vals AI) | Not measured | 88.2% | Only GLM 4.7 measured |
| AA Math Index | Not measured | 95.0 | Only GLM 4.7 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 95.0% | Only GLM 4.7 measured |
| OTIS Mock AIME | Not measured | 83.3% | Only GLM 4.7 measured |
| ProofBench | Not measured | 6.0% | Only GLM 4.7 measured |
| LMArena Text: math | 1428 | 1424 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: mathematical work | 1417 | 1411 | Gemini 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
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 86.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 measured | Only Gemini 3.1 Flash Lite Preview measured |
| MedQA (Vals AI) | Not measured | 93.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 measured | 85.6% | Only GLM 4.7 measured |
| SimpleQA Verified | Not measured | 32.2% | Only GLM 4.7 measured |
| LMArena Text: science | 1425 | 1457 | GLM 4.7 |
| LMArena Text: medicine and healthcare | 1428 | 1469 | GLM 4.7 |
| LMArena Text: legal and government | 1418 | 1444 | GLM 4.7 |
| LMArena Text: business and finance | 1389 | 1429 | GLM 4.7 |
| FACTS Benchmark Suite | 51.4% | Not measured | Only 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
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1082 | 1225 | GLM 4.7 |
| Design Arena: UI components | 1069 | 1196 | GLM 4.7 |
| Design Arena: game dev | 1029 | 1188 | GLM 4.7 |
| Design Arena: data viz | 1045 | 1195 | GLM 4.7 |
| Design Arena: 3D | 1047 | 1190 | GLM 4.7 |
| Design Arena: all code categories | 1072 | 1216 | GLM 4.7 |
| Design Arena: SVG | 1052 | 1142 | GLM 4.7 |
| Design Arena: ASCII art | 1167 | 1165 | Gemini 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
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 49.5% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MedScribe (Vals AI) | 63.9% | 68.6% | GLM 4.7 |
| Vals Multimodal Index | 41.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| IFBench | Not measured | 67.9% | Only GLM 4.7 measured |
| Long context reasoning (AA-LCR) | Not measured | 71.0% | Only GLM 4.7 measured |
| CL-bench | Not measured | 15.9% | Only GLM 4.7 measured |
| CL-bench Life | Not measured | 10.9% | Only GLM 4.7 measured |
| LMArena Text | 1416 | 1435 | GLM 4.7 |
| LMArena Text: instruction following | 1377 | 1412 | GLM 4.7 |
| LMArena Text: creative writing | 1401 | 1401 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision | 1240 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: English | 1414 | 1453 | GLM 4.7 |
| LMArena Text: non-English | 1410 | 1417 | GLM 4.7 |
| LMArena Text: Chinese | 1460 | 1495 | GLM 4.7 |
| LMArena Text: German | 1430 | 1426 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Japanese | 1413 | 1439 | GLM 4.7 |
| LMArena Text: Korean | 1392 | 1399 | GLM 4.7 |
| LMArena Text: French | 1424 | 1432 | GLM 4.7 |
| LMArena Text: Spanish | 1421 | 1434 | GLM 4.7 |
| LMArena Text: Russian | 1420 | 1423 | GLM 4.7 |
| LMArena Text: Polish | 1443 | 1435 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: multi-turn | 1417 | 1446 | GLM 4.7 |
| LMArena Text: longer queries | 1394 | 1432 | GLM 4.7 |
| LMArena Text: writing and language | 1408 | 1411 | GLM 4.7 |
| LMArena Text: entertainment and media | 1386 | 1400 | GLM 4.7 |
| LMArena Vision: English | 1232 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: Chinese | 1278 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: reading text | 1246 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: humor | 1266 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: captioning | 1259 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: recognizing things | 1308 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: creative writing | 1248 | Not measured | Only 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
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 4.7 | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
Gemini 3.1 Flash Lite Preview costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Google Gemini 3.1 Flash Lite Preview | Z.ai GLM 4.7 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | March 3, 2026 | December 22, 2025 |
| Context window | 1.05M | 205K |
| Input $/Mtok | $0.25 | $0.60 |
| Output $/Mtok | $1.50 | $2.20 |
| Coding index | 22.7 | 55.1 |
| Independent measurements behind it | 3 | 2 |
| Cost per solved task | $0.18 | $0.29 |
| Source | OpenRouter listing | OpenRouter 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.