PrismML has released a new language model for agents that handle files and tools on personal devices. It improves multistep tool calling and coding while keeping its file size at 5.93GB. It targets developers who want to process private data on-device.

1. Agent improvements in a small storage footprint

Ternary Bonsai 2.5 27B is based on Qwen3.8-27B and retains its predecessor's ternary weight format. Weights are compressed to -1, 0, and +1, sharing a scale every 128 weights for storage at 1.76 bits per weight.

The PTQ1_0 file is 5.93GB. The reference model, the original in 16-bit floating point (FP16), has a file size of 53.8GB.

This approach targets agent capabilities while reducing memory demands for local deployment. The model weights are licensed under Apache 2.0.

PrismML says the model can run with llama.cpp on NVIDIA and Intel GPUs, and with MLX on Apple devices.

2. Tool calling nears the original, while coding improves over the predecessor

The company reports a tool-calling average of 77.2 for the new model versus 77.7 for the original, using thinking mode and the highest reasoning effort, xhigh. This closes in on the original from the predecessor's 67.0.

On AppWorld, which involves writing code using app APIs, the score rose from 51.2 to 90.5. The company reports that the new model completed all tasks within a scenario 89.3% of the time.

Table: Key agent benchmarks, standardized task scores for measuring performance

Conditions: Company white paper evaluation; NVIDIA H100 and vLLM; thinking mode and xhigh; identical execution paths and sampling across models; 1 attempt per task (averaged for repeated evaluations)

Unit: Score (%)

Agent evaluation scores versus the original and predecessorTool-calling average (5 tests): Qwen3.8 FP16 77.7, Bonsai 2 27B 67.0, Bonsai 2.5 27B 77.2; AppWorld: Qwen3.8 FP16 93.2, Bonsai 2 27B 51.2, Bonsai 2.5 27B 90.5; Terminal-Bench 2.1: Qwen3.8 FP16 70.8, Bonsai 2 27B 52.8, Bonsai 2.5 27B 60.1; SWE-bench Verified: Qwen3.8 FP16 80.6, Bonsai 2 27B 60.8, Bonsai 2.5 27B 75.6; DeepSWE: Qwen3.8 FP16 30.1, Bonsai 2 27B 0.0, Bonsai 2.5 27B 27.0; Coding average (3 tests): Qwen3.8 FP16 60.5, Bonsai 2 27B 37.9, Bonsai 2.5 27B 54.2Qwen3.8 FP16Bonsai 2 27BBonsai 2.5 27BTool-calling average (5 tests)77.767.077.2AppWorld93.251.290.5Terminal-Bench 2.170.852.860.1SWE-bench Verified80.660.875.6DeepSWE30.10.027.0Coding average (3 tests)60.537.954.2
Agent evaluation scores versus the original and predecessor
Tool calling nears the original, while coding improves over the predecessor
MetricQwen3.8 FP16Bonsai 2 27BBonsai 2.5 27B
Tool-calling average (5 tests)77.767.077.2
AppWorld93.251.290.5
Terminal-Bench 2.170.852.860.1
SWE-bench Verified80.660.875.6
DeepSWE30.10.027.0
Coding average (3 tests)60.537.954.2

Each row applies the same task to three models. Coding tests assess action sequences such as terminal work or repository edits. The three-test coding average is 54.2, below FP16's 60.5 but above the predecessor's 37.9. The company says this is 90% of FP16's score.

3. Faster generation and processing costs

The model card's MTP variant speeds up generation with an auxiliary prediction layer that proposes upcoming tokens for the main model to verify in a batch. The company measured 282 tokens per second on H100 with it enabled, versus 184 disabled. On RTX 4090, the figures were 204 and 111 tokens, respectively. These server measurements used 36 real prompts covering chat, tool calls, documents, code, and more. Draft prediction reduces prompt-processing speed on NVIDIA GPUs by 9~23%.

The company reports that H200 results from the same experiment also show faster generation alongside input-processing costs. Experimental kernels, software that handles hardware computation, aim to improve prompt processing too.

Table: H200 results with prediction and experimental kernels

Conditions: NVIDIA H200, PTQ1_0, llama-server, 36 real prompts, 2,048 input-processing tokens, 3 tokens per prediction step with a minimum probability of 0.1

Unit: Tokens/second

Faster generation and processing costs
Execution modeGeneration speedPrompt-processing speed
Prediction off1942475
Prediction on2962252
Prediction on with experimental kernels3063362

Tasks that first read long materials and tasks that generate long answers are affected differently by this cost.

4. File format and runtime choice are key to local execution

The company recommends PTQ1_0 files for NVIDIA GPUs, while its Apple device measurements use PQ2_0 files.

Both formats require PrismML's fork of llama.cpp. Q2_0 files can be used with upstream llama.cpp.

The upstream runtime requires version b11556 or later. The following model-card example uses the company's fork.

./bin/llama-cli -m Ternary-Bonsai-2.5-27B-PTQ1_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 16384

5. Practical changes for local agents

Near-original tool-calling scores with less storage matter for developers considering agents for internal documents or private repositories. Adoption starts with choosing a runtime suited to the file format and checking whether input processing or generation dominates task time.

Experimental kernel performance comes from a runtime still under testing. The company white paper says even the longest evaluation stayed within a single task. Work spanning multiple contexts over several hours has not yet been measured.

Ternary Bonsai 2.5 27B improves local agents' tool use while retaining a small file size, but deployment decisions must account for task type and runtime conditions.