Skip to content
All releases
Added

Ternary Bonsai 2 9B

PrismML's Ternary Bonsai 2 9B joins the catalog through BYOK: a compact vision-language model with ternary weights and a 262K-token context, at $0.08 / $0.13 per million input / output tokens (list).

prism-ml/ternary-bonsai-2-9b is PrismML's compact open-weight model for conversation, reasoning and tool use. It is derived from Qwen3.5-9B with ternary weights, takes image input, and has a 262K-token context window. Weights are Apache 2.0.

It is BYOK-only. Add the key under Dashboard → BYOK; the provider bills you at its own rates and AnyRouter charges nothing for a BYOK route.

AI SDK
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({ model: anyrouter("prism-ml/ternary-bonsai-2-9b"), prompt: "Hello" })
Coding agent
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr claude --model "prism-ml/ternary-bonsai-2-9b"

Playbooks: AI SDK, coding agents, BYOK setup.

Looking for the full catalog? Browse all models.