Model comparison

Gemma 3 27B vs Phi-4 Mini

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

Last verified . 3 shared benchmarks.

Gemma 3 27B Google

30.8

Rank #284 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • They share 3 benchmarks with published results for both. Gemma 3 27B scores higher in 1 category and Phi-4 Mini in 2 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Phi-4 Mini leads 22.4 to 16.7.
  • The biggest single-benchmark swing is Vectara Hallucination Rate: 7.4% for Gemma 3 27B and 23.5% for Phi-4 Mini.
  • Gemma 3 27B is cheaper at $0.08 / $0.16 per million input/output tokens, against $0.075 / $0.30 for Phi-4 Mini.
  • Gemma 3 27B accepts more context: 131K tokens versus 128K.

Side by side

Gemma 3 27B and Phi-4 Mini specifications
Gemma 3 27BPhi-4 Mini
ProviderGoogleMicrosoft
Noometry Index30.830.9
Released2025-03-112024-12-11
WeightsOpenOpen
Context window131K128K
Max output8K4K
Input $ / M tokens$0.08$0.075
Output $ / M tokens$0.16$0.30
Results tracked433

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

Category by category

Coding Phi-4 Mini leads

Gemma 3 27B: 22.5 (#334), Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkGemma 3 27BPhi-4 Mini
SciCode21.2%10.8%
Aider Polyglot4.9%—
LiveBench Coding39.9%—
LMArena Coding1322—

Agentic & Tool Use Not comparable

Gemma 3 27B: 25.1 (#110), Phi-4 Mini: —

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

Reasoning Phi-4 Mini leads

Gemma 3 27B: 16.7 (#301), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkGemma 3 27BPhi-4 Mini
CritPt0%0%
Kagi LLM Benchmark40.4%—
Chess Puzzles0%—
LiveBench Reasoning43.8%—
LMArena Hard Prompts1340—
DTBench52.5%—
LiveBench Data Analysis51.5%—
LMCA12.3%—
Epoch Capabilities Index130.04—
LiveBench50%—

Math Not comparable

Gemma 3 27B: 25.9 (#265), Phi-4 Mini: —

Math benchmarks
BenchmarkGemma 3 27BPhi-4 Mini
OTIS Mock AIME 2024-202522.5%—
LiveBench Math55.4%—
LMArena Math1312—
MATH Level 574%—

Knowledge Too close to call

Gemma 3 27B: 25.5 (#261), Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkGemma 3 27BPhi-4 Mini
Vectara Hallucination Rate7.4%23.5%
GPQA Diamond47.7%—
Confabulations40.3%—
LMArena Expert1304—

Multimodal Not comparable

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

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

Multilingual Not comparable

Gemma 3 27B: 46.9 (#155), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkGemma 3 27BPhi-4 Mini
LMArena Non-English1334—
LMArena Chinese1346—
LMArena French1368—
LMArena German1362—
LMArena Japanese1287—
LMArena Korean1308—
LMArena Russian1349—
LMArena Spanish1349—

Instruction Following Not comparable

Gemma 3 27B: 70.6 (#160), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkGemma 3 27BPhi-4 Mini
LiveBench Instruction Following74.9%—
LMArena Instruction Following1321—

Long Context Not comparable

Gemma 3 27B: 27.6 (#293), Phi-4 Mini: —

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

Writing & Preference Not comparable

Gemma 3 27B: 52.5 (#168), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkGemma 3 27BPhi-4 Mini
LMArena Text1358—
LMArena Creative Writing1346—
Short-Story Creative Writing79.9%—
EQ-Bench Creative Writing1266—
LMArena Multi-Turn1345—
LiveBench Language34.6%—

Frequently asked questions

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

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

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

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

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

Phi-4 Mini scores higher on coding benchmarks: 28.1 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 Mini share?

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

Related comparisons

Go deeper