Skip to main content

Model comparison

GLM-5 vs GPT-5.2-Codex

Data verified

Head-to-head evidence from 12 shared benchmark results across 5 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.

Z.AI
66.06/100
Margin
7.0pts
← winning
59.1/100
0 category wins0 category wins

Public leaderboard positions: GLM-5 #28 (Supported); GPT-5.2-Codex #58 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. GLM-5 and GPT-5.2-Codex share 12 comparable benchmark results. 0 of 8 categories are comparable. 37 results are unique to GLM-5; 3 to GPT-5.2-Codex.

Updated July 20, 2026
Shared results
12
GLM-5 only
37
GPT-5.2-Codex only
3
Comparable categories
0 / 8

Benchmark data for GLM-5 and GPT-5.2-Codex is coming soon on BenchLM.

Confidence note. This is a partial-evidence comparison with 12 shared benchmark results across 5 evidence categories; 0 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.

Why this result

BenchLM has partial data for these models, but not enough overlapping benchmark coverage to produce a fair score-level comparison yet.

GPT-5.2-Codex is priced at $1.75 input / $14.00 output per 1M tokens, versus $1.00 input / $3.20 output per 1M tokens for GLM-5. GPT-5.2-Codex has the larger context window at 400K, compared with 200K for GLM-5.

Category breakdown

Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.

Category scores and score margins for GLM-5 and GPT-5.2-Codex
CategoryGLM-5ΔGPT-5.2-Codex
AgenticGLM-556.2MarginNo overlapGPT-5.2-CodexNot measured
CodingGLM-566.3MarginNo overlapGPT-5.2-CodexNot measured
ReasoningGLM-560.8MarginNo overlapGPT-5.2-CodexNot measured
KnowledgeGLM-566.4MarginNo overlapGPT-5.2-CodexNot measured
MathGLM-556.3MarginNo overlapGPT-5.2-CodexNot measured
MultilingualGLM-583.1MarginNo overlapGPT-5.2-CodexNot measured
Inst. FollowingGLM-592.6MarginNo overlapGPT-5.2-CodexNot measured

Operational comparison

Runtime and commercial metrics are compared only when both models have a complete sourced value.

MetricGLM-5GPT-5.2-CodexComparison
Input / output priceUSD per 1M tokensGLM-5$1 input / $3.2 outputGPT-5.2-Codex$1.75 input / $14 outputGLM-5 has the lower combined listed price.
Generation speedtokens per secondGLM-574 tok/sGPT-5.2-Codex123 tok/sGPT-5.2-Codex has the higher measured throughput.
First-answer latencyseconds to first tokenGLM-51.64 sGPT-5.2-Codex87.34 sGLM-5 reaches the first token sooner.
Context windowmaximum listed tokensGLM-5200KGPT-5.2-Codex400KGPT-5.2-Codex lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkGLM-5GPT-5.2-CodexResult
Terminal-Bench 2.0Source 56.2%Not comparable
Claw-EvalSource 57.7%Not comparable
QwenClawBenchSource 54.1%Not comparable
τ³-bench resultsSource 65.6%Not comparable
DeepPlanningSource 14.6%Not comparable
ToolathlonSource 38%Not comparable
MCP AtlasSource 31.1%Not comparable
MCP-TasksSource 60.8%Not comparable
WideResearchSource 69.8%Not comparable
τ²-bench resultsSource 98.2%92.1%GLM-5 leads
CyberGymSource 43.2%Not comparable
APEX-Agents-AASource 14.5%Not comparable
Gert LabsSource 50.99%51.79%GPT-5.2-Codex leads
JobBenchSource 26.0%Not comparable
Coding
BenchmarkGLM-5GPT-5.2-CodexResult
SWE-bench VerifiedSource 77.8%Not comparable
SWE-bench Verified*Source 72.8%Not comparable
SWE-bench ProSource 55.1%Not comparable
SWE MultilingualSource 73.3%Not comparable
SWE-RebenchSource 62.8%Not comparable
React Native EvalsSource 74.8%Not comparable
AA-SciCodeSource 46.2%54.6%GPT-5.2-Codex leads
Vibe Code BenchSource 37.91%Not comparable
Reasoning
BenchmarkGLM-5GPT-5.2-CodexResult
LongBench v2Source 60.8%Not comparable
AI-NeedleSource 63.3%Not comparable
AA-LCRSource 63.3%75.7%GPT-5.2-Codex leads
CritPtSource 2.0%8.7%GPT-5.2-Codex leads
Knowledge
BenchmarkGLM-5GPT-5.2-CodexResult
GPQASource 86%Not comparable
GPQA-DSource 86.0%Not comparable
SuperGPQASource 66.8%Not comparable
MMLU-ProSource 85.7%Not comparable
MMLU-Pro (Arcee)Source 85.8%Not comparable
HLESource 50.4%Not comparable
Artificial Analysis Intelligence IndexSource 39.5%40.1%GPT-5.2-Codex leads
AA-GPQA DiamondSource 82.0%89.9%GPT-5.2-Codex leads
AA-HLESource 27.2%33.5%GPT-5.2-Codex leads
AA-Omniscience IndexSource 2.0%-2.5%GLM-5 leads
AA-Omniscience AccuracySource 26.9%40.7%GPT-5.2-Codex leads
AA-Omniscience Hallucination RateSource 34.0%72.8%GLM-5 leads
Math
BenchmarkGLM-5GPT-5.2-CodexResult
AIME26Source 95.8%Not comparable
AIME25 (Arcee)Source 93.3%Not comparable
HMMT Feb 2025Source 97.5%Not comparable
HMMT Nov 2025Source 96.9%Not comparable
HMMT Feb 2026Source 86.4%Not comparable
MMAnswerBenchSource 82.5%Not comparable
FrontierMath v2 (Tiers 1-3)Source 16.434%Not comparable
FrontierMath v2 (Tier 4)Source 2.100%Not comparable
Multilingual
BenchmarkGLM-5GPT-5.2-CodexResult
MMLU-ProXSource 83.1%Not comparable
NOVA-63Source 55.1%Not comparable
Multimodal
BenchmarkGLM-5GPT-5.2-CodexResult
Design Arena WebsiteSource 1280Not comparable
AA-MMMU-ProSource 76.3%Not comparable
Inst. Following
BenchmarkGLM-5GPT-5.2-CodexResult
IFEvalSource 92.6%Not comparable
AA-IFBenchSource 72.3%77.6%GPT-5.2-Codex leads
Frequently Asked Questions (3)

Can I compare GLM-5 and GPT-5.2-Codex on BenchLM yet?

Not fully yet. BenchLM is tracking both models, but the sourced benchmark breakdown for this comparison is still coming soon.

Why does this comparison show “coming soon”?

BenchLM only shows category winners and benchmark-level calls when we have sourced results that can be compared fairly. For these models, the public benchmark coverage is not complete enough yet.

What data is available for GLM-5 and GPT-5.2-Codex today?

GLM-5: $1.00 input / $3.20 output per 1M tokens GPT-5.2-Codex: $1.75 input / $14.00 output per 1M tokens Both model pages still include creator, context window, reasoning mode, and other metadata while benchmark coverage fills in.

Related Comparisons

Last updated: July 20, 2026

Choose a model with this week’s evidence

Join 2,000+ readers for ranking moves, pricing changes, and the claims that still need proof.

One email each week. Unsubscribe anytime.