Coding
Like-for-like- Gemini 3.5 Flash
- 55.1
- GLM-5.2
- 62.1
- Weighted basis
- 1 vs 1 rows
- Reading
- GLM-5.2 leads
Model comparison
Updated July 31, 2026. Public scores include evidence status and uncertainty. They are not guarantees for a specific workload.
Gemini 3.5 Flash has the higher public score estimate, 63.89 versus 62.94, but the 90% score intervals overlap. Treat that as a lead, not a settled winner.
9 results are shared. Category rows based on different benchmark sets are marked directional and do not name a winner.
Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.
Code generation, repair, and software-engineering tasks
GLM-5.2
GLM-5.2 leads on the same 1 weighted benchmark row.
Confidence: limited
1K fresh input + 500 output tokens
GLM-5.2
GLM-5.2 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
Confidence: listed-rates
200K cached + 20K fresh input + 10K output tokens
Gemini 3.5 Flash
Gemini 3.5 Flash has the lower estimated token cost for this stated workload. GLM-5.2 has no published cached-input rate, so cached tokens use its listed input rate.
Confidence: rate-fallback
50K fresh input + 3K output tokens
GLM-5.2
GLM-5.2 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
Confidence: listed-rates
Tool use, computer use, and multi-step task completion
Not enough matched evidence
The category averages use different weighted benchmark sets, so they are directional rather than like-for-like.
Confidence: limited
Prompts that approach the documented context limit
No clear pick
The documented context windows are equal.
Confidence: documented
Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.
2 categories use different evidence sets. Those rows remain visible for coverage context but do not name a winner.
Each row states whether both averages use the same weighted benchmark set. Directional and not-comparable rows remain visible, but they never receive a winner in this template.
| Category | Gemini 3.5 Flash | GLM-5.2 | Weighted basis | Reading |
|---|---|---|---|---|
| Coding | 55.1 | 62.1 | Like-for-like1 vs 1 rows | GLM-5.2 leads |
| Agentic | 77.2 | 81.0 | Directional only2 vs 1 rows | Directional only |
| Knowledge | 40.2 | 59.6 | Directional only1 vs 2 rows | Directional only |
| Reasoning | 74.7 | Not measured | Not comparable2 vs 0 rows | Not comparable |
| Math | 32.9 | 95.9 | Not comparable2 vs 2 rows | Not comparable |
| Multilingual | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
| Multimodal | 83.8 | Not measured | Not comparable2 vs 0 rows | Not comparable |
| Instruction following | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.
Too few matched category axes support a radar. The ruled list below shows only shared benchmark results; positions use each benchmark’s normalized display scale when available.
HLE
Knowledge
SWE-bench Pro
Coding
Terminal-Bench 2.0
Agentic
Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.
1K fresh input + 500 output tokens
GLM-5.2 has the lower modeled cost
Costs use the listed standard API rates.
50K fresh input + 3K output tokens
GLM-5.2 has the lower modeled cost
Costs use the listed standard API rates.
200K cached + 20K fresh input + 10K output tokens
Gemini 3.5 Flash has the lower modeled cost
GLM-5.2 has no published cached-input rate, so cached tokens use its listed input rate.
Sourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.
Maximum documented context; output-token limits may be lower.
Gemini 3.5 Flash
GLM-5.2
1M
Gemini 3.5 Flash
gemini-3.5-flash
Google Gemini API pricingGLM-5.2
Not sourced
A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.
Gemini 3.5 Flash
$0.15 per 1M cached input tokens
Google Gemini API pricingGLM-5.2
Not published
Gemini 3.5 Flash
Not sourced
GLM-5.2
Not sourced
Gemini 3.5 Flash
Not sourced
GLM-5.2
Not sourced
Gemini 3.5 Flash
Not sourced
GLM-5.2
Not sourced
Gemini 3.5 Flash
Reasoning
GLM-5.2
Reasoning
Gemini 3.5 Flash
Proprietary
GLM-5.2
Open Weight
Gemini 3.5 Flash
Proprietary
GLM-5.2
Open Weight
Gemini 3.5 Flash
2026-05-19
GLM-5.2
2026-06-16
Run the same representative tasks against both endpoints before changing production traffic.
The full public result ledger is available for audit without forcing a wide desktop table onto a phone.
Terminal-Bench 2.0
GLM-5.2 leads this result
MCP Atlas
Gemini 3.5 Flash leads this result
Toolathlon
Gemini 3.5 Flash leads this result
OSWorld-Verified
Not directly comparable
Finance Agent v2
Not directly comparable
Gert Labs
Not directly comparable
ResearchClawBench
Shared sourceGLM-5.2 leads this result
Terminal-Bench 2.0
GLM-5.2 leads this result
SWE-bench Pro
GLM-5.2 leads this result
Vibe Code Bench
Not directly comparable
cursorBench31
Not directly comparable
cursorBench32
Shared sourceGLM-5.2 leads this result
NL2Repo
Not directly comparable
ProgramBench
Not directly comparable
FrontierMath v2 (Tiers 1-3)
Not directly comparable
FrontierMath v2 (Tier 4)
Not directly comparable
AIME26
Not directly comparable
HMMT Nov 2025
Not directly comparable
HMMT Feb 2026
Not directly comparable
MMAnswerBench
Not directly comparable
Gemini 3.5 Flash has the higher public score estimate, 63.89 versus 62.94, but the 90% score intervals overlap. The higher estimate is not a decisive winner because the uncertainty ranges overlap.
GLM-5.2 leads the like-for-like coding comparison across 1 shared weighted benchmark row.
The current agentic tasks averages use different weighted benchmark sets, so BenchLM does not name a winner from them. Read the shared benchmark rows directly and test the models on the same task set.
For the stated presets, chat costs $0.006 on Gemini 3.5 Flash and $0.0036 on GLM-5.2; repository review costs $0.102 and $0.0832; the cache-heavy agent loop costs $0.15 and $0.352. GLM-5.2 has no published cached-input rate, so cached tokens use its listed input rate.
Both models list the same context window, 1M.
Last updated July 31, 2026
One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.
Read a sample issueJoin 2,000+ readers.