Ternary Bonsai 2 27B on OpenRouter

Bonsai · PrismML

ServerlessOpen Source

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.

Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: prism-ml/ternary-bonsai-2-27b
Model ID
prism-ml/ternary-bonsai-2-27b

Request example

Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID 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

VisionMultimodalReasoningJSON / Tool use

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).

Get Started

Model Specs

Released2026-09-17
Parameters27.4B
Context256K