Coding · Microsoft

Phi-4 Base on LiveCodeBench: score, rank and what it means

Phi-4 Base scores 63.7 on LiveCodeBench, placing it #329 of 600 models in the index. The benchmark average is 61.0 and the leader is Claude Sonnet 4.5 Reasoning at 85.1.

Score
63.7
0–100 scale
Rank
#329
of 600
Percentile
45th
within the index
Benchmark avg
61.0
all models
Leader
85.1
Claude Sonnet 4.5 Reasoning
Gap to leader
21.4
points

Score distribution

The chart shows the top 10 models on LiveCodeBench, with Phi-4 Base highlighted. Longer bars mean higher scores.

Claude Sonnet 4.5 Reasoning 85.1
Grok 4 Reasoning 85.1
Claude Opus 4.5 85.0
GPT-5.2 Max 84.8
Grok 4 Turbo 84.7
GPT-5.1 Turbo 84.6
GPT-5.2 Pro 84.6
GPT-5.2 Reasoning 84.6
Claude Opus 4.5 Pro 84.1
Gemini 3 Pro Max 83.6

Top 10 leaderboard

#ModelProviderContextInput / 1MAvg score
1 Claude Sonnet 4.5 Reasoning Anthropic 400000 $19.48 87.7
2 Grok 4 Reasoning xAI 2000000 $19.67 87.8
3 Claude Opus 4.5 Anthropic 400000 $19.42 87.7
4 GPT-5.2 Max OpenAI 1000000 $21.39 89.2
5 Grok 4 Turbo xAI 1000000 $19.21 86.7
6 GPT-5.1 Turbo OpenAI 2000000 $19.19 86.1
7 GPT-5.2 Pro OpenAI 2000000 $21.32 89.6
8 GPT-5.2 Reasoning OpenAI 1000000 $20.98 87.5
9 Claude Opus 4.5 Pro Anthropic 200000 $20.98 89.1
10 Gemini 3 Pro Max Google DeepMind 2000000 $20.57 87.9

What this score means

On LiveCodeBench, Phi-4 Base sits at #329 of 600. The leader, Claude Sonnet 4.5 Reasoning, scores 85.1, so the gap to the top is 21.4 points. The median model in this index scores 64.7, which puts Phi-4 Base below the midpoint.

Microsoft models average 52.1 on this benchmark. Phi-4 Base is 11.6 points above that provider line, so it is a stronger result than the average Microsoft model.

Among open-weight models, the average is 59.1. Phi-4 Base is 4.6 points above that group. This is the more useful comparison if you are shortlisting within the same tier rather than across the whole index.

Read a 63.7 as a relative signal, not an absolute guarantee. Benchmark scores depend on prompt format, evaluation harness and contamination controls. Use this page to narrow the shortlist, then test the model on your own data.

Price context

At $3.15 per million input tokens, Phi-4 Base is below the median input price of $4.00 across the 600 models scored on LiveCodeBench. The models immediately around it in the ranking are shown below so you can compare score and price together.

ModelProviderContextInput / 1MAvg score
Seed-OSS Chat ByteDance 65536 $3.49 74.4
Firefunction Reasoning Fireworks AI 8192 $9.08 72.5
Firesearch Max Fireworks AI 8192 $7.80 69.9
Mistral Small 3 Base Mistral AI 16384 $3.19 72.7
Phi-4 Base Microsoft 32768 $3.15 71.2
Mixtral Turbo Together AI 65536 $3.20 72.4
Llama 3 Anyscale Base Anyscale 65536 $3.23 72.9

Other benchmarks for Phi-4 Base

BenchmarkScoreRankPercentileRelative
MMLU-Pro 74.0 354 41th
GPQA Diamond 64.9 363 40th
SWE-bench Verified 62.7 262 56th
HumanEval 73.9 359 40th
MATH-500 71.9 368 39th
AIME 2025 64.6 347 42th
IFEval 81.2 302 50th
TruthfulQA 74.4 346 42th
HellaSwag 84.8 258 57th
MMMU 67.0 359 40th
Arena Elo 1373.8 299 50th

FAQ

What score does Phi-4 Base get on LiveCodeBench?

Phi-4 Base scores 63.7 on LiveCodeBench in this index. The benchmark average is 61.0 and the top score is 85.1.

How does Phi-4 Base rank on LiveCodeBench?

It ranks #329 of 600 models, in the 45th percentile. The leader is Claude Sonnet 4.5 Reasoning at 85.1.

Is Phi-4 Base good at LiveCodeBench?

It is below the median for this benchmark, so test it carefully before relying on it for this capability. The result should be read alongside its price and context window.

How is the LiveCodeBench score calculated?

LiveCodeBench is a coding benchmark. Scores in this index are modelled estimates on a 0–100 scale (or Elo for Arena), derived from capability tier and benchmark difficulty. They are not official leaderboard results.

What does Phi-4 Base cost?

Phi-4 Base costs $3.15 per million input tokens and $11.39 per million output tokens.

Related