Model comparison

Gemma 4 31B IT vs Phi 3 Small 8k Instruct

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 29.3 on the Noometry Index.

Last verified . 14 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Phi 3 Small 8k Instruct Microsoft

29.3

Rank #314 Confirmed

Summary

  • They share 14 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and Phi 3 Small 8k Instruct in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemma 4 31B IT leads 60.5 to 31.1.

Side by side

Gemma 4 31B IT and Phi 3 Small 8k Instruct specifications
Gemma 4 31B ITPhi 3 Small 8k Instruct
ProviderGoogleMicrosoft
Noometry Index43.529.3
Released2026-04-022024-04-23
WeightsOpenOpen
Context window262K—
Max output33K—
Input $ / M tokens$0.09—
Output $ / M tokens$0.34—
Results tracked3532

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

Category by category

Coding Gemma 4 31B IT leads

Gemma 4 31B IT: 42.3 (#108), Phi 3 Small 8k Instruct: 27.9 (#318)

Coding benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Coding14591101
LMArena WebDev1366—
SciCode43.4%—
WeirdML52.3%—
LiveBench Coding—20.3%
ALE-Bench925.5—

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), Phi 3 Small 8k Instruct: 14.8 (#323)

Reasoning benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Hard Prompts14481100
Kagi LLM Benchmark63.5%—
NYT Connections (extended)70.6%—
CritPt1.4%—
Chess Puzzles5%—
Thematic Generalization53%—
LiveBench Reasoning—15.9%
DTBench82.7%—
LiveBench Data Analysis—30.3%
LMCA39.3%—
Surface Evolver Bench30.6%—
Adversarial NLI—58.1%
BIG-Bench Hard—79.1%
Epoch Capabilities Index142.74—
HellaSwag—77%
LiveBench—24%
WinoGrande—81.5%

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), Phi 3 Small 8k Instruct: 27.6 (#248)

Math benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Math14651151
OTIS Mock AIME 2024-202573.3%—
LiveBench Math—17.6%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), Phi 3 Small 8k Instruct: 29.1 (#240)

Knowledge benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Expert14651067
GPQA Diamond75.8%—
SimpleQA Verified10.4%—
Vectara Hallucination Rate7.4%—
ARC (AI2) Challenge—90.7%
MMLU—75.7%
OpenBookQA—88%
TriviaQA—58.1%

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), Phi 3 Small 8k Instruct: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Vision1277—
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), Phi 3 Small 8k Instruct: 28.5 (#272)

Multilingual benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Non-English14311058
LMArena Chinese14761061
LMArena French14351135
LMArena Russian14601111
LMArena Spanish14441111
LMArena German—1080
LMArena Japanese—966
LMArena Korean—894

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), Phi 3 Small 8k Instruct: 51.9 (#292)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Instruction Following14331087
LiveBench Instruction Following—47.2%

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), Phi 3 Small 8k Instruct: 33.0 (#267)

Long Context benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Longer Query14461088

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), Phi 3 Small 8k Instruct: 31.1 (#284)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITPhi 3 Small 8k Instruct
LMArena Text14431110
LMArena Creative Writing14151083
LMArena Multi-Turn14521068
EQ-Bench Creative Writing1368—
EQ-Bench 41120—
LiveBench Language—12.9%

Frequently asked questions

Is Gemma 4 31B IT better than Phi 3 Small 8k Instruct?

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 29.3 on the Noometry Index.

Is Gemma 4 31B IT or Phi 3 Small 8k Instruct better for coding?

Gemma 4 31B IT scores higher on coding benchmarks: 42.3 versus 27.9 in the Noometry coding category.

How many benchmarks do Gemma 4 31B IT and Phi 3 Small 8k Instruct share?

14 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Phi 3 Small 8k Instruct has 32.

Related comparisons

Go deeper