Skip to content
ModelsRankingsChatDocsPricing
pr

PrismML: Ternary Bonsai 2 27B

prism-ml/ternary-bonsai-2-27b

Availableprism-mltext inimage intext out

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

Context

262K

tokens in

Max output

33K

tokens out

Price

$0.075 / $0.500

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "prism-ml/ternary-bonsai-2-27b",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="prism-ml/ternary-bonsai-2-27b",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

frequency_penaltyinclude_reasoninglogprobsmax_tokenspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

More from prism-ml