Phi-3-medium-128k-instruct
by Microsoft · May 7, 2024
Phi-3-medium-128k-instruct is an open-weight chat llm from Microsoft, released May 7, 2024. It has 14B parameters.
- Provider
- Microsoft
- Released
- May 7, 2024
- Type
- Chat LLM
- Parameters
- 14B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- mit
- Knowledge cutoff
- —
- Status
- Open weights
- HF downloads (30d)
- 8.2K
Phi-3-medium-128k-instruct benchmarks
All benchmarks →- GPQA Diamond27.6%
- MATH Level 517.6%
- MMLU78.0%
- HellaSwag82.4%
Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
How to run Phi-3-medium-128k-instruct
Phi-3-medium-128k-instruct is an open-weight model published on Hugging Face as microsoft/Phi-3-medium-128k-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 14B parameters it needs roughly 8 GB of memory at 4-bit quantization.
Phi-3-medium-128k-instruct vs alternatives
- Phi-3-medium-128k-instruct vs Mistral Nemo
- Phi-3-medium-128k-instruct vs DeepSeek-Coder-V2-Lite-Base
- Phi-3-medium-128k-instruct vs Llama-3.1-8B-Instruct
- Phi-3-medium-128k-instruct vs Gemma 2 9B
- Phi-3-medium-128k-instruct vs Qwen2.5-Coder-14B-Instruct
- Phi-3-medium-128k-instruct vs Qwen1.5-MoE-A2.7B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Mistral Nemoopen | Mistral AI | Jul 2024 | 12B | 128K | $0.029 | $0.03 | 113.9 |
| DeepSeek-Coder-V2-Lite-Baseopen | DeepSeek | Jun 2024 | 16B | — | — | — | 99.4 |
| Llama-3.1-8B-Instructopen | Meta | Jul 2024 | 8B | 128K | $0.02 | $0.04 | 110.9 |
| Gemma 2 9Bopen | Google DeepMind | Jun 2024 | 9.2B | — | — | — | 112.4 |
| Qwen2.5-Coder-14B-Instructopen | Alibaba (Qwen) | Nov 2024 | 15B | — | — | — | — |
| Qwen1.5-MoE-A2.7Bopen | Alibaba (Qwen) | Feb 2024 | 14B (2.7B act.) | — | — | — | — |
| Mistral Large (latest)open | Mistral AI | Nov 2024 | — | 125K | $0.5 | $1.50 | — |
| MobileLLM-125Mopen | Meta | Oct 2024 | — | — | — | — | — |
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-medium-128k-instruct?
Phi-3-medium-128k-instruct was developed by Microsoft (United States). It was released on May 7, 2024.
Is Phi-3-medium-128k-instruct open source?
Yes. Phi-3-medium-128k-instruct's weights are publicly available under the mit license on Hugging Face (microsoft/Phi-3-medium-128k-instruct), so you can download and run it yourself.
How many parameters does Phi-3-medium-128k-instruct have?
Phi-3-medium-128k-instruct has 14B parameters.
How does Phi-3-medium-128k-instruct perform on benchmarks?
Phi-3-medium-128k-instruct scores 27.6% on GPQA Diamond, 17.6% on MATH Level 5, 78.0% on MMLU and 82.4% on HellaSwag.
Sources: huggingface · huggingface. Last updated 2026-11-22.