Coding
Like-for-like- GLM-5.1
- 56.5
- Supported · #38/152
- GLM-5.2
- 61.0
- Supported · #19/152
- Basis
- BenchAlign lane · 7 vs 8 public rows
- Reading
- GLM-5.2 leads · intervals overlap
Keep up with the models you depend on. Follow price changes, retirements, and API updates.Follow the models you depend on.
Follow model changesUpdated September 14, 2026. Public scores include evidence status and uncertainty. They are not guarantees for a specific workload. This is a same-family comparison, so migration details appear when the source data supports them.
Decision reading
GLM-5.2 has the higher public score estimate, 68.19 versus 63.3, but the 90% score intervals overlap. Treat that as a lead, not a settled winner.
17 results are shared. Category rows resting on Estimated evidence or different benchmark sets are marked directional and do not name a winner.
Share or export
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 public coding lane, 61 to 56.5, with Supported evidence for both models, although the 90% intervals overlap.
Confidence: limited
Prompts that approach the documented context limit
GLM-5.2
GLM-5.2 has the larger documented context window.
Confidence: documented
Tool use, computer use, and multi-step task completion
Not enough matched evidence
GLM-5.1 is scored on Estimated evidence for agentic, so the reading is directional rather than like-for-like.
Confidence: limited
1K fresh input + 500 output tokens
No clear pick
A complete comparable API-rate estimate is not available for both models.
Confidence: listed-rates
200K cached + 20K fresh input + 10K output tokens
Not enough matched evidence
The page does not recommend a cost winner because at least one model cannot fit the stated workload in one request. GLM-5.1 does not fit this workload in one request. GLM-5.1 has no published cached-input rate, so cached tokens use its listed input rate. 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
No clear pick
A complete comparable API-rate estimate is not available for both models.
Confidence: listed-rates
Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.
2 categories rest on Estimated evidence or different evidence sets. Those rows remain visible for coverage context but do not name a winner.
Each row shows the public-lane category score for both models: the BenchAlign lane for agentic, coding, and knowledge, and the weighted public rows elsewhere, with the same rank each model page reports. A row is like-for-like only when both scores rest on Supported evidence or the same weighted set. Directional and not-comparable rows remain visible, but they never receive a winner.
| Category | GLM-5.1 | GLM-5.2 | Basis | Reading |
|---|---|---|---|---|
| Coding | 56.5Supported · #38/152 | 61.0Supported · #19/152 | Like-for-likeBenchAlign lane · 7 vs 8 public rows | GLM-5.2 leads · intervals overlap |
| Knowledge | 54.8Supported · #54/183 | 60.7Supported · #35/183 | Like-for-likeBenchAlign lane · 4 vs 6 public rows | GLM-5.2 leads · intervals overlap |
| Agentic | 54.3Estimated · #38/153 | 58.5Supported · #29/153 | Directional onlyBenchAlign lane · 9 vs 6 public rows | Directional only |
| Instruction following | 93.7#5/123 | 89.8#22/123 | Directional onlyProvisional lane · 0 vs 0 weighted rows | Directional only |
| Reasoning | 71.7Unranked · 2 rankable rows | 74.8Unranked · 2 rankable rows | Not comparableProvisional lane · 0 vs 0 weighted rows | Not comparable |
| Math | 64.1#3/7 | 80.7Unranked · 4 rankable rows | Not comparableProvisional lane · 4 vs 2 weighted rows | Not comparable |
| Multilingual | Not ranked | Not ranked | Not comparableProvisional lane · 0 vs 0 weighted rows | Not comparable |
| Multimodal | Not ranked | Not ranked | Not comparableProvisional lane · 0 vs 0 weighted rows | Not comparable |
Ranks count the models scored in each category’s lane, so the agentic, coding, and knowledge denominators (BenchAlign) differ from the provisional-lane categories. Unranked scores sit on the lane’s scale but never name a winner. Like-for-like rows within 0.5 points read as a practical tie.
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.
Terminal-Bench 2.0
Agentic
LiveCodeBench (Vals)
Coding
HMMT Feb 2026
Math
AIME26
Math
SWE-bench Pro
Coding
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
Modeled costs are equal
Costs use the listed standard API rates.
50K fresh input + 3K output tokens
Modeled costs are equal
Costs use the listed standard API rates.
200K cached + 20K fresh input + 10K output tokens
GLM-5.1 does not fit this workload in one request. GLM-5.1 has no published cached-input rate, so cached tokens use its listed input rate. 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.
GLM-5.1
203K
GLM-5.2
1M
GLM-5.1
Not sourced
GLM-5.2
Not sourced
A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.
GLM-5.1
Not published
GLM-5.2
Not published
GLM-5.1
Not sourced
GLM-5.2
Not sourced
GLM-5.1
Not sourced
GLM-5.2
Not sourced
GLM-5.1
Not sourced
GLM-5.2
Not sourced
GLM-5.1
Reasoning
GLM-5.2
Reasoning
GLM-5.1
Open Weight
GLM-5.2
Open Weight
GLM-5.1
Open Weight
GLM-5.2
Open Weight
GLM-5.1
2026-04-07
GLM-5.2
2026-06-16
Run the same representative tasks against both endpoints before changing production traffic.
Estimates at 50,000 req/day · 1000 tokens/req average.
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
BrowseComp
Not directly comparable
τ³-bench results
Not directly comparable
MCP Atlas
GLM-5.2 leads this result
CyberGym
Not directly comparable
Claw-Eval
Not directly comparable
Gert Labs
Not directly comparable
ResearchClawBench
Shared sourceGLM-5.2 leads this result
Terminal-Bench 2.1 (Vals)
GLM-5.2 leads this result
Terminal-Bench 3.0
Not directly comparable
Toolathlon
Not directly comparable
SWE-bench Pro
GLM-5.2 leads this result
NL2Repo
GLM-5.2 leads this result
SWE-Rebench
Not directly comparable
Vibe Code Bench
Not directly comparable
OpenHarmony Bench
Shared sourceGLM-5.2 leads this result
LiveCodeBench (Vals)
GLM-5.1 leads this result
SWE-bench (Vals)
GLM-5.2 leads this result
Terminal-Bench 2.0
Not directly comparable
ProgramBench
Not directly comparable
cursorBench32
Not directly comparable
CritPt
Not directly comparable
GPQA-D
GLM-5.2 leads this result
HLE
GLM-5.2 leads this result
GPQA Diamond (Vals)
GLM-5.2 leads this result
MMLU-Pro (Vals)
GLM-5.1 leads this result
GPQA
Not directly comparable
HLE w/o tools
Not directly comparable
AIME26
GLM-5.2 leads this result
HMMT Nov 2025
GLM-5.2 leads this result
HMMT Feb 2026
GLM-5.2 leads this result
MMAnswerBench
GLM-5.2 leads this result
FrontierMath v2 (Tiers 1-3)
Not directly comparable
FrontierMath v2 (Tier 4)
Not directly comparable
GLM-5.2 has the higher public score estimate, 68.19 versus 63.3, but the 90% score intervals overlap. The higher estimate is not a decisive winner because the uncertainty ranges overlap.
GLM-5.2 leads the public coding lane, 61 to 56.5, with Supported evidence for both models, although the 90% intervals overlap.
GLM-5.2 scores higher for agentic tasks on the public lane, 58.5 to 54.3. GLM-5.1 is scored on Estimated evidence for agentic tasks, so the reading is directional rather than like-for-like. BenchLM does not name a winner for agentic tasks from a directional reading; read the shared benchmark rows directly and test the models on the same task set.
For the stated presets, chat costs $0.0036 on GLM-5.1 and $0.0036 on GLM-5.2; repository review costs $0.0832 and $0.0832; the cache-heavy agent loop costs $0.352 and $0.352. GLM-5.1 does not fit this workload in one request. GLM-5.1 has no published cached-input rate, so cached tokens use its listed input rate. GLM-5.2 has no published cached-input rate, so cached tokens use its listed input rate.
GLM-5.2 has the larger documented context window: 1M, compared with 203K.
Last updated September 14, 2026
One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.
Read a sample issueJoin 2,000+ readers.