Microsoft · Phi 4 · active

phi-4

phi-4 is an open-weight language model published by Microsoft.

microsoft/phi-4
Statusactive
InputText
OutputText
Context16K
Total / active parameters14.7B /
Licensemit
APIYes
Open weights / self-hostYes / Yes

Provider availability

Serving endpoints and pricing

ProviderRoute modelTierInputOutputRegionObservedSource
microsoft/phi-4Standard routing$0.070$0.14UnknownAug 28, 2026Provider-reported

This page represents one immutable developer model ID. Serving endpoints, pricing, regions, quantizations, and service tiers attach separately and never create duplicate model records.

Technical specification

Developer model IDmicrosoft/phi-4
Versionphi-4
ReleasedDec 12, 2024
ArchitecturePhi3ForCausalLM
Maximum outputUnknown
Knowledge cutoffNot reported

Capabilities

chatgeneration
ReasoningNo
VisionNo
Tool callingNo

Version lineage

PredecessorUnknown
SuccessorsUnknown
Aliasesmicrosoft/phi-4, microsoft/phi-4

Explicit unknowns

  • Maximum output
  • Knowledge cutoff

Comparable peers

Related model comparisons

All comparisons →

Questions

phi-4 FAQs

What is phi-4?+

phi-4 is an open-weight language model published by Microsoft. It is developed by Microsoft and its current sourced lifecycle status is active.

What inputs and outputs does phi-4 support?+

phi-4's current record lists Text as input and Text as output.

How much context does phi-4 support?+

The current record lists a 16,384-token context window and does not report a maximum output length.

Is phi-4 available through an API?+

phi-4 is marked as API-available. The directly sourced provider records currently include OpenRouter.

How large is phi-4?+

The current record lists 14.7B total parameters and an unknown active parameter count. Its architecture is Phi3ForCausalLM.

What capabilities and tasks does phi-4 support?+

phi-4's recorded capabilities are chat and generation. Its supported tasks are text.

Can phi-4 be self-hosted?+

phi-4 is an open-weight model. Self-hosting is supported, and the recorded license is mit.

Does phi-4 have related versions or aliases?+

No predecessor is recorded. No successor is recorded. Recorded aliases are microsoft/phi-4.

Which models can phi-4 be compared with?+

The current compatible peer set includes Phi-4-reasoning, Phi-4-multimodal-instruct, Phi-4-mini-instruct, Phi-4-mini-reasoning, and Ministral-8B-Instruct-2410. Compatibility requires shared sourced modalities and tasks; it does not imply that one model is better. Browse model comparisons

How current is the Model Markets record for phi-4?+

phi-4 was last verified Aug 28, 2026 from Microsoft's primary source, “microsoft/phi-4 developer model repository.” The evidence is classified as official fact.

Primary evidence

Sources and observation date