Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemma 3 4B vs Phi 4 Mini Instruct

Google · released

Wins 1 of 6 areas

Following instructions

Microsoft · released

Wins 4 of 6 areas

Coding · Reasoning · Facts · Long documents

Phi 4 Mini Instruct is the stronger all-rounder.Gemma 3 4B is better at following instructions.

Scores updated · 24 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Gemma 3 4B$0.05 to read · $0.10 to write$0.15Price from deepinfra
Phi 4 Mini InstructNo current price is tracked.

The biggest differences

The tests each model wins by the widest margin, up to three each. Scores are out of 100.

Where Phi 4 Mini Instruct pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+20.2points aheadPhi 4 Mini Instruct22Gemma 3 4B1.8
  • Reasons across sets of long documentsAA-LCR+8.6points aheadPhi 4 Mini Instruct15.3Gemma 3 4B6.7
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+4points aheadPhi 4 Mini Instruct33.1Gemma 3 4B29.1

Where Gemma 3 4B pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+7.2points aheadGemma 3 4B28.3Phi 4 Mini Instruct21.1

Every test, side by side

All 24 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingPhi 4 Mini Instruct

Full coding ranking

AgentsEven

Full agents ranking

ReasoningPhi 4 Mini Instruct

Full reasoning ranking

FactsPhi 4 Mini Instruct

Full facts ranking

Long documentsPhi 4 Mini Instruct
  • AA-LCRPhi 4 Mini Instruct by 8.66.715.3+8.6

Full long documents ranking

Following instructionsGemma 3 4B
  • IFBenchGemma 3 4B by 7.228.321.1+7.2

Full following instructions ranking

Other results12 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Gemma 3 4B or Phi 4 Mini Instruct?

Phi 4 Mini Instruct wins four of the six areas where both have results: coding, reasoning, facts and long documents. Gemma 3 4B wins following instructions. They are level on agents.

Which is better for coding?

Phi 4 Mini Instruct. It wins 1 of the 2 coding tests both models report; Gemma 3 4B wins none, and 1 is a tie.

How do you compare the two?

We use the 24 benchmark tests both models have published scores on. The verdict counts the 12 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 12 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.