# Ternary Bonsai 2 27B

> Ternary Bonsai 2 27B is an open-weight language model from Prism ML, released on 18 Sept 2026. It accepts text and images and generates text, with a 262K-token context window and up to 33K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $0.07 per million input tokens and $0.50 per million output tokens (OpenRouter), across 1 provider we track.

Source page: https://www.aimodel.directory/models/ternary-bonsai-2-27b
Last verified: 4 Oct 2026

## Specifications

- **Developer:** Prism ML
- **Release date:** 18 Sept 2026 (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Status:** Generally available
- **Weights:** Open weights (source: Hugging Face, https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf)
- **License:** apache-2.0 (source: Hugging Face, https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf)
- **Context window:** 262K (262,144 tokens) (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Max output:** 33K tokens (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Input:** Text and images (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Output:** Text (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Reasoning mode:** Yes (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Tool calling:** Yes (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Structured output:** Yes (source: OpenRouter, https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)
- **Hugging Face:** prism-ml/Ternary-Bonsai-2-27B-gguf (source: Hugging Face, https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| OpenRouter | $0.07 | $0.50 | $0.04 | 262K |

## FAQ

### What is the context window of Ternary Bonsai 2 27B?

Ternary Bonsai 2 27B has a context window of 262,144 tokens (262K) and can generate up to 32,768 tokens in a single response, according to OpenRouter.

### How much does the Ternary Bonsai 2 27B API cost?

Ternary Bonsai 2 27B is listed from $0.07 per million input tokens and $0.50 per million output tokens (OpenRouter). Prices last verified 4 Oct 2026.

### Is Ternary Bonsai 2 27B open source?

Ternary Bonsai 2 27B is an open-weight model: its weights are published on Hugging Face as prism-ml/Ternary-Bonsai-2-27B-gguf under the apache-2.0 license. Check the license terms before commercial use.

### When was Ternary Bonsai 2 27B released?

Prism ML released Ternary Bonsai 2 27B on 18 Sept 2026, according to OpenRouter.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "Ternary Bonsai 2 27B", https://www.aimodel.directory/models/ternary-bonsai-2-27b