Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseAPI / Product · ActionableHabr AI→ original

PrismML compresses Qwen3.8 27B to 5.93 GB and keeps 97.4% of its average score

Running a 27-billion-parameter model on a 12 GB graphics card used to be out of reach: the weights alone took 53.8 GB. PrismML compressed Qwen3.8 27B with ternary quantization, where each weight is -1, 0, or +1, and produced a 5.93 GB file. On the developer's own tests, the average score is 82.12 versus 84.32 for the original, or 97.4%. There are no independent checks yet, so teams should run a pilot on their own data before deploying.

AI-processed from Habr AI; edited by Hamidun News
PrismML compresses Qwen3.8 27B to 5.93 GB and keeps 97.4% of its average score
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
RTX 3060 with 12 GB47 tokens/s, around 74 with MTP (user benchmark)
Starting point on 12 GB8K–16K context and one slot, then up to 32K
Key metric #3Apache 2.0 license, local operation without an external API

Enterprise AI is constrained not only by model quality but also by hardware. To run a 27-billion-parameter model in-house, you need a server accelerator: the Qwen3.8 27B weights alone take 53.8 GB in FP16. On November 24, 2026, PrismML released Ternary Bonsai 2.5 27B, whose weights take 5.93 GB. That is nine times smaller, and running it on a graphics card with 12 GB of memory looks realistic. Let's look at what in this story is confirmed and what the developer has only claimed.

How the model was compressed nine times

Conventional quantization stores each weight at lower precision: FP16, INT8, INT4, INT2. Ternary quantization goes further and restricts each weight to -1, 0, or +1. Each group of 128 weights shares one FP16 scaling factor. Additionally, a Hadamard transform is applied: the matrices are prepared in advance, and the runtime transforms the activations during inference. On average, this works out to 1.76 bits per weight.

The parameter count has not shrunk: it is still the 27B class (27.36 billion parameters), with a context of up to 262,144 tokens as the architectural maximum. The technique first appeared in Bonsai 2 on September 17, and version 2.5 improved agentic programming and multi-step work at the same file size. The Apache 2.0 license permits commercial use, the model runs locally, and it can call tools.

For comparison: Q4_K_M is about 16.6 GB, GSQ-RCO IQ3_XXS is 10.1 GB, IQ2_S is 9.3 GB, IQ2_XS is 8.4 GB, and Unsloth UD-IQ2_XS is 7.6 GB. At 5.93 GB, Bonsai 2.5 is lighter than all of them.

What the tests show

Across 16 tests in five categories, Bonsai 2.5 averaged 82.12 points against 84.32 for the FP16 original, or 97.4%. The largest drop was in mathematics: 90.10 versus 93.15. In programming it was 71.65 versus 74.55, and in instruction following 80.90 versus 81.15.

Results in agentic tasks are uneven. On SWE-bench Verified, Bonsai 2.5 scores 75.6 against 80.6 for the original; on AppWorld, 90.5 against 93.2; on τ³-Bench, it actually scores higher, 73.9 against 72.8. Terminal-Bench 2.1 gives 60.1 versus 70.8. The previous Bonsai 2 scored only 51.2 on AppWorld, so the jump is large. Among builds under 10 GB, the new model leads: 77.2 points in tool calling versus 75.3 for Unsloth UD-IQ2_XS and 67.0 for Bonsai 2, and 54.2 versus 47.8 and 37.9 in agentic programming.

All figures belong to the developer, and no independent reproduction exists yet. Retaining 97.4% of the average score does not mean 97.4% quality on your task.

Running on 12 GB and speed

Several file formats are available. PTQ1_0 weighs 5.99 GB (6.23 GB with MTP), PQ2_0 is 7.25 GB, and Q2_0 is 7.67 GB. The first two require PrismML's fork of llama.cpp; Q2_0 works in standard llama.cpp starting with build b11556. For Apple Silicon there is an MLX 2-bit build at 8.88 GB, but it is text-only for now. For NVIDIA, PTQ1_0 is the better choice.

The file is not the whole memory footprint: the KV cache, buffers, and headroom for the system sit on top. As a rough estimate on 12 GB, start with an 8K–16K context and one slot (-np 1), then raise it to 32K while watching peak usage in nvidia-smi. Contexts of 64K and above with a 4-bit KV cache are experimental. This estimate relies on data from the previous generation, not on direct measurement.

Speed figures from user reports: about 47 tokens/s on an RTX 3060 without MTP and 74 with it, and up to 72 on an RTX 5070 Ti Laptop. MTP is a mode in which the model predicts several tokens per pass. Neither measurement has been reproduced. Server cards are faster: 305 tokens/s on RTX 5090, 296 on B200, 204 on RTX 4090, and 25.3 on Apple M4 Pro.

What a team should do

The most useful part of the material is the pilot plan. Compare Bonsai 2.5 PTQ1_0, Bonsai with MTP, Qwen3.8 27B FP16 as a reference, Qwen3.8 27B Q4_K_M, and GPT-OSS-20B and GPT-OSS-120B on identical RAG cases. Measure answer accuracy, hallucination rate, tool-call success, TTFT, P95 latency, and peak VRAM, and include Russian-language documents.

Integration is straightforward: run llama-server as an OpenAI-compatible backend and connect it to your existing Open WebUI and vector database. Don't start with vLLM, since support for PTQ1_0 and MTP is documented only for the llama.cpp fork. Running locally does not equal security: tool permissions, logs, and access control in search remain your responsibility.

A ninefold reduction in weights does not produce a ninefold reduction in TCO: integration, security, and maintenance costs remain. But the entry barrier for on-premise AI has dropped noticeably.

Story

Key Questions Answered

How the model was compressed nine times?

Conventional quantization stores each weight at lower precision: FP16, INT8, INT4, INT2. Ternary quantization goes further and restricts each weight to -1, 0, or +1. Each group of 128 weights shares one FP16 scaling factor. Additionally, a Hadamard transform is applied: the matrices are prepared in advance, and the runtime transforms the activations during inference. On average, this works out to 1.76 bits per weight.

What the tests show?

Across 16 tests in five categories, Bonsai 2.5 averaged 82.12 points against 84.32 for the FP16 original, or 97.4%. The largest drop was in mathematics: 90.10 versus 93.15. In programming it was 71.65 versus 74.55, and in instruction following 80.90 versus 81.15. Results in agentic tasks are uneven. On SWE-bench Verified, Bonsai 2.5 scores 75.6 against 80.6 for the original; on AppWorld, 90.5 against 93.2; on τ³-Bench, it actually scores higher, 73.9 against 72.8. Terminal-Bench 2.1 gives 60.1 versus 70.8.

What are the key details on Running on 12 GB and speed?

Several file formats are available. PTQ1_0 weighs 5.99 GB (6.23 GB with MTP), PQ2_0 is 7.25 GB, and Q2_0 is 7.67 GB. The first two require PrismML's fork of llama.cpp; Q2_0 works in standard llama.cpp starting with build b11556. For Apple Silicon there is an MLX 2-bit build at 8.88 GB, but it is text-only for now. For NVIDIA, PTQ1_0 is the better choice. The file is not the whole memory footprint: the KV cache, buffers, and headroom for the system sit on top.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — PrismML compresses Qwen3.8 27B to 5.93 GB and keeps 97.4% of its average score https://news.hamidun.com/en/news/18302/prismml-compresses-qwen3-8-27b-to-5-93-gb-and-keeps-97-4-of

What do you think?
Loading comments…