Skip to content

Microsoft: Phi 4 vs GPT-4o mini

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

SpecMicrosoft: Phi 4GPT-4o mini
ProviderMicrosoftAbacus
Input / 1M tokens$0.07$0.15
Output / 1M tokens$0.14$0.60
Context window16K128K
Parameters——
Open weights—No
Released—Jul 2024

FAQ

Is Microsoft: Phi 4 or GPT-4o mini cheaper?

Microsoft: Phi 4 is cheaper on output tokens ($0.14 vs $0.60 per 1M).

Which has the larger context window, Microsoft: Phi 4 or GPT-4o mini?

GPT-4o mini has the larger context window (128K tokens).

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