Price Per TokenPrice Per Token
Google
Google
vs
Google
Google

Gemini 2.5 Flash vs Gemma 2 27B

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

Gemini 2.5 Flash wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Better at coding
  • Better at math
  • Supports vision
  • Has reasoning mode
  • Supports tool calls

Gemma 2 27B wins:

  • Cheaper output tokens
  • Higher intelligence benchmark
Price Advantage
Gemini 2.5 Flash
Benchmark Advantage
Gemini 2.5 Flash
Context Window
Gemini 2.5 Flash
Speed
Gemini 2.5 Flash

Pricing Comparison

Price Comparison

MetricGemini 2.5 FlashGemma 2 27BWinner
Input (per 1M tokens)$0.30$0.65 Gemini 2.5 Flash
Output (per 1M tokens)$2.50$0.65 Gemma 2 27B
Cache Read (per 1M)$30000.00N/A Gemini 2.5 Flash
Cache Write (per 1M)$83300.00N/A Gemini 2.5 Flash
Using a 3:1 input/output ratio, Gemma 2 27B is 24% cheaper overall.

Gemini 2.5 Flash Providers

Vercel $0.30 (Cheapest)
Google AI Studio $0.30 (Cheapest)
Google $0.30 (Cheapest)

Gemma 2 27B Providers

NextBit $0.65 (Cheapest)

Benchmark Comparison

9
Benchmarks Compared
3
Gemini 2.5 Flash Wins
1
Gemma 2 27B Wins

Benchmark Scores

BenchmarkGemini 2.5 FlashGemma 2 27BWinner
Intelligence Index
Overall intelligence score
20.536.2
Coding Index
Code generation & understanding
17.8--
Math Index
Mathematical reasoning
60.3--
MMLU Pro
Academic knowledge
80.938.4
GPQA
Graduate-level science
68.316.7
LiveCodeBench
Competitive programming
49.5--
Aider
Real-world code editing
55.136.1
AIME
Competition math
50.0--
BBH
Big-Bench Hard
-49.3-
Gemini 2.5 Flash significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Gemini 2.5 Flash
Other models

Context & Performance

Context Window

Gemini 2.5 Flash
1,048,576
tokens
Max output: 65,535 tokens
Gemma 2 27B
8,192
tokens
Max output: 2,048 tokens
Gemini 2.5 Flash has a 99% larger context window.

Speed Performance

MetricGemini 2.5 FlashGemma 2 27BWinner
Tokens/second256.6 tok/sN/A
Time to First Token0.40sN/A

Capabilities

Feature Comparison

FeatureGemini 2.5 FlashGemma 2 27B
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemini 2.5 FlashGemma 2 27B
LicenseProprietaryOpen Source
AuthorGoogleGoogle
ReleasedJun 2025Jul 2024

Gemini 2.5 Flash Modalities

Input
fileimagetextaudiovideo
Output
text

Gemma 2 27B Modalities

Input
text
Output
text

Related Comparisons

Compare Gemini 2.5 Flash with:

Compare Gemma 2 27B with:

Frequently Asked Questions

Gemini 2.5 Flash has cheaper input pricing at $0.30/M tokens. Gemma 2 27B has cheaper output pricing at $0.65/M tokens.
Gemini 2.5 Flash scores higher on coding benchmarks with a score of 17.8, compared to Gemma 2 27B's score of N/A.
Gemini 2.5 Flash has a 1,048,576 token context window, while Gemma 2 27B has a 8,192 token context window.
Gemini 2.5 Flash supports vision. Gemma 2 27B does not support vision.