Phi-3-medium-instruct (128k) vs Phi-4
Phi-4 is cheaper on output tokens. Choose Phi-3-medium-instruct (128k) or Phi-4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Phi-3-medium-instruct (128k) | Phi-4 |
|---|---|---|
| Provider | Azure | Azure |
| Input / 1M tokens | $0.17 | $0.13 |
| Output / 1M tokens | $0.68 | $0.50 |
| Context window | 128K | 128K |
| Parameters | — | — |
| Open weights | Yes | Yes |
| Released | Apr 2024 | Dec 2024 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.