Phi 4 vs Ternary Bonsai2 9B
Ternary Bonsai2 9B is cheaper on output tokens, while Ternary Bonsai2 9B offers a larger context window. Choose Phi 4 or Ternary Bonsai2 9B based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Phi 4 | Ternary Bonsai2 9B |
|---|---|---|
| Provider | Microsoft | NanoGPT |
| Input / 1M tokens | $0.07 | $0.08 |
| Output / 1M tokens | $0.14 | $0.13 |
| Context window | 16K | 262K |
| Parameters | — | — |
| Open weights | — | Yes |
| Released | — | Oct 2026 |
| GPQA Diamond score | 56.1 | — |
| LMArena (Chatbot Arena) Elo score | 1217 | — |
| Epoch Capabilities Index score | 130 | — |
FAQ
Is Phi 4 or Ternary Bonsai2 9B cheaper?
Ternary Bonsai2 9B is cheaper on output tokens ($0.13 vs $0.14 per 1M).
Which has the larger context window, Phi 4 or Ternary Bonsai2 9B?
Ternary Bonsai2 9B has the larger context window (262K tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.