Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude 3 Haiku vs Llama 3.1 8B Instruct

Anthropic · released

Wins 3 of 6 areas

Coding · Long documents · Following instructions

Meta · released

Wins 0 of 6 areas

—

Claude 3 Haiku wins more areas, narrowly.Llama 3.1 8B Instruct is cheaper.

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

Where each one wins

Tests won in each of the six 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.

Agents, 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.

Claude 3 Haiku$0.25 to read · $1.25 to write$1.50Price from Artificial Analysis
Llama 3.1 8B Instruct$0.02 to read · $0.05 to write$0.07Price from Artificial Analysis

Llama 3.1 8B Instruct costs 95% less for the same work.

The biggest differences

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

Where Claude 3 Haiku pulls ahead

  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+11.5points aheadClaude 3 Haiku37.4Llama 3.1 8B Instruct25.9
  • Reasons across sets of long documentsAA-LCR+9.7points aheadClaude 3 Haiku27.7Llama 3.1 8B Instruct18
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+9.1points aheadClaude 3 Haiku17.6Llama 3.1 8B Instruct8.5

Where Llama 3.1 8B Instruct pulls ahead

Every test, side by side

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

CodingClaude 3 Haiku

Full coding ranking

AgentsEven

Full agents ranking

ReasoningEven

Full reasoning ranking

FactsEven

Full facts ranking

Long documentsClaude 3 Haiku
  • AA-LCRClaude 3 Haiku by 9.727.718+9.7

Full long documents ranking

Following instructionsClaude 3 Haiku
  • IFBenchClaude 3 Haiku by 7.536.128.6+7.5

Full following instructions ranking

Other results18 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, Claude 3 Haiku or Llama 3.1 8B Instruct?

Claude 3 Haiku wins three of the six areas where both have results: coding, long documents and following instructions. Llama 3.1 8B Instruct wins none, but costs 95% less. They are level on agents, reasoning and facts.

Which is better for coding?

Claude 3 Haiku. It wins 1 of the 2 coding tests both models report; Llama 3.1 8B Instruct wins none, and 1 is a tie.

Which is cheaper?

Claude 3 Haiku costs $0.25 per million input tokens and $1.25 per million output tokens; Llama 3.1 8B Instruct costs $0.02 and $0.05. That makes Llama 3.1 8B Instruct about 95% cheaper for the same work.

How do you compare the two?

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