explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • Why ternary 27B matters for local agents
  • Benchmark table: what PrismML claims
  • Speed claims and MTP speculative decoding
  • How to download and run
  • Hardware planning: who can actually run 2.5?
  • Format pick: PTQ1_0 vs PQ2_0 vs Q2_0 vs MLX
  • Migrating from Bonsai 2 27B
  • API cost crossover (rough)
  • Product use cases PrismML highlights
  • Limits and verification habits
  • How Bonsai 2.5 fits the wider open-model week
  • Security and supply-chain checklist
  • What to watch next
  • Related reading
← Back to blog

explainx / blog

PrismML Ternary Bonsai 2.5 27B: 5.9 GB Agentic Coding Model

PrismML, Open Models, Local AI, Coding Agents, Quantization

Part of Local AI

PrismML released Ternary Bonsai 2.5 27B on Nov 24, 2026: Apache 2.0 weights near Qwen3.8 27B agent scores at a 5.9 GB GGUF footprint for llama.cpp and MLX.

Nov 24, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
PrismML Ternary Bonsai 2.5 27B: 5.9 GB Agentic Coding Model

PrismML released Ternary Bonsai 2.5 27B on November 24, 2026, an Apache 2.0 upgrade that keeps the roughly 5.9 GB PTQ1_0 footprint of Ternary Bonsai 2 27B while pushing agentic coding and multi-turn tool use closer to full-precision Qwen3.8 27B. Weights are live on Hugging Face with download tables in PrismML docs.

Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

TL;DR

table · 2 cols
ItemPrismML November 24, 2026
Base modelQwen3.8 27B full precision reference
Footprint~5.93 GB PTQ1_0; ~9× smaller than FP reference per PrismML
SWE-bench Verified75.6 vs 60.8 on Bonsai 2 and 80.6 on Qwen3.8
tau³-Bench73.9 vs 69.1 on Bonsai 2
Runtimesllama.cpp, MLX, PrismML builds on NVIDIA and Intel
LicenseApache 2.0

Why ternary 27B matters for local agents

Most open-weight agent stacks still assume 70B-class APIs or 24 GB+ VRAM for credible SWE-bench numbers. PrismML's pitch is intelligence density: keep weights in true ternary packing so a 12 GB RTX 3060 can host multi-hundred-thousand-token agent sessions, matching the on-phone Bonsai 2 story we covered in PrismML Bonsai 2 smaller tiers and the earlier near-lossless 27B compression post.

Version 2.5 is not a width change. PrismML says it reduced repetitive thinking loops and tightened multi-step tool chains—the failure mode where a local agent misreads a pytest log, spins, and burns context. That aligns with explainx.ai coverage of local agent harnesses and llama.cpp v1 stable APIs teams already ship.

Benchmark table: what PrismML claims

SWE-style issue card linked to a patch, illustrating agentic coding benchmarks PrismML cites for Bonsai 2.5SWE-style issue card linked to a patch, illustrating agentic coding benchmarks PrismML cites for Bonsai 2.5

PrismML publishes this comparison in its announcement (vendor-run, not independently reproduced here):

table · 4 cols
BenchmarkQwen3.8 27BBonsai 2 27BBonsai 2.5 27B
SWE-bench Verified80.660.875.6
DeepSWE v1.130.1027
Terminal-Bench 2.170.852.860.1
AppWorld93.251.290.5
tau³-Bench72.869.173.9
BigCodeBench61.557.260.3
LiveCodeBench v687.683.883.0

The jump on AppWorld and SWE-bench Verified is the headline for builder readers. The DeepSWE row still shows a large gap to Qwen3.8, which is why PrismML frames 2.5 as narrowing the distance, not matching full precision on every suite.

Readers comparing to cloud agents should cross-check Cognition Devin SWE-2.1 and OpenShellBench-style harnesses—different cost curves, same question: does the local loop finish the task?

Speed claims and MTP speculative decoding

Gauge-style graphic showing fast local inference speeds for agent decode workloadsGauge-style graphic showing fast local inference speeds for agent decode workloads

PrismML lists 291 tokens/s generation with MTP on an H100 and 204 tokens/s on an RTX 4090, with ~3,060 tokens/s prompt processing on the 4090 for a 2,000-token prompt. MTP draft heads ship in separate GGUF bundles (Ternary-Bonsai-2.5-27B-gguf-mtp per docs).

