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

GLM-4.7-Flash vs GLM 5

A detailed comparison of pricing, benchmarks, and capabilities

114 out of our 483 tracked models have had a price change in March.

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

Key Takeaways

GLM-4.7-Flash wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Supports vision

GLM 5 wins:

  • Higher intelligence benchmark
  • Better at coding
Price Advantage
GLM-4.7-Flash
Benchmark Advantage
GLM 5
Context Window
GLM 5
Speed
GLM-4.7-Flash

Pricing Comparison

Price Comparison

MetricGLM-4.7-FlashGLM 5Winner
Input (per 1M tokens)$0.06$0.72 GLM-4.7-Flash
Output (per 1M tokens)$0.40$2.30 GLM-4.7-Flash
Cache Read (per 1M)$0.01$0.19 GLM-4.7-Flash
Using a 3:1 input/output ratio, GLM-4.7-Flash is 87% cheaper overall.

GLM-4.7-Flash Providers

No provider data available

GLM 5 Providers

No provider data available

Benchmark Comparison

3
Benchmarks Compared
0
GLM-4.7-Flash Wins
3
GLM 5 Wins

Benchmark Scores

BenchmarkGLM-4.7-FlashGLM 5Winner
Intelligence Index
Overall intelligence score
22.140.6
Coding Index
Code generation & understanding
11.039.0
GPQA
Graduate-level science
45.266.6
GLM 5 significantly outperforms in coding benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

GLM-4.7-Flash
202,752
tokens
GLM 5
202,752
tokens

Speed Performance

MetricGLM-4.7-FlashGLM 5Winner
Tokens/second87.8 tok/s65.3 tok/s
Time to First Token0.71s1.03s
GLM-4.7-Flash responds 34% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyGLM-4.7-FlashGLM 5
LicenseOpen SourceOpen Source
AuthorZ-aiZ-ai
ReleasedJan 2026Feb 2026

GLM-4.7-Flash Modalities

Input
text
Output
text

GLM 5 Modalities

Input
text
Output
text

Related Comparisons

Compare GLM-4.7-Flash with:

Compare GLM 5 with:

Frequently Asked Questions

GLM-4.7-Flash has cheaper input pricing at $0.06/M tokens. GLM-4.7-Flash has cheaper output pricing at $0.40/M tokens.
GLM 5 scores higher on coding benchmarks with a score of 39.0, compared to GLM-4.7-Flash's score of 11.0.
GLM-4.7-Flash has a 202,752 token context window, while GLM 5 has a 202,752 token context window.
GLM-4.7-Flash supports vision. GLM 5 does not support vision.