Model comparison

Llama 3.1-8B vs Qwen3.8 27B

Qwen3.8 27B is the stronger model overall, scoring 46.0 to 23.0 on the Noometry Index. Llama 3.1-8B costs 19× less per token, which makes it the better buy when Qwen3.8 27B's lead doesn't matter for your workload.

Last verified . 23 shared benchmarks.

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Qwen3.8 27B Alibaba (Qwen)

46.0

Rank #68 Confirmed

Summary

  • They share 23 benchmarks with published results for both. Llama 3.1-8B scores higher in 0 categories and Qwen3.8 27B in 9 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Qwen3.8 27B leads 65.8 to 29.7.
  • The biggest single-benchmark swing is DTBench: 50.9% for Llama 3.1-8B and 88% for Qwen3.8 27B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.99 / $1.49 for Qwen3.8 27B.
  • Qwen3.8 27B accepts more context: 262K tokens versus 128K.

Side by side

Llama 3.1-8B and Qwen3.8 27B specifications
Llama 3.1-8BQwen3.8 27B
ProviderMetaAlibaba (Qwen)
Noometry Index23.046.0
Released2024-07-232026-08-14
WeightsOpenOpen
Context window128K262K
Max output4K33K
Input $ / M tokens$0.05$0.99
Output $ / M tokens$0.08$1.49
Results tracked4331

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Qwen3.8 27B leads

Llama 3.1-8B: 20.2 (#340), Qwen3.8 27B: 50.5 (#44)

Coding benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
SciCode13.2%46.6%
LMArena Coding11951482
LMArena WebDev—1593
WeirdML1.7%—
BigCodeBench Instruct32.8%—
BigCodeBench Complete40.5%—
HumanEval+62.8%—
MBPP+55.6%—

Agentic & Tool Use Qwen3.8 27B leads

Llama 3.1-8B: 22.5 (#131), Qwen3.8 27B: 32.9 (#57)

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
APEX-Agents—47.5%
Berkeley Function Calling Leaderboard25.8%—
BALROG15.1%—

Reasoning Qwen3.8 27B leads

Llama 3.1-8B: 14.9 (#321), Qwen3.8 27B: 41.0 (#54)

Reasoning benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
CritPt0%5.4%
LMArena Hard Prompts11751460
DTBench50.9%88%
LMCA5.4%41.4%
Epoch Capabilities Index116.57149.38
ARC-AGI-2—42.4%
NYT Connections (extended)—54.5%
ARC-AGI-1—87.5%
Chess Puzzles0%—
Surface Evolver Bench—45%
PIQA81.2%—

Math Qwen3.8 27B leads

Llama 3.1-8B: 10.2 (#317), Qwen3.8 27B: 37.1 (#161)

Math benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
LMArena Math11791456
OTIS Mock AIME 2024-20251.7%—
ProofBench—16%
Omni-MATH13.7%—
MATH Level 522.9%—
GSM8K82.4%—

Knowledge Qwen3.8 27B leads

Llama 3.1-8B: 8.0 (#307), Qwen3.8 27B: 41.6 (#109)

Knowledge benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
LMArena Expert11441482
GPQA Diamond27%—
MMLU-Pro40.6%—
GPQA (HELM)24.7%—
BoolQ82.8%—
MMLU56.1%—

Multimodal Not comparable

Llama 3.1-8B: —, Qwen3.8 27B: 41.3 (#37)

Multimodal benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
LMArena Vision—1271

Multilingual Qwen3.8 27B leads

Llama 3.1-8B: 34.0 (#249), Qwen3.8 27B: 53.7 (#60)

Multilingual benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
LMArena Non-English11481430
LMArena Chinese11511504
LMArena French11771465
LMArena German11441438
LMArena Japanese10611384
LMArena Korean10531393
LMArena Russian11581415
LMArena Spanish11691448

Instruction Following Qwen3.8 27B leads

Llama 3.1-8B: 58.9 (#258), Qwen3.8 27B: 75.8 (#53)

Instruction Following benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
LMArena Instruction Following11591439
IFEval74.3%—

Long Context Qwen3.8 27B leads

Llama 3.1-8B: 35.8 (#238), Qwen3.8 27B: 44.3 (#70)

Long Context benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
LMArena Longer Query11821450

Writing & Preference Qwen3.8 27B leads

Llama 3.1-8B: 29.7 (#290), Qwen3.8 27B: 65.8 (#43)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BQwen3.8 27B
LMArena Text11871441
LMArena Creative Writing11541384
EQ-Bench Creative Writing7131671
LMArena Multi-Turn11721441
WildBench68.7%—

Frequently asked questions

Is Llama 3.1-8B better than Qwen3.8 27B?

Qwen3.8 27B is the stronger model overall, scoring 46.0 to 23.0 on the Noometry Index. Llama 3.1-8B costs 19× less per token, which makes it the better buy when Qwen3.8 27B's lead doesn't matter for your workload.

Which is cheaper, Llama 3.1-8B or Qwen3.8 27B?

Llama 3.1-8B is cheaper. It lists at $0.05 per million input tokens and $0.08 per million output tokens; Qwen3.8 27B lists at $0.99 and $1.49.

Is Llama 3.1-8B or Qwen3.8 27B better for coding?

Qwen3.8 27B scores higher on coding benchmarks: 50.5 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

Qwen3.8 27B does, with 262K tokens against 128K.

How many benchmarks do Llama 3.1-8B and Qwen3.8 27B share?

23 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Qwen3.8 27B has 31.

Related comparisons

Go deeper