On July 14, 2026, PrismML announced Bonsai 27B — a multimodal, 262K-context build derived from Qwen3.6-27B compressed into binary (1-bit) or ternary weights without new pretraining. The headline number: ~3.9 GB for the phone variant — down from ~54 GB FP16 — while PrismML claims ~90% of full-precision intelligence on a 15-benchmark thinking suite.
That is a different problem than Tencent Hy3's 1-bit GGUF (295B MoE on a 128 GB node) or standard Qwen 3.6 local dev (Q8 at ~41 GB RAM on Mac). Bonsai targets the device in your pocket and everyday laptops with custom low-bit kernels, not off-the-shelf GGUF matmuls.
By July 15, a 502-point Hacker News thread stress-tested that pitch: Gemma 4 12B QAT comparisons, LM Studio load failures, tool-calling cliffs, and Apple acquisition rumors — expanded below.
explainx.ai maps variants, benchmark honesty, harness reality, and what launch hype gets wrong.
TL;DR
| Item | Detail |
|---|---|
| Base model | Qwen3.6-27B (architecture unchanged — compression only) |
| 1-bit variant | ~3.9 GB · binary {-1,+1} · ~90% FP16 (PrismML overall) |
| Ternary variant | ~5.9 GB · {-1,0,+1} · ~95% FP16 |
| FP16 baseline | ~54 GB |
| Modalities | Text + 4-bit vision tower (screenshots, docs, camera) |
| Context | 262K tokens · hybrid attention (~75% linear) · 4-bit KV |
| License | Apache 2.0 |
| Backends | MLX (Mac / iPhone / iPad) · CUDA (custom kernels) |
| Phone target | iPhone 17 Pro class · ~6 GB usable app memory |
| Speed (examples) | RTX 5090: 163 tok/s (1-bit) · M5 Max: 87 tok/s (1-bit) |
Sources: PrismML announcement · Hugging Face mlx-1bit · @PrismML
Two variants — phone footprint vs laptop quality
PrismML ships deliberate operating points, not one-size quant:
| Variant | Weight format | Effective bpw | Deployed size | Best for |
|---|---|---|---|---|
| 1-bit Bonsai 27B | Binary {-1, +1} + FP16 group scaling | 1.125 | ~3.9 GB | iPhone / tight RAM |
| Ternary Bonsai 27B | Ternary {-1, 0, +1} + FP16 group scaling | 1.71 | ~5.9 GB | Laptops · agentic quality |
"1-bit" is not one bit per weight in isolation. HN clarified the accounting:
| Label | Weight set | + FP16 scale per 128 weights | Effective bpw |
|---|---|---|---|
| 1-bit Bonsai | Binary {-1, +1} | Yes | 1.125 |
| Ternary Bonsai | Ternary {-1, 0, +1} | Yes | 1.71 |
Ternary values pack inefficiently in raw 2-bit slots — Prism's llama.cpp fork uses group size 128 (vs default 64) to avoid double-storing scales. Native ternary training (train weights directly in low bit-width) is not what shipped: Prism quantizes existing Qwen3.6-27B with their block-scaling recipe — architecture unchanged, encoding replaced.
| Qwen3.6-27B FP16 | Full precision | 16.0 | ~54 GB | Reference baseline | | Qwen3.6 Q4_K_XL | Conventional GGUF | ~5.2 | ~17.6 GB | Typical local quant |
Critical detail: Low-bit weights run end-to-end — embeddings, attention, MLPs, LM head — with no FP16 escape hatches inside the language stack. Vision stays a separate HQQ 4-bit tower (~0.46B params, optional mmproj pack).
"At about 4 GB, 1-bit Bonsai 27B is the first to pass through with room to work." — PrismML, July 14, 2026 (on iPhone per-app memory budgets)
Benchmarks — where quality holds and where it slips
PrismML's thinking-mode suite (15 benchmarks: math, coding, agentic tools, instruction following, knowledge, vision):
| Category | Qwen3.6-27B FP16 | Ternary Bonsai | 1-bit Bonsai |
|---|---|---|---|
| Math | 95.3 | 93.4 | 91.7 |
| Coding | 88.7 | 86.0 | 81.9 |
| Agentic / tool-calling | 80.0 | 74.0 | 66.0 |
| Instruction following | 78.4 | 71.8 | 65.8 |
| Knowledge / STEM | 83.1 | 77.0 | 73.4 |
| Vision | 72.6 | 65.2 | 59.6 |
| Overall average | 85.0 | 80.5 | 76.1 |
explainx.ai read:
- Math + coding survive compression best — aligns with Qwen 3.6 as a local coding sweet spot before Bonsai existed.
- Agentic tool-calling drops hardest on 1-bit — multi-step loops are exactly what PrismML markets; ternary is the serious local-agent build.
- PrismML's intelligence density metric: ~0.53 per GB on 1-bit vs ~0.05 FP16 — marketing frame, but useful for comparing quants on fixed RAM.
Conventional aggressive quants (e.g. IQ2_XXS ~9.4 GB) reportedly score lower than 1-bit Bonsai while using more memory — the claim is better Pareto frontier, not magic free intelligence.
Hacker News reality check — 502 points, Jul 15
A 502-point Hacker News thread (posted by xenova, Transformers.js) turned Bonsai from launch hype into harness-level debate. explainx.ai distills what practitioners actually argued — not PrismML's slide deck.
vs Gemma 4 12B 4-bit QAT (~7 GB)
The comparison HN kept returning to: Gemma 4 12B in Google's QAT (quantization-aware training) 4-bit build — just under 7 GB, runnable on phones and tablets, strong vision for its size.
| Dimension | Community read (HN, Jul 15) |
|---|---|
| Math + coding | Bonsai ahead of Gemma 4 12B QAT when cross-referencing published numbers |
| Knowledge + tool calling | Bonsai slightly behind — matters for agent loops |
| Vision | Gemma significantly ahead; several users called Gemma the phone multimodal pick |
| Writing style | Gemma praised as more pleasant, less blog-spam tone vs Qwen family |
| Agent speed | Gemma 4 12B QAT runs fast in harnesses; Bonsai ternary can reasoning-loop |
QAT vs Bonsai compression: HN stressed the distinction. QAT models are trained so 4-bit weights lose less at inference — Gemma 3/4 QAT releases are the reference. Bonsai starts from post-trained Qwen3.6-27B and re-encodes weights with block-wise FP16 scaling (one scale per 128 low-bit weights), not a full pretrain from scratch. Both chase the same Pareto frontier; the fair fight is intelligence per GB on your task, not badge size.
Unsloth UD_Q2 angle: One maintainer noted that a post-training 2-bit Qwen quant can land near Bonsai's footprint — and that a ~5% tool-calling drop on paper becomes painful in multi-turn agent work. Watch BFCLv3 multi-turn scores for doom loops, not single-turn GSM8K alone.
Dense 27B vs Qwen3.6-35B MoE — still the local fork
Several HN users with M1 Max / 128 GB setups said they still prefer Qwen3.6-35B-A3B MoE at Q4_K_M + MTP — faster wall-clock, fewer reasoning loops, and skepticism that dense 27B beats the MoE in daily use. Others insist Qwen3.6-27B dense is the best agentic coding model in the 27B class — mid at everything else.
explainx.ai read: Bonsai does not settle that fight. It asks: given you already chose dense 27B, how much RAM can you shed? If tool calling is your bottleneck, ternary on laptop beats 1-bit on phone — and full GGUF Qwen may still beat both when you have 48 GB+.
Agentic coding lives on tool calling
A recurring HN theme: coding benchmark scores mislead if tool calling degrades. Cloud Claude workflows fire dozens of tool steps per task; a model that writes decent Python but malforms tool JSON or loops feels broken in production even when GSM8K looks fine.
| Skill | Why it matters for agents |
|---|---|
| Tool calling | Shell, grep, edit, MCP — the harness interface |
| Multi-turn recovery | BFCLv3-style threads expose doom loops |
| Reasoning effort | High thinking modes can trap compressed models |
PrismML's own table shows agentic as the steepest 1-bit cliff (80.0 → 66.0). That matches HN: ternary is the minimum serious build for OpenCode-style loops.
Model-of-models — classifiers and MoE
HN sidetracked into routing: instead of one 27B that does everything, use a small router (or MoE experts) to call specialists — SQL model, vision model, translation model. Mixture-of-experts is the industrial version; classifier routing is the hobbyist sketch. Bonsai fits the single generalist on a phone lane; it does not replace Gemma-for-vision + Qwen-for-code splits on a desktop.
Independent numbers — don't trust one chart
| Source | What they found |
|---|---|
| PrismML / EvalScope | ~90–95% thinking-suite retention (above) |
| verdverm (lm-eval-harness + vLLM) | Preliminary bonsai-4bit: wikitext degraded vs baseline; gsm8k numbers disputed vs PrismML tooling — reproduce locally |
| ArmanJR GitHub benchmark | Bonsai vs Qwen3.5 comparison repo — note Bonsai 27B is Qwen3.6 base; author adding 3.6 rows |
| arxiv:2402.18158 | ICML 2024 quant survey — which layers tolerate 4-bit vs which tasks break first |
explainx.ai stance: Treat launch benchmarks as directional. Run your repo tests in your harness (OpenCode, Pi, Claude Code with local backend) before swapping production defaults.
Multimodal + 262K context on-device
| Feature | Specification |
|---|---|
| Vision | 4-bit tower · screenshots, documents, camera input |
| Context window | 262K tokens full-context capable |
| Attention | Hybrid — ~75% linear / 25% full (Qwen3.6 backbone) |
| KV cache | 4-bit near-lossless; full 262K on 1-bit adds ~4.3 GB KV at worst case (16 of 64 layers full-attn) |
| Acceleration | DSpark speculative-decoding drafter layer |
KV cache — agent economics: HN flagged Bonsai's frugal KV footprint as a win for multi-agent coding (many parallel contexts). Counterpoint: KV quantization hurts attention recall on long-form tasks — tolerance varies by model family and which tensors you compress (quant survey). A phone running 262K context is technically possible; a laptop running four agent tabs cares more about KV GB per session than peak context marketing.
Phone reality check: Demo videos note cached & prefilled image context — first-token latency and live camera loops will differ. 262K on a phone is a technical milestone, not a daily driver configuration.
Where it runs — MLX, CUDA, and what about the browser?
| Platform | Backend | Notes |
|---|---|---|
| iPhone / iPad | MLX-Swift fork | ~3.9 GB 1-bit within Pro Max app budget |
| Mac | MLX Python | Up to 87 tok/s (1-bit) on M5 Max per PrismML |
| NVIDIA GPU | CUDA custom kernels | Up to 163 tok/s (1-bit) on RTX 5090 |
| Developer preview | PrismML hosted API | Limited-time try-before-download |
X ecosystem noise: Posts from @xenovacom (Transformers.js) celebrate WebGPU local inference — adjacent to the story, but not part of PrismML's official launch artifacts. Treat browser deployment as community follow-on, not shipped product.
Not llama.cpp today: Unlike Hy3 GGUF or Unsloth Qwen GGUF, Bonsai needs PrismML's hybrid-attention low-bit matmuls. You cannot ollama pull this build unchanged.
Does it run in your harness? — Jul 15 integration reality
Launch-week pain is predictable. HN reports through Jul 15:
| Client / path | Status reported |
|---|---|
| LM Studio | GGUF + official MLX downloads often fail to load — engines lag Prism kernels |
| oMLX | Working for ternary per early adopters; deep CS Q&A impressed skeptics |
| Prism llama.cpp fork | github.com/PrismML-Eng/llama.cpp — prior Bonsai models ran here; mainline Metal/CPU may have partial merges |
| Bonsai-demo README | github.com/PrismML-Eng/Bonsai-demo — custom fork paths; macOS dependency failures reported, Prism team engaging on Discord |
| Unsloth | Not ready day one — expect next batch update |
| Locally AI (iOS) | LM Studio acqui-hired the app; iPhone 17 Pro / Pro Max required for 27B — 27B not listed for all users yet (older Bonsai 8B visible) |
| Android | Some builds output !!!!!!!!!!!! — HN suspects token id 0 (!) in Qwen tokenizer under bad quant/backend |
| M1 Pro 16 GB | VS Code agent worked but 24k-token system prompt dragged throughput 100 → 69 tok/s by session end |
Speed vs MoE baseline: One user reported Bonsai slower than Qwen3.6-35B-A3B @ Q4_K_M + MTP with CPU offload — optimization pass still ahead. WSL2 i5: ~1 tok/s — usable for curiosity, not pair programming.
PrismML on HN: Team replied offering Discord help on install failures — treat Jul 15–18 as integration week, not production week.
Why PrismML says this changes agent economics
PrismML's framing — credible for privacy-sensitive and high-iteration workloads:
| Cloud-only agent loop | Local Bonsai loop |
|---|---|
| Every step = network round trip | Hundreds of steps on-device |
| Per-token API cost accumulates | Marginal cost → ~0 after download |
| User files/screens cross the wire | Private data stays local by construction |
| Needs connectivity | Offline-capable assistants |
Hybrid architecture PrismML pitches: route routine / private steps to local Bonsai 27B, reserve cloud frontier for hardest reasoning — same tiering pattern as post-Fable local/cloud splits.
What it does not replace: Frontier closed models on hard agentic benchmarks, long-horizon coding agents at Opus-class reliability, or 128 GB MoE stories like Hy3.
Apple, Samsung, and on-device strategy
CNBC (Jul 14, 2026) reported Apple in talks with PrismML — sourced to CEO Babak Hassibi, which HN debated as either negotiating leverage or relationship-ending leak. Apple has Gemini derivative rights and ships capable silicon with thin on-device AI software; acquiring compression IP + team fits edge inference without training frontier cloud models.
Samsung appears in PrismML's investor list — HN read: future Galaxy needs a credible on-device assistant vs Apple Intelligence. Bonsai is Qwen under the hood; the product is encoding efficiency, not a new foundation pretrain.
Spec-sheet future: HN joked manufacturers will add "27B-capable" next to 5G — first spec bump some buyers would actually care about. That only matters if harness + vision + battery catch up to the weight file size milestone.
Download and getting started
| Resource | URL |
|---|---|
| Announcement + whitepaper | prismml.com/news/bonsai-27b |
| MLX 1-bit weights | huggingface.co/prism-ml/Bonsai-27B-mlx-1bit |
| Base model | Qwen/Qwen3.6-27B |
| Community | discord.gg/prismml |
Pick your variant:
- Phone or 8 GB RAM edge device → start 1-bit
- Laptop agent (OpenCode-style loops, repo context) → start ternary
- 48 GB+ Mac already running Qwen Q8 → stick with existing GGUF workflow unless RAM is the bottleneck
Hype vs measured limits — demos, marketing, and memes
| Claim on X / launch | Sober read |
|---|---|
| "Sonnet from 6 months ago on your iPhone" | Qwen3.6-27B ≈ mid-2025 tier per community benchmarks — not current frontier; compressed 1-bit is another step down on tools/vision |
| "Changed local LLM game forever" | Largest step in intelligence-per-GB — but backend lock-in and thermal/battery caps on phones |
| "27B on iPhone = cloud obsolete" | Ternary on laptop is the serious agent story; phone is showcase + privacy assistant, not replacement for Claude Code at scale |
| "Paradigm shift" (5th such post in two weeks) | HN fatigue: shifts show up in behavior, not release adjectives — valid research, loud marketing |
| Apple × PrismML CNBC chatter | Strategic interest ≠ default on-device model in next iOS |
Demo skepticism — recipe video and prose
Launch demos include fridge-ingredient → recipe multimodal flows. HN nitpicked macronutrient math (pasta protein counts sparked a durum wheat side thread) and recipe quality — fair for a compression demo, not a nutrition app. Other users asked why you'd run mundane recipe Q&A on a local 27B when search worked fine; counterpoint: skip 14-page recipe blog SEO backstory.
AI-written announcement tone: Some readers flagged LLM-ism in the blog post ("unlocks", "changes the equation") — separate from model quality, but it shapes trust on a safety-adjacent compression story.
Jabberwocky test: One HN user fails models that cannot recite Jabberwocky — others note that's memorization, which quantization degrades first. Useful sanity check, not a substitute for BFCLv3 or your repo's tests.
Convergence read: A comment linked Bonsai to the broader local-model + phone-hardware convergence — same week as extreme quants and Hy3 on one GPU. The layers are meeting in 2026, not "someday."
PrismML background: Caltech-rooted team; backers include Khosla, Cerberus, Google, Samsung — compression research shop, not a foundation-model trainer competing with Qwen/Alibaba on pretraining.
Summary
Bonsai 27B (July 14, 2026) compresses Qwen3.6-27B to ~3.9 GB (1-bit) or ~5.9 GB (ternary) with ~90–95% thinking-mode benchmark retention, multimodal vision, 262K context, and Apache 2.0 weights via MLX and CUDA. A 502-point Hacker News thread (Jul 15) added practical texture: beats Gemma 4 12B QAT on math/coding, loses on vision and tool calling, fails in stock LM Studio until upstream catches up, and rewards ternary for anyone running agent harnesses.
For developers already on llama.cpp + Qwen 3.6, Bonsai is a parallel stack for extreme density, not a drop-in GGUF. The actionable signal after HN: pick ternary on laptop, wait a few days for harness integration, run BFCLv3-style multi-turn evals, and do not assume phone 1-bit replaces Gemma for camera workflows — or cloud frontier for tool-heavy coding.
Related Reading
- Fermion Neutrino-1 8B — ternary one-artifact release
- Qwen 3.6 27B Local Dev — llama.cpp & OpenCode
- Gemma 4 12B — multimodal local guide & QAT context
- Tencent Hy3 GGUF 1-bit / 4-bit Single GPU
- Fix Local LLM Looping — samplers & sandboxing
- What Is llama.cpp? Run Models Locally
- MacBook vs Dedicated GPU for Local LLMs
- How to Run Open-Source Models Locally with OpenCode
- OpenCode Desktop Tabs — Jul 15 sessions
- Build a Personal Local AI System
- PrismML: Bonsai 27B announcement
- Update — September 18, 2026: PrismML shipped the successor — Bonsai 2 27B closes the retention gap to 98.2%, built on Qwen3.8 instead of Qwen3.6, though independent testing still found real stability issues.
Specs and PrismML benchmark tables reflect July 14, 2026 release. Hacker News community reports through July 15, 2026. Phone battery, thermal behavior, and harness compatibility vary — verify on your hardware before production agent loops.
