Phi-4: Intelligence, Performance & Price Analysis
Available providers
Model summary
Verbosity
Phi-4 supports text input, outputs text, and has a 16k tokens context window with knowledge up to June 2024.
Pricing for Phi-4 is $0.13 per 1M input tokens (moderately priced, median: $0.13) and $0.50 per 1M output tokens (somewhat expensive, median: $0.25).
| Reasoning | No |
|---|---|
| Input modality | Supports: text |
| Output modality | Supports: text |
| Knowledge cutoff | Jun 1, 2024 |
| Context window | 16k ~24 A4 pages of size 12 Arial font |
| Total parameters | 14B |
| License | MIT |
| Model weights | Hugging Face |
Metrics are compared against models of the same class:
- Non-reasoning models → compared only with other non-reasoning models
- Reasoning models → compared across both reasoning and non-reasoning
- Open weights models → compared only with other open weights models of the same size class:
- Tiny: ≤4B parameters
- Small: 4B–40B parameters
- Medium: 40B–150B parameters
- Large: >150B parameters
- Proprietary models → compared across proprietary and open weights models of the same price range, using a blended 3:1 input/output price ratio:
- <$0.15 per 1M tokens
- $0.15–$1 per 1M tokens
- >$1 per 1M tokens
Intelligence
Artificial Analysis Intelligence Index
Artificial Analysis Intelligence Index by Open Weights / Proprietary
Intelligence Index vs. Cost per Task
Openness Index
Artificial Analysis Openness Index: Score
Cost
Cost per Intelligence Index Task
Cost to Run Artificial Analysis Intelligence Index
Pricing: Cache Hit, Input, and Output
Performance
Measured by time per task (minutes), output speed (tokens per second), time to first answer token and time to first token (seconds)
Time per Intelligence Index Task
Output Speed
Time to First Answer Token
Context Window
Context Window
Model Size (Open Weights Models Only)
Model Size: Total and Active Parameters
Further details
Weights | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Phi-4 | - | 14B | 16k | $0.16 | - | 35 |
More from Microsoft
Frequently Asked Questions
Common questions about Phi-4
Phi-4 was released on December 12, 2024.
Phi-4 was created by Microsoft.
Phi-4 has a time to first answer token of 2.59s (based on Microsoft's API), which is somewhat higher than average compared to other open weight non-reasoning models of similar size (median: 1.83s).
Phi-4 costs $0.13 per 1M input tokens (better than average, median: $0.13) and $0.50 per 1M output tokens (somewhat higher than average, median: $0.25), 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. Compare provider pricing
No, Phi-4 is not a reasoning model. It provides direct responses without extended chain-of-thought reasoning.
Phi-4 supports text input.
Phi-4 supports text output.
No, Phi-4 does not support image input. It can only process text.
No, Phi-4 is not multimodal. It only supports text 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 14B parameters.
Phi-4 is released under the MIT license. This license allows commercial use. View license
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. Compare API providers
Phi-4 is available through 2 API providers. Compare providers