Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Llama 3 Instruct 8B vs Phi 3 Mini 4K Instruct

Meta · released

Wins 1 of 4 areas

Coding

Microsoft · released

Wins 2 of 4 areas

Reasoning · Long documents

Phi 3 Mini 4K Instruct wins more areas, narrowly.Llama 3 Instruct 8B is better at coding.

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

Where each one wins

Tests won in each of the four 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 3 Mini 4K 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 3 Mini 4K Instruct pulls ahead

  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+2.3points aheadPhi 3 Mini 4K Instruct31.9Llama 3 Instruct 8B29.6

Where Llama 3 Instruct 8B pulls ahead

  • Code for real scientific research problemsSciCode+2.9points aheadLlama 3 Instruct 8B11.9Phi 3 Mini 4K Instruct9

Every test, side by side

All 26 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 3 Mini 4K Instruct

Full reasoning ranking

Long documentsPhi 3 Mini 4K Instruct
  • AA-LCRPhi 3 Mini 4K Instruct by 303+3

Full long documents ranking

Following instructionsEven

Full following instructions ranking

Other results20 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 3 Mini 4K Instruct?

Phi 3 Mini 4K Instruct wins two of the four areas where both have results: reasoning and long documents. Llama 3 Instruct 8B wins coding. They are level on following instructions.

Which is better for coding?

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

How do you compare the two?

We use the 26 benchmark tests both models have published scores on. The verdict counts the 6 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 20 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.