Across 30 comparable benchmarks, Gemini 3.8 Flash has better reported results on 23 and worse on 7. 3 further shared results are listed below, each with the reason it is not counted.
Moderate evidence30 of 33 shared results countedHow we compare
Price basis: Current effective rates. The price section below shows the applicable periods.
| Fact | GLM-5.2 | Gemini 3.8 Flash |
|---|---|---|
| Context window | 1M 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 | June 13, 2026 | September 2, 2026 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 17 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Gemini 3.8 Flash ahead on 4 of 7 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 2 of 3 counted
Gemini 3.8 Flash ahead on 4 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 7 counted
No shared comparable results for Research & search, Long context, Cybersecurity.
Published scores, with matching modes where available. Gaps show GLM-5.2 relative to Gemini 3.8 Flash. Reading the results
| Benchmark | GLM-5.2 | Gemini 3.8 Flash | Gap |
|---|---|---|---|
| APEX-SWERepository Engineering · Pass@1 | 37.4Max · tools | 36.3≠Thinking High · tools | +1.1 pts#37 vs #40 of 61 |
| Code MigrationMaintenance & Optimization · Hidden-test pass rate (%) | 37.9Max · tools | 36.5≠Thinking High · tools | +1.3 pts#35 vs #37 of 79 |
| DeepSWERepository Engineering · Pass@1 (DeepSWE v1.1) | 44.0Deep Thinking · tools | 73.8≠Thinking High · tools | −29.8 pts#63 vs #14 of 73 |
| FrontierCode 1.1Code Generation & Editing · Weighted rubric score (%)Not counted · Different or unrecorded test environments — excluded from the tally | 24.5Normal · tools· frontiercode-1-1-main | 56.3≠Unspecified Reasoning · tools· frontiercode-1-1-extended | —#39 vs #10 of 51 |
| SWE-Atlas-QnARepository Engineering · Task Resolve Rate (%) | 48.1Thinking · tools | 47.0Thinking · tools | +1.1 pts#10 vs #11 of 17 |
| Terminal-Bench 2.1Agentic Development · Accuracy | 81.0Thinking High · tools | 89.4≠Thinking · tools | −8.4 pts#36 vs #8 of 68 |
| Terminal-Bench 4.0Agentic Development · Resolution rate (%) | 1.0Max · tools | 19.7≠Thinking Medium · tools | −18.7 pts#77 vs #49 of 90 |
| Vibe Code Bench v1.1Code Generation & Editing · Pass rate (%) | 64.0Max · tools | 78.7≠Thinking High · tools | −14.7 pts#57 vs #35 of 121 |
| SimpleBenchCommonsense · Score (AVG@5) | 58.8Normal · no tools | 82.4≠Thinking Medium · no tools | 0.71×#51 vs #11 of 106 |
| Vending-Bench 2Logical Planning · Money Balance (USD)Not counted · Speed and cost telemetry is reported, not scored | 8314Unspecified Reasoning · tools | 5094Unspecified Reasoning · tools | 1.63×#19 vs #38 of 64 |
| FrontierMath Tier 4 v2Mathematics · Accuracy (verification_code) | 29.3Max · tools | 22.0≠Thinking High · tools | +7.3 pts#37 vs #49 of 73 |
| FrontierMath v2Mathematics · Accuracy (verification_code) | 59.2Max · tools | 68.4≠Thinking High · tools | −9.2 pts#44 vs #33 of 85 |
| Riemann-benchMathematics · Accuracy (%) | 10.4Max · tools + web | 51.2≠Thinking High · tools + web | −40.8 pts#38 vs #11 of 42 |
| CritPtScientific Reasoning · Score | 20.9Max · no tools | 18.3≠Thinking High · no tools | 1.14×#25 vs #33 of 134 |
| GPQA DiamondScientific Reasoning · Accuracy | 91.9Max · no tools | 95.3≠Thinking High · no tools | −3.4 pts#40 vs #7 of 200 |
| SciCodeScientific Computing · Score | 51.2Max · no tools | 56.6≠Thinking High · no tools | 0.90×#46 vs #24 of 98 |
| MedCodeClinical Workflows · Accuracy (%) | 40.8Max · tools | 48.1≠Thinking High · tools | −7.4 pts#57 vs #30 of 97 |
| MedScribeClinical Workflows · Rubric pass rate (%) | 83.5Max · tools | 84.5≠Thinking High · tools | −1.0 pts#44 vs #34 of 99 |
| APEX-AgentsTool Orchestration · Score | 45.2Reported best | 64.3Reported best | 0.70×#42 vs #12 of 61 |
| GDP.pdfDocuments & Charts · Task pass rate (%) | 10.4Max · no tools | 22.8≠Thinking Medium · no tools | −12.4 pts#60 vs #22 of 96 |
| Creative WritingWriting | 1759Normal · no tools | 1744Normal · no tools | 1.01×#27 vs #29 of 121 |
| AutomationBenchOffice & Business · Pass Rate | 7.8Max · tools· zapier-private-heldout | 29.7≠Thinking Medium · tools· zapier-private-heldout | −21.9 pts#52 vs #35 of 64 |
| EMB (Excel Modeling)Finance · Accuracy (%) | 61.5Max · tools | 72.2≠Thinking High · tools | −10.7 pts#35 vs #10 of 78 |
| Finance Agent v2Finance · Score | 49.7Max · tools | 61.4≠Thinking · tools | 0.81×#44 vs #2 of 75 |
| Harvey's Legal Agent BenchmarkLegal · Accuracy (%) | 7.1Max · tools | 10.0≠Thinking High · tools | −2.9 pts#20 vs #13 of 52 |
| Legal Research BenchLegal · Score | 31.3Max · tools | 38.9≠Thinking High · tools | 0.80×#53 vs #39 of 91 |
| τ³-BankingService Workflows · Score | 37.1Extra-High · tools | 45.8≠Thinking Medium · tools | 0.81×#31 vs #13 of 120 |
| HLEKnowledge Exams · Accuracy | 54.7Thinking · tools | 44.5≠Reported best | +10.2 pts#30 vs #66 of 151 |
| Agent ArenaPreference Arenas · Net improvement index (percentage points vs. average model) | 0.24Max · tools + web | 2.3≠Thinking High · tools + web | 0.10×#30 vs #19 of 35 |
| Agent Arena IndexPreference Arenas · Agent Arena Index rating (index points) | 1091Max · tools + web | 1119≠Thinking High · tools + web | 0.98×#32 vs #21 of 36 |
| ECICapability Indices · ECI score (capability index, higher is better) | 152Reported best | 157Reported best | 0.97×#44 vs #15 of 168 |
| LiveBenchCross-capability Suites · Accuracy | 73.2Normal · no tools | 75.8≠Thinking High · no tools | −2.6 pts#44 vs #30 of 106 |
| Vals IndexCapability IndicesNot counted · This metric has no better direction | 53.1Max · tools | 62.3≠Thinking High · tools | — |
Repository Engineering · Pass@1
Maintenance & Optimization · Hidden-test pass rate (%)
Repository Engineering · Pass@1 (DeepSWE v1.1)
Code Generation & Editing · Weighted rubric score (%)
Not counted · Different or unrecorded test environments — excluded from the tally
Repository Engineering · Task Resolve 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)
Mathematics · Accuracy (verification_code)
Mathematics · Accuracy (%)
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 · Accuracy (%)
Finance · Score
Legal · Accuracy (%)
Legal · Score
Service Workflows · Score
Knowledge Exams · Accuracy
Preference Arenas · Net improvement index (percentage points vs. average model)
Preference Arenas · Agent Arena Index rating (index points)
Capability Indices · ECI score (capability index, higher is better)
Cross-capability Suites · Accuracy
Capability Indices
Not counted · This metric has no better direction
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.2 costs36%morethan Gemini 3.8 Flash per million tokens.Using current effective rates at this token mix.
GLM-5.2: 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.2 | 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.2 costs32%lessthan Gemini 3.8 Flash per million tokens.Using standard list rates after promotions end at this token mix.
GLM-5.2: 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.2 | 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.2 relative to Gemini 3.8 Flash
Summary: 1 of 4 shared benchmarks have matching recorded settings and sources. The average is a geometric mean of 1 positive-cost ratios, one equal weight per benchmark. This benchmark set can include related tests and indexes; it is not a workload cost estimate.
GLM-5.2 1.2× more expensive
Settings or sources differ
Settings or sources differ
Settings or sources differ
GLM-5.2 1.2× more expensive
Settings or sources differ
Settings or sources differ
Settings or sources differ
Settings or sources differ or are not recorded; interpret the comparison with care.
GLM-5.2
Gemini 3.8 Flash
Settings or sources differ or are not recorded; interpret the comparison with care.
GLM-5.2
Gemini 3.8 Flash
Settings or sources differ or are not recorded; interpret the comparison with care.
GLM-5.2
Gemini 3.8 Flash
Effort, protocol, aggregation and source match; other run conditions may differ.
GLM-5.2
Gemini 3.8 Flash
| Benchmark | GLM-5.2 | Gemini 3.8 Flash |
|---|---|---|
| AA Intelligence Index v5.0.1 | Not reported | |
| AA-LCR | Not reported | |
| Agents' Last Exam v1.0 | Not reported | |
| AIME 2026 | 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) |
| 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 |
| FrontierSWE v2 | 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) |
| 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 | |
| WeirdML v3 | Not reported | $3.9441 / task Average · Official score (0-1; higher is better): 0.074 Thinking High (With Tools) |
| Attribute | GLM-5.2 | Gemini 3.8 Flash |
|---|---|---|
| Availability | Available | Available |
| Provider | Zhipu AI | Google Deep Mind |
| Model type | Reasoning model | Multimodal model |
| First release | June 13, 2026 | September 2, 2026 |
| Context window | 1M tokens | 1M tokens |
| Max output | 128K tokens | 64K tokens |
| Total parameters | 753.3B | — |
| Active parameters | 40B | — |
| Architecture | Mixture of Experts (MoE) | Undisclosed |
| Documented capabilities | Reasoning, Multilingual, Coding | 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.2 vs Gemini 3.8 Flash.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.