Community testers on X report ~74 tok/s decode at 262K context on a 12 GB RTX 3060 when MTP is enabled, versus ~47 tok/s without MTP—consistent with PrismML's emphasis on draft decoding for ternary unpack cost.

How to download and run

PrismML's download page lists repositories:

  • GGUF: prism-ml/Ternary-Bonsai-2.5-27B-GGUF with PTQ1_0, PQ2_0, Q2_0, and mmproj vision files where applicable.
  • MLX: prism-ml/Ternary-Bonsai-2.5-27B-mlx-2bit for Apple Silicon.

Example Hugging Face CLI pattern from docs:

bash
pip install -U "huggingface_hub[cli]"
hf download prism-ml/Ternary-Bonsai-2.5-27B-GGUF Ternary-Bonsai-2.5-27B-PTQ1_0.gguf --local-dir models

PrismML's demo repo setup.sh defaults to 27B when BONSAI_MODEL is unset. If you already run Bonsai 2 27B, swap filenames and rerun regression tests on your repo before trusting leaderboard deltas.

Q2_0 remains the portability path: upstream llama.cpp without PrismML binaries, at ~7.6 GB. PQ2_0 trades size for faster prompt processing on PrismML builds—pick based on whether you optimize for RAM or iterations per hour.

Hardware planning: who can actually run 2.5?

PrismML targets three hardware stories in the same announcement: datacenter H100, consumer RTX 4090, and Apple MLX on Mac/iPad/iPhone. Treat those as vendor ceilings, not guarantees on your toolchain.

table · 3 cols
SetupWhat PrismML citesPractical notes
NVIDIA H100291 tok/s gen with MTP; 3,200 tok/s prefill on 2K promptNeeds PrismML or recent llama.cpp + MTP bundle
RTX 4090204 tok/s gen; ~3,060 tok/s prefillMTP head materially raises decode
RTX 3060 12 GBCommunity ~74 tok/s at 262K with MTPSame card reported ~26 tok/s on Bonsai 2 day one
Apple SiliconMLX 2-bit packCheck model card size on HF; 27B MLX may exceed phone RAM

If you run agents inside Dockerized harnesses or Rockbox-style devices, budget CPU offload separately: ternary unpack is cheap on GPU but slow on CPU-only paths unless you stay on OCRia-nano-class sizes.

Context length marketing often cites 262K in community tests. Confirm your runtime's KV cache math: at 27B ternary, long agent threads can still exhaust 12 GB when MTP and vision projector load together.

Format pick: PTQ1_0 vs PQ2_0 vs Q2_0 vs MLX

PrismML docs emphasize three GGUF layouts plus MLX:

  • PTQ1_0 (5.93 GB) — densest trits; needs PrismML binaries for best kernels.
  • PQ2_0 (~7.2 GB) — trits in 2-bit slots; faster prompt processing in PrismML builds.
  • Q2_0 (~7.6 GB) — upstream llama.cpp compatibility without custom builds.
  • MLX 2-bit — single model.safetensors pack; best for on-device Mac demos.

For CI agents that only need bash + edit loops, start with Q2_0 to avoid pinning exotic binaries in Docker. For daily driver coding on a 4090, PTQ1_0 + MTP is the configuration PrismML's speed table assumes.

Vision note: 27B Bonsai 2.5 GGUF repos include mmproj files for image input. The MLX 27B pack is text-only per docs—do not assume screenshot agents work on MLX without checking the model card.

Migrating from Bonsai 2 27B

Teams on prism-ml/Ternary-Bonsai-2-27B-gguf should plan a side-by-side week:

  1. Freeze prompt templates and tool schemas you used on 2.0.
  2. Run the same 20-task harness on 2.5 PTQ1_0.
  3. Compare turn count, failure loops, and tokens per success.
  4. Keep 2.0 weights for rollback until SWE tickets pass.

PrismML keeps Bonsai 2 27B repositories online, so migration is not forced. Archive paths matter for reproducible evals you publish externally.

API cost crossover (rough)

At ~$3/$15 per million tokens for frontier APIs (see Gemini 4 Neon pricing for a current anchor), a local 27B wins when:

  • Documents cannot leave the laptop (law, health, unreleased code).
  • Iterations per hour dominate quality per token.
  • Electricity + amortized GPU beat sustained xhigh cloud spend.

