Model comparison

Codestral vs Llama 3.1-405B

Codestral and Llama 3.1-405B score almost the same on the Noometry Index (30.6 vs 30.7), so choose on price, context window or the category you care about most.

Last verified . 1 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

Llama 3.1-405B Meta

30.7

Rank #288 Confirmed

Summary

  • They share 1 benchmark with published results for both. Codestral scores higher in 1 category and Llama 3.1-405B in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Llama 3.1-405B leads 33.1 to 27.3.
  • The biggest single-benchmark swing is Kagi LLM Benchmark: 32.5% for Codestral and 45% for Llama 3.1-405B.
  • Llama 3.1-405B has downloadable open weights; the other is API-only.

Side by side

Codestral and Llama 3.1-405B specifications
CodestralLlama 3.1-405B
ProviderMistral AIMeta
Noometry Index30.630.7
Released2024-05-292024-07-23
WeightsProprietaryOpen
Context window256K—
Max output8K—
Input $ / M tokens$0.30—
Output $ / M tokens$0.90—
Results tracked742

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

Category by category

Coding Llama 3.1-405B leads

Codestral: 27.3 (#321), Llama 3.1-405B: 33.1 (#262)

Coding benchmarks
BenchmarkCodestralLlama 3.1-405B
Aider Polyglot11.1%—
WeirdML—21.4%
BigCodeBench Instruct41.8%—
LMArena Coding—1291
BigCodeBench Complete52.5%—
ALE-Bench137.78—
HumanEval+73.8%—
MBPP+61.9%—

Agentic & Tool Use Not comparable

Codestral: —, Llama 3.1-405B: 21.0 (#140)

Agentic & Tool Use benchmarks
BenchmarkCodestralLlama 3.1-405B
TheAgentCompany—7.4%
Cybench—7.5%

Reasoning Codestral leads

Codestral: 19.8 (#251), Llama 3.1-405B: 16.8 (#300)

Reasoning benchmarks
BenchmarkCodestralLlama 3.1-405B
Kagi LLM Benchmark32.5%45%
SimpleBench—23%
LMArena Hard Prompts—1269
DTBench—61.4%
BIG-Bench Hard—82.9%
Epoch Capabilities Index—128.75
ForecastBench—59.9
HellaSwag—89.2%
PIQA—85.9%
WinoGrande—89.2%

Math Not comparable

Codestral: —, Llama 3.1-405B: 18.4 (#290)

Math benchmarks
BenchmarkCodestralLlama 3.1-405B
OTIS Mock AIME 2024-2025—9.7%
Omni-MATH—24.9%
LMArena Math—1281
MATH Level 5—49.8%

Knowledge Not comparable

Codestral: —, Llama 3.1-405B: 30.4 (#227)

Knowledge benchmarks
BenchmarkCodestralLlama 3.1-405B
GPQA Diamond—50.9%
MMLU-Pro—72.3%
Confabulations—17.6%
GPQA (HELM)—52.2%
LMArena Expert—1243
ARC (AI2) Challenge—95.3%
MMLU—84.5%
TriviaQA—82.7%

Multilingual Not comparable

Codestral: —, Llama 3.1-405B: 40.7 (#214)

Multilingual benchmarks
BenchmarkCodestralLlama 3.1-405B
LMArena Non-English—1248
LMArena Chinese—1242
LMArena French—1279
LMArena German—1252
LMArena Japanese—1208
LMArena Korean—1184
LMArena Russian—1265
LMArena Spanish—1260

Instruction Following Not comparable

Codestral: —, Llama 3.1-405B: 65.9 (#214)

Instruction Following benchmarks
BenchmarkCodestralLlama 3.1-405B
IFEval—81.1%
LMArena Instruction Following—1259

Long Context Not comparable

Codestral: —, Llama 3.1-405B: 38.4 (#197)

Long Context benchmarks
BenchmarkCodestralLlama 3.1-405B
LMArena Longer Query—1266

Writing & Preference Not comparable

Codestral: —, Llama 3.1-405B: 38.9 (#251)

Writing & Preference benchmarks
BenchmarkCodestralLlama 3.1-405B
LMArena Text—1284
LMArena Creative Writing—1262
EQ-Bench Creative Writing—870
WildBench—78.3%
LMArena Multi-Turn—1297

Frequently asked questions

Is Codestral better than Llama 3.1-405B?

Codestral and Llama 3.1-405B score almost the same on the Noometry Index (30.6 vs 30.7), so choose on price, context window or the category you care about most.

Is Codestral or Llama 3.1-405B better for coding?

Llama 3.1-405B scores higher on coding benchmarks: 33.1 versus 27.3 in the Noometry coding category.

How many benchmarks do Codestral and Llama 3.1-405B share?

1 benchmark has published results for both models. Codestral has 7 scored results on Noometry and Llama 3.1-405B has 42.

Related comparisons

Go deeper