Home โ€บ Tools โ€บ LLM Provider / Model โ€บ Phi-4

Phi-4

LLM Provider / Model ยท Extremely small self-hosted coding model, edge devices, resource-constrained environments

At a glance

Input priceFree (self-hosted)
Output priceFree (self-hosted)
Price tierFree
Context window16K
Max output4K
Context tier<32K
Speed tierFast
Latencylocal-bound
Knowledge cutoffJun 2024
ModalityText-only
Model IDphi-4
ProviderMicrosoft
HumanEval82%
MMLU80%
SWE-Bench28%
Benchmarksmall-model: strong
ReleasedDec 2024
HostingOpen-weights
CapabilitiesTool use, Streaming, Structured output, Self-hostable, Small footprint

What Phi-4 does

Tool use, Streaming, Structured output, Self-hostable, Small footprint

Best for

Extremely small self-hosted coding model, edge devices, resource-constrained environments

Works well with

Conflicts & caveats

Build a full stack around Phi-4 โ€” Flowpicker shows compatibility warnings before you commit.

Open the stack planner โ†’