Phi-4-mini is a small language model from Microsoft, introduced as one of the newest entries in the company's Phi family. In the launch announcement, Microsoft highlights gains in multilingual support, reasoning, and mathematics, together with newly added function calling, and describes the model as handling text-based tasks accurately in a compact form. It is built for text-focused work, with function calling aimed at applications that connect tools such as search engines.
How it compares
Additional source evidence
- Source model
- microsoft/phi-4-mini
- Source family
- phi-mini
- Last updated
- 2025-02-26
- Knowledge cutoff
- 2024-06
- Model context
- 128K
- Model output limit
- 4K
- Open weights
- Yes
- File attachments
- No
- Reasoning
- No
- Tool calling
- Yes
- Temperature control
- Yes
Downloadable weights
Published benchmarks
| Benchmark | Score | Evaluation details | Evidence |
|---|---|---|---|
| MMLU | 67.3 · accuracy | — | Source |
Complete source record (JSON)
{
"id": "microsoft/phi-4-mini",
"name": "Phi-4-mini",
"description": "Compact Microsoft instruction model tuned for efficient coding assistance, reasoning, and low-latency agent tasks",
"family": "phi-mini",
"last_updated": "2025-02-26",
"knowledge": "2024-06",
"attachment": false,
"reasoning": false,
"tool_call": true,
"temperature": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 128000,
"output": 4096
},
"benchmarks": [
{
"name": "MMLU",
"score": 67.3,
"source": "https://huggingface.co/microsoft/Phi-4-mini-instruct/resolve/main/README.md",
"metric": "accuracy"
}
],
"release_date": "2025-02-26",
"open_weights": true,
"links": [
{
"url": "https://huggingface.co/microsoft/Phi-4-mini-instruct",
"label": "Weights",
"type": "weights"
}
],
"weights": [
{
"label": "Hugging Face",
"url": "https://huggingface.co/microsoft/Phi-4-mini-instruct"
}
]
}Frequently asked questions
Privacy and data
Yes, Phi-4-mini has open weights, so it can be self-hosted for full control of your data.
Capabilities and specs
The context window of Phi-4-mini is 128K tokens (128,000), and its maximum output is 4K tokens (4,096).
No, Phi-4-mini only accepts text as input and cannot read images, audio, video or PDFs.
Yes, Phi-4-mini supports tool calling (function calling).
No, Phi-4-mini does not have a reasoning or thinking mode.
The knowledge cutoff of Phi-4-mini is 2024-06.
Quality and benchmarks
The closest alternatives, matched on model kind and release date with no comparable price, are Command R7B Arabic by Cohere, olmOCR by Ai2, and QwQ 32B by Alibaba.
Command R7B ArabicPhi-4-mini vs Command R7B ArabicolmOCRPhi-4-mini vs olmOCRQwQ 32BPhi-4-mini vs QwQ 32B
Versions and lineage
Phi-4-mini, released February 26, 2025, has a 128K token (128,000) context, while Phi 4, released December 12, 2024, has a 16K token (16,384) context. Phi 4 is priced at $0.07 input and $0.14 output per 1M tokens.
Licensing and access
Phi-4-mini is open weights.
Basics
Phi-4-mini was made by Microsoft AI and was released on February 26, 2025.
Phi-4-mini has open weights, but the facts do not state whether it is free to use.
Generated from Vertical Tabs data, updated November 17, 2026.


Discussion
No comments yet
Be the first to share your thoughts.