Price Per TokenPrice Per Token
Google
Google
vs
Google
Google

Gemma 2 27B vs Gemma 2 9B

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:

  • Higher intelligence benchmark

Gemma 2 9B wins:

  • Cheaper input tokens
  • Cheaper output tokens
Price Advantage
Gemma 2 9B
Benchmark Advantage
Gemma 2 27B
Context Window
Gemma 2 9B
Speed
N/A

Pricing Comparison

Price Comparison

MetricGemma 2 27BGemma 2 9BWinner
Input (per 1M tokens)$0.65$0.03 Gemma 2 9B
Output (per 1M tokens)$0.65$0.09 Gemma 2 9B
Using a 3:1 input/output ratio, Gemma 2 9B is 93% cheaper overall.

Gemma 2 27B Providers

NextBit $0.65 (Cheapest)

Gemma 2 9B Providers

Nebius $0.03 (Cheapest)
Novita $0.08

Benchmark Comparison

5
Benchmarks Compared
4
Gemma 2 27B Wins
0
Gemma 2 9B Wins

Benchmark Scores

BenchmarkGemma 2 27BGemma 2 9BWinner
Intelligence Index
Overall intelligence score
36.232.1
MMLU Pro
Academic knowledge
38.431.9
GPQA
Graduate-level science
16.714.8
Aider
Real-world code editing
36.1--
BBH
Big-Bench Hard
49.342.1
Gemma 2 27B wins 4 out of 5 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
Gemma 2 9B
8,192
tokens

Speed Performance

Speed benchmarks not available for these models

Capabilities

Feature Comparison

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

License & Release

PropertyGemma 2 27BGemma 2 9B
LicenseOpen SourceOpen Source
AuthorGoogleGoogle
ReleasedJul 2024Jun 2024

Gemma 2 27B Modalities

Input
text
Output
text

Gemma 2 9B Modalities

Input
text
Output
text

Related Comparisons

Compare Gemma 2 27B with:

Compare Gemma 2 9B with:

Frequently Asked Questions

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