Phi 4 15B
Microsoft · MIT · Updated 2024-12-11
- Parameters
- 15B
- Context
- 16K
Capability
Compact peers
Current modelArtificial Analysis ↗ · 2026-11-06
Sources & evaluation settings
Checkpoint-level results; quantized artifacts are not individually evaluated. Missing scores are unknown, not zero. The highest published reasoning-effort configuration is selected for each checkpoint; exact settings are listed below. Peer groups prioritize model role, then total parameter scale. Closed models are reference anchors.
- AA Intelligence: Artificial Analysis Intelligence Index v5.0.1 · points
- Terminal-Bench 4.0: Artificial Analysis Terminal-Bench 4.0 · %
- HLE-Diamond: Artificial Analysis HLE-Diamond · %
| Model / configuration | AA Intelligence | Terminal-Bench 4.0 | HLE-Diamond |
|---|---|---|---|
| Phi-4 ↗ · Current | — | — | — |
| Nanbeige4.3-33B ↗ | 20.4 | 29.8 | 6.9 |
| Nemotron 3.5 Bolt E4B 4GB (Reasoning) ↗ | — | — | — |
| Gemini 3.8 Flash (High) ↗ · Closed | 30.8 | 19.7 | 33.1 |
| GPT-6 Luna (Max) ↗ · Closed | 27.9 | 12.6 | 22.2 |
Available artifacts
Memory estimateRun locally
Microsoft
Memory estimate · 32 GB
- vLLM
vllm serve microsoft/phi-4Serves an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path microsoft/phi-4Serves an OpenAI-compatible API on port 30000.
Microsoft
Memory estimate · 12–13 GB
- Ollama
ollama run hf.co/microsoft/phi-4-ggufPulls the Q4_K_M file when the repository has one; append :Q8_0 or another file tag to choose a quantization. - llama.cpp
llama-server -hf microsoft/phi-4-ggufDownloads the Q4_K_M file when present (append :QUANT to choose) and serves an OpenAI-compatible API on port 8080. - LM StudioOpen in LM StudioOpens the repository in LM Studio, where you choose a file to download.
Unsloth
Memory estimate · 32 GB
- vLLM
vllm serve unsloth/phi-4Serves an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path unsloth/phi-4Serves an OpenAI-compatible API on port 30000.
Unsloth
Memory estimate · 13–15 GB
- Ollama
ollama run hf.co/unsloth/phi-4-GGUFPulls the Q4_K_M file when the repository has one; append :Q8_0 or another file tag to choose a quantization. - llama.cpp
llama-server -hf unsloth/phi-4-GGUFDownloads the Q4_K_M file when present (append :QUANT to choose) and serves an OpenAI-compatible API on port 8080. - LM StudioOpen in LM StudioOpens the repository in LM Studio, where you choose a file to download.
INT8Unsloth
Unsloth
Memory estimate · 14 GB
- vLLM
vllm serve unsloth/phi-4-unsloth-bnb-4bitServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path unsloth/phi-4-unsloth-bnb-4bitServes an OpenAI-compatible API on port 30000.
Unsloth
Memory estimate · 13 GB
- vLLM
vllm serve unsloth/phi-4-bnb-4bitServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path unsloth/phi-4-bnb-4bitServes an OpenAI-compatible API on port 30000.
Runtime recipes
No exact official deployment recipe match
Unverified, not unsupported.