Skip to content

Ternary Bonsai 2 27B

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

Vision · 262K context · Sep 2026 · 6 upstreams

Ternary Bonsai 2 27B is PrismML's 27B reasoning model, derived from Qwen3.8-27B and compressed to ternary weights. It supports coding, math, tool calling and image input, with a 262K-token context window.

Needs your own keyTo use Ternary Bonsai 2 27B, add a key from OpenRouter, Nous Research, Infron or 3 more. AnyRouter adds no fee.
context
262K
input / 1M (list)
$0.07
output / 1M (list)
$0.50
routes
6
speed, 24h
No data yet

Upstreams

6
  1. 1OpenRouterBYOKBilled to your key
  2. 2Nous ResearchBYOKBilled to your key
  3. 3InfronBYOKBilled to your key
  4. 4AI/ML APIBYOKBilled to your key
  5. 5NanoGPTBYOKBilled to your key
  6. 6FluenceBYOKBilled to your key

Compare

Compared with models of similar price and context window.

Ternary Bonsai 2 27B$0.07 (best)$0.50262K
Ternary Bonsai 2 9B$0.08 (second best)$0.13 (best)262K
Seed 2.0 Mini$0.10$0.40262K
Nex-N2.6$0.12$0.40262K
Ministral 3 8B 2512$0.17$0.17 (second best)262K

Quick start

curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "prism-ml/ternary-bonsai-2-27b",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

Owner
Prism Ml
Kind
Vision
Released
Sep 2026
Context
262K
Capabilities
Data policy
Provider retention
Endpoint
/api/v1/chat/completions