Price Per TokenPrice Per Token
Google
Google
vs
Z-ai

Gemma 2 9B vs GLM-4.7-Flash

A detailed comparison of pricing, benchmarks, and capabilities

Track Your LLM Costs Across Every Provider Broken down by user, feature, and endpoint

107 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

Gemma 2 9B wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Higher intelligence benchmark

GLM-4.7-Flash wins:

  • Larger context window
  • Faster response time
  • Better at coding
  • Has reasoning mode
Price Advantage
Gemma 2 9B
Benchmark Advantage
Gemma 2 9B
Context Window
GLM-4.7-Flash
Speed
GLM-4.7-Flash

Pricing Comparison

Price Comparison

MetricGemma 2 9BGLM-4.7-FlashWinner
Input (per 1M tokens)$0.03$0.06 Gemma 2 9B
Output (per 1M tokens)$0.08$0.40 Gemma 2 9B
Cache Read (per 1M)$0.10$0.01 GLM-4.7-Flash
Using a 3:1 input/output ratio, Gemma 2 9B is 71% cheaper overall.

Gemma 2 9B Providers

No provider data available

GLM-4.7-Flash Providers

No provider data available

Benchmark Comparison

5
Benchmarks Compared
1
Gemma 2 9B Wins
1
GLM-4.7-Flash Wins

Benchmark Scores

BenchmarkGemma 2 9BGLM-4.7-FlashWinner
Intelligence Index
Overall intelligence score
32.122.1
Coding Index
Code generation & understanding
-11.0-
MMLU Pro
Academic knowledge
31.9--
GPQA
Graduate-level science
14.845.2
BBH
Big-Bench Hard
42.1--
GLM-4.7-Flash significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Gemma 2 9B
Other models

Context & Performance

Context Window

Gemma 2 9B
8,192
tokens
GLM-4.7-Flash
202,752
tokens
GLM-4.7-Flash has a 96% larger context window.

Speed Performance

MetricGemma 2 9BGLM-4.7-FlashWinner
Tokens/secondN/A130.6 tok/s
Time to First TokenN/A0.76s

Capabilities

Feature Comparison

FeatureGemma 2 9BGLM-4.7-Flash
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemma 2 9BGLM-4.7-Flash
LicenseOpen SourceOpen Source
AuthorGoogleZ-ai
ReleasedJun 2024Jan 2026

Gemma 2 9B Modalities

Input
text
Output
text

GLM-4.7-Flash Modalities

Input
text
Output
text

Related Comparisons

Compare Gemma 2 9B with:

Compare GLM-4.7-Flash with:

Frequently Asked Questions

Gemma 2 9B has cheaper input pricing at $0.03/M tokens. Gemma 2 9B has cheaper output pricing at $0.08/M tokens.
GLM-4.7-Flash scores higher on coding benchmarks with a score of 11.0, compared to Gemma 2 9B's score of N/A.
Gemma 2 9B has a 8,192 token context window, while GLM-4.7-Flash has a 202,752 token context window.
Gemma 2 9B supports vision. GLM-4.7-Flash supports vision.