Home » Ternary-Bonsai-2.5-27B-GGUF: Smaller, Faster AGI Model Hits Market

Ternary-Bonsai-2.5-27B-GGUF: Smaller, Faster AGI Model Hits Market

By

–

Ternary-Bonsai-2.5-27B-GGUF: Smaller, Faster AGI Model Hits Market

A 27-billion-parameter model that fits in 7 GB of video memory and decodes at more than 100 tokens per second on a single consumer GPU is changing the arithmetic for local AI. Prism ML’s Ternary-Bonsai-2.5-27B-GGUF delivers agentic tool-calling and coding performance that sits at roughly 90 percent of a full-precision equivalent while occupying one-ninth of the space.

The Shift Is Ternary Weights

The model keeps the Qwen3.8-27B hybrid-attention architecture but stores every weight as a ternary value — minus one, zero, or plus one — with a single shared FP16 scale factor for each group of 128 weights. That yields 1.76 bits per weight and a 5.93 GB footprint against 53.8 GB for the FP16 baseline. The weights are rotated in a Hadamard basis before quantisation, a transform folded into the stored matrices so it costs no extra bits or memory traffic at runtime.

Agentic Performance at FP16 Parity

Across five tool-calling benchmarks — τ²-Bench, τ³-Bench, BFCL v3, BFCL v4 and AppWorld — the model averages 77.2 against 77.7 for the FP16 reference, essentially indistinguishable at full precision. On agentic coding the gain over the previous Bonsai 2 release is sharp: Terminal-Bench 2.1 rises from 52.8 to 60.1, SWE-bench Verified from 60.8 to 75.6, and DeepSWE from zero to 27.0, reaching 90 percent of the FP16 score. General capability across 16 benchmarks averages 82.1 versus 84.3 for FP16.

Runs on Stock llama.cpp and Consumer Hardware

The Q2_0 GGUF build loads on upstream llama.cpp (build b11556 or newer) with CUDA and Metal backends. On an RTX 4090 the model decodes at 86.8 tokens per second in 8.9 GB of VRAM at 8K context; the Prism ML fork’s PTQ1_0 packing pushes that to 110.9 tokens per second. With multi-token prediction (MTP) variants, decode speeds range from 179 to 240 tokens per second on the same card, roughly a 2× gain. The model also runs on 8 GB and 10 GB cards when the server is started with a single slot flag to avoid unified KV-cache overhead.

Three Packings for Different Runtimes

The Hugging Face repository ships the same ternary weights in three packings: Q2_0 for stock llama.cpp and Ollama, PTQ1_0 for the Prism ML llama.cpp fork on NVIDIA GPUs, and PQ2_0 for Apple Metal. MTP variants add a draft head for speculative decoding. The vision tower ships separately as an optional mmproj file so text-only serving never pays the memory cost.

Built for Coding Assistants, Research Agents and Local Chat

The model targets long-horizon, tool-driven work — coding assistants that edit repositories, research agents that browse and synthesise, and chat applications that keep data on device. Nearly a million downloads on Hugging Face since late November signal that 2-bit ternary is no longer a research curiosity but a practical path to 27B-class capability on hardware people already own.

Sources

Photo: Abigor (CC BY-SA 3.0)

Get breaking stories first on our Telegram channel.

More stories by

Most read

Crime & Fraud

People in the News

News

World News