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
| Metric | Gemma 2 9B | GLM-4.7-Flash | Winner |
|---|---|---|---|
| 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
| Benchmark | Gemma 2 9B | GLM-4.7-Flash | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 32.1 | 22.1 | |
Coding Index Code generation & understanding | - | 11.0 | - |
MMLU Pro Academic knowledge | 31.9 | - | - |
GPQA Graduate-level science | 14.8 | 45.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
| Metric | Gemma 2 9B | GLM-4.7-Flash | Winner |
|---|---|---|---|
| Tokens/second | N/A | 130.6 tok/s | |
| Time to First Token | N/A | 0.76s |
Capabilities
Feature Comparison
| Feature | Gemma 2 9B | GLM-4.7-Flash |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Gemma 2 9B | GLM-4.7-Flash |
|---|---|---|
| License | Open Source | Open Source |
| Author | Z-ai | |
| Released | Jun 2024 | Jan 2026 |
Gemma 2 9B Modalities
Input
text
Output
text
GLM-4.7-Flash Modalities
Input
text
Output
text