Price Per TokenPrice Per Token
Google
Google
vs
Microsoft
Microsoft

Gemma 2 27B vs Phi-3 Medium 128K Instruct

A detailed comparison of pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

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
  • Supports vision

Phi-3 Medium 128K Instruct wins:

  • Larger context window
Price Advantage
Gemma 2 27B
Benchmark Advantage
Gemma 2 27B
Context Window
Phi-3 Medium 128K Instruct
Speed
N/A

Pricing Comparison

Price Comparison

MetricGemma 2 27BPhi-3 Medium 128K InstructWinner
Input (per 1M tokens)$0.65$1.00 Gemma 2 27B
Output (per 1M tokens)$0.65$1.00 Gemma 2 27B
Using a 3:1 input/output ratio, Gemma 2 27B is 35% cheaper overall.

Gemma 2 27B Providers

No provider data available

Phi-3 Medium 128K Instruct Providers

No provider data available

Benchmark Comparison

5
Benchmarks Compared
3
Gemma 2 27B Wins
1
Phi-3 Medium 128K Instruct Wins

Benchmark Scores

BenchmarkGemma 2 27BPhi-3 Medium 128K InstructWinner
Intelligence Index
Overall intelligence score
36.232.0
MMLU Pro
Academic knowledge
38.441.2
GPQA
Graduate-level science
16.711.5
Aider
Real-world code editing
36.1--
BBH
Big-Bench Hard
49.348.5
Gemma 2 27B wins 3 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
Phi-3 Medium 128K Instruct
128,000
tokens
Phi-3 Medium 128K Instruct has a 94% larger context window.

Speed Performance

Speed benchmarks not available for these models

Capabilities

Feature Comparison

FeatureGemma 2 27BPhi-3 Medium 128K Instruct
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemma 2 27BPhi-3 Medium 128K Instruct
LicenseOpen SourceOpen Source
AuthorGoogleMicrosoft
ReleasedJul 2024Unknown

Gemma 2 27B Modalities

Input
text
Output
text

Phi-3 Medium 128K Instruct Modalities

Input
Output

Related Comparisons

Compare Gemma 2 27B with:

Compare Phi-3 Medium 128K Instruct 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.
Gemma 2 27B scores higher on coding benchmarks with a score of N/A, compared to Phi-3 Medium 128K Instruct's score of N/A.
Gemma 2 27B has a 8,192 token context window, while Phi-3 Medium 128K Instruct has a 128,000 token context window.
Gemma 2 27B supports vision. Phi-3 Medium 128K Instruct does not support vision.