Author's Description
[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...
Key Specifications
Supported Parameters
This model supports the following parameters:
Features
This model supports the following features:
Performance Summary
Microsoft Phi-4, a 14-billion parameter model created on January 9, 2025, demonstrates a strong overall performance profile, particularly excelling in efficiency and reliability. It performs among the fastest models, ranking in the 63rd percentile for speed, and consistently offers highly competitive pricing, placing in the 85th percentile. Notably, Phi-4 exhibits exceptional reliability with a 100% success rate across all benchmarks, indicating minimal technical failures and consistent provision of usable responses. In terms of specific benchmark performance, Phi-4 achieved perfect accuracy in the Ethics (Baseline) test, making it the most accurate model at its price point and among models of comparable speed. It also showed strong performance in Hallucinations (Baseline) with 96.0% accuracy, effectively acknowledging uncertainty. While its General Knowledge (Baseline) accuracy was respectable at 96.8%, its performance in Email Classification (94.0% accuracy) and especially Reasoning (50.0% accuracy) suggests areas for improvement. Its strength lies in ethical reasoning and avoiding factual errors, while complex reasoning tasks present a notable weakness. Designed for complex reasoning and efficient operation in limited memory scenarios, Phi-4 is best suited for English language inputs.
Model Pricing
Current Pricing
| Feature | Price (per 1M tokens) |
|---|---|
| Prompt | $0.07 |
| Completion | $0.14 |
Price History
Available Endpoints
| Provider | Endpoint Name | Context Length | Pricing (Input) | Pricing (Output) |
|---|---|---|---|---|
|
DeepInfra
|
DeepInfra | microsoft/phi-4 | 16K | $0.07 / 1M tokens | $0.14 / 1M tokens |
|
Nebius
|
Nebius | microsoft/phi-4 | 16K | $0.065 / 1M tokens | $0.14 / 1M tokens |
|
NextBit
|
NextBit | microsoft/phi-4 | 16K | $0.065 / 1M tokens | $0.14 / 1M tokens |
Benchmark Results
| Benchmark | Category | Reasoning | Strategy | Free | Executions | Accuracy | Cost | Duration |
|---|
Other Models by microsoft
|
|
Released | Params | Context |
|
Speed | Ability | Cost |
|---|---|---|---|---|---|---|---|
| Microsoft: Phi 4 Reasoning Plus Unavailable | May 01, 2025 | ~14B | 32K |
Text input
Text output
|
★ | ★★ | $$$$ |
| Microsoft: MAI DS R1 Unavailable | Apr 20, 2025 | — | 163K |
Text input
Text output
|
★★★★ | ★★★★★ | $$ |
| Microsoft: Phi 4 Multimodal Instruct Unavailable | Mar 07, 2025 | ~5.6B | 131K |
Text input
Image input
Text output
|
★★ | ★★ | $$ |
| Microsoft: Phi-3.5 Mini 128K Instruct Unavailable | Aug 20, 2024 | ~3.8B | 128K |
Text input
Text output
|
★ | ★ | $$ |
| Microsoft: Phi-3 Mini 128K Instruct Unavailable | May 25, 2024 | ~3.8B | 128K |
Text input
Text output
|
★★★ | ★★ | $$ |
| Microsoft: Phi-3 Medium 128K Instruct Unavailable | May 23, 2024 | ~14B | 128K |
Text input
Text output
|
★★★ | ★ | $$$$ |
| WizardLM-2 8x22B | Apr 15, 2024 | 22B | 65K |
Text input
Text output
|
★★★ | ★★ | $$$ |