Model comparison

Gemma 2 27B vs Phi-4 Mini

Phi-4 Mini is the stronger model overall, scoring 30.9 to 29.4 on the Noometry Index.

Last verified . 0 shared benchmarks.

Gemma 2 27B Google

29.4

Rank #312 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • The widest gap is in reasoning, where Phi-4 Mini leads 22.4 to 15.3.
  • Phi-4 Mini is cheaper at $0.075 / $0.30 per million input/output tokens, against $0.65 / $0.65 for Gemma 2 27B.
  • Phi-4 Mini accepts more context: 128K tokens versus 8K.

Side by side

Gemma 2 27B and Phi-4 Mini specifications
Gemma 2 27BPhi-4 Mini
ProviderGoogleMicrosoft
Noometry Index29.430.9
Released2024-06-242024-12-11
WeightsOpenOpen
Context window8K128K
Max output2K4K
Input $ / M tokens$0.65$0.075
Output $ / M tokens$0.65$0.30
Results tracked343

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Gemma 2 27B leads

Gemma 2 27B: 34.1 (#246), Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
SciCode—10.8%
BigCodeBench Instruct42.8%—
LiveBench Coding36%—
LMArena Coding1211—
BigCodeBench Complete52.5%—

Reasoning Phi-4 Mini leads

Gemma 2 27B: 15.3 (#315), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
CritPt—0%
LiveBench Reasoning28.1%—
LMArena Hard Prompts1198—
DTBench48%—
LiveBench Data Analysis47.9%—
LMCA7.1%—
Epoch Capabilities Index122.08—
LiveBench38.2%—

Math Not comparable

Gemma 2 27B: 10.7 (#311), Phi-4 Mini: —

Math benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
OTIS Mock AIME 2024-20251.4%—
LiveBench Math26.5%—
LMArena Math1212—
MATH Level 527.9%—

Knowledge Phi-4 Mini leads

Gemma 2 27B: 19.0 (#280), Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
GPQA Diamond36.5%—
Confabulations27.1%—
Vectara Hallucination Rate—23.5%
LMArena Expert1172—
MMLU75.7%—

Multilingual Not comparable

Gemma 2 27B: 38.6 (#226), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
LMArena Non-English1217—
LMArena Chinese1221—
LMArena French1247—
LMArena German1209—
LMArena Japanese1175—
LMArena Korean1174—
LMArena Russian1234—
LMArena Spanish1228—

Instruction Following Not comparable

Gemma 2 27B: 60.5 (#249), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
LiveBench Instruction Following58.1%—
LMArena Instruction Following1206—

Long Context Not comparable

Gemma 2 27B: 37.3 (#218), Phi-4 Mini: —

Long Context benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
LMArena Longer Query1231—

Writing & Preference Not comparable

Gemma 2 27B: 44.2 (#225), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkGemma 2 27BPhi-4 Mini
LMArena Text1231—
LMArena Creative Writing1241—
LMArena Multi-Turn1224—
LiveBench Language32.6%—

Frequently asked questions

Is Gemma 2 27B better than Phi-4 Mini?

Phi-4 Mini is the stronger model overall, scoring 30.9 to 29.4 on the Noometry Index.

Which is cheaper, Gemma 2 27B or Phi-4 Mini?

Phi-4 Mini is cheaper. It lists at $0.075 per million input tokens and $0.30 per million output tokens; Gemma 2 27B lists at $0.65 and $0.65.

Is Gemma 2 27B or Phi-4 Mini better for coding?

Gemma 2 27B scores higher on coding benchmarks: 34.1 versus 28.1 in the Noometry coding category.

Which has the bigger context window?

Phi-4 Mini does, with 128K tokens against 8K.

How many benchmarks do Gemma 2 27B and Phi-4 Mini share?

0 benchmarks have published results for both models. Gemma 2 27B has 34 scored results on Noometry and Phi-4 Mini has 3.

Related comparisons

Go deeper