Skip to content

GPT-5.1 Codex Max vs Phi-3-medium-instruct (4k)

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

SpecGPT-5.1 Codex MaxPhi-3-medium-instruct (4k)
ProviderAzure Cognitive ServicesAzure Cognitive Services
Input / 1M tokens$1.25$0.17
Output / 1M tokens$10.00$0.68
Context window400K4K
Parameters——
Open weightsNoYes
ReleasedNov 2025Apr 2024

FAQ

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