Skip to content

Microsoft: Phi 4 vs Phi-4

Microsoft: Phi 4 is cheaper on output tokens, while Phi-4 offers a larger context window. Choose Microsoft: Phi 4 or Phi-4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecMicrosoft: Phi 4Phi-4
ProviderMicrosoftAzure
Input / 1M tokens$0.07$0.13
Output / 1M tokens$0.14$0.50
Context window16K128K
Parameters
Open weightsYes
ReleasedDec 2024

FAQ

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.