Model comparison

Gemma 3 27B vs Phi-4

Gemma 3 27B and Phi-4 score almost the same on the Noometry Index (30.8 vs 31.2), so choose on price, context window or the category you care about most.

Last verified . 33 shared benchmarks.

Gemma 3 27B Google

30.8

Rank #284 Confirmed

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Summary

  • They share 33 benchmarks with published results for both. Gemma 3 27B scores higher in 5 categories and Phi-4 in 4 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemma 3 27B leads 52.5 to 40.5.
  • The biggest single-benchmark swing is Short-Story Creative Writing: 79.9% for Gemma 3 27B and 62.6% for Phi-4.
  • Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.08 / $0.16 for Gemma 3 27B.
  • Gemma 3 27B accepts more context: 131K tokens versus 128K.

Side by side

Gemma 3 27B and Phi-4 specifications
Gemma 3 27BPhi-4
ProviderGoogleMicrosoft
Noometry Index30.831.2
Released2025-03-112024-12-11
WeightsOpenOpen
Context window131K128K
Max output8K4K
Input $ / M tokens$0.08$0.07
Output $ / M tokens$0.16$0.14
Results tracked4337

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

Category by category

Coding Phi-4 leads

Gemma 3 27B: 22.5 (#334), Phi-4: 34.4 (#239)

Coding benchmarks
BenchmarkGemma 3 27BPhi-4
LiveBench Coding39.9%30.7%
LMArena Coding13221231
Aider Polyglot4.9%—
SciCode21.2%—
BigCodeBench Instruct—45.5%
BigCodeBench Complete—55.4%

Agentic & Tool Use Gemma 3 27B leads

Gemma 3 27B: 25.1 (#110), Phi-4: 22.8 (#128)

Agentic & Tool Use benchmarks
BenchmarkGemma 3 27BPhi-4
Berkeley Function Calling Leaderboard29.5%28.8%
BALROG—11.6%

Reasoning Too close to call

Gemma 3 27B: 16.7 (#301), Phi-4: 17.7 (#291)

Reasoning benchmarks
BenchmarkGemma 3 27BPhi-4
Chess Puzzles0%1%
LiveBench Reasoning43.8%47.8%
LMArena Hard Prompts13401220
LiveBench Data Analysis51.5%45.2%
Epoch Capabilities Index130.04130.42
LiveBench50%41.6%
Kagi LLM Benchmark40.4%—
CritPt0%—
DTBench52.5%—
LMCA12.3%—

Math Gemma 3 27B leads

Gemma 3 27B: 25.9 (#265), Phi-4: 20.8 (#285)

Math benchmarks
BenchmarkGemma 3 27BPhi-4
OTIS Mock AIME 2024-202522.5%13.8%
LiveBench Math55.4%42%
LMArena Math13121246
MATH Level 574%64.9%

Knowledge Phi-4 leads

Gemma 3 27B: 25.5 (#261), Phi-4: 32.6 (#209)

Knowledge benchmarks
BenchmarkGemma 3 27BPhi-4
GPQA Diamond47.7%56.1%
Confabulations40.3%29.4%
Vectara Hallucination Rate7.4%3.7%
LMArena Expert13041203
MMLU—84.8%

Multimodal Not comparable

Gemma 3 27B: 32.6 (#100), Phi-4: —

Multimodal benchmarks
BenchmarkGemma 3 27BPhi-4
LMArena Vision1164—
GeoBench52%—

Multilingual Gemma 3 27B leads

Gemma 3 27B: 46.9 (#155), Phi-4: 37.2 (#237)

Multilingual benchmarks
BenchmarkGemma 3 27BPhi-4
LMArena Non-English13341197
LMArena Chinese13461212
LMArena French13681224
LMArena German13621222
LMArena Japanese12871158
LMArena Korean13081151
LMArena Russian13491209
LMArena Spanish13491234

Instruction Following Gemma 3 27B leads

Gemma 3 27B: 70.6 (#160), Phi-4: 60.4 (#251)

Instruction Following benchmarks
BenchmarkGemma 3 27BPhi-4
LiveBench Instruction Following74.9%58.4%
LMArena Instruction Following13211201

Long Context Phi-4 leads

Gemma 3 27B: 27.6 (#293), Phi-4: 36.9 (#226)

Long Context benchmarks
BenchmarkGemma 3 27BPhi-4
LMArena Longer Query13331217
Fiction.LiveBench33.3%—

Writing & Preference Gemma 3 27B leads

Gemma 3 27B: 52.5 (#168), Phi-4: 40.5 (#244)

Writing & Preference benchmarks
BenchmarkGemma 3 27BPhi-4
LMArena Text13581217
LMArena Creative Writing13461182
Short-Story Creative Writing79.9%62.6%
LMArena Multi-Turn13451206
LiveBench Language34.6%25.6%
EQ-Bench Creative Writing1266—

Frequently asked questions

Is Gemma 3 27B better than Phi-4?

Gemma 3 27B and Phi-4 score almost the same on the Noometry Index (30.8 vs 31.2), so choose on price, context window or the category you care about most.

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

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Gemma 3 27B lists at $0.08 and $0.16.

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

Phi-4 scores higher on coding benchmarks: 34.4 versus 22.5 in the Noometry coding category.

Which has the bigger context window?

Gemma 3 27B does, with 131K tokens against 128K.

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

33 benchmarks have published results for both models. Gemma 3 27B has 43 scored results on Noometry and Phi-4 has 37.

Related comparisons

Go deeper