LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/Microsoft/Phi-4/Ollama · Q4_K_M
Ollama · Q4_K_M · macOS · Linux · Windows

Phi-4 on Ollama at Q4_K_M

Local serving with built-in model pulling. One command to download and run. Library coverage skews toward the popular; check first. The practical default. Noticeable only on the hardest reasoning tasks.

At a glance The numbers

Model
Microsoft Phi-4
Family
Phi
Params
14B
License
MIT
Engine
Ollama
Quantization
Q4_K_M
Bytes per param
0.57
Platform
macOS · Linux · Windows

The command Copy and run

What Ollama expects you to type to serve Phi-4 at Q4_K_M. Adjust the paths for your filesystem; the structure holds.

# Check the library first — not every model is in Ollama
# https://ollama.com/library

ollama pull phi-4
ollama run phi-4

Why this quant The trade-off

Q4_K_M — The practical default. Noticeable only on the hardest reasoning tasks.

Expect to need around 12 GB of VRAM to hold the weights at this precision. This is a dense model: every parameter runs for every token. VRAM and compute both scale with the full 14B. Fits on Consumer 24 GB — RTX 3090 or 4090.

Common failures What breaks, and the fix

Model not found
The slug may not exist in Ollama's library. Browse ollama.com/library first.
Quant level not what you expected
Ollama hides the quant by default. Use the explicit tag, e.g. `ollama run llama3.3:70b-q4_K_M`.

Alternatives Other ways to run this model

About the model

Synthetic-data recipe; 14B that competes with 70B-class.

Open the full model page →