Ternary Bonsai 2 27B via the Tokenator API

What the model is for

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.

Specification

Full nameTernary Bonsai 2 27B
API IDternary-bonsai-2-27b
Model vendorPrismML
TypeText model (chat / completions)
Context window262.1K tokens
Max output32.8K tokens
Image inputyes
Tokenator usage multiplier1.5×
Input modalitiestext, image
Aliasescursor-ternary-bonsai-2-27b
Supported API formats/v1/chat/completions /v1/responses /v1/messages
Upstream providers1
Current statusavailable
Data updated2026-09-19

Upstream providers

ProviderMultiplier
Unified LLM API1.5×

A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.

Example request

curl
curl https://api.tokenator.top/v1/chat/completions \
  -H "Authorization: Bearer sk-your-tokenator-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ternary-bonsai-2-27b",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Compatible tools

The model can be used in any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code, Cherry Studio, DeepSeek Harness, Hermes, Pi, OpenClaw.

FAQ about Ternary Bonsai 2 27B

What is the API ID of Ternary Bonsai 2 27B?

ternary-bonsai-2-27b — put this into the model field of your request.

What context window does Ternary Bonsai 2 27B have?

262.1K tokens; max output is 32.8K tokens.

How many tokens will a request cost?

(input + output) × 1.5×. See the documentation for details.

Which tools support this model?

Any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code. Setup guides are in the integrations section.