Ternary Bonsai 2.5 27B explained
Prism ML publishes this language model based on Qwen3.8-27B. It retains the base model's hybrid-attention architecture and targets coding and multi-step tool use. Tool calling lets the model request an action from external software and use the result in its next step.
- Model size
- 27.36 billion parameters
- Supported context
- 262,144 tokens
Prism ML’s model specifications · Qwen’s architecture details
Choose a file for your runtime
Ternary weights use three values: −1, 0, and +1. Prism ML reports 1.76 bits per weight for PTQ1_0. GGUF is a file format for storing model weights and metadata for runtimes such as llama.cpp. The three GGUF packings store the same ternary model. Prism ML’s weight format
Multi-token prediction (MTP) variants include a draft head that predicts candidate tokens for the model to verify. Choose the standard file for the text quickstart below.
| Packing and runtime | Standard | MTP |
|---|---|---|
PTQ1_0Prism ML fork | 5.99 GB | 6.23 GB |
PQ2_0Prism ML fork | 7.25 GB | 7.49 GB |
Q2_0Upstream llama.cpp | 7.67 GB | 7.91 GB |
Prism ML's card requires its llama.cpp fork for PTQ1_0 and PQ2_0. Use upstream llama.cpp release b11556 or newer for Q2_0. Runtime memory depends on the context size and other settings. Prism ML’s runtime guidance
For image input, get a separate optional mmproj file. It contains the vision component. The listing offers Q8_0 (629 MB) and BF16 (931 MB). A text-only run needs only the model file. GGUF repository files
Prism ML releases the model under the Apache 2.0 licence. See LICENSE and NOTICE.txt in the GGUF repository.
Run your first text prompt
Have the Hugging Face CLI (hf) and upstream llama.cpp on your command path. These commands follow Prism ML’s GGUF quickstart.
-
Check your llama.cpp release
Confirm the build is from release b11556 or newer before you load
Q2_0.llama-cli --version -
Download the standard Q2_0 file
hf download prism-ml/Ternary-Bonsai-2.5-27B-GGUF Ternary-Bonsai-2.5-27B-Q2_0.gguf --local-dir . -
Send a prompt
llama-cli -m Ternary-Bonsai-2.5-27B-Q2_0.gguf \ -ngl 99 -fa on -c 32768 \ --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 \ -p "Explain quantum computing in simple terms." -n 16384The example uses GPU offload. For a CPU-only run, set
-ngl 0. The model can print its reasoning before the answer.
Prism ML’s benchmark results
Prism ML ran this publisher evaluation in thinking mode at xhigh reasoning effort. The scores compare Bonsai 2.5 27B with the Qwen3.8 FP16 baseline. Prism ML’s benchmark tables
| Benchmark | Bonsai 2.5 27B | Qwen3.8 FP16 |
|---|---|---|
| Tool-calling average (five tests) | 77.2 | 77.7 |
| SWE-bench Verified | 75.6 | 80.6 |
Sources
- Prism ML’s GGUF model card
- GGUF repository files
- Prism ML’s Hugging Face profile
- Qwen3.8-27B base model card
- Prism ML’s MLX model card
Runtime releases, file links, and model card sections
- Prism ML’s weight format
- Ternary-Bonsai-2.5-27B-PTQ1_0.gguf
- Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf
- Ternary-Bonsai-2.5-27B-PQ2_0.gguf
- Ternary-Bonsai-2.5-27B-PQ2_0-mtp.gguf
- Ternary-Bonsai-2.5-27B-Q2_0.gguf
- Ternary-Bonsai-2.5-27B-Q2_0-mtp.gguf
- llama.cpp fork
- Prism ML’s GGUF quickstart
- Ternary-Bonsai-2.5-27B-mmproj-Q8_0.gguf
- Ternary-Bonsai-2.5-27B-mmproj-BF16.gguf
- LICENSE
- NOTICE.txt
- b11556
- Follow Prism ML’s MLX setup
- Prism ML’s benchmark tables