Model Library
MicrosoftReleased December 12, 2024Phi-4
Microsoft · Released December 12, 2024
Intelligence score
5
At a glance
- Intelligence
- 5
- Speed
- 33.6tokens/sec
- Latency
- 2.11stime to first token
- Input price
- $0.13per 1M tokens
- Output price
- $0.50per 1M tokens
- Context window
- 16Ktokens
- Parameters
- 14billions
Summary
Comparison summary
Phi-4 scores 5 (estimated) on the Artificial Analysis Intelligence Index, placing it below average among other open weight non-reasoning models of similar size (median: 6). Phi-4 generates output at 33.6 tokens per second (based on Microsoft's API), which is at the lower end compared to other open weight non-reasoning models of similar size (median: 101.8 t/s). Phi-4 costs $0.13 per 1M input tokens (better than average, median: $0.15) and $0.50 per 1M output tokens (somewhat higher than average, median: $0.32), based on Microsoft's API.
Specifications
Technical specifications
| Model name | Phi-4 |
|---|---|
| Provider | Microsoft |
| Release date | December 12, 2024 |
| Intelligence score | 5 |
| Speed | 33.6 tokens/sec |
| Latency (TTFT) | 2.11s |
| Input price | $0.13 / 1M tokens |
| Output price | $0.50 / 1M tokens |
| Context window | 16,000 tokens |
| Parameters | 14B |
| Reasoning | No |
| Input modalities | text |
| Output modalities | — |
| Open weights | Yes |
| License | MIT |
| API availability | — |
| Source | Model Intelligence legacy profile: phi-4 |
Pricing
Token prices
Price per 1M tokens
Phi-4, as listed in the catalog record
- Input$0.13
- Output$0.50
| Token type | Price per 1M |
|---|---|
| Input | $0.13 |
| Output | $0.50 |
Model Intelligence legacy profile: phi-4
FAQ · 20
Frequently asked questions
Phi-4 was released on December 12, 2024.
Phi-4 was created by Microsoft.
Phi-4 scores 5 (estimated) on the Artificial Analysis Intelligence Index, placing it below average among other open weight non-reasoning models of similar size (median: 6).
Phi-4 generates output at 33.6 tokens per second (based on Microsoft's API), which is at the lower end compared to other open weight non-reasoning models of similar size (median: 101.8 t/s).
Phi-4 has a time to first token (TTFT) of 2.11s (based on Microsoft's API), which is somewhat higher than average compared to other open weight non-reasoning models of similar size (median: 1.54s).
Phi-4 costs $0.13 per 1M input tokens (better than average, median: $0.15) and $0.50 per 1M output tokens (somewhat higher than average, median: $0.32), based on Microsoft's API.
Phi-4 costs $0.13 per 1M input tokens and $0.50 per 1M output tokens (based on Microsoft's API). For a blended rate (7:2:1 cache hit/input/output ratio), this is $0.16 per 1M tokens. Pricing may vary by provider.
No, Phi-4 is not a reasoning model. It provides direct responses without extended chain-of-thought reasoning.
Phi-4 supports text only input.
Phi-4 supports text only output.
No, Phi-4 does not support image input. It can only process text.
No, Phi-4 is not multimodal. It only supports text only input.
Phi-4 has a context window of 16k tokens. This determines how much text and conversation history the model can process in a single request.
Yes, Phi-4 is open weights. The model weights are publicly available and can be downloaded for self-hosting.
Phi-4 has 14 billion parameters.
Phi-4 is released under the MIT license. This license allows commercial use.
Phi-4 achieves a score of 5 on the Artificial Analysis Intelligence Index. This composite benchmark evaluates models across reasoning, knowledge, mathematics, and coding.
Phi-4 has a knowledge cutoff of June 2024. The model's training data includes information up to this date.
Yes, Phi-4 is available via API through 2 providers.
Phi-4 is available through 2 API providers.