Key Takeaways
Gemma 2 27B wins:
- Higher intelligence benchmark
Gemma 3n 4B wins:
- Cheaper input tokens
- Cheaper output tokens
- Larger context window
- Faster response time
- Better at coding
- Better at math
- Supports tool calls
Price Advantage
Gemma 3n 4B
Benchmark Advantage
Gemma 3n 4B
Context Window
Gemma 3n 4B
Speed
Gemma 3n 4B
Pricing Comparison
Price Comparison
| Metric | Gemma 2 27B | Gemma 3n 4B | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $0.65 | $0.02 | Gemma 3n 4B |
| Output (per 1M tokens) | $0.65 | $0.04 | Gemma 3n 4B |
Using a 3:1 input/output ratio, Gemma 3n 4B is 96% cheaper overall.
Gemma 2 27B Providers
NextBit $0.65 (Cheapest)
Gemma 3n 4B Providers
Together $0.02 (Cheapest)
Benchmark Comparison
9
Benchmarks Compared
1
Gemma 2 27B Wins
2
Gemma 3n 4B Wins
Benchmark Scores
| Benchmark | Gemma 2 27B | Gemma 3n 4B | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 36.2 | 6.3 | |
Coding Index Code generation & understanding | - | 4.2 | - |
Math Index Mathematical reasoning | - | 14.3 | - |
MMLU Pro Academic knowledge | 38.4 | 48.8 | |
GPQA Graduate-level science | 16.7 | 29.6 | |
LiveCodeBench Competitive programming | - | 14.6 | - |
Aider Real-world code editing | 36.1 | - | - |
AIME Competition math | - | 13.7 | - |
BBH Big-Bench Hard | 49.3 | - | - |
Gemma 3n 4B shows stronger mathematical reasoning abilities.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Gemma 2 27B
Other models
Context & Performance
Context Window
Gemma 2 27B
8,192
tokens
Max output: 2,048 tokens
Gemma 3n 4B
32,768
tokens
Gemma 3n 4B has a 75% larger context window.
Speed Performance
| Metric | Gemma 2 27B | Gemma 3n 4B | Winner |
|---|---|---|---|
| Tokens/second | N/A | 38.4 tok/s | |
| Time to First Token | N/A | 0.37s |
Capabilities
Feature Comparison
| Feature | Gemma 2 27B | Gemma 3n 4B |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Gemma 2 27B | Gemma 3n 4B |
|---|---|---|
| License | Open Source | Open Source |
| Author | ||
| Released | Jul 2024 | May 2025 |
Gemma 2 27B Modalities
Input
text
Output
text
Gemma 3n 4B Modalities
Input
text
Output
text
