Access 2 PrismML models through the OpenRouter unified API 包括 Ternary Bonsai 2 9B 和 Ternary Bonsai 2 27B. Compare pricing, context windows, benchmarks, and capabilities between different PrismML models.
PrismML 已处理的 token 在 OpenRouter 上
Ternary Bonsai 2 9B is PrismML’s compact, open-weight language model for conversational AI, reasoning, and tool use. Built on Qwen3.5, it uses ternary weights packed into 2 bits for efficient inference. It accepts text and image input. Its 262K-token context window supports long conversations and document-heavy workflows, with up to 64K output tokens per response.
Bonsai 2 27B is a 27B-parameter reasoning model from PrismML derived from Qwen3.8-27B. It supports coding, mathematics, tool calling, and image understanding with a 262K-token context window. Ternary compression shrinks the language-model weights to roughly 8.5 GB while retaining 98.2% of the base model's average score across PrismML's 14 thinking-mode benchmarks, enabling efficient inference on consumer hardware. The model thinks by default and defaults to xhigh reasoning effort.
OpenRouter 通过统一的兼容 OpenAI 的 API 提供 2 个 PrismML 模型。创建 OpenRouter API 密钥,将客户端指向 https://openrouter.ai/api/v1,并将模型设置为 prism-ml/ternary-bonsai-2-9b 这样的 ID。快速入门提供了所有受支持 SDK 的请求示例。
https://openrouter.ai/api/v1
prism-ml/ternary-bonsai-2-9b
在 OpenRouter 上的所有 PrismML 模型中,Ternary Bonsai 2 9B 的上下文窗口最大,每次请求最多接受 262,144 个 token。
Ternary Bonsai 2 9B 是 OpenRouter 上最近添加的 PrismML 模型,于 2026年10月16日 上架。