Model · Microsoft

Phi-4

chat
Parameters
14.7B
Context
16,384tokens at most
Smallest download
8.2 GBof 3 downloads
Licence
MITCommercial use allowed

01Downloads

Exact files, exact bytes.

GGUF Q4_K_M

8.9 GB

unsloth/phi-4-GGUF @ 5110b7771e8166d5530e73346a15aea096a8cb99

FileBytes
phi-4-Q4_K_M.gguf8,890,306,112

GGUF Q8_0

15.6 GB

unsloth/phi-4-GGUF @ 5110b7771e8166d5530e73346a15aea096a8cb99

FileBytes
phi-4-Q8_0.gguf15,580,507,712

MLX 4-bit

8.2 GB

mlx-community/phi-4-4bit @ fc0f8f23d369dc29b55cad1d65cb5bf0dcbee910

FileBytes
model-00001-of-00002.safetensors5,310,465,802
model-00002-of-00002.safetensors2,936,168,109
Total8,246,633,911

02Runtimes

How to run it.

Commands as the catalogue records them. The results page adds a context length that matches your estimate.

03Facts

Licence, layout and sources.

Licence
MIT (opens in a new tab)Commercial use allowed.
Weights repo
microsoft/phi-4 @ 2db69c1c3e91a05d2c64a3185acfbaf36f744e25
Layout
40 layers40 × full attention, 10 KV heads × 128 dim
Notes
Phi-4 is a 14.7B-parameter model for chat. It can read up to 16,384 tokens at once.Ollama downloads its own build of this quantisation. The listed artifact sizes are for the pinned Hugging Face files.
Verified on