Model comparison

Claude 3 Haiku vs Codellama 34b Instruct

Codellama 34b Instruct is the stronger model overall, scoring 30.2 to 25.7 on the Noometry Index.

Last verified . 14 shared benchmarks.

Claude 3 Haiku Anthropic

25.7

Rank #333 Confirmed

Codellama 34b Instruct Meta

30.2

Rank #285 Confirmed

Summary

  • They share 14 benchmarks with published results for both. Claude 3 Haiku scores higher in 4 categories and Codellama 34b Instruct in 3 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in math, where Codellama 34b Instruct leads 28.5 to 9.2.
  • The biggest single-benchmark swing is BigCodeBench Complete: 50.1% for Claude 3 Haiku and 37.1% for Codellama 34b Instruct.
  • Codellama 34b Instruct has downloadable open weights; the other is API-only.

Side by side

Claude 3 Haiku and Codellama 34b Instruct specifications
Claude 3 HaikuCodellama 34b Instruct
ProviderAnthropicMeta
Noometry Index25.730.2
Released2024-03-07—
WeightsProprietaryOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3714

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

Category by category

Coding Codellama 34b Instruct leads

Claude 3 Haiku: 26.1 (#320), Codellama 34b Instruct: 28.0 (#310)

Coding benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
BigCodeBench Instruct39.4%29%
LMArena Coding11991046
BigCodeBench Complete50.1%37.1%
HumanEval+68.9%43.9%
MBPP+68.8%56.3%
WeirdML9.8%—
CadEval12%—

Reasoning Codellama 34b Instruct leads

Claude 3 Haiku: 15.7 (#303), Codellama 34b Instruct: 18.8 (#250)

Reasoning benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Hard Prompts11741032
Kagi LLM Benchmark34.2%—
DTBench50.1%—
LMCA8.8%—
Epoch Capabilities Index118.3—
ForecastBench53.2—
WinoGrande74.2%—

Math Codellama 34b Instruct leads

Claude 3 Haiku: 9.2 (#313), Codellama 34b Instruct: 28.5 (#227)

Math benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Math11881056
OTIS Mock AIME 2024-20251.8%—
MATH Level 514.9%—

Knowledge Not comparable

Claude 3 Haiku: 17.3 (#280), Codellama 34b Instruct: —

Knowledge benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
GPQA Diamond36.3%—
Confabulations34.2%—
LMArena Expert1148—
MMLU73.8%—

Multimodal Not comparable

Claude 3 Haiku: 23.1 (#123), Codellama 34b Instruct: —

Multimodal benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Vision950—
ScienceQA72%—

Multilingual Claude 3 Haiku leads

Claude 3 Haiku: 36.1 (#238), Codellama 34b Instruct: 25.9 (#279)

Multilingual benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Non-English11781011
LMArena Chinese1155976
LMArena French1194—
LMArena German1174—
LMArena Japanese1102—
LMArena Korean1108—
LMArena Russian1204—
LMArena Spanish1165—

Instruction Following Claude 3 Haiku leads

Claude 3 Haiku: 61.5 (#242), Codellama 34b Instruct: 52.4 (#286)

Instruction Following benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Instruction Following11741028

Long Context Claude 3 Haiku leads

Claude 3 Haiku: 36.1 (#232), Codellama 34b Instruct: 30.8 (#279)

Long Context benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Longer Query11911014

Writing & Preference Claude 3 Haiku leads

Claude 3 Haiku: 29.8 (#286), Codellama 34b Instruct: 28.4 (#292)

Writing & Preference benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Text11951066
LMArena Creative Writing11571032
LMArena Multi-Turn11901015
EQ-Bench Creative Writing717—

Frequently asked questions

Is Claude 3 Haiku better than Codellama 34b Instruct?

Codellama 34b Instruct is the stronger model overall, scoring 30.2 to 25.7 on the Noometry Index.

Is Claude 3 Haiku or Codellama 34b Instruct better for coding?

Codellama 34b Instruct scores higher on coding benchmarks: 28.0 versus 26.1 in the Noometry coding category.

How many benchmarks do Claude 3 Haiku and Codellama 34b Instruct share?

14 benchmarks have published results for both models. Claude 3 Haiku has 37 scored results on Noometry and Codellama 34b Instruct has 14.

Related comparisons

Go deeper