Model comparison

Gemma 3 4B vs Phi 3 Medium 4k Instruct

Phi 3 Medium 4k Instruct is the stronger model overall, scoring 33.0 to 28.1 on the Noometry Index.

Last verified . 12 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Phi 3 Medium 4k Instruct Microsoft

33.0

Rank #250 Confirmed

Summary

  • They share 12 benchmarks with published results for both. Gemma 3 4B scores higher in 5 categories and Phi 3 Medium 4k Instruct in 3 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Phi 3 Medium 4k Instruct leads 30.2 to 11.8.

Side by side

Gemma 3 4B and Phi 3 Medium 4k Instruct specifications
Gemma 3 4BPhi 3 Medium 4k Instruct
ProviderGoogleMicrosoft
Noometry Index28.133.0
Released2025-03-12—
WeightsOpenOpen
Context window131K—
Max output4K—
Input $ / M tokens$0.04—
Output $ / M tokens$0.08—
Results tracked2217

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

Category by category

Coding Gemma 3 4B leads

Gemma 3 4B: 35.9 (#215), Phi 3 Medium 4k Instruct: 32.9 (#268)

Coding benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Coding12301130

Agentic & Tool Use Not comparable

Gemma 3 4B: 20.9 (#142), Phi 3 Medium 4k Instruct: —

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
Berkeley Function Calling Leaderboard19.6%—

Reasoning Phi 3 Medium 4k Instruct leads

Gemma 3 4B: 13.2 (#335), Phi 3 Medium 4k Instruct: 21.7 (#214)

Reasoning benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Hard Prompts12531127
Kagi LLM Benchmark25.2%—
Chess Puzzles0%—
DTBench50.9%—
LMCA2.8%—
Epoch Capabilities Index116.02—

Math Phi 3 Medium 4k Instruct leads

Gemma 3 4B: 16.8 (#292), Phi 3 Medium 4k Instruct: 33.4 (#202)

Math benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Math12391173
OTIS Mock AIME 2024-20257.5%—

Knowledge Phi 3 Medium 4k Instruct leads

Gemma 3 4B: 11.8 (#299), Phi 3 Medium 4k Instruct: 30.2 (#229)

Knowledge benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Expert12231108
GPQA Diamond23.2%—
Vectara Hallucination Rate6.4%—

Multilingual Gemma 3 4B leads

Gemma 3 4B: 42.5 (#194), Phi 3 Medium 4k Instruct: 30.6 (#263)

Multilingual benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Non-English12731094
LMArena German12811101
LMArena Russian12941145
LMArena Chinese—1108
LMArena French—1110
LMArena Japanese—1042
LMArena Korean—954
LMArena Spanish—1095

Instruction Following Gemma 3 4B leads

Gemma 3 4B: 65.2 (#225), Phi 3 Medium 4k Instruct: 57.6 (#268)

Instruction Following benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Instruction Following12391113

Long Context Gemma 3 4B leads

Gemma 3 4B: 38.7 (#194), Phi 3 Medium 4k Instruct: 34.0 (#255)

Long Context benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Longer Query12731120

Writing & Preference Gemma 3 4B leads

Gemma 3 4B: 42.0 (#239), Phi 3 Medium 4k Instruct: 34.1 (#272)

Writing & Preference benchmarks
BenchmarkGemma 3 4BPhi 3 Medium 4k Instruct
LMArena Text12911138
LMArena Creative Writing12711107
LMArena Multi-Turn12551088
EQ-Bench Creative Writing1068—

Frequently asked questions

Is Gemma 3 4B better than Phi 3 Medium 4k Instruct?

Phi 3 Medium 4k Instruct is the stronger model overall, scoring 33.0 to 28.1 on the Noometry Index.

Is Gemma 3 4B or Phi 3 Medium 4k Instruct better for coding?

Gemma 3 4B scores higher on coding benchmarks: 35.9 versus 32.9 in the Noometry coding category.

How many benchmarks do Gemma 3 4B and Phi 3 Medium 4k Instruct share?

12 benchmarks have published results for both models. Gemma 3 4B has 22 scored results on Noometry and Phi 3 Medium 4k Instruct has 17.

Related comparisons

Go deeper