Phi-3-small-128k-instruct
by Microsoft · May 7, 2024
Phi-3-small-128k-instruct is an open-weight chat llm from Microsoft, released May 7, 2024. It has 7.4B parameters.
- Provider
- Microsoft
- Released
- May 7, 2024
- Type
- Chat LLM
- Parameters
- 7.4B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- mit
- Knowledge cutoff
- —
- Status
- Open weights
- HF downloads (30d)
- 2.3K
How to run Phi-3-small-128k-instruct
Phi-3-small-128k-instruct is an open-weight model published on Hugging Face as microsoft/Phi-3-small-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 7.4B parameters it needs roughly 4 GB of memory at 4-bit quantization.
Phi-3-small-128k-instruct vs alternatives
- Phi-3-small-128k-instruct vs Llama-3.1-8B-Instruct
- Phi-3-small-128k-instruct vs Llama 3-8B
- Phi-3-small-128k-instruct vs Gemma 7B
- Phi-3-small-128k-instruct vs Gemma 2 9B
- Phi-3-small-128k-instruct vs Qwen/Qwen2.5-7B-Instruct
- Phi-3-small-128k-instruct vs Yi-9B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Llama-3.1-8B-Instructopen | Meta | Jul 2024 | 8B | 128K | $0.02 | $0.04 | 110.9 |
| Llama 3-8Bopen | Meta | Apr 2024 | 8B | — | — | — | 109.1 |
| Gemma 7Bopen | Google DeepMind | Feb 2024 | 8.5B | — | — | — | 103.2 |
| Gemma 2 9Bopen | Google DeepMind | Jun 2024 | 9.2B | — | — | — | 112.4 |
| Qwen/Qwen2.5-7B-Instructopen | Alibaba (Qwen) | Sep 2024 | 7.6B | 33K | $0.05 | $0.05 | — |
| Yi-9Bopen | 01.AI | Mar 2024 | 8.8B | — | — | — | 102.2 |
| Qwen2.5-7Bopen | Alibaba (Qwen) | Sep 2024 | 7.6B | — | — | — | — |
| DeepSeek-VL-7Bopen | DeepSeek | Mar 2024 | 7.3B | — | — | — | — |
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-small-128k-instruct?
Phi-3-small-128k-instruct was developed by Microsoft (United States). It was released on May 7, 2024.
Is Phi-3-small-128k-instruct open source?
Yes. Phi-3-small-128k-instruct's weights are publicly available under the mit license on Hugging Face (microsoft/Phi-3-small-128k-instruct), so you can download and run it yourself.
How many parameters does Phi-3-small-128k-instruct have?
Phi-3-small-128k-instruct has 7.4B parameters.
Sources: huggingface · huggingface. Last updated 2026-11-22.