GLM-4.7 vs GPT-5 Codex
GLM-4.7 and GPT-5 Codex are closely matched at 34.3 and 26.6 on the LLM Stats Score.
Zhipu AI · OpenAI · Updated for 2026
Which is better?
GLM-4.7 and GPT-5 Codex are closely matched on the overall LLM Stats Score at 34.3 and 26.6.
In the 1 individual benchmarks reported for both models, GPT-5 Codex wins 1; this is a narrower head-to-head signal than the composite indexes.
Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.
Choose GLM-4.7
- you want the most recent training data — it shipped Dec 2025
- you need open weights you can self-host or fine-tune
Choose GPT-5 Codex
- you value its reported benchmark strengths — it wins 1 of 1 exact shared results
At a glance
The differences that matter most.
Individual benchmarks
13 reported for GLM-4.7 · 1 for GPT-5 Codex
GLM-4.7 outperforms in 0 benchmarks, while GPT-5 Codex is better at 1 benchmark (SWE-Bench Verified).
GPT-5 Codex significantly outperforms across most benchmarks.
Human preference
Blind head-to-head votes and playground preference scores
Context Window
Maximum input and output token capacity
Only GLM-4.7 specifies input context (202,752 tokens). Only GLM-4.7 specifies output context (202,752 tokens).
Input capabilities
Documented input modalities across available providers
GLM-4.7 supports multimodal inputs, whereas GPT-5 Codex does not.
GLM-4.7 can handle both text and other forms of data like images, making it suitable for multimodal applications.
GLM-4.7
GPT-5 Codex
License
Usage and distribution terms
GLM-4.7 is licensed under MIT, while GPT-5 Codex uses a proprietary license.
License differences may affect how you can use these models in commercial or open-source projects.
MIT
Open weights
Proprietary
Closed source
Release Timeline
When each model was launched
GLM-4.7 was released on 2025-12-22, while GPT-5 Codex was released on 2025-09-15.
GLM-4.7 is 3 months newer than GPT-5 Codex.
Dec 22, 2025
9 months ago
3mo newerSep 15, 2025
1.0 years ago
Knowledge Cutoff
When training data ends
GPT-5 Codex has a documented knowledge cutoff of 2024-09-30, while GLM-4.7's cutoff date is not specified.
We can confirm GPT-5 Codex's training data extends to 2024-09-30, but cannot make a direct comparison without GLM-4.7's cutoff date.
—
Sep 2024
Outputs Comparison
Judge for yourself.
Run your own prompts against GLM-4.7 and GPT-5 Codex side-by-side, then vote on the output you prefer.
FAQ
Common questions about GLM-4.7 vs GPT-5 Codex.