OpenAI-compatible server. Tensor-parallel across multiple GPUs. The default serving stack for anyone past a single box. Post-training 4-bit. Widely supported across engines.
What vLLM expects you to type to serve Phi-4 at GPTQ 4-bit. Adjust the paths for your filesystem; the structure holds.
pip install vllm vllm serve microsoft/phi-4-GPTQ4-BIT --quantization gptq \ --max-model-len 16384 \ --gpu-memory-utilization 0.90
GPTQ 4-bit — Post-training 4-bit. Widely supported across engines.
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.