Phi-4

phi-4

Microsoft · open-permissive mit

Parameters (B)14.66
Architecturedense
Layers / KV heads / head dim40 / 10 / 128
Context window16384
Modalitiesin: text; out: text
GGUFavailable
Commercial useyes

Minimum hardware (estimate)

At Q4_K_M and 8k context, total working set ≈ 11.1 GiB. On a machine with 64 GiB system RAM and no discrete GPU: CPU-only, slow. Limiting factor: No GPU VRAM; fits in system RAM but inference will be CPU-bound.

Open in fit advisor

Scores

BenchmarkValueUncertaintyRun bySource
GPQA Diamond56.1%unknownthird-partyepoch-ai
MATH Level 564.9%unknownthird-partyepoch-ai
OTIS Mock AIME 2024-202513.8%unknownthird-partyepoch-ai

Provenance

HF: microsoft/phi-4 · snapshot 2026-08-10