prism-ml logo
prism-ml

PrismML: Ternary Bonsai 2 9B

Source description (English)

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

Overview

Model specifications

Context
262,144 tokens
Maximum output
65,536 tokens
Architecture
text+image->text
Tokenizer
Qwen
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.08
per 1M tokens
Output
$0.13
per 1M tokens
Cache read
$0.04
per 1M tokens
API

Model configuration

Default parameters

temperature
1
top_p
0.95
top_k
20

Reasoning

Reasoning required
No
Default parameters
Yes
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"prism-ml/ternary-bonsai-2-9b","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

Input → Output

Input
textimage
Output
text
Reasoning

Yes

API

Supported API parameters

frequency_penaltyinclude_reasoninglogprobsmax_tokenspresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Available providers

1 Provider

Checked: October 28, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Darkbloom

int4
Context
262K
Maximum output
66K
Input
$0.08
Output
$0.13
Cache read
$0.04
Cache write
Not provided
prism-ml

1 models

All models