Last refreshed 2026-10-08. Next refresh: weekly.
Why use Ternary Bonsai 2 27B on OpenRouter?
OpenRouter offers Ternary Bonsai 2 27B with competitive pricing. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Setup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: prism-ml/ternary-bonsai-2-27bprism-ml/ternary-bonsai-2-27bRequest example
prism-ml/ternary-bonsai-2-27b.Gotchas
- Use provider model ID "prism-ml/ternary-bonsai-2-27b", not the LLMReference slug "bonsai-2-27b".
Capabilities
About Ternary Bonsai 2 27B
Ternary Bonsai 2 27B (also branded Bonsai 2 27B) is PrismML's flagship ternary open-weight multimodal model, announced 2026-09-17. Based on Qwen3.8 27B. PrismML reports ~9× smaller on-disk size than the full-precision counterpart and 98.2% of aggregate benchmark performance (overall 83.9 vs Qwen3.8 27B 85.4 on their thinking-mode suite). Language footprint ~5.9 GB (GGUF PTQ1_0 ~5.93–5.95 GB; PQ2_0 ~7.2 GB; MLX companion larger). Gains called out vs prior Bonsai 27B: agentic coding, multimodal reasoning, long-horizon tool use. Specs (docs/HF card): 27.36B params; 262K context; text+image in / text out; optional vision mmproj; Apache 2.0; available on Hugging Face (prism-ml/Ternary-Bonsai-2-27B-gguf + mlx-2bit).