Model comparison

Llama 13b vs Phi 3 Medium 4k Instruct

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

Last verified . 8 shared benchmarks.

Llama 13b Meta

24.4

Rank #348 Confirmed

Phi 3 Medium 4k Instruct Microsoft

33.0

Rank #250 Confirmed

Summary

  • They share 8 benchmarks with published results for both. Llama 13b scores higher in 0 categories and Phi 3 Medium 4k Instruct in 6 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in instruction following, where Phi 3 Medium 4k Instruct leads 57.6 to 36.7.

Side by side

Llama 13b and Phi 3 Medium 4k Instruct specifications
Llama 13bPhi 3 Medium 4k Instruct
ProviderMetaMicrosoft
Noometry Index24.433.0
Released2023-02-24—
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2117

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

Category by category

Coding Phi 3 Medium 4k Instruct leads

Llama 13b: 21.4 (#337), Phi 3 Medium 4k Instruct: 32.9 (#268)

Coding benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Coding6831130

Reasoning Phi 3 Medium 4k Instruct leads

Llama 13b: 14.0 (#329), Phi 3 Medium 4k Instruct: 21.7 (#214)

Reasoning benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Hard Prompts7281127
BIG-Bench Hard37.9%—
Epoch Capabilities Index100.58—
HellaSwag79.2%—
LAMBADA75.2%—
PIQA80.1%—
WinoGrande73%—

Math Phi 3 Medium 4k Instruct leads

Llama 13b: 26.7 (#256), Phi 3 Medium 4k Instruct: 33.4 (#202)

Math benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Math8381173
GSM8K20.6%—

Knowledge Not comparable

Llama 13b: —, Phi 3 Medium 4k Instruct: 30.2 (#229)

Knowledge benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Expert—1108
ARC (AI2) Challenge52.7%—
BoolQ78.7%—
MMLU47.7%—
OpenBookQA56.4%—
TriviaQA77.9%—

Multimodal Not comparable

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

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

Multilingual Phi 3 Medium 4k Instruct leads

Llama 13b: 16.6 (#297), Phi 3 Medium 4k Instruct: 30.6 (#263)

Multilingual benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Non-English8191094
LMArena Chinese—1108
LMArena French—1110
LMArena German—1101
LMArena Japanese—1042
LMArena Korean—954
LMArena Russian—1145
LMArena Spanish—1095

Instruction Following Phi 3 Medium 4k Instruct leads

Llama 13b: 36.7 (#305), Phi 3 Medium 4k Instruct: 57.6 (#268)

Instruction Following benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Instruction Following7811113

Long Context Not comparable

Llama 13b: —, Phi 3 Medium 4k Instruct: 34.0 (#255)

Long Context benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Longer Query—1120

Writing & Preference Phi 3 Medium 4k Instruct leads

Llama 13b: 13.8 (#312), Phi 3 Medium 4k Instruct: 34.1 (#272)

Writing & Preference benchmarks
BenchmarkLlama 13bPhi 3 Medium 4k Instruct
LMArena Text8341138
LMArena Creative Writing7941107
LMArena Multi-Turn7531088

Frequently asked questions

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

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

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

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

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

8 benchmarks have published results for both models. Llama 13b has 21 scored results on Noometry and Phi 3 Medium 4k Instruct has 17.

Related comparisons

Go deeper