reroute

PrismML: Ternary Bonsai 2 27B

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

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

Modalities
In / Out Price
$0.075 / $0.50 per 1M
Context
262K
Released
Sep 18, 2026
Knowledge Cutoff
—

API

Reroute speaks the OpenAI Chat Completions format. Point any OpenAI SDK at https://www.reroute.wtf/api/v1 and use prism-ml/ternary-bonsai-2-27b as the model.

You need an API key
Keys start with sk-rr-v1- and are shown once.
Create API key
curl https://www.reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{
  "model": "prism-ml/ternary-bonsai-2-27b",
  "messages": [
    { "role": "user", "content": "What is the meaning of life?" }
  ]
}'

Streaming

Set stream: true to receive server-sent events. The final chunk carries usage and cost.

curl -N https://www.reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{ "model": "prism-ml/ternary-bonsai-2-27b", "stream": true,
        "messages": [{ "role": "user", "content": "Count to five" }] }'