LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/Microsoft/Phi-4/vLLM · AWQ 4-bit
vLLM · AWQ 4-bit · NVIDIA · CUDA 12+

Phi-4 on vLLM at AWQ 4-bit

OpenAI-compatible server. Tensor-parallel across multiple GPUs. The default serving stack for anyone past a single box. Activation-aware 4-bit. Preserves quality better than naive int4.

At a glance The numbers

Model
Microsoft Phi-4
Family
Phi
Params
14B
License
MIT
Engine
vLLM
Quantization
AWQ 4-bit
Bytes per param
0.55
Platform
NVIDIA · CUDA 12+

The command Copy and run

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

pip install vllm
vllm serve microsoft/phi-4-AWQ4-BIT --quantization awq \
  --max-model-len 16384 \
  --gpu-memory-utilization 0.90

Why this quant The trade-off

AWQ 4-bit — Activation-aware 4-bit. Preserves quality better than naive int4.

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

OOM at long context
Reduce --max-model-len; try --enable-prefix-caching to amortize.
Slow first token
Add --enable-prefix-caching and --enable-chunked-prefill.
Tensor-parallel mismatch
The number of attention heads must be divisible by --tensor-parallel-size.

Alternatives Other ways to run this model

About the model

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

Open the full model page →