Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Llama 3 Instruct 8B vs Phi 4 Mini Instruct

Meta · released

Wins 2 of 5 areas

Coding · Following instructions

Microsoft · released

Wins 3 of 5 areas

Reasoning · Facts · Long documents

Phi 4 Mini Instruct is the stronger all-rounder.Llama 3 Instruct 8B is better at coding.

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

Where each one wins

Tests won in each of the five areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.

Long documents and following instructions rest on a single test each.

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.

Llama 3 Instruct 8B$0.04 to read · $0.14 to write$0.19Price from Artificial Analysis
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+11.8points aheadPhi 4 Mini Instruct22Llama 3 Instruct 8B10.2
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+3.5points aheadPhi 4 Mini Instruct33.1Llama 3 Instruct 8B29.6

Where Llama 3 Instruct 8B pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+3.5points aheadLlama 3 Instruct 8B24.6Phi 4 Mini Instruct21.1
  • Code for real scientific research problemsSciCode+1.1points aheadLlama 3 Instruct 8B11.9Phi 4 Mini Instruct10.8

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.

CodingLlama 3 Instruct 8B

Full coding 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 15.3015.3+15.3

Full long documents ranking

Following instructionsLlama 3 Instruct 8B
  • IFBenchLlama 3 Instruct 8B by 3.524.621.1+3.5

Full following instructions ranking

Other results15 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, Llama 3 Instruct 8B or Phi 4 Mini Instruct?

Phi 4 Mini Instruct wins three of the five areas where both have results: reasoning, facts and long documents. Llama 3 Instruct 8B wins coding and following instructions.

Which is better for coding?

Llama 3 Instruct 8B. It wins 1 of the 2 coding tests both models report; Phi 4 Mini Instruct 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 9 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 15 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.