Phi-4 models

7 Phi-4 models from Microsoft on Hugging Face, from 3.8B to 14.7B parameters, published by Microsoft in BF16, with contexts from 16K to 128K tokens. The smallest official model, Phi-4-mini-instruct, needs about 8.6 GB of VRAM at its published precision; the cheapest live fit is RTX 4070 at $0.154/hr.

Part of the Phi series · Previous generation: Phi-3.5

Pick a size

One row per official Phi-4 size: the VRAM it needs at each precision, the cheapest GPU that holds it today, and the KV cache for a 32K-token context.

ModelParametersNative VRAMFP8 VRAMINT4 VRAMLive GPU fit (native)Est. $/hrKV cache at 32K
Phi-4-mini-instruct3.8B8.6 GB4.3 GB2.1 GBRTX 4070$0.154/hrnot published for this architecture
Phi-4-multimodal-instruct5.6B12.5 GB6.2 GB3.1 GBRTX 3090$0.162/hrnot published for this architecture
phi-414.7B32.8 GB16.4 GB8.2 GBA100$0.462/hr6.3 GB

VRAM is weights times a flat 1.2 overhead; the KV cache is a separate per-model figure at 16-bit, shown where the architecture is published. See the methodology.

Official models (6)

ModelParametersPublished asVRAM neededLive GPU fitEst. $/hr
Phi-4-mini-instruct3.8BBF168.6 GBRTX 4070$0.154/hr
Phi-4-mini-reasoning3.8BBF168.6 GBRTX 4070$0.154/hr
Phi-4-multimodal-instruct5.6BBF1612.5 GBRTX 3090$0.162/hr
phi-414.7BBF1632.8 GBA100$0.462/hr
Phi-4-reasoning14.7BBF1632.8 GBA100$0.462/hr
Phi-4-reasoning-plus14.7BBF1632.8 GBA100$0.462/hr

Quantized versions (1)

ModelParametersPublished asVRAM neededLive GPU fitEst. $/hr
phi-4-FP8-dynamic14.7BF8_E4M316.4 GBRTX 4000 Ada$0.347/hr

VRAM is for the precision the model is published in: the weights times a flat 1.2 overhead, with the KV cache not included. See the methodology. The fit shown is the lowest-priced single GPU type that holds the model at that precision, or the lowest-priced multi-GPU set (up to 8) when none does.

Run and fine-tune Phi-4

  • How to run Phi-4: engine support, chat template and context flags, with a serving command sized per model.
  • How to fine-tune Phi-4: LoRA and QLoRA memory per model, and the license limits on derivatives.

More from Microsoft

Submit the job. Everything after that is ours.

Sign up in 60 seconds. Pay for the GPU minutes you actually use.

© 2026 Aquanode. All rights reserved.

All trademarks, logos and brand names are the property of their respective owners.