The AI arena is free today

Open Superagent

GLM-4.7 vs GPT-5

GLM-4.7 and GPT-5 are closely matched at 34.2 and 33.7 on the LLM Stats Score. GLM-4.7 is 4.7x cheaper per token.

Zhipu AI · OpenAI · Updated for 2026

Which is better?

GLM-4.7 and GPT-5 are closely matched on the overall LLM Stats Score at 34.2 and 33.7.

In the 5 individual benchmarks reported for both models, GPT-5 wins 3; this is a narrower head-to-head signal than the composite indexes.

On price, GLM-4.7 is roughly 4.7x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

GPT-5 also accepts a larger context window (400,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose GLM-4.7

  • cost matters — it's about 4.7x cheaper per token
  • 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

  • your work emphasizes coding — it leads those capability indexes
  • you value its reported benchmark strengths — it wins 3 of 5 exact shared results
  • you process long inputs — it offers a 400,000 token context window

At a glance

The differences that matter most.

Core performance indexes
34.2
#105
33.7
#111
34.1
#101
34.1
#102
17.4
#130
26.2
#77
9.4
#137
9.1
#141
Cost, coverage & limits
Benchmark wins
2 of 5
3 of 5
Input price
$0.40 / M
$1.25 / M
Output price
$1.75 / M
$10.00 / M
Context window
202,752
400,000

Capability indexes

Additional strengths measured across groups of related public benchmarks

3 shared
Index
GLM-4.7
GPT-5
34.4#48
31.5#69
8.3#150
16.1#91
11.2#53
11.2#54
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

13 reported for GLM-4.7 · 34 for GPT-5

5 shared

GLM-4.7 outperforms in 2 benchmarks (AIME 2025, Humanity's Last Exam), while GPT-5 is better at 2 benchmarks (BrowseComp, SWE-Bench Verified).

Both models are evenly matched across the benchmarks.

Fri Oct 09 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

GLM-4.7 costs less

For input processing, GLM-4.7 ($0.40/1M tokens) is 3.1x cheaper than GPT-5 ($1.25/1M tokens).

For output processing, GLM-4.7 ($1.75/1M tokens) is 5.7x cheaper than GPT-5 ($10.00/1M tokens).

In conclusion, GPT-5 is more expensive than GLM-4.7.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Fri Oct 09 2026 • llm-stats.com
Zhipu AI
GLM-4.7
Input tokens$0.40
Output tokens$1.75
Best providerDeepinfra
OpenAI
GPT-5
Input tokens$1.25
Output tokens$10.00
Best providerOpenAI
Notice missing or incorrect data?

Context Window

Maximum input and output token capacity

GPT-5 accepts 400,000 input tokens compared to GLM-4.7's 202,752 tokens. GLM-4.7 can generate longer responses up to 202,752 tokens, while GPT-5 is limited to 128,000 tokens.

Zhipu AI
GLM-4.7
Input202,752 tokens
Output202,752 tokens
OpenAI
GPT-5
Input400,000 tokens
Output128,000 tokens
Fri Oct 09 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both GLM-4.7 and GPT-5 support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

GLM-4.7

Text
Images
Audio
Video

GPT-5

Text
Images
Audio
Video

License

Usage and distribution terms

GLM-4.7 is licensed under MIT, while GPT-5 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

Proprietary

Closed source

Release Timeline

When each model was launched

GLM-4.7 was released on 2025-12-22, while GPT-5 was released on 2025-08-07.

GLM-4.7 is 5 months newer than GPT-5.

GLM-4.7

Dec 22, 2025

9 months ago

4mo newer
GPT-5

Aug 7, 2025

1.2 years ago

Knowledge Cutoff

When training data ends

GPT-5 has a documented knowledge cutoff of 2024-09-30, while GLM-4.7's cutoff date is not specified.

We can confirm GPT-5'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

Sep 2024

Provider Availability

GLM-4.7 is available from DeepInfra, Fireworks, Novita. GPT-5 is available from OpenAI.

GLM-4.7

deepinfra logo
Deepinfra
Input Price:Input: $0.40/1MOutput Price:Output: $1.75/1M
fireworks logo
Fireworks
Input Price:Input: $0.60/1MOutput Price:Output: $2.20/1M
novita logo
Novita
Input Price:Input: $0.60/1MOutput Price:Output: $2.20/1M

GPT-5

openai logo
OpenAI
Input Price:Input: $1.25/1MOutput Price:Output: $10.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?

Judge for yourself.

Run your own prompts against GLM-4.7 and GPT-5 side-by-side, then vote on the output you prefer.

GLM-4.7
✓ Preferred
GPT-5
Open in Playground

FAQ

Common questions about GLM-4.7 vs GPT-5.

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

GLM-4.7 and GPT-5 are closely matched on the LLM Stats Score at 34.2 and 33.7. GLM-4.7 is made by Zhipu AI and GPT-5 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 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 scores SWE-Lancer (IC-Diamond subset): 100.0%, COLLIE: 99.0%, Tau2 Telecom: 96.7%, OpenAI-MRCR: 2 needle 128k: 95.2%, AIME 2025: 94.6%.

Is GLM-4.7 cheaper than GPT-5?

GLM-4.7 is 3.1x cheaper for input tokens. GLM-4.7 costs $0.40/M input and $1.75/M output via deepinfra. GPT-5 costs $1.25/M input and $10.00/M output via openai.

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

GLM-4.7 supports 203K tokens and GPT-5 supports 400K 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?

Key differences include LLM Stats Score (34.2 vs 33.7), context window (203K vs 400K), input pricing ($0.40 vs $1.25/M), licensing (MIT vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes GLM-4.7 and GPT-5?

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