Skip to main content
Ollama ExplorerBeta
localtools

phi4-mini

Phi-4-mini brings significant enhancements in multilingual support, reasoning, and mathematics, and now, the long-awaited function calling feature is finally supported.

1.5M pulls5 tagsSource updated Feb 28, 2025128K max context

Quick start

ollama run phi4-mini:latest

Runnable variants

Memory is a rough file-size estimate; context length, runtime and GPU offload change it.

5 of 5 matching variants shown.

3.8bTypelocalInputstextDigest78fad5d182a7Download2.5 GBParameters3.8bQuantizationUnknownContext128KEst. memory≈ 4 GB
ollama run phi4-mini:3.8b
3.8b-fp16TypelocalInputstextDigestbd71721a0e80Download7.7 GBParameters3.8bQuantizationFP16Context4KEst. memory≈ 10 GB
ollama run phi4-mini:3.8b-fp16
3.8b-q4_K_MTypelocalInputstextDigest78fad5d182a7Download2.5 GBParameters3.8bQuantizationQ4_K_MContext128KEst. memory≈ 4 GB
ollama run phi4-mini:3.8b-q4_K_M
3.8b-q8_0TypelocalInputstextDigest0be8e6979181Download4.1 GBParameters3.8bQuantizationQ8_0Context4KEst. memory≈ 6 GB
ollama run phi4-mini:3.8b-q8_0
latestdefaultTypelocalInputstextDigest78fad5d182a7Download2.5 GBParametersUnknownQuantizationUnknownContext128KEst. memory≈ 4 GB
ollama run phi4-mini:latest

Source-listed applications

Claude CodeHermes AgentOpenClawOpenCode

Related models