Price Per TokenPrice Per Token
Google
Google
vs
Z-ai

Gemma 2 27B vs GLM 4.7

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

Gemma 2 27B wins:

  • Cheaper output tokens
  • Higher intelligence benchmark
  • Supports vision

GLM 4.7 wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Better at coding
  • Better at math
  • Has reasoning mode
Price Advantage
Gemma 2 27B
Benchmark Advantage
GLM 4.7
Context Window
GLM 4.7
Speed
GLM 4.7

Pricing Comparison

Price Comparison

MetricGemma 2 27BGLM 4.7Winner
Input (per 1M tokens)$0.65$0.39 GLM 4.7
Output (per 1M tokens)$0.65$1.75 Gemma 2 27B
Cache Read (per 1M)N/A$0.08 GLM 4.7
Using a 3:1 input/output ratio, Gemma 2 27B is 11% cheaper overall.

Gemma 2 27B Providers

No provider data available

GLM 4.7 Providers

No provider data available

Benchmark Comparison

8
Benchmarks Compared
1
Gemma 2 27B Wins
2
GLM 4.7 Wins

Benchmark Scores

BenchmarkGemma 2 27BGLM 4.7Winner
Intelligence Index
Overall intelligence score
36.234.2
Coding Index
Code generation & understanding
-32.0-
Math Index
Mathematical reasoning
-48.0-
MMLU Pro
Academic knowledge
38.479.4
GPQA
Graduate-level science
16.766.4
LiveCodeBench
Competitive programming
-56.2-
Aider
Real-world code editing
36.1--
BBH
Big-Bench Hard
49.3--
GLM 4.7 significantly outperforms in coding benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

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

Speed Performance

MetricGemma 2 27BGLM 4.7Winner
Tokens/secondN/A78.7 tok/s
Time to First TokenN/A0.67s

Capabilities

Feature Comparison

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

License & Release

PropertyGemma 2 27BGLM 4.7
LicenseOpen SourceOpen Source
AuthorGoogleZ-ai
ReleasedJul 2024Dec 2025

Gemma 2 27B Modalities

Input
text
Output
text

GLM 4.7 Modalities

Input
text
Output
text

Related Comparisons

Compare Gemma 2 27B with:

Compare GLM 4.7 with:

Frequently Asked Questions

GLM 4.7 has cheaper input pricing at $0.39/M tokens. Gemma 2 27B has cheaper output pricing at $0.65/M tokens.
GLM 4.7 scores higher on coding benchmarks with a score of 32.0, compared to Gemma 2 27B's score of N/A.
Gemma 2 27B has a 8,192 token context window, while GLM 4.7 has a 202,752 token context window.
Gemma 2 27B supports vision. GLM 4.7 does not support vision.