Microsoftphi-4

External Link

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

Token context
16K tokens
Inputs
Text
Outputs
Text
Released
Dec 12, 2024

Benchmark Market Position

Intelligence, Cost, and Efficiency

All rankings →

Cost

Not ranked in current cohort

Cost not rankedPublished LiveBench output tokens and a current USD output rate are both required.
View full ranking →

Efficiency

Not ranked in current cohort

Efficiency not rankedBoth an eligible intelligence score and a comparable cost estimate are required.
* Provisional: fewer than 3 sources
View full ranking →

The orange outline marks phi-4. Each available panel preserves its real rank and value; missing benchmark or pricing inputs remain explicitly unranked.

Providers & Pricing

Estimate workload cost →
ProviderInput / 1MOutput / 1MCache read / 1MCache write / 1MObservedEvidence
$0.070$0.14——Oct 19, 2026Provider-reported
$0.070$0.14——Oct 19, 2026Provider-reported
Berkeley Function Calling Leaderboardv4-ede5081a24bc28.79percent——Phi-4 (Prompt)unknownRecomputedwinner eligibleThird-party benchmark
LMArena Text Arenatext-2026-10-15-a64ca3b12b6e1,216.66rating—24,126phi-4; 95% CI [1212.07369450, 1221.23689100]; votes 24126; rank 314unknownOriginal sourcewinner eligibleThird-party benchmark

At a Glance

Model Facts

Identity

Status
active
Developer ID
microsoft/phi-4
Released
Dec 12, 2024
Version
phi-4
License
mit

Capacity

Token context
16K tokens
Maximum output
Unknown
Total parameters
14.7B
Active parameters
Unknown
Knowledge cutoff
Not reported

Interface and Access

Inputs
Text
Outputs
Text
API available
Yes
Open weights
Yes
Self-hostable
Yes
Reasoning
No
Vision
No
Tool calling
No
Capabilities
chat, generation

This page represents one developer model product. Dated API snapshots, serving endpoints, pricing, regions, quantizations, and service tiers attach as versioned aliases or provider details and never create duplicate public model records.

Version Lineage

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

Explicit Unknowns

  • Maximum output
  • Knowledge cutoff

Primary Evidence

Sources and Observation Date

Comparable Peers

Related Model Comparisons

All comparisons →
APairBContext
vsfamily variantstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vsfamily variantstext
vsfamily variantstext
vsfamily variantstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext

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 16K-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 Deepinfra, Hugging Face, and 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.

How much does phi-4 cost through an API?+

The lowest directly sourced prices currently attached to phi-4 are $0.070 per million input tokens through Deepinfra and $0.14 per million output tokens through Deepinfra. Prices are provider-specific and should be checked against each cited observation date.

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, Molmo2 8B, MolmoWeb 4B, MolmoWeb 8B, and Olmo 3 7B Instruct. Compatibility requires shared sourced modalities and tasks; it does not imply that one model is better. Browse model comparisons →

Send Feedback