Phi-4 Intelligence, Performance & Price Analysis
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 (somewhat expensive, median: $0.12) and $0.50 per 1M output tokens (somewhat expensive, median: $0.28).
| Reasoning | No This page shows the non-reasoning version of this model. A reasoning variant may also exist. |
|---|---|
| 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
Evaluations
Agentic knowledge work, Elo
Knowledge
1 - hallucination rate
Agentic SaaS workflows
Agentic scientific research workflows in a terminal
Agentic software engineering in open-source repositories
Reasoning & knowledge
Professional document reasoning, All-pass
Agentic coding & terminal use
Physics reasoning
Quantitative analysis on spreadsheets & documents
Legal agentic work, Hallucination-Gated All-Pass Rate
Agentic business operations
Agentic real-world work tasks, Elo
Agentic interactive 3D experiences, Elo
Product and brand videos designed in code, Elo
Kubernetes incident root-cause analysis
Medical long context reasoning
Visual reasoning
Rich, varied, well-crafted language
Well-structured, scannable, answer-first
Truthful, acknowledges uncertainty, non-sycophantic
Use of filler and generic language
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
Context Window
Context Window
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
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.
Phi-4 has a time to first answer token of 2.22s (based on Microsoft's API), which is better than average compared to other open weight non-reasoning models of similar size (median: 2.24s).
Phi-4 costs $0.13 per 1M input tokens (better than average, median: $0.12) and $0.50 per 1M output tokens (somewhat higher than average, median: $0.28), 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 14 billion 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