Microsoft3.8B~3 GB VRAM at Q4_K_M

Phi-4 Mini (3.8B) — VRAM, speed & local setup

Written by Jakub Rusinowski · Last updated

Significant upgrade over Phi-3.5 Mini in reasoning and coding. Tiny footprint makes it ideal for iPhone, Android, and laptops without a GPU. MIT licensed for commercial use.

Phi-4 Mini (3.8B) needs about 3 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.

Logic80
Creative68
Coding78

VRAM and speed by quantization

Quoted against NVIDIA RTX 4090 (24 GB). Includes the KV cache at 8K context, so it reads higher than the headline figure.

QuantVRAMSpeed (est.)Fit
Q2_K
2.63 bpw
3.1 GB~217 tok/sFits
Q3_K_M
3.41 bpw
3.5 GB~196 tok/sFits
Q4_K_M
4.83 bpw
4.2 GB~167 tok/sFits
Q5_K_M
5.67 bpw
4.6 GB~153 tok/sFits
Q6_K
6.56 bpw
5 GB~141 tok/sFits
Q8_0
8.50 bpw
5.9 GB~121 tok/sFits
F16
16.00 bpw
9.5 GB~77 tok/sFits

Black marker = usable memory on the NVIDIA RTX 4090 (24 GB). Estimates from the memory-bandwidth roofline on the methodology page. Phi-4 Mini (3.8B) VRAM calculator →

Get Phi-4 Mini (3.8B) running

The cheapest catalogued GPU that runs Phi-4 Mini (3.8B) is the Intel Arc B570 (10 GB).

Affiliate disclosure: Some links on this page are affiliate links — if you buy through them, LLM Configurator may earn a commission at no extra cost to you. As an Amazon Associate, LLM Configurator earns from qualifying purchases.
Intel Arc B570 10GB
10 GB VRAM · 150 W board power
2026 prices are volatile — check the current listing.

How to run Phi-4 Mini (3.8B)

Install Ollama, then run:

ollama run phi4-mini
Weights on Hugging Face: microsoft/Phi-4-mini-instruct ↗

Specifications

Curated — A hand-written entry from before this catalogue recorded its sources. The figures are long-standing but their provenance is not on file.

Parameters
3.8 Billion
Context window
128,000
Architecture
Dense
Provider
Microsoft
Licence
MIT
Practical deployment
Edge device (phone, SBC)
Specified at
Q4_K_M
System RAM
6 GB
Record updated
2025-02-04
LicenceMITCommercial use permitted

Commercial use permitted. No usage restrictions beyond attribution.

Quality and use cases

Scores as published by the model’s authors or an independent evaluator — quality, not throughput, and not measured by us.

Best formobileedge devicesreasoningfast chat

Can I run Phi-4 Mini (3.8B) on my GPU?

Phi-4 Mini (3.8B) — frequently asked questions

How much VRAM does Phi-4 Mini (3.8B) need?

About 3 GB at Q4_K_M — quantized weights plus framework overhead, before any KV cache. The cache grows with context length and is added on top; the table above folds it in. Apple Silicon counts unified memory toward the same figure.

Does Phi-4 Mini (3.8B) run on an RTX 4090 (24 GB)?

Yes. Phi-4 Mini (3.8B) needs about 3 GB at Q4_K_M, inside a 24 GB card, at an estimated 167 tokens/sec.

How do I run Phi-4 Mini (3.8B) locally?

Install Ollama and run `ollama run phi4-mini`. That pulls the weights and starts a local OpenAI-compatible endpoint; after the download nothing leaves the machine.