Phi-2
Legacy
Original 2.7B Phi-2 from late 2023. Deprecated; Phi-3.5 mini is the modern equivalent.
Phi-2 is a efficient AI model from Microsoft. It costs $0.070 per million input tokens and $0.070 per million output tokens (blended $0.070/M), with a 2,000-token context window.
INPUT
$0.070/M
per million input tokens
OUTPUT
$0.070/M
per million output tokens
CONTEXT
2,000
tokens
What it is good at
- Historic small-model baseline
Typical use cases
- Legacy Phi-2 fine-tunes
Benchmarks
vs. best public score
Hand-curated from each provider's published reports and public leaderboards. Methodology varies across sources, treat as directional rather than authoritative.
More from Microsoft
See all 8 →Phi-4
Frontier SLM · 16,000 ctx
in $0.070/Mout $0.280/M
Phi-4 Mini
Tiny · 128,000 ctx
in $0.040/Mout $0.160/M
Phi-3.5 Mini
Compact · 128,000 ctx
in $0.130/Mout $0.520/M
Phi-3.5 MoE
MoE · 128,000 ctx
in $0.160/Mout $0.640/M
Phi-3 Medium
Balanced · 128,000 ctx
in $0.170/Mout $0.680/M
Phi-3 Mini
Tiny · 128,000 ctx
in $0.130/Mout $0.520/M
Frequently asked questions
How much does Phi-2 cost?
Phi-2 costs $0.070 per million input tokens and $0.070 per million output tokens, for a blended reference rate of $0.070 per million tokens.
What is Phi-2's context window?
Phi-2 supports up to 2,000 tokens of context in a single request.
What is Phi-2 best for?
Phi-2 is well suited to Historic small-model baseline and Legacy Phi-2 fine-tunes.
Who makes Phi-2?
Phi-2 is developed and served by Microsoft. It was released in Dec 2023.