Skip to content

GPT-5.1 Codex Mini vs Phi-4

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

SpecGPT-5.1 Codex MiniPhi-4
ProviderAzureAzure
Input / 1M tokens$0.25$0.13
Output / 1M tokens$2.00$0.50
Context window400K128K
Parameters
Open weightsNoYes
ReleasedNov 2025Dec 2024

FAQ

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