Phi-4 Intelligence, Performance & Price Analysis
Model summary
Intelligence
Artificial Analysis Intelligence Index
Speed
Output tokens per second
Input Price
USD per 1M tokens
Output Price
USD per 1M tokens
Verbosity
Output tokens from Intelligence Index
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
| Reasoning | No This page shows the non-reasoning version of this model. A reasoning variant may also exist. |
|---|---|
| Input modality | Supports: This information is still being updated |
| Output modality | Supports: This information is still being updated |
| 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 |
Phi-4 is below average in intelligence and somewhat expensive when comparing to other open weight non-reasoning models of similar size. It's also notably slow, however fairly concise. The model has a 16k tokens context window with knowledge up to June 2024.
Phi-4 scores 10 on the Artificial Analysis Intelligence Index, placing it below average among comparable models (averaging 12). When evaluating the Intelligence Index, it generated 4.2M tokens, which is fairly concise in comparison to the average of 5.6M.
Pricing for Phi-4 is $0.13 per 1M input tokens (somewhat expensive, average: $0.09) and $0.50 per 1M output tokens (somewhat expensive, average: $0.20). In total, it cost $4.27 to evaluate Phi-4 on the Intelligence Index.
At 31 tokens per second, Phi-4 is notably slow (97).
Intelligence
Artificial Analysis Intelligence Index
Artificial Analysis Intelligence Index by Open Weights / Proprietary
Intelligence Evaluations
Openness
Artificial Analysis Openness Index: Results
Intelligence Index Comparisons
Intelligence vs. Price
Intelligence Index Token Use & Cost
Output Tokens Used to Run Artificial Analysis Intelligence Index
Cost to Run Artificial Analysis Intelligence Index
Context Window
Context Window
Pricing
Pricing: Input and Output Prices
Intelligence vs. Price (Log Scale)
Pricing Comparison of Phi-4 API Providers
Speed
Measured by Output Speed (tokens per second)
Output Speed
Output Speed vs. Price
Latency
Measured by Time (seconds) to First Token
Latency: Time To First Answer Token
End-to-End Response Time
Seconds to output 500 Tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed
End-to-End Response Time
Model Size (Open Weights Models Only)
Model Size: Total and Active Parameters
Frequently Asked Questions
Common questions about Phi-4
Phi-4 was released on December 12, 2024.
Phi-4 was created by Microsoft Azure.
Phi-4 scores 10 on the Artificial Analysis Intelligence Index, placing it below average among other open weight non-reasoning models of similar size (median: 12).
Phi-4 generates output at 31.3 tokens per second (based on Microsoft Azure's API), which is at the lower end compared to other open weight non-reasoning models of similar size (median: 97.4 t/s).
Phi-4 has a time to first token (TTFT) of 2.17s (based on Microsoft Azure's API), which is somewhat higher than average compared to other open weight non-reasoning models of similar size (median: 1.29s).
Phi-4 costs $0.13 per 1M input tokens (better than average, median: $0.17) and $0.50 per 1M output tokens (better than average, median: $0.45), based on Microsoft Azure's API.
Phi-4 costs $0.13 per 1M input tokens and $0.50 per 1M output tokens (based on Microsoft Azure's API). For a blended rate (3:1 input to output ratio), this is $0.22 per 1M tokens. Pricing may vary by provider. Compare provider pricing
When evaluated on the Intelligence Index, Phi-4 generated 4.2M output tokens, which is better than average compared to other open weight non-reasoning models of similar size (median: 5.6M).
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. View license
Phi-4 achieves a score of 10 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. Compare API providers
Phi-4 is available through 2 API providers. Compare providers