Microsoft: Phi 4

Microsoft Research Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed.

Context
16K
Max output
15K
Input price
$0.07/1M tokens
Output price
$0.14/1M tokens

Capabilities

Output Control
Structured Output
JSON Mode

Details

Model IDmicrosoft/phi-4
Provider OpenRouter
Creator microsoft
Family—
License—
Status—
Typechat
Input modalitiestext
Output modalitiestext
Open weight—
Parameters—
Architecture—
Context window16K tokens
Max input—
Max output15K tokens
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Pricing

Input
$0.07
Output
$0.14
Cache write
—
Cache read
—
Batch in
—
Batch out
—

API

GET/v1/models/openrouter/microsoft/phi-4

Microsoft: Phi 4

microsoft/phi-4

Microsoft Research Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed.

Changes · 7 entries
microsoft/phi-4updateca7a400Nov 2, 2026, 03:02 AM
max_output_tokens16384→14745
pricinginput$0.065→$0.07
microsoft/phi-4updatee3d7dedAug 31, 2026, 04:13 AM
max_output_tokens16384→14745
microsoft/phi-4update88d97e5Jun 30, 2026, 04:49 AM
pricinginput$0.065→$0.07
microsoft/phi-4update1cd659eMar 24, 2026, 04:19 AM
capabilitiesjson modeyes
microsoft/phi-4updateb301ebeMar 23, 2026, 11:47 PM
model_typechat
microsoft/phi-4update2b100acMar 23, 2026, 05:30 AM
release_date2025-01-10
tagline[Microsoft Research](/microsoft) Phi-4 is designed to per...
microsoft/phi-4create7f5c66fMar 21, 2026, 05:16 AM