Phi-4 Mini Instruct: Intelligence, Performance & Price Analysis
Available providers
Model summary
Verbosity
Phi-4 Mini Instruct supports text input, outputs text, and has a 128k tokens context window.
Pricing for Phi-4 Mini Instruct is $0.075 per 1M input tokens (somewhat expensive, median: $0.00) and $0.30 per 1M output tokens (expensive, median: $0.00).
| Reasoning | No |
|---|---|
| Input modality | Supports: text |
| Output modality | Supports: text |
| Context window | 128k ~192 A4 pages of size 12 Arial font |
| Total parameters | 3.8B |
| 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 real-world work tasks, Elo
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 Mini Instruct | - | 3.8B | 128k | $0.0975 | - | 16 |
More from Microsoft
Frequently Asked Questions
Common questions about Phi-4 Mini Instruct
Phi-4 Mini Instruct was released on February 26, 2025.
Phi-4 Mini Instruct was created by Microsoft.
Phi-4 Mini Instruct has a time to first answer token of 4.55s (based on Microsoft's API), which is somewhat higher than average compared to other open weight non-reasoning models of similar size (median: 1.60s).
Phi-4 Mini Instruct costs $0.075 per 1M input tokens (somewhat higher than average, median: $0.00) and $0.30 per 1M output tokens (at the higher end, median: $0.00), based on Microsoft's API.
Phi-4 Mini Instruct costs $0.075 per 1M input tokens and $0.30 per 1M output tokens (based on Microsoft's API). For a blended rate (7:2:1 cache hit/input/output ratio), this is $0.0975 per 1M tokens. Pricing may vary by provider. Compare provider pricing
No, Phi-4 Mini Instruct is not a reasoning model. It provides direct responses without extended chain-of-thought reasoning.
Phi-4 Mini Instruct supports text input.
Phi-4 Mini Instruct supports text output.
No, Phi-4 Mini Instruct does not support image input. It can only process text.
No, Phi-4 Mini Instruct is not multimodal. It only supports text input.
Phi-4 Mini Instruct has a context window of 128k tokens. This determines how much text and conversation history the model can process in a single request.
Yes, Phi-4 Mini Instruct is open weights. The model weights are publicly available and can be downloaded for self-hosting.
Phi-4 Mini Instruct has 3.8B parameters.
Phi-4 Mini Instruct is released under the MIT license. This license allows commercial use. View license
Yes, Phi-4 Mini Instruct is available via API through 1 provider. Compare API providers
Phi-4 Mini Instruct is available through 1 API provider. Compare providers