Key Takeaways
CodeGemma 7B wins:
- Cheaper input tokens
- Cheaper output tokens
Gemma 2 27B wins:
- Larger context window
- Higher intelligence benchmark
Price Advantage
CodeGemma 7B
Benchmark Advantage
Gemma 2 27B
Context Window
Gemma 2 27B
Speed
N/A
Pricing Comparison
Price Comparison
| Metric | CodeGemma 7B | Gemma 2 27B | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $0.20 | $0.65 | CodeGemma 7B |
| Output (per 1M tokens) | $0.20 | $0.65 | CodeGemma 7B |
| Cache Read (per 1M) | $0.10 | N/A | CodeGemma 7B |
Using a 3:1 input/output ratio, CodeGemma 7B is 69% cheaper overall.
CodeGemma 7B Providers
No provider data available
Gemma 2 27B Providers
No provider data available
Benchmark Comparison
5
Benchmarks Compared
0
CodeGemma 7B Wins
0
Gemma 2 27B Wins
Benchmark Scores
| Benchmark | CodeGemma 7B | Gemma 2 27B | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | - | 36.2 | - |
MMLU Pro Academic knowledge | - | 38.4 | - |
GPQA Graduate-level science | - | 16.7 | - |
Aider Real-world code editing | - | 36.1 | - |
BBH Big-Bench Hard | - | 49.3 | - |
Both models show comparable benchmark performance.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Other models
Context & Performance
Context Window
CodeGemma 7B
N/A
tokens
Gemma 2 27B
8,192
tokens
Speed Performance
Speed benchmarks not available for these models
Capabilities
Feature Comparison
| Feature | CodeGemma 7B | Gemma 2 27B |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | CodeGemma 7B | Gemma 2 27B |
|---|---|---|
| License | Proprietary | Open Source |
| Author | ||
| Released | Unknown | Jul 2024 |
CodeGemma 7B Modalities
Input
Output
Gemma 2 27B Modalities
Input
text
Output
text
