Skip to main content

Phi-4

MicrosoftPhiOpen WeightMIT · Commercial OK

Description

phi-4 is a state-of-the-art open model built to excel at advanced reasoning, coding, and knowledge tasks. It leverages a blend of synthetic data, filtered web data, academic texts, and supervised fine-tuning for precision, alignment, and safety.

Release Date
2024-12-12
Parameters
14.7B
Context Length
16K
Modalities
text

Capability Radar

25
general
24
coding
30
reasoning
36
scienceest.
28
agents
0
multimodal

Science uses a reasoning proxy when dedicated science benchmarks are unavailable.

Rankings

Domain#RankScoreSource
Code Ranking447
10.0
AA
General Ranking431
22.0
AA
Math Reasoning267
30.0
AA
Science320
35.0
AA

Benchmark Scores (LLM Stats)

Biology

GPQA56.1%SR

Code

HumanEval82.6%SR

Creativity

Arena Hard75.4%SR

Factuality

SimpleQA3.0%SR

Finance

MMLU84.8%SR
MMLU-Pro70.4%SR

General

IFEval63.0%SR
PhiBench56.2%SR
LiveBench47.6%SR

Math

MGSM80.6%SR
MATH80.4%SR
DROP75.5%SR

Reasoning

HumanEval+82.8%SR

AA Evaluation Indices

Math Index
18.0
Intelligence Index
4.9
Math 500
0.8
Mmlu Pro
0.7
Gpqa
0.6
Scicode
0.3
Ifbench
0.2
Livecodebench
0.2
Aime 25
0.2
Aime
0.1
Hle
0.0
Terminalbench Hard
0.0
Lcr
0.0
Tau2
0.0

LLM Stats Category Scores

Language
80
Legal
80
Finance
80
Healthcare
80
Code
80
Creativity
80
Writing
80
Math
70
Reasoning
70
Instruction Following
60
Physics
60
Structured Output
60
General
60
Biology
60
Chemistry
60
Factuality
0

Pricing

Input Price$0.125 / 1M tokens
Output Price$0.5 / 1M tokens
Blended Price (3:1)$0.219 / 1M tokens

Speed

Tokens/sec40.8
Time to First Token0.47s
Time to Answer0.47s

Provider Price Ranking

Provider Price Ranking

3 providers

Cheapest: MicrosoftMost Expensive: Azure
ProviderInputOutput
1MicrosoftPRIMARY
$0.125
$0.5
2Azure Cognitive Services
$0.17
$0.68
3Azure
$0.17
$0.68

Compare pricing across different API providers for this model.

External Sources