LLMcompare

Search

Search for a command to run...

A · open · Phi

Phi-3 Medium 14B

Microsoft

B · open · Phi

Phi-4

Microsoft

1:2

overall capability wins (2 ties across 5 scored). Phi-4 leads overall.

  • Coding0:1
  • Arena0:1
  • Pricing0:3
  • Speed0:2
  • Specs1:0

Verdict

Phi-4 leads coding (widest gap: +7.9 on BigCodeBench); Phi-4 ranks higher on LMArena (+59 Elo); Phi-3 Medium 14B offers ~7.8x larger context (128K vs 16K).

  • Phi-4 leads coding (widest gap: +7.9 on BigCodeBench)
  • Phi-4 ranks higher on LMArena (+59 Elo)
  • Phi-3 Medium 14B offers ~7.8x larger context (128K vs 16K)
  • Phi-4 is ~3.4x cheaper on a blended token basis than Phi-3 Medium 14B

Cost for 1M in + 250K out

Illustrative chat workload at primary-provider list prices.

Phi-3 Medium 14B
$0.34
Phi-4
$0.11

Phi-4 is about 3.2x cheaper on this workload.

Price per 1M tokens

Full comparison

Organization

Microsoft

Microsoft

Family

Phi

Phi

License

MIT

MIT

Open weights

Yes

Yes

Release

May 21, 2024

Dec 12, 2024

Knowledge cutoff

-

-

API / provider

Azure AI Foundry

Azure / self-host

Modalities

text → text

text → text

Specs

Context window

128K

16K

A +112K

Max output

4K

4K

tie

Parameters

14B

14B

tie

Pricing

Input $/1M

$0.17

$0.07

B +$0.10

Output $/1M

$0.68

$0.14

B +$0.54

Blended $/1M (3∶1)

$0.30

$0.09

B +$0.21

Speed

tok/s

90

150

B +60

TTFT (s)

0.28

0.15

B +0.13

Reasoning

MMLU-Pro

—

70.4

—

GPQA Diamond

—

57.5

—

Humanity's Last Exam

—

3.8

—

AIME 2025

—

18.0

—

MATH-500

—

81.0

—

Humanity's Last Exam (with tools)

—

—

—

AA-Omniscience Accuracy

—

14.1

—

AA-LCR v1.1

—

—

—

CritPt

—

—

—

MMMU-Pro

—

—

—

IFBench

—

23.5

—

Chartography

—

—

—

Chartography (With Tools)

—

—

—

Coding

SWE-bench Verified

—

—

—

SWE-bench Pro

—

—

—

SWE-bench Multilingual

—

—

—

LiveCodeBench

—

23.1

—

Terminal-Bench 2.1

—

—

—

Aider Polyglot

—

—

—

Terminal-Bench 3

—

—

—

BigCodeBench

37.6

45.5

B +7.9 pts

SciCode

—

26.0

—

CursorBench

—

—

—

SWE-Rebench

—

—

—

NL2Repo-Bench

—

—

—

DeepSWE

—

—

—

WebDev Arena

—

—

—

Terminal-Bench 4.0

—

—

—

CursorBench 4.0

—

—

—

FrontierCode v1.1 (Main)

—

—

—

Arena

LMArena Elo

1,198

1,256

B +59 Elo

Phi-3 Medium 14B

Context
128K / 4K out
Parameters
14B
Price
$0.17 / $0.68
Speed
90 tok/s · 0.28s TTFT
Modalities
text → text
License
MIT

Phi-3 Medium 14B instruct — Microsoft's mid-size SLM with long context before Phi-3.5 / Phi-4.

Phi-4

Context
16K / 4K out
Parameters
14B
Price
$0.07 / $0.14
Speed
150 tok/s · 0.15s TTFT
Modalities
text → text
License
MIT

Small high-quality dense model from Microsoft - punches above its size on STEM.

Benchmark charts

Winner bars are emphasized. Per-benchmark deltas sit above each chart.

Coding

BigCodeBench: B +7.9

Arena

Arena Elo: B +59

Pick a different pair · Back to catalog