The AI arena is free today

Open Superagent

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.

Core performance indexes
34.3
#92
26.6
#149
34.2
#90
26.5
#147
17.7
#116
19.3
#107
Cost, coverage & limits
Benchmark wins
0 of 1
1 of 1
Input price
$0.40 / M
— / M
Output price
$1.75 / M
— / M
Context window
202,752

Individual benchmarks

13 reported for GLM-4.7 · 1 for GPT-5 Codex

1 shared

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.

Sun Sep 20 2026 • llm-stats.com

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).

Zhipu AI
GLM-4.7
Input202,752 tokens
Output202,752 tokens
OpenAI
GPT-5 Codex
Input- tokens
Output- tokens
Sun Sep 20 2026 • llm-stats.com

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

Text
Images
Audio
Video

GPT-5 Codex

Text
Images
Audio
Video

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.

GLM-4.7

MIT

Open weights

GPT-5 Codex

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.

GLM-4.7

Dec 22, 2025

9 months ago

3mo newer
GPT-5 Codex

Sep 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.

GLM-4.7

GPT-5 Codex

Sep 2024

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

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.

GLM-4.7
✓ Preferred
GPT-5 Codex
Open in Playground

FAQ

Common questions about GLM-4.7 vs GPT-5 Codex.

Which is better, GLM-4.7 or GPT-5 Codex?

GLM-4.7 and GPT-5 Codex are closely matched on the LLM Stats Score at 34.3 and 26.6. GLM-4.7 is made by Zhipu AI and GPT-5 Codex is made by OpenAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does GLM-4.7 compare to GPT-5 Codex in benchmarks?

GLM-4.7 scores AIME 2025: 95.7%, Tau-bench: 87.4%, GPQA: 85.7%, LiveCodeBench v6: 84.9%, MMLU-Pro: 84.3%. GPT-5 Codex scores SWE-Bench Verified: 74.5%.

What are the context window sizes for GLM-4.7 and GPT-5 Codex?

GLM-4.7 supports 203K tokens and GPT-5 Codex supports an unknown number of tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GLM-4.7 and GPT-5 Codex?

Key differences include LLM Stats Score (34.3 vs 26.6), multimodal support (yes vs no), licensing (MIT vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes GLM-4.7 and GPT-5 Codex?

GLM-4.7 is developed by Zhipu AI and GPT-5 Codex is developed by OpenAI.