# Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones

- **ID:** 1104
- **Kind:** model
- **URL:** https://docs.prismml.com/models/bonsai-27b
- **Authors:** Prism ML
- **Venue:** PrismML
- **Publisher:** PrismML
- **Source:** web
- **Language:** en
- **Access:** free (ungated Hub weights GGUF/MLX; docs; whitepaper on alphaXiv; optional developer preview API mentioned in news)
- **License:** Apache-2.0
- **License family:** Permissive (auto-classified)
- **Tags:** bonsai-27b, prismml, 1-bit, ternary, quantization, on-device, qwen3.6, hybrid-attention, mlx, gguf, apache-2.0
- **Topics:** 1-bit/ternary LLM compression; on-device 27B multimodal inference; hybrid attention
- **Added:** 2026-09-01
- **Verified:** 2026-09-01
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/1104

## Summary

PrismML Bonsai 27B (announced 2026-07-14; alphaXiv whitepaper slug 2607.bonsai-27b) post-training-compresses Qwen3.6-27B into binary g128 and ternary g128 weights with group-wise FP16 scales, hybrid attention (~75% linear / 25% full), 262K context, optional 4-bit vision tower, and DSpark speculative decoding. Claimed ~3.9 GB (1-bit) / ~5.9 GB (ternary) vs ~54 GB FP16; ~11 tok/s on iPhone 17 Pro Max and tens of tok/s on Apple Silicon laptops; Apache-2.0 Hub packs (GGUF/MLX).

## Attributes

- **Purpose:** Release binary (1.125 bpw) and ternary (~1.71 bpw) end-to-end compressed variants of Qwen3.6-27B so 27B-class reasoning/vision/tool-use can run on laptops and phones.
- **Scale:** ~27B params (HF card: 27.3B binary LM weights + 0.46B vision). Context 262,144. Deployed LM ~3.9 GB (1-bit) / ~5.9–7 GB (ternary packs). Benchmarks reported over 15 thinking-mode tasks (1-bit avg 76.11 ≈89.5% of FP16 85.07; ternary 80.49 ≈94.6%).
- **Domain:** 1-bit/ternary LLM compression; on-device 27B multimodal inference; hybrid attention
- **Used for:** on-device 27B multimodal chat/agents; Apple MLX and CUDA llama.cpp low-bit inference; phone/laptop local serving
- **Time period:** News/docs dated July 14, 2026. HF prism-ml/Bonsai-27B-mlx-1bit createdAt 2026-07-04. Discord alphaXiv link 2026-07-15. No numeric arXiv id (slug 2607.bonsai-27b).
- **Author type:** lab (PrismML)

## Research notes

- Primary: docs.prismml.com/models/bonsai-27b + HF cards prism-ml/Bonsai-27B-mlx-1bit and Bonsai-27B-gguf (license apache-2.0, gated false) + alphaXiv abs/2607.bonsai-27b whitepaper abstract fetched 2026-09-01. Discord linked alphaXiv (no real arXiv id). Also Ternary-Bonsai-27B-* repos. Citation @techreport{bonsai27b} Prism ML July 2026.

## Similar entries

- [Maple-Preview](https://papers.projxon.ai/entries/591) (model, #591)
- [BitNet b1.58 2B4T](https://papers.projxon.ai/entries/586) (model, #586)
- [BitNet a4.8: 4-bit Activations for 1-bit LLMs](https://papers.projxon.ai/entries/556) (paper, #556)
- [Bi-Mamba: Towards Accurate 1-Bit State Space Models](https://papers.projxon.ai/entries/561) (paper, #561)
- [Mach-1 Additive 35B](https://papers.projxon.ai/entries/656) (model, #656)
- [Transformers documentation: AWQ (Activation-aware Weight Quantization)](https://papers.projxon.ai/entries/609) (other, #609)
