Model reference · open weights

Phi-4-mini

LLMs microsoft Text gen 2 builds Open weights 457k dl/mo

Phi-4-mini is an open-weight language model from microsoft. Phi-4-mini-instruct (BF16) weighs 7.7 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • Phi-4-mini-instruct is a 3.8B parameter text-generation model developed by Microsoft for multilingual commercial and research use.
  • It supports a 128K token context length and is designed for memory-constrained environments requiring strong reasoning in math and logic.
  • The model is released under the MIT license and supports languages including Arabic, Chinese, Czech, Danish, Dutch, English, and Finnish.

Summary of the microsoft/Phi-4-mini-instruct model card, 2026-10-01

What it is

Released bymicrosoft
Released2025-02-19
Parameters3.8B
VRAM7.7 GB for the weights

What it runs on

Memory and cards for Phi-4-mini-instruct (BF16)

7.7 GBweights, file size
131 MBcache per 1K tokens
752 MBruntime overhead, at least
131,072 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB2—23K11.6 GB
RTX 4060 Ti 16 GB6152K15.4 GB
RTX 3090 24 GB133111K23.4 GB
RTX 4090 24 GB133111K23.4 GB
RTX 5090 32 GB215all 128K31.0 GB
L40S 48 GB338all 128K44.0 GB
A100 80 GB6416all 128K78.2 GB
H100 80 GB6015all 128K78.1 GB
RTX PRO 6000 Blackwell 96 GB7518all 128K93.8 GB
DGX Spark (GB10) 128 GB unified8721all 128K107 GB
H200 141 GB11629all 128K138 GB
B200 180 GB15137all 128K176 GB
2× RTX 3060 12 GB
tensor parallel
133104K11.6 GB a card
2× RTX 4060 Ti 16 GB
tensor parallel
205all 128K15.4 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
19.5 GB12.7 GB
513.8 GB29.9 GB
817.0 GB42.8 GB
1625.6 GB77.1 GB
3242.8 GB146 GB
6477.1 GB283 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
Phi-4-mini-instruct (above) ↗ 3.8BBF16 7.7 GBRTX 3060 12 GB
Phi-4-mini-instruct-GGUF ↗
packaged by unsloth
8 builds: Q2_K 1.7 GB … BF16 7.7 GB
—GGUF 2.5 GBRTX 3060 12 GB

From the model card

What microsoft says about Phi-4-mini

Read the model card

🎉Phi-4: [mini-reasoning | reasoning] | [multimodal-instruct | onnx]; [mini-instruct | onnx]

Model Summary

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.

📰 Phi-4-mini Microsoft Blog 📖 Phi-4-mini Technical Report 👩‍🍳 Phi Cookbook 🏡 Phi Portal 🖥️ Try It Azure, Huggingface

🚀 Model paper

Intended Uses

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:

  1. Memory/compute constrained environments
  2. Latency bound scenarios
  3. 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.

Use Case Considerations

The model is not specifically designed or evaluated for all downstream purposes. Developers should consider common limitations of language models, as well as performance difference across languages, as they select use cases, and evaluate and mitigate for accuracy, safety, and fairness before using within a specific downstream use case, particularly for high-risk scenarios. Developers should be aware of and adhere to applicable laws or regulations (including but not limited to privacy, trade compliance laws, etc.) that are relevant to their use case.

Nothing contained in this Model Card should be interpreted as or deemed a restriction or modification to the license the model is released under.

Release Notes

This release of Phi-4-mini-instruct is based on valuable user feedback from the Phi-3 series. The Phi-4-mini model employed new architecture for efficiency, larger vocabulary for multilingual support, and better post-training techniques were used for instruction following, function calling, as well as additional data leading to substantial gains on key capabilities. It is anticipated that most use cases will benefit from this release, but users are encouraged to test in their particular AI applications. The enthusiastic support for the Phi-4 series is greatly appreciated. Feedback on Phi-4-mini-instruct is welcomed and crucial to the model’s evolution and improvement.

Model Quality

To understand the capabilities, the 3.8B parameters Phi-4-mini-instruct model was compared with a set of models over a variety of benchmarks using an internal benchmark platform (See Appendix A for benchmark methodology). A high-level overview of the model quality is as follows:

BenchmarkSimilar size2x size
Phi-4 mini-InsPhi-3.5-mini-InsLlama-3.2-3B-InsMistral-3BQwen2.5-3B-InsQwen2.5-7B-InsMistral-8B-2410Llama-3.1-8B-InsLlama-3.1-Tulu-3-8BGemma2-9B-InsGPT-4o-mini-2024-07-18
Popular aggregated benchmark
Arena Hard32.834.417.026.932.055.537.325.742.743.753.7
BigBench Hard (0-shot, CoT)70.463.155.451.256.272.453.363.455.565.780.4
MMLU (5-shot)67.365.561.860.865.072.663.068.165.071.377.2
MMLU-Pro (0-shot, CoT)52.847.439.235.344.756.236.644.040.950.162.8
Reasoning
ARC Challenge (10-shot)83.784.676.180.382.690.182.783.179.489.893.5
BoolQ (2-shot)81.277.7

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms