Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Llama 3.1 8B Instruct vs Qwen3 8B

Meta · released

Wins 1 of 6 areas

Long documents

Alibaba · released

Wins 3 of 6 areas

Coding · Agents · Following instructions

Qwen3 8B wins more areas, narrowly.Llama 3.1 8B Instruct is cheaper and better at long documents.

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

Llama 3.1 8B Instruct$0.02 to read · $0.05 to write$0.07Price from Artificial Analysis
Qwen3 8B$0.18 to read · $0.70 to write$0.88Price from Alibaba's own price page

Llama 3.1 8B Instruct costs 92% 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 Qwen3 8B pulls ahead

  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+33points aheadQwen3 8B58.9Llama 3.1 8B Instruct25.9
  • Code for real scientific research problemsSciCode+14.7points aheadQwen3 8B27.9Llama 3.1 8B Instruct13.2
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+5.1points aheadQwen3 8B13.6Llama 3.1 8B Instruct8.5

Where Llama 3.1 8B Instruct pulls ahead

Every test, side by side

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

CodingQwen3 8B

Full coding ranking

AgentsQwen3 8B

Full agents ranking

ReasoningEven

Full reasoning ranking

FactsEven

Full facts ranking

Long documentsLlama 3.1 8B Instruct
  • AA-LCRLlama 3.1 8B Instruct by 18180+18

Full long documents ranking

Following instructionsQwen3 8B

Full following instructions ranking

Other results10 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.1 8B Instruct or Qwen3 8B?

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

Which is better for coding?

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

Which is cheaper?

Llama 3.1 8B Instruct costs $0.02 per million input tokens and $0.05 per million output tokens; Qwen3 8B costs $0.18 and $0.70. That makes Llama 3.1 8B Instruct about 92% cheaper for the same work.

How do you compare the two?

We use the 21 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 10 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.