Ollama · phi4-mini
> Note: this model requires [Ollama 0.5.13](https://github.com/ollama/ollama/releases/tag/v0.5.13) or later. <img src="https://ollama.com/assets/library/phi3.5/dbf19a17-e3fd-46b6-a059-e6b4f1fae59f" w…
ollama/phi4-mini
> Note: this model requires [Ollama 0.5.13](https://github.com/ollama/ollama/releases/tag/v0.5.13) or later.
<img src="https://ollama.com/assets/library/phi3.5/dbf19a17-e3fd-46b6-a059-e6b4f1fae59f" width="320" />
Phi-4-mini-instruct is a lightweight open model built upon synthetic data and filtered publicly available websites - with a focus on high-quality, reasoning dense data. The model belongs to the Phi-4 model family and supports 128K token context length. The model underwent an enhancement process, incorporating both supervised fine-tuning and direct preference optimization to support precise instruction adherence and robust safety measures.
## Primary use cases
The model is intended for broad multilingual commercial and research use. The model provides uses for general purpose AI systems and applications which require:
- Memory/compute constrained environments
- Latency bound scenarios
- Strong reasoning (especially math and logic).
- The model is designed to accelerate research on language and multimodal models, for use as a building block for generative AI powered features.
## References
[Hugging Face](https://huggingface.co/microsoft/Phi-4-mini-instruct)
[Blog post](https://techcommunity.microsoft.com/blog/educatordeveloperblog/welcome-to-the-new-phi-4-models---microsoft-phi-4-mini--phi-4-multimodal/4386037)
Specifications & capabilities
- Published model ID
- phi4-mini
Deployments & artifacts
1–5 / 5
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 3.8B
- parameter count
- 3800000000
- parameter count is approximate
- true
- quantization level
- Q4_K_M
- context window
- 128000
- context window is approximate
- true
- artifact size bytes
- 2491876363
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 3.8B
- parameter count
- 3800000000
- parameter count is approximate
- true
- quantization level
- F16
- context window
- 4000
- context window is approximate
- true
- artifact size bytes
- 7680696331
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 3.8B
- parameter count
- 3800000000
- parameter count is approximate
- true
- quantization level
- Q4_K_M
- context window
- 128000
- context window is approximate
- true
- artifact size bytes
- 2491876363
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 3.8B
- parameter count
- 3800000000
- parameter count is approximate
- true
- quantization level
- Q8_0
- context window
- 4000
- context window is approximate
- true
- artifact size bytes
- 4084613131
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 3.8B
- parameter count
- 3800000000
- parameter count is approximate
- true
- quantization level
- Q4_K_M
- context window
- 128000
- context window is approximate
- true
- artifact size bytes
- 2491876363
- updated at
- 2026-11-16T08:10:06.079865+00:00
Explore more models