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 | Gemini 3.8 Flash | GLM-5.2 |
|---|---|---|
| Context window | 1M tokens | 1M tokens |
| Input / 1M | $0.750 | $1.40 |
| Output / 1M | $3.75 | $4.40 |
| Blended (4:1) | $0.432 | $1.18 |
| Status | Available | Available |
| Released | September 2, 2026 | June 13, 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 Gemini 3.8 Flash relative to GLM-5.2. Reading the results
| Benchmark | Gemini 3.8 Flash | GLM-5.2 | Gap |
|---|---|---|---|
| APEX-SWERepository Engineering · Pass@1 | 36.3Thinking High · tools | 37.4≠Max · tools | −1.1 pts#40 vs #37 of 61 |
| Code MigrationMaintenance & Optimization · Hidden-test pass rate (%) | 36.5Thinking High · tools | 37.9≠Max · tools | −1.3 pts#37 vs #35 of 79 |
| DeepSWERepository Engineering · Pass@1 (DeepSWE v1.1) | 73.8Thinking High · tools | 44.0≠Deep Thinking · tools | +29.8 pts#14 vs #63 of 73 |
| FrontierCode 1.1Code Generation & Editing · Weighted rubric score (%)Not counted · Different or unrecorded test environments — excluded from the tally | 56.3Unspecified Reasoning · tools· frontiercode-1-1-extended | 24.5≠Normal · tools· frontiercode-1-1-main | —#10 vs #39 of 51 |
| SWE-Atlas-QnARepository Engineering · Task Resolve Rate (%) | 47.0Thinking · tools | 48.1Thinking · tools | −1.1 pts#11 vs #10 of 17 |
| Terminal-Bench 2.1Agentic Development · Accuracy | 89.4Thinking · tools | 81.0≠Thinking High · tools | +8.4 pts#8 vs #36 of 68 |
| Terminal-Bench 4.0Agentic Development · Resolution rate (%) | 19.7Thinking Medium · tools | 1.0≠Max · tools | +18.7 pts#49 vs #77 of 90 |
| Vibe Code Bench v1.1Code Generation & Editing · Pass rate (%) | 78.7Thinking High · tools | 64.0≠Max · tools | +14.7 pts#35 vs #57 of 121 |
| SimpleBenchCommonsense · Score (AVG@5) | 82.4Thinking Medium · no tools | 58.8≠Normal · no tools | 1.40×#11 vs #51 of 106 |
| Vending-Bench 2Logical Planning · Money Balance (USD)Not counted · Speed and cost telemetry is reported, not scored | 5094Unspecified Reasoning · tools | 8314Unspecified Reasoning · tools | 0.61×#38 vs #19 of 64 |
| FrontierMath Tier 4 v2Mathematics · Accuracy (verification_code) | 22.0Thinking High · tools | 29.3≠Max · tools | −7.3 pts#49 vs #37 of 73 |
| FrontierMath v2Mathematics · Accuracy (verification_code) | 68.4Thinking High · tools | 59.2≠Max · tools | +9.2 pts#33 vs #44 of 85 |
| Riemann-benchMathematics · Accuracy (%) | 51.2Thinking High · tools + web | 10.4≠Max · tools + web | +40.8 pts#11 vs #38 of 42 |
| CritPtScientific Reasoning · Score | 18.3Thinking High · no tools | 20.9≠Max · no tools | 0.88×#33 vs #25 of 134 |
| GPQA DiamondScientific Reasoning · Accuracy | 95.3Thinking High · no tools | 91.9≠Max · no tools | +3.4 pts#7 vs #40 of 200 |
| SciCodeScientific Computing · Score | 56.6Thinking High · no tools | 51.2≠Max · no tools | 1.11×#24 vs #46 of 98 |
| MedCodeClinical Workflows · Accuracy (%) | 48.1Thinking High · tools | 40.8≠Max · tools | +7.4 pts#30 vs #57 of 97 |
| MedScribeClinical Workflows · Rubric pass rate (%) | 84.5Thinking High · tools | 83.5≠Max · tools | +1.0 pts#34 vs #44 of 99 |
| APEX-AgentsTool Orchestration · Score | 64.3Reported best | 45.2Reported best | 1.42×#12 vs #42 of 61 |
| GDP.pdfDocuments & Charts · Task pass rate (%) | 22.8Thinking Medium · no tools | 10.4≠Max · no tools | +12.4 pts#22 vs #60 of 96 |
| Creative WritingWriting | 1744Normal · no tools | 1759Normal · no tools | 0.99×#29 vs #27 of 121 |
| AutomationBenchOffice & Business · Pass Rate | 29.7Thinking Medium · tools· zapier-private-heldout | 7.8≠Max · tools· zapier-private-heldout | +21.9 pts#35 vs #52 of 64 |
| EMB (Excel Modeling)Finance · Accuracy (%) | 72.2Thinking High · tools | 61.5≠Max · tools | +10.7 pts#10 vs #35 of 78 |
| Finance Agent v2Finance · Score | 61.4Thinking · tools | 49.7≠Max · tools | 1.24×#2 vs #44 of 75 |
| Harvey's Legal Agent BenchmarkLegal · Accuracy (%) | 10.0Thinking High · tools | 7.1≠Max · tools | +2.9 pts#13 vs #20 of 52 |
| Legal Research BenchLegal · Score | 38.9Thinking High · tools | 31.3≠Max · tools | 1.25×#39 vs #53 of 91 |
| τ³-BankingService Workflows · Score | 45.8Thinking Medium · tools | 37.1≠Extra-High · tools | 1.23×#13 vs #31 of 120 |
| HLEKnowledge Exams · Accuracy | 44.5Reported best | 54.7≠Thinking · tools | −10.2 pts#66 vs #30 of 151 |
| Agent ArenaPreference Arenas · Net improvement index (percentage points vs. average model) | 2.3Thinking High · tools + web | 0.24≠Max · tools + web | 9.82×#19 vs #30 of 35 |
| Agent Arena IndexPreference Arenas · Agent Arena Index rating (index points) | 1119Thinking High · tools + web | 1091≠Max · tools + web | 1.03×#21 vs #32 of 36 |
| ECICapability Indices · ECI score (capability index, higher is better) | 157Reported best | 152Reported best | 1.04×#15 vs #44 of 168 |
| LiveBenchCross-capability Suites · Accuracy | 75.8Thinking High · no tools | 73.2≠Normal · no tools | +2.6 pts#30 vs #44 of 106 |
| Vals IndexCapability IndicesNot counted · This metric has no better direction | 62.3Thinking High · tools | 53.1≠Max · 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%
Gemini 3.8 Flash costs27%lessthan GLM-5.2 per million tokens.Using current effective rates at this token mix.
Gemini 3.8 Flash: Listed text rates; pricing tier not confirmed.
GLM-5.2: International pricing. Z.ai international price (docs.z.ai/guides/overview/pricing) verified 2026-10-22 via browser
| Price / 1M tokens | Gemini 3.8 Flash | GLM-5.2 | Ratio |
|---|---|---|---|
| Input | $0.75 | $1.40 | 0.54× |
| Output | $3.75 | $4.40 | 0.85× |
| Cached input | $0.075 | $0.26 | 0.29× |
| Cache write | — | — | — |
| Blended | $0.864 | $1.18 | 0.73× |
Gemini 3.8 Flash costs47%morethan GLM-5.2 per million tokens.Using standard list rates after promotions end at this token mix.
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
GLM-5.2: International pricing. Z.ai international price (docs.z.ai/guides/overview/pricing) verified 2026-10-22 via browser
| Price / 1M tokens | Gemini 3.8 Flash | GLM-5.2 | Ratio |
|---|---|---|---|
| Input | $1.50 | $1.40 | 1.07× |
| Output | $7.50 | $4.40 | 1.70× |
| Cached input | $0.15 | $0.26 | 0.58× |
| Cache write | — | — | — |
| Blended | $1.73 | $1.18 | 1.47× |
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.
Gemini 3.8 Flash relative to GLM-5.2
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.
Gemini 3.8 Flash 1.2× cheaper
Settings or sources differ
Settings or sources differ
Settings or sources differ
Gemini 3.8 Flash 1.2× cheaper
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.
Gemini 3.8 Flash
GLM-5.2
Settings or sources differ or are not recorded; interpret the comparison with care.
Gemini 3.8 Flash
GLM-5.2
Settings or sources differ or are not recorded; interpret the comparison with care.
Gemini 3.8 Flash
GLM-5.2
Effort, protocol, aggregation and source match; other run conditions may differ.
Gemini 3.8 Flash
GLM-5.2
| Benchmark | Gemini 3.8 Flash | GLM-5.2 |
|---|---|---|
| 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 | $0.2478 / task Average · ARC-AGI-2 Score: 82.9 Thinking Medium (No Tools) | Not reported |
| CursorBench 4.0 | $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 | Not reported |
| FrontierSWE v2 | Not reported | |
| LiveBench 2.0 | $0.789 / task Average · Overall score (equal-weight mean of 7 suite scores, 0-100): 67.3 Thinking High (With Tools) | Not reported |
| Terminal-Bench 4.0 | $8.65 / task Average · Resolution rate (%): 19.7 Unspecified Reasoning (With Tools) · vals-mini-swe | Not reported |
| 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 | $3.9441 / task Average · Official score (0-1; higher is better): 0.074 Thinking High (With Tools) | Not reported |
| Attribute | Gemini 3.8 Flash | GLM-5.2 |
|---|---|---|
| Availability | Available | Available |
| Provider | Google Deep Mind | Zhipu AI |
| Model type | Multimodal model | Reasoning model |
| First release | September 2, 2026 | June 13, 2026 |
| Context window | 1M tokens | 1M tokens |
| Max output | 64K tokens | 128K tokens |
| Total parameters | — | 753.3B |
| Active parameters | — | 40B |
| Architecture | Undisclosed | Mixture of Experts (MoE) |
| Documented capabilities | Reasoning, Coding, Function calling, Tool use, Structured output, Computer use, Web search, Long context | Reasoning, Multilingual, Coding |
| Input modalities | Text, Image, Audio, Video | Text |
| Output modalities | Text | Text |
| Weights | Closed / API only | Open weights |
| Licence | — | MIT License |
| Commercial use | Proprietary | Commercial use allowed |
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 Gemini 3.8 Flash vs GLM-5.2.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.