PrismML Shrinks Qwen 9x to 5.9 GB: Model Solves 75.6% of SWE-bench Verified Tasks
A strong model for agents is hard to run locally: Qwen3.8-27B in 16-bit form weighs about 54 GB. PrismML shrank it to 5.9 GB with ternary quantization, meaning each weight is stored as one of three values. On SWE-bench Verified, where the model fixes real bugs from open-source projects, the Bonsai 2.5 version solves 75.6% of tasks, compared with 60.8% for its predecessor. For local agents, a server GPU is no longer required.
AI-processed from TG: @ai_machinelearning_big_data (Machinelearning); edited by Hamidun News
A strong model for programming and agents usually can't be run locally: Qwen3.8-27B (27 billion parameters) in the standard 16-bit format weighs about 54 GB, which means a server with several GPUs rather than a laptop. PrismML has released Bonsai 2.5, the same model compressed to 5.9 GB, roughly nine times smaller. Yet on SWE-bench Verified, a test where the model must fix real bugs from open-source projects, it solves 75.6% of tasks, while the previous Bonsai version solved 60.8%. The uncompressed Qwen scores 80.6% on this test.
How the model got so small
Bonsai 2.5 is an update to the Ternary Bonsai series, built on Qwen3.8-27B. "Ternary" refers to ternary quantization: each model weight is stored not as a precise fractional number but as one of just three values. A useful comparison is a photo converted from millions of shades to three tones. The file becomes many times smaller, and the image is still recognizable. Here the gain is 5.9 GB instead of about 54 GB. The predecessor took up the same amount of space, so the size didn't change in this release. What improved is the quality of the output.
This footprint fits in the memory of a modern laptop. The weights run through llama.cpp on Nvidia and Intel graphics cards, and through MLX on Mac, iPhone, and iPad.
What changed: the model was taught not to loop
The main work went into long chains of tool calls. An agent doesn't solve a task in a single reply. It reads a file, runs a command, checks the result, edits the code, and repeats. Small compressed models often lose track in this mode: they waste extra steps or get stuck repeating the same action. PrismML says Bonsai 2.5 was refined to need fewer passes and to loop less often.
Figures from the release:
- SWE-bench Verified: from 60.8% to 75.6% of tasks solved. The full Qwen scores 80.6%, so the compressed version reaches about 94% of its result.
- AppWorld (a test in which the agent completes tasks in a simulation of everyday apps): from 51.2 to 90.5. That is nearly a 1.8x increase, the largest gain in the release, and it best demonstrates the effect of tuning for multi-step tool use.
What this means for developers
First, local agents are becoming more practical. If you need a coding assistant that doesn't send your source code to an external cloud, or an on-device agent without a stable internet connection, a 5.9 GB model is a working option, not just a demo.
Second, the economics. You don't need to rent a GPU server for every session, so costs drop for small teams and prototypes.
Third, existing tooling. Support for llama.cpp and MLX means the weights can be run with a familiar stack, without custom runtimes.
Limitations
All results are PrismML's own claims. The source materials include no independent verification, so before deploying, test the model on your own tasks: your repository and your tools may behave differently from the benchmark. Also, 75.6% is still five points below the full model, and the gap may be more noticeable on hard tasks. The release doesn't separately specify generation speed or memory use on long contexts, which matter a great deal for agents with long chains of steps.
Still, the direction is clear: quantization is no longer a simple trade-off of smaller size for worse quality. If you deliberately fine-tune a compressed model for agent scenarios, you can recover most of the quality while keeping a compact size. For those building local and private agent systems, Bonsai 2.5 is worth adding to the list of models to test.
- Nov 26, 2026PrismML Shrinks Qwen3.8-27B from 53.8 GB to 5.9 GB and Keeps 90% of Its Agentic Coding Quality
- Nov 26, 2026Mistral Ported 40,000 of 300,000 Lines of Fortran to C++ with Agents
- Nov 26, 2026Scumble Releases Free AI Editor with Layers and 124 MCP Tools for Agents
- Nov 26, 2026Sber Releases Two Open GigaChat 4 Models and Lets One of Them Write a Track in a Studio
Key Questions Answered
How the model got so small?
Bonsai 2.5 is an update to the Ternary Bonsai series, built on Qwen3.8-27B. "Ternary" refers to ternary quantization: each model weight is stored not as a precise fractional number but as one of just three values. A useful comparison is a photo converted from millions of shades to three tones. The file becomes many times smaller, and the image is still recognizable. Here the gain is 5.9 GB instead of about 54 GB. The predecessor took up the same amount of space, so the size didn't change in this release.
What changed: the model was taught not to loop?
The main work went into long chains of tool calls. An agent doesn't solve a task in a single reply. It reads a file, runs a command, checks the result, edits the code, and repeats. Small compressed models often lose track in this mode: they waste extra steps or get stuck repeating the same action. PrismML says Bonsai 2.5 was refined to need fewer passes and to loop less often. Figures from the release: SWE-bench Verified: from 60.8% to 75.6% of tasks solved.
What this means for developers?
First, local agents are becoming more practical. If you need a coding assistant that doesn't send your source code to an external cloud, or an on-device agent without a stable internet connection, a 5.9 GB model is a working option, not just a demo. Second, the economics. You don't need to rent a GPU server for every session, so costs drop for small teams and prototypes. Third, existing tooling. Support for llama.cpp and MLX means the weights can be run with a familiar stack, without custom runtimes.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
