Models Model details

PrismML

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

Input
$0.075

/ 1M tokens

Output
$0.5

/ 1M tokens

Context window
262.14K

tokens

Limits

Context

262,144

tokens

Max output

32,768

13% of the context window

Model facts

Author

PrismML

Tokenizer

Qwen

Modality

Text + Image -> Text

License

Apache-2.0

Created

Sep 18, 2026

Hugging Face

prism-ml/Ternary-Bonsai-2-27B-gguf

Default generation parameters

temperature

1

top_k

20

top_p

0.95

Reasoning

Default XhighXhighMediumNone

Publication status

Hugging Face: verifiedLicense: publishedParameter count: not published

Modalities

Input · TextInput · ImageOutput · Text

Generation controls

Frequency penaltyInclude reasoningLogprobsMax tokensPresence penaltyReasoningReasoning effortRepetition penaltyResponse formatSeedStopStructured outputsTemperatureTool choiceToolsTop kTop logprobsTop p