Ternary Bonsai 2.5 27B
Updated
TL;DR: Ternary Bonsai 2.5 27B (by PrismML; category: Local models). A heavily compressed version of Qwen3.8 27B built for agents that run on your own machine. PrismML stores every weight as -1, 0 or +1, which shrinks the model to about 5.9 GB against 53.8 GB for the full-precision original, so a 27B model with a 262K-token context fits on one consumer GPU or a Mac. Version 2.5 is tuned for long chains of tool calls and coding work, the place the earlier Bonsai 2 fell furthest behind the full model. It runs through llama.cpp on NVIDIA, Intel and Apple hardware and through MLX on Mac, iPhone and iPad. Pricing: Free weights under Apache 2.0 (GGUF and MLX builds on Hugging Face). Local use costs only your hardware: the PTQ1_0 file is 5.93 GB; the Q2_0 file runs on stock llama.cpp, the smaller PTQ1_0 and PQ2_0 packings need PrismML's llama.cpp fork for now. PrismML offers paid custom tuning through sales, price not published (model card and PrismML launch post, checked Nov 25, 2026).. Best for: Builders who want a coding or file agent running on one GPU or Mac.
BuildersLocal modelsPrismML
A heavily compressed version of Qwen3.8 27B built for agents that run on your own machine. PrismML stores every weight as -1, 0 or +1, which shrinks the model to about 5.9 GB against 53.8 GB for the full-precision original, so a 27B model with a 262K-token context fits on one consumer GPU or a Mac. Version 2.5 is tuned for long chains of tool calls and coding work, the place the earlier Bonsai 2 fell furthest behind the full model. It runs through llama.cpp on NVIDIA, Intel and Apple hardware and through MLX on Mac, iPhone and iPad.
Features and pricing are based on PrismML's official site and docs (vendor claims), not our own testing. Our take is labeled separately below.
- Audience: people building software and AI agents
- Pricing (vendor's published price): Free weights under Apache 2.0 (GGUF and MLX builds on Hugging Face). Local use costs only your hardware: the PTQ1_0 file is 5.93 GB; the Q2_0 file runs on stock llama.cpp, the smaller PTQ1_0 and PQ2_0 packings need PrismML's llama.cpp fork for now. PrismML offers paid custom tuning through sales, price not published (model card and PrismML launch post, checked Nov 25, 2026).. Prices change, so verify on the official site.
- Official site: https://prismml.com
- Source / changelog: https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF
The Builder Brief Take
Who it's for
- Builders who want a coding or file agent running on one GPU or Mac
- Teams whose code or documents may not go to a hosted API
- People already running llama.cpp or MLX
Who should skip it
- Anyone who needs frontier-level results on hard coding tasks
- Machines without a capable GPU or Apple silicon
- People who want a finished app rather than a model file
Where it works
- Private repo fixes: Run a coding agent on code that cannot leave the machine.
- Document work: Prepare reviewable summaries of local files.
- Offline tool use: Chain tool calls on a laptop with no internet.
Pros and cons
Pros
- Free weights, Apache 2.0
- About 5.9 GB for a 27B model
- 262K-token context
- Q2_0 build runs on stock llama.cpp
Cons
- Benchmarks are the vendor's own
- Still below the full-precision model
- Smallest packings need PrismML's fork
- We have not tested it
The move: getting started with Ternary Bonsai 2.5 27B
- Check GPU memory or Apple silicon
- Download the Q2_0 file
- Use the model card sampling settings
- Run one real task you know well
- Compare retries with your hosted model
How it helps
Who: A builder who wants a capable coding or file-handling agent that runs entirely on one workstation or Mac, so code and documents never go to a hosted API.
- Check your hardware first: an NVIDIA card with 8 GB or more of memory, or an Apple silicon Mac, per the packings PrismML lists.
- Start with the Q2_0 file on stock llama.cpp so you aren't depending on a fork on day one.
- Use the sampling settings on the model card and pass --min-p 0, since llama.cpp's default differs.
- Give it one real task you already run on a hosted model, such as fixing a failing test in a private repo, and compare the result and the number of retries.
- Only move to the PTQ1_0 or MTP builds through PrismML's fork if the speed difference matters to you.
Result: A local agent model you can judge on your own work in an afternoon, with no per-token bill and no data leaving the machine.
Why it matters
Editorial assessment: most people who want private, local AI hit the same wall: models small enough to run at home are too weak for agent work, and strong ones need server hardware. If PrismML's numbers hold up on your tasks, this narrows that gap a lot for a 6 GB download. Two cautions. The benchmarks are the vendor's, and the full-precision model still scores higher, so expect more retries than on a frontier API. And local is only as private as the setup around it: an agent with tool access can still send data out through those tools.
Ternary Bonsai 2.5 27B alternatives
- Ollama: Run open-weight models locally with a simple CLI and API, or use Ollama's hosted cloud models through the same interface when your machine is too small.
- Muse Spark Open: Meta's open-weight, natively multimodal model for coding and agent work: 816B total parameters (42B active) and a 1M-token context window. Use it through hosted APIs or, per Meta, run it on two M5 Ultra Mac Studios with MLX.
- Beam: Reflection AI's first open-weight model for coding, reasoning and long-running agent work: a sparse Mixture-of-Experts model with 501B total parameters (23B active). Ships with Mirror CLI, an open-source coding harness, and runs through Reflection's API, partners such as OpenRouter, Together AI, Ollama and LM Studio, or self-hosted.
- LM Studio: Desktop app to download and run open models like Qwen, Gemma and DeepSeek on your own computer, using llama.cpp and Apple's MLX under the hood. It includes a chat UI, a local OpenAI-compatible server for builders, and Bionic, an agent mode that can run local models or optional US-hosted cloud models.
- Strands Decider: Open-source decision models from the team behind the Strands Agents SDK. A decision model can't write text: you give it some state (a ticket, an email, a tool call) and a question with options, and it returns a probability for each option plus a calibrated confidence. Three question types: yes/no, pick one of N, and score on a scale. Built for the rote decisions inside agent workflows such as triage, routing, tool selection, argument checks and guardrails. Sizes from 2B (Qwen3.5 base, runs on a CPU or Apple-silicon Mac) to Gemma 4 E2B, E4B, 12B and 26B-A4B builds. Ships a CLI, an HTTP server and an agent skill that walks you through measuring it on your own data.
- llama.cpp: The open-source C/C++ engine that runs open-weight models on ordinary hardware, from laptops and phones to servers, using quantized GGUF files. It ships a command-line tool and llama-server, an OpenAI-compatible local server with a web UI. Many desktop apps for local AI are built on it, including LM Studio, which lists llama.cpp as one of its engines.
Recent changes
- 2026-11-24: Released as an upgrade to Ternary Bonsai 2 27B, same 5.9 GB footprint. PrismML's own benchmark table puts it at 75.6 on SWE-bench Verified (Bonsai 2: 60.8; full-precision Qwen3.8 27B: 80.6) and 90.5 on AppWorld (Bonsai 2: 51.2; Qwen3.8: 93.2), and reports 204 tokens per second on an RTX 4090 with its multi-token prediction head. Those are vendor numbers from PrismML's whitepaper, not ours. It hit the Hacker News front page on launch day. Not tested by us. Source
Putting it to work? Get a starter stack for your job in about a minute with the Stack Picker, or see how done-with-you setup works if you want help.
Get changes in your inbox
New AI tools, honest reviews and playbooks. One email a week.
Almost done. Confirm your email in the beehiiv tab we just opened.
That email does not look right. Try again.
Free. Unsubscribe anytime.Make an AI tool? List your tool on Builder Brief. Free listings get the same editorial review as paid ones.