Model comparison

Llama 13b vs Phi 3 Mini 4k Instruct

Phi 3 Mini 4k Instruct is the stronger model overall, scoring 27.9 to 24.4 on the Noometry Index.

Last verified . 15 shared benchmarks.

Llama 13b Meta

24.4

Rank #348 Confirmed

Phi 3 Mini 4k Instruct Microsoft

27.9

Rank #328 Confirmed

Summary

  • They share 15 benchmarks with published results for both. Llama 13b scores higher in 1 category and Phi 3 Mini 4k Instruct in 5 categories; 4 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Phi 3 Mini 4k Instruct leads 27.6 to 13.8.

Side by side

Llama 13b and Phi 3 Mini 4k Instruct specifications
Llama 13bPhi 3 Mini 4k Instruct
ProviderMetaMicrosoft
Noometry Index24.427.9
Released2023-02-242024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2135

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

Category by category

Coding Phi 3 Mini 4k Instruct leads

Llama 13b: 21.4 (#337), Phi 3 Mini 4k Instruct: 26.6 (#323)

Coding benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
LMArena Coding6831093
LiveBench Coding—15.5%
HumanEval+—59.1%
MBPP+—54.2%

Reasoning Too close to call

Llama 13b: 14.0 (#329), Phi 3 Mini 4k Instruct: 14.1 (#328)

Reasoning benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
LMArena Hard Prompts7281072
BIG-Bench Hard37.9%71.7%
HellaSwag79.2%76.7%
WinoGrande73%70.8%
Chess Puzzles—0%
LiveBench Reasoning—26.8%
LiveBench Data Analysis—34.7%
Adversarial NLI—52.8%
Epoch Capabilities Index100.58—
LAMBADA75.2%—
LiveBench—22.4%
PIQA80.1%—

Math Too close to call

Llama 13b: 26.7 (#256), Phi 3 Mini 4k Instruct: 26.6 (#257)

Math benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
LMArena Math8381111
LiveBench Math—15.7%
GSM8K20.6%—

Knowledge Not comparable

Llama 13b: —, Phi 3 Mini 4k Instruct: 28.5 (#246)

Knowledge benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
ARC (AI2) Challenge52.7%84.9%
MMLU47.7%68.8%
OpenBookQA56.4%88%
TriviaQA77.9%64%
LMArena Expert—1045
BoolQ78.7%—

Multimodal Not comparable

Llama 13b: —, Phi 3 Mini 4k Instruct: —

Multimodal benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
ScienceQA43.3%—

Multilingual Phi 3 Mini 4k Instruct leads

Llama 13b: 16.6 (#297), Phi 3 Mini 4k Instruct: 26.3 (#280)

Multilingual benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
LMArena Non-English8191021
LMArena Chinese—1021
LMArena French—1076
LMArena German—1044
LMArena Japanese—935
LMArena Korean—905
LMArena Russian—1022
LMArena Spanish—1085

Instruction Following Phi 3 Mini 4k Instruct leads

Llama 13b: 36.7 (#305), Phi 3 Mini 4k Instruct: 47.7 (#303)

Instruction Following benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
LMArena Instruction Following7811053
LiveBench Instruction Following—39.1%

Long Context Not comparable

Llama 13b: —, Phi 3 Mini 4k Instruct: 31.7 (#276)

Long Context benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
LMArena Longer Query—1044

Writing & Preference Phi 3 Mini 4k Instruct leads

Llama 13b: 13.8 (#312), Phi 3 Mini 4k Instruct: 27.6 (#300)

Writing & Preference benchmarks
BenchmarkLlama 13bPhi 3 Mini 4k Instruct
LMArena Text8341073
LMArena Creative Writing7941037
LMArena Multi-Turn7531018
LiveBench Language—9.2%

Frequently asked questions

Is Llama 13b better than Phi 3 Mini 4k Instruct?

Phi 3 Mini 4k Instruct is the stronger model overall, scoring 27.9 to 24.4 on the Noometry Index.

Is Llama 13b or Phi 3 Mini 4k Instruct better for coding?

Phi 3 Mini 4k Instruct scores higher on coding benchmarks: 26.6 versus 21.4 in the Noometry coding category.

How many benchmarks do Llama 13b and Phi 3 Mini 4k Instruct share?

15 benchmarks have published results for both models. Llama 13b has 21 scored results on Noometry and Phi 3 Mini 4k Instruct has 35.

Related comparisons

Go deeper