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.
| Spec | GPT-5.1 Codex Max | Phi-3-medium-instruct (4k) |
|---|---|---|
| Provider | Azure Cognitive Services | Azure Cognitive Services |
| Input / 1M tokens | $1.25 | $0.17 |
| Output / 1M tokens | $10.00 | $0.68 |
| Context window | 400K | 4K |
| Parameters | — | — |
| Open weights | No | Yes |
| Released | Nov 2025 | Apr 2024 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.