# Ternary Bonsai 2 9B

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

Source page: https://www.aimodel.directory/models/ternary-bonsai-2-9b
Last verified: 2 Nov 2026

## Specifications

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

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| OpenRouter | $0.08 | $0.13 | $0.04 | 262K |

## FAQ

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

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

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

Ternary Bonsai 2 9B is listed from $0.08 per million input tokens and $0.13 per million output tokens (OpenRouter). Prices last verified 2 Nov 2026.

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

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

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

Prism ML released Ternary Bonsai 2 9B on 16 Oct 2026, according to OpenRouter.

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