Gemini 3.1 Flash Lite Preview vs GLM 5.1
Updated October 21, 2026. 60 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick GLM 5.1 for coding: it scores 44.0 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 2.9x less, or when a solved task costs $0.18 against $0.60.
- Shared results
- 60
- Gemini 3.1 Flash Lite Preview only
- 17
- GLM 5.1 only
- 29
- 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.
Coding
Vibe Coding Index, four public coding benchmarks
GLM 5.1
GLM 5.1 scores 44.0 against 8.1.
One benchmark behind each score
Intelligence
AA Intelligence Index
GLM 5.1
GLM 5.1 leads, 26.1 against 15.6.
Same board, both measured
Agentic work
AA Agentic Index
GLM 5.1
GLM 5.1 leads, 23.9 against 1.6.
Same board, both measured
Reasoning
GPQA Diamond
GLM 5.1
GLM 5.1 leads, 84.5% against 81.1%.
Same board, both measured
Math
AIME
GLM 5.1
GLM 5.1 leads, 91.9% against 83.3%.
Same board, both measured
Knowledge
MMLU Pro
GLM 5.1
GLM 5.1 leads, 86.9% against 86.2%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.1
GLM 5.1 leads, 1290 against 1083.
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 5.1 $0.0036 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 5.1 $0.60.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.1 Flash Lite Preview 8.1 from 1 benchmark, GLM 5.1 44.0 from 1 benchmark.
- Widest category
- Web design, 25.9 points apart on average over 8 shared benchmarks.
- Widest single gap
- LMArena WebDev: React: Gemini 3.1 Flash Lite Preview 1245 against GLM 5.1 1505, 43.3 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Flash Lite Preview $1.50 against GLM 5.1 $4.40 per million output tokens, 2.9x apart.
- Context window
- Gemini 3.1 Flash Lite Preview takes 1.05M tokens, GLM 5.1 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 5.1 | Ties |
|---|---|---|---|---|
| Coding | 0 | 12 | 1 tie | |
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 3 | ||
| Reasoning | 0 | 4 | ||
| Math | 0 | 3 | ||
| Knowledge | 3 | 7 | ||
| Web design | 1 | 7 | ||
| General | 0 | 18 | ||
| All shared boards | 4 | 55 | 1 tie |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index012
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 5.1 | Leader |
|---|---|---|---|
| LMArena WebDev | 1257 | 1508 | GLM 5.1 |
| AA Coding Index | 34.7 | 55.8 | GLM 5.1 |
| LiveCodeBench (Vals AI) | 80.1% | 81.4% | GLM 5.1 |
| SWE-bench Verified (Vals AI) | 62.8% | 76.4% | GLM 5.1 |
| Vibe Code Bench (Vals AI) | 0.0% | 31.5% | GLM 5.1 |
| Code migration (Vals AI) | 4.6% | 25.8% | GLM 5.1 |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| Terminal-Bench 2.1 (Vals AI) | 34.1% | 56.9% | GLM 5.1 |
| SciCode | Not measured | 44.8% | Only GLM 5.1 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 43.2% | Only GLM 5.1 measured |
| WeirdML | Not measured | 57.1% | Only GLM 5.1 measured |
| ALE-Bench | 797.7 | 887.1 | GLM 5.1 |
| LMArena Text: coding | 1400 | 1485 | GLM 5.1 |
| LMArena Text: software and IT | 1413 | 1484 | GLM 5.1 |
| LMArena WebDev: React | 1245 | 1505 | GLM 5.1 |
| LMArena WebDev: HTML | 1276 | 1508 | GLM 5.1 |
| LMArena WebDev: from an image | 1336 | 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 5.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 15.6 | 26.1 | GLM 5.1 |
| Epoch Capabilities Index | Not measured | 149.8 | Only GLM 5.1 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 5.1 | Leader |
|---|---|---|---|
| AA Agentic Index | 1.6 | 23.9 | GLM 5.1 |
| Design Arena: agents building web apps | Not measured | 1175 | Only GLM 5.1 measured |
| Design Arena: agents building full-stack apps | Not measured | 1167 | Only GLM 5.1 measured |
| Design Arena: agents building mobile apps | Not measured | 1162 | Only GLM 5.1 measured |
| Design Arena: agents building Android apps | Not measured | 1186 | Only GLM 5.1 measured |
| Design Arena: agents building Godot games | Not measured | 1053 | Only GLM 5.1 measured |
| Design Arena: agents building games | Not measured | 1164 | Only GLM 5.1 measured |
| Design Arena: HTML slides | Not measured | 1170 | Only GLM 5.1 measured |
| Design Arena: PowerPoint slides | Not measured | 1189 | Only GLM 5.1 measured |
| Design Arena: spreadsheets | Not measured | 1315 | Only GLM 5.1 measured |
| Finance Agent (Vals AI) | 30.0% | 44.8% | GLM 5.1 |
| Tax Agent Bench (Vals AI) | 3.1% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Legal Research Bench (Vals AI) | 3.4% | 27.9% | GLM 5.1 |
| Excel Modeling Benchmark (Vals AI) | 8.6% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| τ²-Bench Telecom | Not measured | 97.7% | Only GLM 5.1 measured |
| APEX-Agents | Not measured | 40.9% | Only GLM 5.1 measured |
| Vending-Bench 2 | Not measured | $5,634 | Only GLM 5.1 measured |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 5.1 | Leader |
|---|---|---|---|
| GPQA Diamond | 81.1% | 84.5% | GLM 5.1 |
| MMMU Pro (Vals AI) | 82.5% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 86.8% | Only GLM 5.1 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 30.1% | Only GLM 5.1 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 89.9% | Only GLM 5.1 measured |
| SimpleBench | Not measured | 55.1% | Only GLM 5.1 measured |
| Chess puzzles | Not measured | 20.0% | Only GLM 5.1 measured |
| LMArena Text: hard prompts | 1407 | 1473 | GLM 5.1 |
| LMArena Text: expert | 1398 | 1478 | GLM 5.1 |
| LMArena Text: hard prompts in English | 1403 | 1482 | GLM 5.1 |
| 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 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 5.1 | Leader |
|---|---|---|---|
| AIME | 83.3% | 91.9% | GLM 5.1 |
| OTIS Mock AIME | Not measured | 93.3% | Only GLM 5.1 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 36.8% | Only GLM 5.1 measured |
| ProofBench | Not measured | 22.2% | Only GLM 5.1 measured |
| LMArena Text: math | 1428 | 1473 | GLM 5.1 |
| LMArena Text: mathematical work | 1417 | 1470 | GLM 5.1 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index37
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 5.1 | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | 86.9% | GLM 5.1 |
| LegalBench (Vals AI) | 83.8% | 84.4% | GLM 5.1 |
| CaseLaw (Vals AI) | 55.0% | 51.5% | Gemini 3.1 Flash Lite Preview |
| CorpFin (Vals AI) | 59.4% | 64.5% | GLM 5.1 |
| TaxEval (Vals AI) | 71.8% | 71.2% | Gemini 3.1 Flash Lite Preview |
| MortgageTax (Vals AI) | 68.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MedCode (Vals AI) | 47.6% | 41.6% | Gemini 3.1 Flash Lite Preview |
| SimpleQA Verified | Not measured | 34.0% | Only GLM 5.1 measured |
| LMArena Text: science | 1425 | 1478 | GLM 5.1 |
| LMArena Text: medicine and healthcare | 1428 | 1474 | GLM 5.1 |
| LMArena Text: legal and government | 1418 | 1465 | GLM 5.1 |
| LMArena Text: business and finance | 1389 | 1452 | GLM 5.1 |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index17
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 5.1 | Leader |
|---|---|---|---|
| Design Arena: websites | 1083 | 1290 | GLM 5.1 |
| Design Arena: UI components | 1071 | 1292 | GLM 5.1 |
| Design Arena: game dev | 1029 | 1265 | GLM 5.1 |
| Design Arena: data viz | 1045 | 1366 | GLM 5.1 |
| Design Arena: 3D | 1048 | 1336 | GLM 5.1 |
| Design Arena: all code categories | 1072 | 1268 | GLM 5.1 |
| Design Arena: SVG | 1052 | 1217 | GLM 5.1 |
| Design Arena: ASCII art | 1166 | 1142 | 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 index018
| Benchmark | Gemini 3.1 Flash Lite Preview | GLM 5.1 | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | Not measured | 61.8% | Only GLM 5.1 measured |
| SAGE (Vals AI) | 49.5% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MedScribe (Vals AI) | 63.9% | 72.3% | GLM 5.1 |
| Vals Multimodal Index | 41.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| IFBench | Not measured | 76.3% | Only GLM 5.1 measured |
| Long context reasoning (AA-LCR) | Not measured | 73.7% | Only GLM 5.1 measured |
| ExploitBench | Not measured | 18.1% | Only GLM 5.1 measured |
| LMArena Text | 1416 | 1463 | GLM 5.1 |
| LMArena Text: instruction following | 1377 | 1453 | GLM 5.1 |
| LMArena Text: creative writing | 1401 | 1453 | GLM 5.1 |
| LMArena Vision | 1240 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: English | 1414 | 1476 | GLM 5.1 |
| LMArena Text: non-English | 1410 | 1448 | GLM 5.1 |
| LMArena Text: Chinese | 1460 | 1515 | GLM 5.1 |
| LMArena Text: German | 1430 | 1467 | GLM 5.1 |
| LMArena Text: Japanese | 1413 | 1435 | GLM 5.1 |
| LMArena Text: Korean | 1392 | 1424 | GLM 5.1 |
| LMArena Text: French | 1424 | 1470 | GLM 5.1 |
| LMArena Text: Spanish | 1421 | 1468 | GLM 5.1 |
| LMArena Text: Russian | 1420 | 1454 | GLM 5.1 |
| LMArena Text: Polish | 1443 | 1449 | GLM 5.1 |
| LMArena Text: multi-turn | 1417 | 1473 | GLM 5.1 |
| LMArena Text: longer queries | 1394 | 1467 | GLM 5.1 |
| LMArena Text: writing and language | 1408 | 1454 | GLM 5.1 |
| LMArena Text: entertainment and media | 1386 | 1442 | GLM 5.1 |
| 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 5.1 | 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 5.1 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | March 3, 2026 | April 7, 2026 |
| Context window | 1.05M | 205K |
| Input $/Mtok | $0.25 | $1.40 |
| Output $/Mtok | $1.50 | $4.40 |
| Coding index | 8.1 | 44.0 |
| Independent measurements behind it | 1 | 1 |
| Cost per solved task | $0.18 | $0.60 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Flash Lite Preview better than GLM 5.1 for coding?
Pick GLM 5.1 for coding: it scores 44.0 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 2.9x less, or when a solved task costs $0.18 against $0.60.
Which is cheaper, Gemini 3.1 Flash Lite Preview or GLM 5.1?
Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3.1 Flash Lite Preview costs $0.18 and GLM 5.1 $0.60.
Which has the bigger context window, Gemini 3.1 Flash Lite Preview or GLM 5.1?
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 5.1 comparison based on?
60 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.1's on 1. Where only one model has a result, the page says so instead of naming a winner.