LLMcompare

Search

Search for a command to run...

A · open · Phi

Phi-3 Mini 3.8B

Microsoft

B · open · Phi

Phi-4 Reasoning

Microsoft

1:6

overall capability wins (0 ties across 7 scored). Phi-4 Reasoning leads overall.

  • Reasoning0:3
  • Coding0:1
  • Pricing0:3
  • Speed2:0
  • Specs1:2

Verdict

Phi-4 Reasoning leads coding (widest gap: +42.2 on LiveCode); Phi-3 Mini 3.8B offers ~3.9x larger context (128K vs 33K); Phi-4 Reasoning allows ~4.0x more max output (16K vs 4K).

  • Phi-4 Reasoning leads coding (widest gap: +42.2 on LiveCode)
  • Phi-3 Mini 3.8B offers ~3.9x larger context (128K vs 33K)
  • Phi-4 Reasoning allows ~4.0x more max output (16K vs 4K)
  • Phi-4 Reasoning is ~2.6x cheaper on a blended token basis than Phi-3 Mini 3.8B

Cost for 1M in + 250K out

Illustrative chat workload at primary-provider list prices.

Phi-3 Mini 3.8B
$0.26
Phi-4 Reasoning
$0.11

Phi-4 Reasoning is about 2.5x cheaper on this workload.

Price per 1M tokens

Full comparison

Organization

Microsoft

Microsoft

Family

Phi

Phi

License

MIT

MIT

Open weights

Yes

Yes

Release

Apr 23, 2024

Apr 30, 2025

Knowledge cutoff

-

-

API / provider

Azure AI Foundry

Azure / self-host

Modalities

text → text

text → text

Specs

Context window

128K

33K

A +95K

Max output

4K

16K

B +12K

Parameters

3.8B

14B

B +10

Pricing

Input $/1M

$0.13

$0.07

B +$0.06

Output $/1M

$0.52

$0.14

B +$0.38

Blended $/1M (3∶1)

$0.23

$0.09

B +$0.14

Speed

tok/s

140

80

A +60

TTFT (s)

0.18

0.5

A +0.32

Reasoning

MMLU-Pro

43.5

74.3

B +30.8 pts

GPQA Diamond

31.9

65.8

B +33.9 pts

Humanity's Last Exam

5.0

—

—

AIME 2025

0.3

62.9

B +62.6 pts

MATH-500

45.7

—

—

Humanity's Last Exam (with tools)

—

—

—

AA-Omniscience Accuracy

—

—

—

AA-LCR v1.1

—

—

—

CritPt

—

—

—

MMMU-Pro

—

—

—

IFBench

23.9

—

—

Chartography

—

—

—

Chartography (With Tools)

—

—

—

Coding

SWE-bench Verified

—

—

—

SWE-bench Pro

—

—

—

SWE-bench Multilingual

—

—

—

LiveCodeBench

11.6

53.8

B +42.2 pts

Terminal-Bench 2.1

—

—

—

Aider Polyglot

—

—

—

Terminal-Bench 3

—

—

—

BigCodeBench

29.6

—

—

SciCode

9.0

—

—

CursorBench

—

—

—

SWE-Rebench

—

—

—

NL2Repo-Bench

—

—

—

DeepSWE

—

—

—

WebDev Arena

—

—

—

Terminal-Bench 4.0

—

—

—

CursorBench 4.0

—

—

—

FrontierCode v1.1 (Main)

—

—

—

Arena

LMArena Elo

1,128

—

—

Phi-3 Mini 3.8B

Context
128K / 4K out
Parameters
3.8B
Price
$0.13 / $0.52
Speed
140 tok/s · 0.18s TTFT
Modalities
text → text
License
MIT

Original Phi-3 Mini instruct — compact Azure / edge SLM that popularized Microsoft's open Phi line.

Phi-4 Reasoning

Context
33K / 16K out
Parameters
14B
Price
$0.07 / $0.14
Speed
80 tok/s · 0.5s TTFT
Modalities
text → text
License
MIT

Reasoning-tuned Phi-4 variant for math and science on constrained hardware.

Benchmark charts

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

Reasoning & knowledge

MMLU-Pro: B +30.8GPQA: B +33.9AIME: B +62.6

Coding

LiveCode: B +42.2

Pick a different pair · Back to catalog