Skip to content

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.

SpecPhi 4Ternary Bonsai2 9B
ProviderMicrosoftNanoGPT
Input / 1M tokens$0.07$0.08
Output / 1M tokens$0.14$0.13
Context window16K262K
Parameters——
Open weights—Yes
Released—Oct 2026
GPQA Diamond score56.1—
LMArena (Chatbot Arena) Elo score1217—
Epoch Capabilities Index score130—

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.