- Synexa
- Model explainers
- Bonsai 2.5 27B
AI model · PrismML
Bonsai 2.5 27B, Explained: Specs, Benchmarks, Hardware
Bonsai 2.5 27B is PrismML's ternary agent model: 27.36B parameters squeezed into a 5.93GB file, a 262K-token context and an Apache 2.0 license, built to run coding and tool-calling agents on a laptop or one GPU. Synexa does not serve it; use Synexa when your app also needs images, music, video or 3D from one API key.
- 5.93GB, about 9× smaller than FP16
- 262K-token context
- Apache 2.0 open weights
- Synexa: Hunyuan3D 3.1 at $0.16
What is Bonsai 2.5 27B?
Bonsai 2.5 27B is a compressed language model from PrismML, a Caltech spin-out, released on November 24, 2026 under Apache 2.0. Its full name is Ternary Bonsai 2.5 27B, and it is the flagship of the PrismML Bonsai family, above the 9B, 4B and 2B Bonsai 2 models. It is built on Qwen3.8-27B with the architecture unchanged, reads text and images, writes text and holds up to 262K tokens of context.
Its trick is ternary weights. Every language-model weight is −1, 0 or +1, with one shared scale for each group of 128 weights, so the whole model needs 1.76 bits per weight. That puts it at 5.93GB, against 53.8GB for the same model at FP16.
It is an upgrade to Bonsai 2 27B from September 17, 2026, with the same size, format and runtimes. What changed is behaviour on long agent tasks: PrismML says it reads tool results better, recovers when a step fails and finishes in fewer turns and tokens. For another laptop-sized model, see our Inkling 2 Mini guide.
Bonsai 2.5 27B specs: size, context and architecture
Figures from PrismML's model card and docs, as of December 2026.
- Maker
- PrismML (Prism ML, Inc.)
- Released
- November 24, 2026
- Base model
- Qwen3.8-27B, architecture unchanged
- Parameters
- 27.36B total: 24.35B language backbone, 2.54B embedding and output head, 0.47B vision tower
- Architecture
- Hybrid attention (about 75% linear, 25% full), SwiGLU MLP, RoPE, RMSNorm
- Weight format
- Ternary, FP16 scale per group of 128, stored in a rotated Hadamard basis
- Size
- 5.93GB (PTQ1_0), about 7.2GB (PQ2_0), about 7.6GB (Q2_0)
- Context window
- 262,144 tokens
- Input / output
- Text and images in (vision via a separate projector file), text out
- Reasoning effort
- xhigh by default, or medium; low is not supported
- License
- Apache 2.0
Bonsai 2.5 27B benchmarks: how close to full precision?
Scores reported by PrismML in thinking mode at xhigh effort, against the full-precision base and the previous release. We have not run these tests ourselves.
SWE-bench Verified
- Bonsai 2.5 27B
- 75.6
- Bonsai 2 27B
- 60.8
- Qwen3.8-27B FP16
- 80.6
DeepSWE
- Bonsai 2.5 27B
- 27.0
- Bonsai 2 27B
- 0.0
- Qwen3.8-27B FP16
- 30.1
Terminal-Bench 2.1
- Bonsai 2.5 27B
- 60.1
- Bonsai 2 27B
- 52.8
- Qwen3.8-27B FP16
- 70.8
AppWorld
- Bonsai 2.5 27B
- 90.5
- Bonsai 2 27B
- 51.2
- Qwen3.8-27B FP16
- 93.2
τ²-Bench
- Bonsai 2.5 27B
- 82.0
- Bonsai 2 27B
- 80.2
- Qwen3.8-27B FP16
- 80.6
τ³-Bench
- Bonsai 2.5 27B
- 73.9
- Bonsai 2 27B
- 69.1
- Qwen3.8-27B FP16
- 72.8
GPQA Diamond
- Bonsai 2.5 27B
- 87.7
- Bonsai 2 27B
- 85.8
- Qwen3.8-27B FP16
- 90.5
AIME26
- Bonsai 2.5 27B
- 94.2
- Bonsai 2 27B
- 95.8
- Qwen3.8-27B FP16
- 94.6
LiveCodeBench v6
- Bonsai 2.5 27B
- 83.0
- Bonsai 2 27B
- 83.8
- Qwen3.8-27B FP16
- 87.6
File size
- Bonsai 2.5 27B
- 5.93GB
- Bonsai 2 27B
- 5.93GB
- Qwen3.8-27B FP16
- 53.8GB
| Benchmark | Bonsai 2.5 27B | Bonsai 2 27B | Qwen3.8-27B FP16 |
|---|---|---|---|
| SWE-bench Verified | 75.6 | 60.8 | 80.6 |
| DeepSWE | 27.0 | 0.0 | 30.1 |
| Terminal-Bench 2.1 | 60.1 | 52.8 | 70.8 |
| AppWorld | 90.5 | 51.2 | 93.2 |
| τ²-Bench | 82.0 | 80.2 | 80.6 |
| τ³-Bench | 73.9 | 69.1 | 72.8 |
| GPQA Diamond | 87.7 | 85.8 | 90.5 |
| AIME26 | 94.2 | 95.8 | 94.6 |
| LiveCodeBench v6 | 83.0 | 83.8 | 87.6 |
| File size | 5.93GB | 5.93GB | 53.8GB |
Vendor-reported numbers. Averaged over five tool-calling tests it scores 77.2 against 77.7 for full precision; over three agentic coding tests it keeps about 90% of the FP16 score (54.2 vs 60.5). PrismML also says it leads every low-bit build of the same base under 10GB on both agent suites.
What is Bonsai 2.5 27B good at?
PrismML pitches it for private, on-device agents where memory and speed matter more than the last few points of accuracy.
Tool calling
Agentic coding
Runs on a laptop
Fast on one GPU
Keeps data local
Built-in speculative decoding
How much does Bonsai 2.5 27B cost?
The weights are free under Apache 2.0, so the cost is your own hardware. Prices and listings as of December 5, 2026.
Your own Mac, PC or GPU
- Input
- $0
- Output
- $0
- Notes
- 16GB unified memory minimum on a Mac
Hugging Face download
- Input
- $0
- Output
- $0
- Notes
- GGUF, GGUF with draft head, MLX
OpenRouter
- Input
- not listed
- Output
- not listed
- Notes
- Only the older Bonsai 2 is listed
OpenRouter, previous release
- Input
- $0.075
- Output
- $0.50
- Notes
- Per million tokens, one provider, int4
Example: 100K in + 10K out, previous release
- Input
- $0.0075
- Output
- $0.005
- Notes
- About $0.0125 total
| Where | Input | Output | Notes |
|---|---|---|---|
| Your own Mac, PC or GPU | $0 | $0 | 16GB unified memory minimum on a Mac |
| Hugging Face download | $0 | $0 | GGUF, GGUF with draft head, MLX |
| OpenRouter | not listed | not listed | Only the older Bonsai 2 is listed |
| OpenRouter, previous release | $0.075 | $0.50 | Per million tokens, one provider, int4 |
| Example: 100K in + 10K out, previous release | $0.0075 | $0.005 | About $0.0125 total |
The example row is our arithmetic: 0.1M × $0.075 plus 0.01M × $0.50 = $0.0125, for the previous release. For other PrismML Bonsai sizes, the same Hugging Face organisation hosts the 9B, 4B and 2B models. PrismML also offers paid work tailoring Bonsai models to a team's data and hardware, with no public price.
How to run Bonsai 2.5 27B: llama.cpp, MLX or LM Studio
Four ways in, all local. Pick the file for your runtime first.
Use PrismML's demo repo
Run the GGUF in llama.cpp
Use MLX on Apple silicon
Load it in LM Studio
What to check before you rely on it
Points from PrismML's best practices and known issues.
- Pass --min-p 0 in llama.cpp, which defaults to 0.05
- Leave room for thinking: PrismML's examples cap output at 16,384 tokens
- Use medium effort for shorter answers
- Add -np 1 to llama-server on a small GPU to save VRAM
- Load Q2_0 in a llama.cpp build older than b11556
- Expect low reasoning effort to work: it behaves close to xhigh
- Expect full-precision coding: Terminal-Bench 2.1 is 60.1 vs 70.8
- Set a tiny token cap such as 256; it stops mid-thought
Bonsai 2.5 27B vs Bonsai 2 27B and the FP16 original
Pick Bonsai 2.5 over Bonsai 2 27B for anything agentic: same 5.93GB file and runtimes, but AppWorld jumps from 51.2 to 90.5 and DeepSWE from 0 to 27.0. PrismML says decode with the draft head is 2.3 to 3.0 times faster than on Bonsai 2's release day on six of seven NVIDIA GPUs measured.
Pick the full-precision Qwen3.8-27B when you have about 54GB of memory to spare and need every point: it still leads on coding (60.5 vs 54.2 average) and on general tasks (84.3 vs 82.1). If you are choosing between hosted multi-model platforms rather than language models, our WaveSpeed AI alternative and Runware alternative pages compare media APIs model by model.
Does Synexa serve Bonsai 2.5 27B?
No. Synexa does not serve this model or any other chat language model. Apart from a safety classifier's labels, its only text outputs are image answers from LLaVA-13B and transcripts from Whisper v3. For the language side, run the open weights on your own machine.
Synexa covers the media half of an app. A local agent can plan a game, a product page or a slide deck, then call Synexa to render it: Hunyuan3D 3.1 turns one image into a textured 3D model for $0.16 a request, and Lyria 2 writes a music clip for $0.10. Every price is on its model page in Explore, new accounts get $0.10 of free credit, and the quickstart shows the first call in Python or Node.
- Pay per request, no subscription
- Python and Node clients, plus plain HTTP
- Image, video, audio, upscaling and 3D in one catalog
Synexa models to pair with a local Bonsai agent
Flat per-request prices as listed on Synexa model pages, December 2026.
Textured 3D asset from one image
- Synexa model
- Hunyuan3D 3.1
- Price
- $0.16 / request
Fast draft 3D mesh
- Synexa model
- TRELLIS
- Price
- $0.02 / request
Concept art or product image from a brief
- Synexa model
- Nano Banana Pro
- Price
- $0.10 / request
Slide, chart or poster with readable text
- Synexa model
- GPT Image 2
- Price
- $0.10 / request
30-second music clip from a text prompt
- Synexa model
- Lyria 2
- Price
- $0.10 / request
Upscale or restore a photo
- Synexa model
- Real-ESRGAN
- Price
- $0.0015 / request
| Job your agent hands off | Synexa model | Price |
|---|---|---|
| Textured 3D asset from one image | Hunyuan3D 3.1 | $0.16 / request |
| Fast draft 3D mesh | TRELLIS | $0.02 / request |
| Concept art or product image from a brief | Nano Banana Pro | $0.10 / request |
| Slide, chart or poster with readable text | GPT Image 2 | $0.10 / request |
| 30-second music clip from a text prompt | Lyria 2 | $0.10 / request |
| Upscale or restore a photo | Real-ESRGAN | $0.0015 / request |
Synexa catalog prices, not PrismML's. A local model costs nothing per call, so media is usually the whole API bill; see how Synexa compares with other providers on pricing.
Related pages
More model explainers and API comparisons.
Frequently asked questions
What is Bonsai 2.5 27B?
Bonsai 2.5 27B is a ternary language model from PrismML, released November 24, 2026 under Apache 2.0. It is built on Qwen3.8-27B, stores each weight as −1, 0 or +1, and fits 27.36B parameters into a 5.93GB file. It reads text and images, writes text, holds 262K tokens of context and is tuned for coding and tool-calling agents.
Is it free to use?
Yes. The weights are free to download from Hugging Face under the Apache 2.0 license, which allows commercial use, changes and redistribution. Running it locally costs only your hardware and power. As of December 5, 2026 no hosted API on OpenRouter lists this release; the older Bonsai 2 is listed there at $0.075 per million input tokens and $0.50 per million output tokens.
Can Bonsai 2.5 27B run on a laptop?
Yes. The smallest file is 5.93GB, and PrismML's LM Studio guide asks for 16GB of unified memory at minimum, with 24GB or more recommended for long context. PrismML measured about 30 tokens per second on an Apple M5 Pro laptop and also lists Intel Core Ultra laptops and Apple iPhone and iPad as supported targets.
What does ternary mean here?
Each language-model weight takes one of three values, −1, 0 or +1, and every group of 128 weights shares one FP16 scale. That works out to 1.76 bits per weight instead of 16, which is why the model is about 9 times smaller than its full-precision base. The weights are stored in a rotated basis that the runtime undoes at no extra cost.
How good is it compared with full precision?
PrismML reports it level with the full-precision Qwen3.8-27B on tool calling, 77.2 against 77.7 averaged over five benchmarks, and at about 90% on agentic coding, 54.2 against 60.5. General capability is within about two points. The full model still leads on Terminal-Bench 2.1, 70.8 against 60.1, so test it on your own tasks first.
Which file should I download?
On NVIDIA GPUs, PrismML recommends PTQ1_0, the smallest file at 5.93GB and the fastest decode, but it needs PrismML's llama.cpp binaries. On Apple silicon, PQ2_0 is the benchmarked format. Q2_0, about 7.6GB, runs on stock llama.cpp from release b11556. MTP variants add a draft head for faster decoding.
How long is its context window?
The model supports up to 262,144 tokens of context, inherited from its Qwen3.8-27B base. PrismML's examples start with a 32,768-token context and leave 16,384 tokens for output, because the model thinks at xhigh effort by default. Longer contexts need more memory than the weights alone, so PrismML recommends 24GB or more of unified memory for long context.
Can I use Bonsai 2.5 27B through Synexa?
No. Synexa does not serve this model or any other chat language model. Synexa is a pay-per-request API for generative media: images, video, music, speech, upscaling and image-to-3D, including Hunyuan3D 3.1 at $0.16 a request. Many teams run a local language model to plan and write prompts, then call Synexa to render the asset. New accounts get $0.10 of free credit.
Pair Bonsai 2.5 27B with a media API
Let your local agent do the planning, then render the images, music and 3D models it asks for on Synexa. Pay per request, start with $0.10 free credit.