Price Per TokenPrice Per Token
Google
Google
vs
Microsoft
Microsoft

Gemma 2 27B vs Phi-3 Mini 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:

  • Higher intelligence benchmark
  • Supports vision

Phi-3 Mini 128K Instruct wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
Price Advantage
Phi-3 Mini 128K Instruct
Benchmark Advantage
Gemma 2 27B
Context Window
Phi-3 Mini 128K Instruct
Speed
N/A

Pricing Comparison

Price Comparison

MetricGemma 2 27BPhi-3 Mini 128K InstructWinner
Input (per 1M tokens)$0.65$0.10 Phi-3 Mini 128K Instruct
Output (per 1M tokens)$0.65$0.10 Phi-3 Mini 128K Instruct
Using a 3:1 input/output ratio, Phi-3 Mini 128K Instruct is 85% cheaper overall.

Gemma 2 27B Providers

No provider data available

Phi-3 Mini 128K Instruct Providers

No provider data available

Benchmark Comparison

5
Benchmarks Compared
4
Gemma 2 27B Wins
0
Phi-3 Mini 128K Instruct Wins

Benchmark Scores

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

Speed Performance

Speed benchmarks not available for these models

Capabilities

Feature Comparison

FeatureGemma 2 27BPhi-3 Mini 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 Mini 128K Instruct
LicenseOpen SourceOpen Source
AuthorGoogleMicrosoft
ReleasedJul 2024Unknown

Gemma 2 27B Modalities

Input
text
Output
text

Phi-3 Mini 128K Instruct Modalities

Input
Output

Related Comparisons

Compare Gemma 2 27B with:

Compare Phi-3 Mini 128K Instruct with:

Frequently Asked Questions

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