Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude 3.5 Haiku vs Llama 3.1 8B Instruct

Anthropic · released

Wins 5 of 6 areas

Coding · Agents · Facts · Long documents · Following instructions

Meta · released

Wins 0 of 6 areas

—

Claude 3.5 Haiku is the stronger all-rounder.Llama 3.1 8B Instruct is cheaper.

Scores updated · 26 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.

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.5 Haiku$0.80 to read · $4.00 to write$4.80Price from Anthropic's own price page
Llama 3.1 8B Instruct$0.02 to read · $0.05 to write$0.07Price from Artificial Analysis

Llama 3.1 8B Instruct costs 99% 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.5 Haiku pulls ahead

  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+14.9points aheadClaude 3.5 Haiku40.8Llama 3.1 8B Instruct25.9
  • Code for real scientific research problemsSciCode+14.2points aheadClaude 3.5 Haiku27.4Llama 3.1 8B Instruct13.2
  • Follows unfamiliar, precisely checkable instructionsIFBench+14.2points aheadClaude 3.5 Haiku42.8Llama 3.1 8B Instruct28.6

Where Llama 3.1 8B Instruct pulls ahead

  • Very hard expert questions across many subjectsHumanity's Last Exam+1.7points aheadLlama 3.1 8B Instruct5.3Claude 3.5 Haiku3.6

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.

CodingClaude 3.5 Haiku

Full coding ranking

AgentsClaude 3.5 Haiku

Full agents ranking

ReasoningEven

Full reasoning ranking

FactsClaude 3.5 Haiku

Full facts ranking

Long documentsClaude 3.5 Haiku
  • AA-LCRClaude 3.5 Haiku by 9.327.318+9.3

Full long documents ranking

Following instructionsClaude 3.5 Haiku
  • IFBenchClaude 3.5 Haiku by 14.242.828.6+14.2

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

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

Which is better for coding?

Claude 3.5 Haiku. It wins 2 of the 2 coding tests both models report; Llama 3.1 8B Instruct wins none.

Which is cheaper?

Claude 3.5 Haiku costs $0.80 per million input tokens and $4.00 per million output tokens; Llama 3.1 8B Instruct costs $0.02 and $0.05. That makes Llama 3.1 8B Instruct about 99% cheaper for the same work.

How do you compare the two?

We use the 26 benchmark tests both models have published scores on. The verdict counts the 11 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.