AI model comparison
Ternary Bonsai 2 27B vs Ternary Bonsai 2 9B
Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.
Change models
PrismML
Ternary Bonsai 2 27B- Context tokens
- 262.14K
- Input / 1M
- $0.075
- Output / 1M
- $0.50
PrismML
Ternary Bonsai 2 9B- Context tokens
- 262.14K
- Input / 1M
- $0.08
- Output / 1M
- $0.13
- Ternary Bonsai 2 27B
- 262.14K
- Ternary Bonsai 2 9B
- 262.14K
The trade-offs
Start with the differences that affect how this model fits your workload.
- Token cost
- For 1 million input tokens and 250,000 output tokens, the listed rates estimate $0.20 for Ternary Bonsai 2 27B and $0.1125 for Ternary Bonsai 2 9B.
Benchmarks
Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.
A shared benchmark result is unavailable for these model IDs.
Pricing and token cost
Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.
| USD per million tokens | Ternary Bonsai 2 27B | Ternary Bonsai 2 9B |
|---|---|---|
| Uncached input | $0.075 | $0.08 |
| Output | $0.50 | $0.13 |
| Cache read | $0.0375 | $0.04 |
| Cache write | Unavailable | Unavailable |
Rates are a catalog snapshot. OpenRouter Models API
Estimate your workload
Enter total token counts. The estimate uses uncached input and output rates.
Ternary Bonsai 2 9B costs $0.0875 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | Ternary Bonsai 2 27B | Ternary Bonsai 2 9B |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | prism-ml/ternary-bonsai-2-27b | prism-ml/ternary-bonsai-2-9b |
| Provider | PrismML | PrismML |
| Context window | 262,144 tokens | 262,144 tokens |
| Max output | 32,768 tokens | 65,536 tokens |
| Input modalities | Text, Image | Text, Image |
| Output modalities | Text | Text |
| Reasoning controls | Listed | Listed |
| Tool calling | Listed | Listed |
| Structured outputs | Listed | Listed |
| Serving endpoints | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Sep 18, 2026 | Oct 16, 2026 |
Use with Weave Router
Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.
Ternary Bonsai 2 27B
Weave Router availability is unverified for this model ID.
Ternary Bonsai 2 9B
Weave Router availability is unverified for this model ID.
Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026
Sources
Each benchmark links to its own result and test method when available.
- OpenRouter Models API · token rates and catalog specifications
- Weave Router catalog · verified Router model IDs
- Ternary Bonsai 2 27B catalog entry
- Ternary Bonsai 2 27B model repository
- Ternary Bonsai 2 9B catalog entry
- Ternary Bonsai 2 9B model repository