- Home
- Compare
Phi 4 vs Ternary Bonsai 2 9B
Compare Phi 4 from Microsoft and Ternary Bonsai 2 9B from PrismML on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Overview
Analysis
Phi 4 vs Ternary Bonsai 2 9B at a glance
Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.
Benchmark data updated
Frequently asked questions
Is Phi 4 cheaper than Ternary Bonsai 2 9B?
Phi 4 and Ternary Bonsai 2 9B trade off on price: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Ternary Bonsai 2 9B costs $0.08/M tokens input and $0.13/M tokens output, so Phi 4 is cheaper for input tokens and Ternary Bonsai 2 9B is cheaper for output tokens.
Which has the longer context window, Phi 4 or Ternary Bonsai 2 9B?
Ternary Bonsai 2 9B has the longer context window at 262,144 tokens, compared with 16,384 tokens for Phi 4.
Which is faster, Phi 4 or Ternary Bonsai 2 9B?
Phi 4 is faster on OpenRouter, generating a median 86.0 tokens per second compared with 60.0 tokens per second for Ternary Bonsai 2 9B.