FormingModel trial kitopencodehermespicodexpublished fresh until

PrismML's Ternary Bonsai 2: run a 27B model in about 6-7 GB?

Summary PrismML's Ternary Bonsai 2 27B is Qwen3.8-27B compressed to ternary weights: 5.95 GB or 7.21 GB GGUF files that PrismML says keep 98.2% of the full model's benchmark average. Those files need PrismML's fork; a larger 7.63 GB Q2_0 file supports stock llama.cpp b11556+. Tool calling still has open issues.

Not for choosing conventional GGUF quant levels; see gguf-quant-level-for-agentic-coding

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
AModel trial kit · v2026-09-25+wwfix.1Ternary Bonsai 2 27B GGUF with PrismML's llama.cpp build
How you use itRuns a short model trial
What it can doinstalls software · writes files · network · runs shell
What's inside
AModel trial kit · v2026-09-25+wwfix.1Ternary Bonsai 2 27B GGUF with PrismML's llama.cpp build
How you use it
Runs a short model trial
What it can do
installs software · writes files · network · runs shell
What's inside

What this thread does

The 5.95 GB PTQ1_0 and 7.21 GB PQ2_0 files need PrismML's fork, but a 7.63 GB Q2_0 file supports stock llama.cpp b11556+. Do first: run llama-cli --version before choosing the stock-compatible file (model card).

What it is

PrismML released Ternary Bonsai 2 27B on 17 September 2026 (@PrismML). It is derived from Qwen3.8-27B, with almost every weight stored as -1, 0 or +1 plus a shared scale per group of 128 weights (about 1.72 bits per weight). The Hugging Face repo prism-ml/Ternary-Bonsai-2-27B-gguf (Apache 2.0) ships the two small packings below, plus a 7.63 GB Q2_0 file for stock llama.cpp b11556+:

  • PQ2_0, 7.21 GB: faster prompt processing everywhere, and the one PrismML measured on Apple Silicon.
  • PTQ1_0, 5.95 GB: smallest, faster decode on RTX 40-series, L4 and other Ada-generation cards.

Context is 262K tokens. An optional 0.63 GB vision file adds image input.

Maker's numbers (as stated on the model card, September 2026)

  • Thinking-mode average over 14 benchmarks: 84.78 vs 86.32 for Qwen3.8-27B at FP16 (98.2%), vs 72.59 for a conventional IQ2_XXS 2-bit quant.
  • BFCL v3 (tool calling): 74.92 vs 76.74 for FP16.
  • Decode speed: about 130 tok/s on an RTX 5090, 81-91 tok/s on an RTX 4090, about 28 tok/s on an M5 Pro laptop (PQ2_0).

These are PrismML's own measurements. The model card does not establish independent agent-task quality. In gprot42's 18 September 2026 report, an OpenCode harness on an M5 Max reached the maker's short-context throughput but produced unusable browser-game code after a day of tuning. This is one user's report on an older runtime, not a standardized benchmark or a WhatWorks lab result.

When to use it

You want a 27B-class reasoning model behind a local agent on a 12-16 GB GPU or a laptop, where a normal 4-bit quant (about 17.6 GB) does not fit. Alternatives: a 4-bit quant of a smaller model with stock Ollama or LM Studio, or a hosted API.

Caveats (from PrismML's known-issues page)

  • Stock llama.cpp, Ollama and LM Studio cannot load the PQ2_0 or PTQ1_0 files. Those need a build of PrismML-Eng/llama.cpp (MIT). The repo's Q2_0 file instead needs stock llama.cpp b11556+ (11 October 2026), which added Bonsai runtime support; older stock builds silently produce garbled Q2_0 output. Apps bundling llama.cpp need that engine version too. Stock llama.cpp runs the F16 file correctly from b11556 onward; older stock builds produce garbled output; older Q2_0 files from other Bonsai repositories declare type 42 and won't load. See the current compatibility warnings.
  • Tool calls sometimes come out malformed or loop, and tool calls with empty arguments can return HTTP 400/500 (the known-issues page specifies "{}" as the argument-free call's arguments value). The chat template needs exactly one system message, placed first.
  • It reasons at xhigh effort by default and writes long thinking traces. Leave a large output budget or ask for reasoning_effort: "medium".
  • In tool loops the prompt cache often misses, so long agent sessions reprocess a lot of context.

Sources

Primary sources, opened 18 October 2026: the model card on Hugging Face and its known-issues page.

  • Confirms: base model Qwen3.8-27B; Apache 2.0; groups of 128 weights with a shared scale and about 1.72 bits per weight overall; PQ2_0 at 7.21 GB and PTQ1_0 at 5.95 GB; 0.63 GB vision file; 262K context; the 84.78, 86.32 and 72.59 benchmark averages; BFCL v3 74.92 against 76.74; decode of about 130 tok/s on an RTX 5090, 81 (PQ2_0) and 91 (PTQ1_0) on an RTX 4090 and 28 on an M5 Pro; the need for the PrismML llama.cpp build; the open issues on malformed tool calls, empty-argument calls (send the empty-object JSON string "{}"), exactly one leading system message, xhigh as default effort, and prompt-cache misses in tool loops.
  • Detail the thread leaves out: setting effort to high returns HTTP 500 (use xhigh or medium), and the card and known-issues page agree that Q2_0 needs stock llama.cpp b11556+ to avoid garbled output.
  • Not checked: the X announcement itself (it did not open) and the 17 September release date, which the card does not state.

Not for: choosing conventional GGUF quant levels; see gguf-quant-level-for-agentic-coding

checked 2026-11-14

Started from a post by @PrismML, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# PrismML's Ternary Bonsai 2: run a 27B model in about 6-7 GB?
Summary: PrismML's Ternary Bonsai 2 27B is Qwen3.8-27B compressed to ternary weights: 5.95 GB or 7.21 GB GGUF files that PrismML says keep 98.2% of the full model's benchmark average. Those files need PrismML's fork; a larger 7.63 GB Q2_0 file supports stock llama.cpp b11556+. Tool calling still has open issues.

## Options
- A · Ternary Bonsai 2 27B GGUF with PrismML's llama.cpp build · early, no verdict yet · installs software · writes files · network · runs shell
Copy for agent
get the whatworks thread ternary-bonsai-2-27b-local-agent-model and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ternary-bonsai-2-27b-local-agent-model

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Ternary Bonsai 2 27B GGUF with PrismML's llama.cpp build

PrismML's ternary GGUF of Qwen3.8-27B (PQ2_0, 7.21 GB), pinned to a Hugging Face revision, served by a release of PrismML's llama.cpp fork on a local OpenAI-compatible endpoint that an agent can use. Apache 2.0 model; MIT runtime.

Format
Model trial kit
Source
hf:prism-ml/Ternary-Bonsai-2-27B-gguf
Pinned
v2026-09-25+wwfix.1 · b072e1d3b35a
Content hash
b072e1d3b35a0a63
Audit
scan passed
Can do
installs software · writes files · network · runs shell
Works with
opencode · hermes · pi · codex
Check
The pinned PQ2_0 weights is fully there (7,206,168,928 bytes); The PrismML llama-server build runs; While it runs, the local server answers on port 8080
Author
@prism-ml
Kudos
0

This package has no public source link yet.

Are you @prism-ml? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package ternary-bonsai-2-27b-gguf before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp