Phi-3-mini-4k-instruct
by Microsoft · Apr 22, 2024
Phi-3-mini-4k-instruct is an open-weight chat llm from Microsoft, released Apr 22, 2024. It has 3.8B parameters.
- Provider
- Microsoft
- Released
- Apr 22, 2024
- Type
- Chat LLM
- Parameters
- 3.8B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- mit
- Knowledge cutoff
- —
- Status
- Open weights
- HF downloads (30d)
- 312.9K
Phi-3-mini-4k-instruct benchmarks
All benchmarks →Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
How to run Phi-3-mini-4k-instruct
Phi-3-mini-4k-instruct is an open-weight model published on Hugging Face as microsoft/Phi-3-mini-4k-instruct. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 3.8B parameters it needs roughly 2 GB of memory at 4-bit quantization.
Phi-3-mini-4k-instruct vs alternatives
- Phi-3-mini-4k-instruct vs Qwen2.5-Coder-3B
- Phi-3-mini-4k-instruct vs Mistral Large (latest)
- Phi-3-mini-4k-instruct vs MobileLLM-125M
- Phi-3-mini-4k-instruct vs Qwen1.5-4B-Chat
- Phi-3-mini-4k-instruct vs Llama 3.2 3B Instruct
- Phi-3-mini-4k-instruct vs Pixtral Large (latest)
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Qwen2.5-Coder-3Bopen | Alibaba (Qwen) | Nov 2024 | 3.1B | — | — | — | 96.8 |
| Mistral Large (latest)open | Mistral AI | Nov 2024 | — | 125K | $0.5 | $1.50 | — |
| MobileLLM-125Mopen | Meta | Oct 2024 | — | — | — | — | — |
| Qwen1.5-4B-Chatopen | Alibaba (Qwen) | Jan 2024 | 4B | — | — | — | — |
| Llama 3.2 3B Instructopen | Meta | Sep 2024 | 3.2B | 128K | $0.05 | $0.33 | — |
| Pixtral Large (latest)open | Mistral AI | Nov 2024 | — | 125K | $2 | $6 | — |
| Gemma 2Bopen | Google DeepMind | Feb 2024 | 2.5B | — | — | — | 75.7 |
| Command Ropen | Cohere | Aug 2024 | — | 125K | $0.15 | $0.6 | — |
More models from Microsoft
All Microsoft models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Phi 4open | Dec 2024 | 15B | 16K | $0.07 | $0.14 |
| Phi-2open | Dec 2023 | 2.8B | — | — | — |
| Phi-1.5open | Sep 2023 | 1.4B | — | — | — |
| Phi 4 Miniopen | Feb 2025 | 3.8B | 8K | $0.17 | $0.68 |
| Florence-2-baseopen | Jun 2024 | 232M | — | — | — |
| harrier-oss-v1-0.6bopen | Mar 2026 | 596M | — | — | — |
| harrier-oss-v1-270mopen | Mar 2026 | 268M | — | — | — |
| Phi-4-reasoning-vision-15Bopen | Jan 2026 | 15B | — | — | — |
Frequently asked questions
Who made Phi-3-mini-4k-instruct?
Phi-3-mini-4k-instruct was developed by Microsoft (United States). It was released on Apr 22, 2024.
Is Phi-3-mini-4k-instruct open source?
Yes. Phi-3-mini-4k-instruct's weights are publicly available under the mit license on Hugging Face (microsoft/Phi-3-mini-4k-instruct), so you can download and run it yourself.
How many parameters does Phi-3-mini-4k-instruct have?
Phi-3-mini-4k-instruct has 3.8B parameters.
How does Phi-3-mini-4k-instruct perform on benchmarks?
Phi-3-mini-4k-instruct scores 22.4% on LiveBench, 68.8% on MMLU and 76.7% on HellaSwag.
Sources: huggingface · huggingface. Last updated 2026-11-22.