PrismML: Ternary Bonsai 2 27B

Prism-ml · Multimodal

🧠 26.9B📄 256K context💲 $0.075 / $0.500 per 1M tokens in / out🔓 Open weights (downloadable)⚖️ apache-2.0

\~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU; 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint; Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse:…

Which way is for me?

🌐 Online, right now

  1. Open the model's page on OpenRouter: openrouter.ai/prism-ml/ternary-bonsai-2-27b
  2. Sign in (with Google or email) and press Chat; you can talk to the model right there.
  3. Cost: a short exchange (about a page in and a page out) costs about $0.00029, so $1 buys about 3,478 messages.

💻 On my own computer

  1. Download and install LM Studio (free): lmstudio.ai
  2. In LM Studio open Search (the magnifier) and type exactly:
    prism-ml/Ternary-Bonsai-2-27B-gguf
  3. From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
  4. Press Download, then Load, and start talking in Chat.

Or, if you use Ollama, this one command is enough:

ollama run hf.co/prism-ml/Ternary-Bonsai-2-27B-gguf

🧑‍💻 For developers

vLLM

vllm serve prism-ml/Ternary-Bonsai-2-27B-gguf

Transformers (Python)

from transformers import pipeline
pipe = pipeline("image-text-to-text", model="prism-ml/Ternary-Bonsai-2-27B-gguf")

llama.cpp

llama-server -hf prism-ml/Ternary-Bonsai-2-27B-gguf
Words used here
GGUF
The file format LM Studio, Ollama and llama.cpp use to run a model.
Quantization (Q4, Q8)
Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
VRAM
The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
Context
The most text the model can see at once in a conversation (questions, answers and files).
Tokens per second
How fast the answer is written; 20 is about reading speed, 5 is slow.

From the Hugging Face model card

\~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU; 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint; Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse:…

Intended use

Laptop-local 27B agents: full 27B reasoning and tool use on a standard laptop at \~28 tok/s, with the 262K context available for long-document analysis, full-repository code work, and other tasks that depend on holding a large working set in context; Privacy-sensitive and offline settings: on-device execution keeps prompts and data on…

Limitations

The quality–footprint trade-off: the ternary model retains 98.2% of the full-precision average, and the gap is modest and predictable — the reasoning core (math, coding) stays within a few points of baseline, with the difference concentrated in the most demanding categories; Native low-bit kernels: the dense PTQ10 packing (1.75…

Benchmarks (from the model card)

VariantTrue bpwFootprintThinking avgvs FP16
Qwen3.8-27B FP1616.054 GB86.32100%
Qwen3.8-27B UD-Q4KXL ("4-bit")5.217.6 GB85.1898.7%
Qwen3.8-27B IQ2XXS ("2-bit")2.167.27 GB72.5984.1%
Bonsai 2 27B1.725.95 GB84.7898.2%

Source: Hugging Face · prism-ml/Ternary-Bonsai-2-27B-gguf · License: apache-2.0

Hardware and running it

Cloud and local Available through an API, and its weights are published to run on your own hardware.

Minimum Q4
18.1 GB
Recommended Q8
32.3 GB
Full quality FP16
64.6 GB

On common hardware

RTX 4060 · 8 GBWon't run
RTX 4090 · 24 GBUsableQ4 · ≈ 24–40 tokens/s
RTX 5090 · 32 GBUsableQ4 · ≈ 43–71 tokens/s
Mac M4 Max · 128 GBSlowFP16 · ≈ 4–6 tokens/s
H100 · 80 GBGreatFP16 · ≈ 22–37 tokens/s
8× H100 · 640 GBGreatFP16 · ≈ 180–300 tokens/s

Speeds are estimates. estimated speed for one user, from memory bandwidth

Links come from the vendor's official site and the model card the vendor published · Updated: