Skip to content
llmmodels
Chat LLMOpen weightsHistorical

phi-3-mini 3.8B

by Microsoft · Apr 23, 2024

phi-3-mini 3.8B is an open-weight chat llm from Microsoft, released Apr 23, 2024. It has 3.8B parameters. It scores 110.5 on the Epoch Capabilities Index.

Provider
Microsoft
Released
Apr 23, 2024
Type
Chat LLM
Parameters
3.8B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (permissive)
Knowledge cutoff
—
Status
Historical
Training compute
7.5e+22 FLOP
Training data
3300B tokens/words

About phi-3-mini 3.8B

We introduce phi-3-mini, a 3.8 billion parameter language model trained on 3.3 trillion tokens, whose overall performance, as measured by both academic benchmarks and internal testing, rivals that of models such as Mixtral 8x7B and GPT-3.5 (e.g., phi-3-mini achieves 69% on MMLU and 8.38 on MT-bench), despite being small enough to be deployed on a phone. The innovation lies entirely in our dataset for training, a scaled-up version of the one used for phi-2, composed of heavily filtered web data and synthetic data. The model is also further aligned for robustness, safety, and chat format.

phi-3-mini 3.8B benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run phi-3-mini 3.8B

phi-3-mini 3.8B is an open-weight model. 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 3.8B vs alternatives

Alternatives to phi-3-mini 3.8B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama-3.1-8B-InstructopenMetaJul 20248B128K$0.02$0.04110.9
Llama 3-8BopenMetaApr 20248B———109.1
Gemma 2 9BopenGoogle DeepMindJun 20249.2B———112.4
Mistral NemoopenMistral AIJul 202412B128K$0.029$0.03113.9
Gemma 7BopenGoogle DeepMindFeb 20248.5B———103.2
Claude InstantAnthropicAug 2023————114.0
phi-3-medium 14BopenMicrosoftApr 202414B———114.1
Yi-9Bopen01.AIMar 20248.8B———102.2

More models from Microsoft

All Microsoft models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Phi 4openDec 202415B16K$0.07$0.14
Phi-2openDec 20232.8B———
phi-3-small 7.4BopenApr 20247.4B———
phi-3-medium 14BopenApr 202414B———
Phi-1.5openSep 20231.4B———
Phi 4 MiniopenFeb 20253.8B8K$0.17$0.68
Florence-2-baseopenJun 2024232M———
harrier-oss-v1-0.6bopenMar 2026596M———

Frequently asked questions

Who made phi-3-mini 3.8B?

phi-3-mini 3.8B was developed by Microsoft (United States of America). It was released on Apr 23, 2024.

Is phi-3-mini 3.8B open source?

Yes. phi-3-mini 3.8B's weights are publicly available, so you can download and run it yourself.

How many parameters does phi-3-mini 3.8B have?

phi-3-mini 3.8B has 3.8B parameters.

Sources: epoch · paper. Last updated 2026-11-22.