Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Z-ai

GPT-5 vs GLM 4.5

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

114 out of our 303 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

GPT-5 wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Supports vision

GLM 4.5 wins:

  • Cheaper input tokens
  • Cheaper output tokens
Price Advantage
GLM 4.5
Benchmark Advantage
GPT-5
Context Window
GPT-5
Speed
GPT-5

Pricing Comparison

Price Comparison

MetricGPT-5GLM 4.5Winner
Input (per 1M tokens)$1.25$0.55 GLM 4.5
Output (per 1M tokens)$10.00$2.00 GLM 4.5
Cache Read (per 1M)$0.13N/A GPT-5
Using a 3:1 input/output ratio, GLM 4.5 is 73% cheaper overall.

GPT-5 Providers

OpenAI $1.25 (Cheapest)
Azure $1.25 (Cheapest)

GLM 4.5 Providers

WandB $0.55 (Cheapest)
Z.AI $0.60
Nebius $0.60
Novita $0.60

Benchmark Comparison

8
Benchmarks Compared
0
GPT-5 Wins
0
GLM 4.5 Wins

Benchmark Scores

BenchmarkGPT-5GLM 4.5Winner
Intelligence Index
Overall intelligence score
44.6--
Coding Index
Code generation & understanding
36.0--
Math Index
Mathematical reasoning
94.3--
MMLU Pro
Academic knowledge
87.1--
GPQA
Graduate-level science
85.4--
LiveCodeBench
Competitive programming
84.6--
Aider
Real-world code editing
88.0--
AIME
Competition math
95.7--
GPT-5 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
GPT-5
Other models

Context & Performance

Context Window

GPT-5
400,000
tokens
Max output: 128,000 tokens
GLM 4.5
131,000
tokens
Max output: 131,000 tokens
GPT-5 has a 67% larger context window.

Speed Performance

MetricGPT-5GLM 4.5Winner
Tokens/second94.0 tok/sN/A
Time to First Token102.36sN/A

Capabilities

Feature Comparison

FeatureGPT-5GLM 4.5
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGPT-5GLM 4.5
LicenseProprietaryProprietary
AuthorOpenAIZ-ai
ReleasedAug 2025Jul 2025

GPT-5 Modalities

Input
textimagefile
Output
text

GLM 4.5 Modalities

Input
text
Output
text

Related Comparisons

Compare GPT-5 with:

Compare GLM 4.5 with:

Frequently Asked Questions

GLM 4.5 has cheaper input pricing at $0.55/M tokens. GLM 4.5 has cheaper output pricing at $2.00/M tokens.
GPT-5 scores higher on coding benchmarks with a score of 36.0, compared to GLM 4.5's score of N/A.
GPT-5 has a 400,000 token context window, while GLM 4.5 has a 131,000 token context window.
GPT-5 supports vision. GLM 4.5 does not support vision.