Side-by-side comparison of pricing, 12 benchmarks, and generation speed.
| Metric | Phi-3 Mini Instruct 3.8B | GPT-5.4 nano (medium) |
|---|---|---|
| Input ($/M tokens) | $0 | $0.2 |
| Output ($/M tokens) | $0 | $1.25 |
Data from Artificial Analysis API — 12 benchmarks
Phi-3 Mini Instruct 3.8B is cheaper overall. Its blended price (3:1 input/output ratio) is $0.00/M tokens vs $0.46/M for GPT-5.4 nano (medium).
GPT-5.4 nano (medium) wins 7 out of 12 benchmarks compared to 5 for Phi-3 Mini Instruct 3.8B. See the detailed benchmark chart above for per-category results.
GPT-5.4 nano (medium) generates tokens faster at 171 tok/s vs 0 tok/s. Phi-3 Mini Instruct 3.8B also has lower time-to-first-token (0.00s vs 2.38s).
Choose based on your priorities: Phi-3 Mini Instruct 3.8B for lower cost, GPT-5.4 nano (medium) for stronger benchmark performance, and GPT-5.4 nano (medium) for faster generation. For latency-sensitive apps, check the TTFT comparison above.