# GLM-4.7 vs GPT-5.2-Codex

> Side-by-side benchmark comparison for GLM-4.7 and GPT-5.2-Codex across agentic, coding, multimodal, knowledge, reasoning, multilingual, and math tasks.

- Canonical page: https://benchlm.ai/compare/glm-4-7-vs-gpt-5-2-codex
- Last updated: October 17, 2026

- Shared sourced benchmarks: 3
- HTML indexing: indexable
- Ranking lane: BenchAlign v5.8

## Quick Verdict

Evidence is too thin for a benchmark verdict: GLM-4.7 and GPT-5.2-Codex share only 3 sourced benchmark rows.

## Summary

- Only 3 shared sourced benchmark rows are available. That is not enough for a broad capability verdict, so this mirror does not name an overall winner.
- GLM-4.7 has the lower published output-token price.
- GPT-5.2-Codex has the larger published context window at 400K.

## Model Snapshot

| Property | GLM-4.7 | GPT-5.2-Codex |
|----------|----------|----------|
| Creator | Z.AI | OpenAI |
| Type | Open Weight | Proprietary |
| Reasoning | Reasoning | Reasoning |
| Context | 200K | 400K |
| Independent public score (not head-to-head) | 48.85 | 55.3 |
| Benchmarks Covered | 17 | 5 |
| Pricing (input/output) | $0.00 / $0.00 | $1.75 / $14.00 |

## Category Breakdown

### Agentic

- Winner: Insufficient shared evidence
- GLM-4.7 public-lane score: 31.6 (Estimated · #91/128)
- GPT-5.2-Codex public-lane score: 40.8 (Estimated · #64/128)

| Benchmark | GLM-4.7 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| Terminal-Bench 2.0 | 41% | Coming soon | Coming soon |
| BrowseComp | 52% | Coming soon | Coming soon |
| VITA-Bench | 15.5% | Coming soon | Coming soon |
| Gert Labs | 39.95% | 51.79% | GPT-5.2-Codex |
| JobBench | Coming soon | 26.0% | Coming soon |

### Coding

- Winner: Insufficient shared evidence
- GLM-4.7 public-lane score: 37.2 (Supported · #72/150)
- GPT-5.2-Codex public-lane score: 43.7 (Supported · #56/150)

| Benchmark | GLM-4.7 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| SWE-bench Verified | 73.8% | Coming soon | Coming soon |
| LiveCodeBench v6 | 84.9% | Coming soon | Coming soon |
| SWE-Rebench | 58.7% | Coming soon | Coming soon |
| Terminal-Bench 2.0 | 41.0% | Coming soon | Coming soon |
| LiveCodeBench (Vals) | 82.2% | 88.0% | GPT-5.2-Codex |
| SWE-bench (Vals) | 69.4% | 72.4% | GPT-5.2-Codex |
| Vibe Code Bench | Coming soon | 37.91% | Coming soon |

### Reasoning

- Winner: Insufficient shared evidence
- GLM-4.7 public-lane score: 74.6 (Unranked · 2 rankable rows)
- GPT-5.2-Codex public-lane score: 82.4 (Unranked · 2 rankable rows)

### Multimodal & Grounded

- Winner: Insufficient shared evidence
- GLM-4.7 public-lane score: Coming soon
- GPT-5.2-Codex public-lane score: 76.9 (Unranked · 1 rankable row)

### Knowledge

- Winner: Insufficient shared evidence
- GLM-4.7 public-lane score: 44.1 (Supported · #100/184)
- GPT-5.2-Codex public-lane score: 56.4 (Estimated · #54/184)

| Benchmark | GLM-4.7 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| GPQA | 85.7% | Coming soon | Coming soon |
| MMLU-Pro | 84.3% | Coming soon | Coming soon |
| HLE | 24.8% | Coming soon | Coming soon |
| GPQA Diamond (Vals) | 80.1% | Coming soon | Coming soon |
| MMLU-Pro (Vals) | 82.7% | Coming soon | Coming soon |

### Instruction Following

- Winner: Insufficient shared evidence
- GLM-4.7 public-lane score: 82.8 (#54/148)
- GPT-5.2-Codex public-lane score: 93.8 (#4/148)

### Mathematics

- Winner: Insufficient shared evidence
- GLM-4.7 public-lane score: Coming soon
- GPT-5.2-Codex public-lane score: Coming soon

| Benchmark | GLM-4.7 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| AIME 2025 | 95.7% | Coming soon | Coming soon |
| HMMT Feb 2025 | 97.1% | Coming soon | Coming soon |

## FAQ

### Is there enough evidence to pick between GLM-4.7 and GPT-5.2-Codex?

Not yet. The models share only 3 sourced benchmark rows, so this mirror reports the available measurements and metadata without naming a broad winner.

### What can I compare safely on this page?

Published pricing, context windows, model type, and individual shared benchmark rows are directly comparable. Independent overall scores and non-overlapping benchmark coverage are labeled separately and should not be read as a controlled head-to-head result.

## Related Comparisons

- [GLM-4.7 vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-glm-4-7)
- [GPT-5.2-Codex vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-gpt-5-2-codex)
- [GLM-4.7 vs GPT-6.1 Sol](/compare/glm-4-7-vs-gpt-6-1-sol)
- [GPT-5.2-Codex vs GPT-6.1 Sol](/compare/gpt-5-2-codex-vs-gpt-6-1-sol)

## Explore More

- [GLM-4.7 profile](/models/glm-4-7)
- [GPT-5.2-Codex profile](/models/gpt-5-2-codex)
- [Compare Pricing](/llm-pricing)
- [Alternative Finder](/tools/alternative-finder)
- [LLM Selector](/tools/llm-selector)
- [Overall Rankings](/best/overall)
