Price Per TokenPrice Per Token
Z-ai
vs
Z-ai

GLM 4.7 vs GLM 5

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

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

Key Takeaways

GLM 4.7 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Supports tool calls

GLM 5 wins:

  • No clear advantages in compared metrics
Price Advantage
GLM 4.7
Benchmark Advantage
GLM 4.7
Context Window
GLM 5
Speed
GLM 4.7

Pricing Comparison

Price Comparison

MetricGLM 4.7GLM 5Winner
Input (per 1M tokens)$0.40$0.80 GLM 4.7
Output (per 1M tokens)$1.50$2.56 GLM 4.7
Cache Read (per 1M)$200000.00$160000.00 GLM 5
Using a 3:1 input/output ratio, GLM 4.7 is 46% cheaper overall.

GLM 4.7 Providers

Nebius $0.40 (Cheapest)
Chutes $0.40 (Cheapest)
DeepInfra $0.40 (Cheapest)
SiliconFlow $0.42
Parasail $0.45

GLM 5 Providers

AtlasCloud $0.80 (Cheapest)
Parasail $1.00
Z.AI $1.00
Friendli $1.00
Together $1.00

Benchmark Comparison

6
Benchmarks Compared
0
GLM 4.7 Wins
0
GLM 5 Wins

Benchmark Scores

BenchmarkGLM 4.7GLM 5Winner
Intelligence Index
Overall intelligence score
34.1--
Coding Index
Code generation & understanding
32.0--
Math Index
Mathematical reasoning
48.0--
MMLU Pro
Academic knowledge
79.4--
GPQA
Graduate-level science
66.4--
LiveCodeBench
Competitive programming
56.2--
GLM 4.7 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
GLM 4.7
Other models

Context & Performance

Context Window

GLM 4.7
202,752
tokens
Max output: 65,535 tokens
GLM 5
202,752
tokens
Max output: 131,072 tokens

Speed Performance

MetricGLM 4.7GLM 5Winner
Tokens/second122.5 tok/sN/A
Time to First Token0.57sN/A

Capabilities

Feature Comparison

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

License & Release

PropertyGLM 4.7GLM 5
LicenseProprietaryProprietary
AuthorZ-aiZ-ai
ReleasedDec 2025Feb 2026

GLM 4.7 Modalities

Input
text
Output
text

GLM 5 Modalities

Input
text
Output
text

Related Comparisons

Compare GLM 4.7 with:

Compare GLM 5 with:

Frequently Asked Questions

GLM 4.7 has cheaper input pricing at $0.40/M tokens. GLM 4.7 has cheaper output pricing at $1.50/M tokens.
GLM 4.7 scores higher on coding benchmarks with a score of 32.0, compared to GLM 5's score of N/A.
GLM 4.7 has a 202,752 token context window, while GLM 5 has a 202,752 token context window.
GLM 4.7 does not support vision. GLM 5 does not support vision.