Skip to content
llmmodels
Chat LLMOpen weights

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

Alternatives to Phi-3-small-128k-instruct
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama-3.1-8B-InstructopenMetaJul 20248B128K$0.02$0.04110.9
Llama 3-8BopenMetaApr 20248B———109.1
Gemma 7BopenGoogle DeepMindFeb 20248.5B———103.2
Gemma 2 9BopenGoogle DeepMindJun 20249.2B———112.4
Qwen/Qwen2.5-7B-InstructopenAlibaba (Qwen)Sep 20247.6B33K$0.05$0.05—
Yi-9Bopen01.AIMar 20248.8B———102.2
Qwen2.5-7BopenAlibaba (Qwen)Sep 20247.6B————
DeepSeek-VL-7BopenDeepSeekMar 20247.3B————

More models from Microsoft

All Microsoft models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Phi 4openDec 202415B16K$0.07$0.14
Phi-2openDec 20232.8B———
Phi-1.5openSep 20231.4B———
Phi 4 MiniopenFeb 20253.8B8K$0.17$0.68
Florence-2-baseopenJun 2024232M———
harrier-oss-v1-0.6bopenMar 2026596M———
harrier-oss-v1-270mopenMar 2026268M———
Phi-4-reasoning-vision-15BopenJan 202615B———

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.