Phi 4
All models
MicrosoftMicrosoftPhi

Phi 4

16K context$0.065/M input$0.140/M output

Phi 4 is an AI model from Microsoft built for agent workflows, with support for text input and text output. [Microsoft Research](/microsoft) 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. At 14 billion...

What is Phi 4?

Phi 4 is an AI model from Microsoft that Agent Mag tracks for pricing, context window, modalities, benchmarks, and API compatibility. Builders can use this page to compare Phi 4 against other models for agent workflows and production deployments.

Model ID

[Microsoft Research](/microsoft) 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. At 14 billion...

Modalities
Input
text
Output
text
Supported Parameters
frequency_penaltylogprobsmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_logprobstop_p

Related content