Model comparison

Claude 3 Haiku vs Codellama 34b Instruct

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

Last verified . 14 shared benchmarks.

Claude 3 Haiku Anthropic

25.9

Rank #340 Confirmed

Codellama 34b Instruct Meta

30.8

Rank #287 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 31.0 to 9.8.
  • 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.930.8
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.4 (#325), Codellama 34b Instruct: 28.5 (#314)

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: 16.3 (#307), Codellama 34b Instruct: 19.6 (#255)

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

Math Codellama 34b Instruct leads

Claude 3 Haiku: 9.8 (#319), Codellama 34b Instruct: 31.0 (#230)

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 (#285), 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.6 (#128), Codellama 34b Instruct: —

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

Multilingual Claude 3 Haiku leads

Claude 3 Haiku: 36.0 (#243), Codellama 34b Instruct: 25.8 (#284)

Multilingual benchmarks
BenchmarkClaude 3 HaikuCodellama 34b Instruct
LMArena Non-English11781011
LMArena Chinese1155976
LMArena French1195—
LMArena German1174—
LMArena Japanese1102—
LMArena Korean1109—
LMArena Russian1204—
LMArena Spanish1166—

Instruction Following Claude 3 Haiku leads

Claude 3 Haiku: 61.3 (#247), Codellama 34b Instruct: 52.2 (#291)

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

Long Context Claude 3 Haiku leads

Claude 3 Haiku: 36.1 (#237), Codellama 34b Instruct: 30.9 (#284)

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

Writing & Preference Claude 3 Haiku leads

Claude 3 Haiku: 29.7 (#291), Codellama 34b Instruct: 28.2 (#297)

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.8 to 25.9 on the Noometry Index.

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

Codellama 34b Instruct scores higher on coding benchmarks: 28.5 versus 26.4 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