Model comparison

Codellama 34b Instruct vs Phi-4 Mini

Codellama 34b Instruct and Phi-4 Mini score almost the same on the Noometry Index (30.8 vs 30.9), so choose on price, context window or the category you care about most.

Last verified . 0 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Side by side

Codellama 34b Instruct and Phi-4 Mini specifications
Codellama 34b InstructPhi-4 Mini
ProviderMetaMicrosoft
Noometry Index30.830.9
Released—2024-12-11
WeightsOpenOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.075
Output $ / M tokens—$0.30
Results tracked143

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

Category by category

Coding Too close to call

Codellama 34b Instruct: 28.5 (#314), Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
SciCode—10.8%
BigCodeBench Instruct29%—
LMArena Coding1046—
BigCodeBench Complete37.1%—
HumanEval+43.9%—
MBPP+56.3%—

Reasoning Phi-4 Mini leads

Codellama 34b Instruct: 19.6 (#255), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
CritPt—0%
LMArena Hard Prompts1032—

Math Not comparable

Codellama 34b Instruct: 31.0 (#230), Phi-4 Mini: —

Math benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
LMArena Math1056—

Knowledge Not comparable

Codellama 34b Instruct: —, Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
Vectara Hallucination Rate—23.5%

Multilingual Not comparable

Codellama 34b Instruct: 25.8 (#284), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
LMArena Non-English1011—
LMArena Chinese976—

Instruction Following Not comparable

Codellama 34b Instruct: 52.2 (#291), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
LMArena Instruction Following1028—

Long Context Not comparable

Codellama 34b Instruct: 30.9 (#284), Phi-4 Mini: —

Long Context benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
LMArena Longer Query1013—

Writing & Preference Not comparable

Codellama 34b Instruct: 28.2 (#297), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructPhi-4 Mini
LMArena Text1066—
LMArena Creative Writing1032—
LMArena Multi-Turn1015—

Frequently asked questions

Is Codellama 34b Instruct better than Phi-4 Mini?

Codellama 34b Instruct and Phi-4 Mini score almost the same on the Noometry Index (30.8 vs 30.9), so choose on price, context window or the category you care about most.

Is Codellama 34b Instruct or Phi-4 Mini better for coding?

They score almost the same on coding (28.5 vs 28.1); test both on your own repository before choosing.

How many benchmarks do Codellama 34b Instruct and Phi-4 Mini share?

0 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Phi-4 Mini has 3.

Related comparisons

Go deeper