Skip to content
English

Switch theme

// Phi · Text LLM

Phi-4-mini-reasoning: VRAM & local deployment

3.84B parameters. About 4.1 GB at 4-bit and 10.0 GB at BF16 with one 8K-token request.

released 2025-04-29licence: Commercial OKmemory figures are estimates

01Specs

PublisherMicrosoft · microsoft
Family / seriesPhi · Phi-4-mini-reasoning
TypeText LLM (text-generation)
Parameters3.84B Source: counted from official safetensors weights
Context length128K tokens (131,072)max_position_embeddings in config.json
Architecture32 layers · GQA
Released weightsBF16 · 7.7 GBdownload
LicenceMIT · Commercial OKPermissive licence (Apache-2.0 / MIT / CC-BY / OpenMDW): commercial use allowed.
Released2025-04-29 (Hugging Face repo created)

02How much VRAM it needs (estimate)

Total = weights + 10% + 0.5GB overhead + KV cache for one request (FP16 KV). More concurrent users multiply the KV column.

PrecisionWeightsTotal @ 8KTotal @ 32KTotal @ 128KSmallest GPUMac
BF16 / FP16 (original)7.7 GB 10.0 GB13.2 GB26.1 GB 12GB GPUMac 24GB
FP8 / INT8 / Q8_04.1 GB 6.1 GB9.3 GB22.2 GB 8GB GPUMac 16GB
4-bit (Q4_K_M / AWQ / GPTQ-Int4)2.3 GB 4.1 GB7.4 GB20.2 GB 8GB GPUMac 16GB

KV cache per request: 8K 1.1 GB · 32K 4.3 GB · 128K 17.2 GB

Bits per weight: BF16 16, FP8 8.5, 4-bit 4.85. “Fits” = total ≤ 90% of memory; Mac GPU can use ~2/3 of unified memory (≤36GB) or ~3/4 (larger). For MoE, all experts must be in memory, so size by total parameters. Method →

03How to run it

Only runtimes the publisher or the runtime’s official library names for this model.

ollama run phi4-mini-reasoning

Which inference engine to choose →

04Official repositories & quantised builds

2 official repo(s) from microsoft.

05Other Phi models

All 20 →
ModelParams4-bit totalReleased
Phi-Ground-Any——2026-05-07
Phi-4-reasoning-vision-15B15.1B12.3 GB2026-01-23
Phi-Ground——2025-08-15
Phi-mini-MoE-instruct7.6B / 2.4B6.6 GB2025-06-23
Phi-tiny-MoE-instruct3.8B / 1.1B3.6 GB2025-06-23
Phi-4-mini-flash-reasoning3.85B4.4 GB2025-06-19
Phi-4-reasoning-plus14.7B12.0 GB2025-04-17
Phi-4-reasoning14.7B12.0 GB2025-04-09

06Similar-size Text LLM models from other families

Within ±35% of 3.84B parameters; same estimate method, so the memory columns are directly comparable.

ModelFamilyParamsContext4-bit totalLicenceReleased
Phi-4-mini-reasoningPhi3.84B128K4.1 GBCommercial OK2025-04-29
Nemotron-Labs-Sigma-3B-instructNVIDIA Nemotron3.83B8K3.9 GBCommercial with conditions2026-10-05
Nemotron-Labs-Diffusion-3BNVIDIA Nemotron3.83B256K3.9 GBCommercial with conditions2026-03-02
Ministral-3-3B-Instruct-2512-BF16Mistral / Magistral / Devstral3.85B256K3.9 GBCommercial OK2025-10-31
Ministral-3-3B-Reasoning-2512Mistral / Magistral / Devstral3.85B256K3.9 GBCommercial OK2025-10-31
NVIDIA-Nemotron-3-Nano-4B-BF16NVIDIA Nemotron3.97B256K3.3 GBCommercial with conditions2026-03-07
NVIDIA-Nemotron-Labs-Dory1.0-4B-BF16NVIDIA Nemotron3.98B256K3.6 GBCommercial OK2026-10-16

07Sources

Data checked 2025-12-10. Parameters, context and licence are copied from the official repository; memory figures are our estimates.

Data updated: Self-host open models(UTC+8)