It loses when you need frontier reasoning on novel domains where 75.6 SWE still trails 80.6 Qwen3.8 in PrismML's own table. Hybrid stacks—local Bonsai for tool loops, cloud for planning—mirror Antigravity Neon + Hydrogen orchestration patterns, but entirely on your hardware.

Product use cases PrismML highlights

The announcement videos (hosted on Vimeo in the product post) walk pytest repair and screenshot-to-webpage rebuild flows entirely on-device. That matches how privacy-sensitive teams use local document parsers beside coding agents: keep client files off a shared API key.

For founders, the interesting wedge is embedded assistance inside desktop apps—a doc tool, IDE plugin, or supporting agent that calls Bonsai 2.5 through llama.cpp without a per-seat frontier API. Compare against InclusionAI Ling open weights if you need Chinese-English coverage instead of Qwen3.8 lineage.

Limits and verification habits

PrismML's whitepaper backs the table, but vendor benchmarks still deserve your tasks:

table · 2 cols
RiskMitigation
Tool-format sensitivityLog parse failures across 20 real tickets
Vision mmproj mismatchLoad Q8_0 projector only when images arrive
Loop regressionsCap turns; compare to Bonsai 2 baseline
License auditsApache 2.0 still needs NOTICE compliance

Ternary weights also mean calibration surprises on long-context slots—mirror the discipline we recommend in claimed-vs-verified posts: screenshot your cost and your pass rate, not a launch banner.

How Bonsai 2.5 fits the wider open-model week

November 2026's open-weight lane includes Tencent HY-MT3 translation, Clover diffusion agent preview, and router data showing open weights climbing on OpenRouter in our OpenRouter spend post. Bonsai 2.5 is the local agent entry: same week, different constraint (VRAM).

If you teach agent workshops, add a lab module: download PTQ1_0, run a 10-step tool loop, and compare token throughput with and without MTP. That exercises AI agent workshop prerequisites without a cloud bill.

Security and supply-chain checklist

Open weights remove API logging risk but add binary trust risk:

  • Verify SHA256SUMS on 9B/4B/2B repos; confirm whether 2.5 27B ships the same file.
  • Pin llama.cpp or PrismML release hashes in SBOMs.
  • Treat MTP draft heads as extra attack surface—same signature checks as base GGUF.
  • Do not mix random HF reuploads; stay on prism-ml org links from prismml.com.

For regulated teams, pair local agents with UK FCA-style agent authorization thinking even when models never phone home: tool side effects still touch production.

What to watch next

PrismML's whitepaper link in the announcement is the place to verify compression math and per-benchmark harness versions. Watch whether Qwen3.8 upstream updates force a Bonsai 2.6 rebase, and whether SWE-bench Verified task versions change community rankings.

If MTP becomes default in the demo setup.sh, retest latency on laptops without discrete GPUs before you promise workshop parity with cloud IDs.

Related reading

  • PrismML Bonsai 2 27B compression
  • PrismML Bonsai 2 small tiers
  • llama.cpp v1.0 stable
  • Six MacBook Airs local cluster
  • OpenClaw ShellBench agents
  • Cognition Devin SWE-2.1
  • InclusionAI Ling 3.2 Air
  • Agent workshop formats
Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 23, 2026

RunAnywhere Wally Adds Seven Open Models: What the CLI Does and What Is Unverified

RunAnywhere, a YC W26 company, says seven new open models are live in its Wally catalog, taking it to about ten models behind one login. Wally is an MIT-licensed CLI that opens Claude Code, OpenCode and other agents on an open model, hosted or local. Here is how it works, how to try it, and which claims are the company's own.

Oct 20, 2026

NVIDIA Qwen3.8-Flash-Next FP4-Local: A 125B MoE in 96 GiB for One RTX PRO 6000

NVIDIA published an FP4 build of Alibaba Qwen3.8-Flash-Next, a 125B-parameter mixture-of-experts model, sized at about 96 GiB so it fits a single RTX PRO 6000 Blackwell or a DGX Spark. Here is what was quantized, what it costs in accuracy, and the catches before you try it.

Nov 18, 2026

Qwen3.8-27B OpenCode Adapter: 51% SWE-Bench Pro at 6–8× Fewer Tokens

On November 18, 2026 harness-hub shipped a LoRA adapter trained inside the real OpenCode harness on Qwen3.8-27B. The model card reports 51.0% pass@1 on SWE-bench Pro hard-51 with thinking off, using about a quarter of the base model turns and 6–8× fewer tokens than thinking-mode baselines.