Model comparison

Codestral vs Llama 2-13B

Codestral is the stronger model overall, scoring 30.6 to 29.6 on the Noometry Index.

Last verified . 0 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Summary

  • The widest gap is in reasoning, where Codestral leads 19.8 to 12.8.
  • Llama 2-13B has downloadable open weights; the other is API-only.

Side by side

Codestral and Llama 2-13B specifications
CodestralLlama 2-13B
ProviderMistral AIMeta
Noometry Index30.629.6
Released2024-05-292023-07-18
WeightsProprietaryOpen
Context window256K—
Max output8K—
Input $ / M tokens$0.30—
Output $ / M tokens$0.90—
Results tracked732

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

Category by category

Coding Llama 2-13B leads

Codestral: 27.3 (#321), Llama 2-13B: 30.9 (#291)

Coding benchmarks
BenchmarkCodestralLlama 2-13B
Aider Polyglot11.1%—
BigCodeBench Instruct41.8%—
LMArena Coding—1062
BigCodeBench Complete52.5%—
ALE-Bench137.78—
HumanEval+73.8%—
MBPP+61.9%—

Reasoning Codestral leads

Codestral: 19.8 (#251), Llama 2-13B: 12.8 (#337)

Reasoning benchmarks
BenchmarkCodestralLlama 2-13B
Kagi LLM Benchmark32.5%—
Chess Puzzles—0%
LMArena Hard Prompts—1051
DTBench—42.2%
BIG-Bench Hard—58.2%
Epoch Capabilities Index—106.17
HellaSwag—80.7%
LAMBADA—76.5%
PIQA—80.8%
WinoGrande—72.8%

Math Not comparable

Codestral: —, Llama 2-13B: 31.1 (#229)

Math benchmarks
BenchmarkCodestralLlama 2-13B
LMArena Math—1065
GSM8K—36.9%

Knowledge Not comparable

Codestral: —, Llama 2-13B: 28.1 (#249)

Knowledge benchmarks
BenchmarkCodestralLlama 2-13B
LMArena Expert—1030
ARC (AI2) Challenge—60.3%
BoolQ—82.4%
MMLU—55.6%
OpenBookQA—57%
TriviaQA—79.6%

Multimodal Not comparable

Codestral: —, Llama 2-13B: —

Multimodal benchmarks
BenchmarkCodestralLlama 2-13B
ScienceQA—55.8%

Multilingual Not comparable

Codestral: —, Llama 2-13B: 26.5 (#279)

Multilingual benchmarks
BenchmarkCodestralLlama 2-13B
LMArena Non-English—1024
LMArena Chinese—1001
LMArena French—1044
LMArena German—1009
LMArena Japanese—894
LMArena Korean—953
LMArena Russian—1055
LMArena Spanish—1087

Instruction Following Not comparable

Codestral: —, Llama 2-13B: 53.3 (#287)

Instruction Following benchmarks
BenchmarkCodestralLlama 2-13B
LMArena Instruction Following—1045

Long Context Not comparable

Codestral: —, Llama 2-13B: 32.3 (#269)

Long Context benchmarks
BenchmarkCodestralLlama 2-13B
LMArena Longer Query—1064

Writing & Preference Not comparable

Codestral: —, Llama 2-13B: 29.8 (#289)

Writing & Preference benchmarks
BenchmarkCodestralLlama 2-13B
LMArena Text—1084
LMArena Creative Writing—1047
LMArena Multi-Turn—1050

Frequently asked questions

Is Codestral better than Llama 2-13B?

Codestral is the stronger model overall, scoring 30.6 to 29.6 on the Noometry Index.

Is Codestral or Llama 2-13B better for coding?

Llama 2-13B scores higher on coding benchmarks: 30.9 versus 27.3 in the Noometry coding category.

How many benchmarks do Codestral and Llama 2-13B share?

0 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Llama 2-13B has 32.

Related comparisons

Go deeper