Price Per TokenPrice Per Token
Google
Google
vs
OpenAI
OpenAI

Gemma 2 27B vs o4 Mini

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Gemma 2 27B wins:

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

o4 Mini wins:

  • Larger context window
  • Faster response time
  • Better at coding
  • Better at math
  • Supports vision
  • Has reasoning mode
  • Supports tool calls
Price Advantage
Gemma 2 27B
Benchmark Advantage
o4 Mini
Context Window
o4 Mini
Speed
o4 Mini

Pricing Comparison

Price Comparison

MetricGemma 2 27Bo4 MiniWinner
Input (per 1M tokens)$0.65$1.10 Gemma 2 27B
Output (per 1M tokens)$0.65$4.40 Gemma 2 27B
Cache Read (per 1M)N/A$275000.00 o4 Mini
Using a 3:1 input/output ratio, Gemma 2 27B is 66% cheaper overall.

Gemma 2 27B Providers

NextBit $0.65 (Cheapest)

o4 Mini Providers

OpenAI $1.10 (Cheapest)
Vercel $1.10 (Cheapest)
Azure $1.10 (Cheapest)

Benchmark Comparison

9
Benchmarks Compared
1
Gemma 2 27B Wins
3
o4 Mini Wins

Benchmark Scores

BenchmarkGemma 2 27Bo4 MiniWinner
Intelligence Index
Overall intelligence score
36.233.0
Coding Index
Code generation & understanding
-25.6-
Math Index
Mathematical reasoning
-90.7-
MMLU Pro
Academic knowledge
38.483.2
GPQA
Graduate-level science
16.778.4
LiveCodeBench
Competitive programming
-85.9-
Aider
Real-world code editing
36.172.0
AIME
Competition math
-94.0-
BBH
Big-Bench Hard
49.3--
o4 Mini 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
Max output: 2,048 tokens
o4 Mini
200,000
tokens
Max output: 100,000 tokens
o4 Mini has a 96% larger context window.

Speed Performance

MetricGemma 2 27Bo4 MiniWinner
Tokens/secondN/A118.4 tok/s
Time to First TokenN/A62.12s

Capabilities

Feature Comparison

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

License & Release

PropertyGemma 2 27Bo4 Mini
LicenseOpen SourceProprietary
AuthorGoogleOpenAI
ReleasedJul 2024Apr 2025

Gemma 2 27B Modalities

Input
text
Output
text

o4 Mini Modalities

Input
imagetextfile
Output
text

Related Comparisons

Compare Gemma 2 27B with:

Compare o4 Mini with:

Frequently Asked Questions

Gemma 2 27B has cheaper input pricing at $0.65/M tokens. Gemma 2 27B has cheaper output pricing at $0.65/M tokens.
o4 Mini scores higher on coding benchmarks with a score of 25.6, compared to Gemma 2 27B's score of N/A.
Gemma 2 27B has a 8,192 token context window, while o4 Mini has a 200,000 token context window.
Gemma 2 27B does not support vision. o4 Mini supports vision.