Across 23 comparable benchmarks, Gemini 3.8 Flash has better reported results on 22 and worse on 1. 1 further shared result is listed below, each with the reason it is not counted.
Moderate evidence23 of 24 shared results countedHow we compare
Price basis: Current effective rates. The price section below shows the applicable periods.
| Fact | GLM 5.1 | Gemini 3.8 Flash |
|---|---|---|
| Context window | 200K tokens | 1M tokens |
| Input / 1M | $1.40 | $0.750 |
| Output / 1M | $4.40 | $3.75 |
| Blended (4:1) | $1.18 | $0.432 |
| Status | Available | Available |
| Released | March 27, 2026 | September 2, 2026 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 12 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Gemini 3.8 Flash ahead on 5 of 5 counted
Gemini 3.8 Flash ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
Gemini 3.8 Flash ahead on 1 of 1 counted
Gemini 3.8 Flash ahead on 5 of 5 counted
Gemini 3.8 Flash ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
Gemini 3.8 Flash ahead on 1 of 1 counted
Gemini 3.8 Flash ahead on 6 of 6 counted
No shared comparable results for Research & search, Long context, Cybersecurity.
Published scores, with matching modes where available. Gaps show GLM 5.1 relative to Gemini 3.8 Flash. Reading the results
| Benchmark | GLM 5.1 | Gemini 3.8 Flash | Gap |
|---|---|---|---|
| APEX-SWERepository Engineering · Pass@1 | 34.5Reported best | 36.3≠Thinking High · tools | −1.8 pts#43 vs #40 of 61 |
| Code MigrationMaintenance & Optimization · Hidden-test pass rate (%) | 25.8Unspecified Reasoning · tools | 36.5≠Thinking High · tools | −10.8 pts#48 vs #37 of 79 |
| Terminal-Bench 2.1Agentic Development · Accuracy | 58.7Thinking High · tools | 89.4≠Thinking · tools | −30.7 pts#61 vs #8 of 68 |
| Terminal-Bench 4.0Agentic Development · Resolution rate (%) | 2.0Thinking · tools | 19.7≠Thinking Medium · tools | −17.7 pts#74 vs #49 of 90 |
| Vibe Code Bench v1.1Code Generation & Editing · Pass rate (%) | 31.5Unspecified Reasoning · tools | 78.7≠Thinking High · tools | −47.2 pts#78 vs #35 of 121 |
| SimpleBenchCommonsense · Score (AVG@5) | 55.1Normal · no tools | 82.4≠Thinking Medium · no tools | 0.67×#57 vs #11 of 106 |
| Vending-Bench 2Logical Planning · Money Balance (USD)Not counted · Speed and cost telemetry is reported, not scored | 5634Unspecified Reasoning · tools | 5094Unspecified Reasoning · tools | 1.11×#32 vs #38 of 64 |
| FrontierMath v2Mathematics · Accuracy (verification_code) | 36.8Reported best | 68.4≠Thinking High · tools | −31.6 pts#64 vs #33 of 85 |
| CritPtScientific Reasoning · Score | 4.6Thinking · no tools | 18.3≠Thinking High · no tools | 0.25×#73 vs #33 of 134 |
| GPQA DiamondScientific Reasoning · Accuracy | 86.2Thinking · no tools | 95.3≠Thinking High · no tools | −9.1 pts#74 vs #7 of 200 |
| SciCodeScientific Computing · Score | 44.8Thinking · no tools | 56.6≠Thinking High · no tools | 0.79×#64 vs #24 of 98 |
| MedCodeClinical Workflows · Accuracy (%) | 41.6Unspecified Reasoning · tools | 48.1≠Thinking High · tools | −6.5 pts#50 vs #30 of 97 |
| MedScribeClinical Workflows · Rubric pass rate (%) | 72.3Unspecified Reasoning · tools | 84.5≠Thinking High · tools | −12.2 pts#82 vs #34 of 99 |
| APEX-AgentsTool Orchestration · Score | 40.9Reported best | 64.3Reported best | 0.64×#46 vs #12 of 61 |
| GDP.pdfDocuments & Charts · Task pass rate (%) | 8.4Thinking · no tools | 22.8≠Thinking Medium · no tools | −14.4 pts#64 vs #22 of 96 |
| Creative WritingWriting | 1594Normal · no tools | 1744Normal · no tools | 0.91×#46 vs #29 of 121 |
| AutomationBenchOffice & Business · Pass Rate | 6.2Max · tools· zapier-private-heldout | 29.7≠Thinking Medium · tools· zapier-private-heldout | −23.5 pts#53 vs #35 of 64 |
| Finance Agent v2Finance · Score | 44.8Unspecified Reasoning · tools | 61.4≠Thinking · tools | 0.73×#55 vs #2 of 75 |
| Legal Research BenchLegal · Score | 27.9Unspecified Reasoning · tools | 38.9≠Thinking High · tools | 0.72×#62 vs #39 of 91 |
| Public Benefits Bench v1.1Service Workflows · Criterion pass rate (%) | 61.8Unspecified Reasoning · tools | 65.3≠Thinking High · tools | −3.5 pts#29 vs #22 of 50 |
| τ³-BankingService Workflows · Score | 13.6Thinking · tools | 45.8≠Thinking Medium · tools | 0.30×#79 vs #13 of 120 |
| HLEKnowledge Exams · Accuracy | 52.3Thinking · tools | 44.5≠Reported best | +7.8 pts#39 vs #66 of 151 |
| ECICapability Indices · ECI score (capability index, higher is better) | 150Reported best | 157Reported best | 0.95×#50 vs #15 of 168 |
| LiveBenchCross-capability Suites · Accuracy | 70.2Normal · no tools | 75.8≠Thinking High · no tools | −5.6 pts#58 vs #30 of 106 |
Repository Engineering · Pass@1
Maintenance & Optimization · Hidden-test pass rate (%)
Agentic Development · Accuracy
Agentic Development · Resolution rate (%)
Code Generation & Editing · Pass rate (%)
Commonsense · Score (AVG@5)
Logical Planning · Money Balance (USD)
Not counted · Speed and cost telemetry is reported, not scored
Mathematics · Accuracy (verification_code)
Scientific Reasoning · Score
Scientific Reasoning · Accuracy
Scientific Computing · Score
Clinical Workflows · Accuracy (%)
Clinical Workflows · Rubric pass rate (%)
Tool Orchestration · Score
Documents & Charts · Task pass rate (%)
Writing
Office & Business · Pass Rate
Finance · Score
Legal · Score
Service Workflows · Criterion pass rate (%)
Service Workflows · Score
A dash means no result is available.
Both models publish peak and off-peak prices. Each period is compared separately using the same token mix; hours follow each provider’s schedule.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
GLM 5.1 costs36%morethan Gemini 3.8 Flash per million tokens.Using current effective rates at this token mix.
GLM 5.1: International pricing. Z.ai international price (docs.z.ai/guides/overview/pricing) verified 2026-10-22 via browser
Gemini 3.8 Flash: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | GLM 5.1 | Gemini 3.8 Flash | Ratio |
|---|---|---|---|
| Input | $1.40 | $0.75 | 1.87× |
| Output | $4.40 | $3.75 | 1.17× |
| Cached input | $0.26 | $0.075 | 3.47× |
| Cache write | — | — | — |
| Blended | $1.18 | $0.864 | 1.36× |
GLM 5.1 costs32%lessthan Gemini 3.8 Flash per million tokens.Using standard list rates after promotions end at this token mix.
GLM 5.1: International pricing. Z.ai international price (docs.z.ai/guides/overview/pricing) verified 2026-10-22 via browser
Gemini 3.8 Flash: Standard pricing. Google Gemini API official pricing (ai.google.dev/gemini-api/docs/pricing) verified 2026-10-21; paid tier; standard tier; scheduled price starting 2027-01-01
| Price / 1M tokens | GLM 5.1 | Gemini 3.8 Flash | Ratio |
|---|---|---|---|
| Input | $1.40 | $1.50 | 0.93× |
| Output | $4.40 | $7.50 | 0.59× |
| Cached input | $0.26 | $0.15 | 1.73× |
| Cache write | — | — | — |
| Blended | $1.18 | $1.73 | 0.68× |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
GLM 5.1 relative to Gemini 3.8 Flash
No matching recorded settings for a cost summary.
Summary: 0 of 1 shared benchmarks have matching recorded settings and sources. The average is a geometric mean of 0 positive-cost ratios, one equal weight per benchmark. This benchmark set can include related tests and indexes; it is not a workload cost estimate.
Settings or sources differ
Settings or sources differ
Settings or sources differ or are not recorded; interpret the comparison with care.
GLM 5.1
Gemini 3.8 Flash
| Benchmark | GLM 5.1 | Gemini 3.8 Flash |
|---|---|---|
| AA Intelligence Index v5.0.1 | Not reported | |
| AA-LCR | Not reported | |
| Agent Arena | Not reported | $0.7652 / task Median · Net improvement index (percentage points vs. average model): 2.3 Thinking High (With Tools + Internet) |
| Agent Arena Index | Not reported | $0.7013 / task Median · Agent Arena Index rating (index points): 1119 Thinking High (With Tools + Internet) |
| Agents' Last Exam v1.0 | Not reported | |
| ARC-AGI-1 | Not reported | |
| ARC-AGI-2 | Not reported | $0.2478 / task Average · ARC-AGI-2 Score: 82.9 Thinking Medium (No Tools) |
| Code Migration | $5.7013 / task Average · Hidden-test pass rate (%): 25.8 Unspecified Reasoning (With Tools) | Not reported |
| CursorBench 4.0 | Not reported | $4.70 / task Average · Task score: 39.6 Thinking High (With Tools) · cursorbench-4-0-cursor-agent $4.06 / task Average · Task score: 37.3 Thinking Medium (With Tools) · cursorbench-4-0-cursor-agent |
| DeepSWE | Not reported | |
| Finance Agent v2 | Not reported | |
| FrontierSWE v2 | Not reported | |
| Legal Research Bench | Not reported | |
| LiveBench 2.0 | Not reported | $0.789 / task Average · Overall score (equal-weight mean of 7 suite scores, 0-100): 67.3 Thinking High (With Tools) |
| MedCode | Not reported | |
| MedScribe | Not reported | |
| Public Benefits Bench v1.1 | $0.3407 / task Average · Criterion pass rate (%): 61.8 Unspecified Reasoning (With Tools) | Not reported |
| Terminal-Bench 4.0 | Not reported | $8.65 / task Average · Resolution rate (%): 19.7 Unspecified Reasoning (With Tools) · vals-mini-swe |
| Terminal-Bench 4.1 | Not reported | |
| Vals Index v2.1 | Not reported | |
| Vals Index v2.2 | Not reported | |
| Vibe Code Bench 1-100 | Not reported | |
| Vibe Code Bench v1.1 | Not reported | |
| WeirdML v3 | Not reported | $3.9441 / task Average · Official score (0-1; higher is better): 0.074 Thinking High (With Tools) |
| Attribute | GLM 5.1 | Gemini 3.8 Flash |
|---|---|---|
| Availability | Available | Available |
| Provider | Zhipu AI | Google Deep Mind |
| Model type | Reasoning model | Multimodal model |
| First release | March 27, 2026 | September 2, 2026 |
| Context window | 200K tokens | 1M tokens |
| Max output | 128K tokens | 64K tokens |
| Total parameters | 754B | — |
| Active parameters | 40B | — |
| Architecture | Mixture of Experts (MoE) | Undisclosed |
| Documented capabilities | Reasoning, Multilingual | Reasoning, Coding, Function calling, Tool use, Structured output, Computer use, Web search, Long context |
| Input modalities | Text | Text, Image, Audio, Video |
| Output modalities | Text | Text |
| Weights | Open weights | Closed / API only |
| Licence | MIT License | — |
| Commercial use | Commercial use allowed | Proprietary |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on GLM 5.1 vs Gemini 3.8 Flash.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.