Leaderboard / PrismML

Ternary Bonsai 2 27B

PrismML · Bonsai · released 2026-09-17 · data checked 2026-11-03

Ternary Bonsai 2 27B is a 27.4B-parameter dense model from PrismML (United States), released 2026-09-17 under the Apache-2.0 license. It scores 74.6 on the Small LM Index, #3 of 34 medium models. It needs about 18.2 GB of memory at 4-bit with an 8K-token context.

Qwen3.8 27B compressed to ternary weights (about 1.7 bits each): the file is about 6 GB instead of 54 GB, and PrismML reports it keeps 98% of the original average score. Scores are PrismML's own runs (EvalScope, thinking mode). The smallest files need PrismML's llama.cpp fork; the Q2_0 file runs on stock llama.cpp b11556 or newer.

Small LM Index
74.6
#3 of 34 scored medium models
Likely 72.0–77.4 · from 2 of 6 core benchmarks
Parameters
27.4B
Dense
Price per 1M tokens
—
No hosted API on OpenRouter; self-host
Context window
262K
tokens

Benchmarks

Each bar shows this model's score. The tick marks the best medium model on that benchmark. Sources: 8 reported by PrismML. How we label sources.

AIME Lab-reported Math · AIME 202695.8
LiveCodeBench Lab-reported Coding · LiveCodeBench (version not stated)90.1
Class best: Qwen3.8 27B 90.3
IFBench Lab-reported Instruction following · IFBench prompt-loose74.0
Class best: Sage-A1.5 81.6
MMMU-Pro Lab-reported Vision75.5
Class best: Gemma 4 31B 76.9
MMLU Lab-reported Knowledge · MMLU-Redux89.1
Class best: EXAONE 4.0 32B 92.3
IFEval Lab-reported Instruction following91.3
Class best: LFM2.5 24B-A2B 96.8
BFCL Lab-reported Agentic · BFCL v374.9
MATH-500 Lab-reported Math98.8

Not reported: estimated

What the index model expects from this model's other scores. Not a measurement.

MMLU-Pro≈ 86
GPQA Diamond≈ 85
Humanity's Last Exam≈ 24
SWE-bench Verified≈ 72

Specifications

Lab
PrismML (US · United States)
Based on
Qwen3.8 27B (fine-tune or distillation)
Architecture
Dense transformer
Total parameters
27.4B
Active parameters
All (dense)
Size class
Medium
Context window
262K tokens
Input modalities
text, image
Reasoning
Reasoning (thinking)
License
Apache-2.0
Openness
Open weights
Memory to run
~18.2 GB at 4-bit, 8K context (more sizes)

Compare with

Ranked in

Sources

Something wrong here? Report it.

Run it locally

Uses prism-ml/Ternary-Bonsai-2-27B-gguf (Q2_0). Swap the tag for another size: F16, PQ2_0, PTQ1_0, Q2_0.

llama.cpp
llama-server -hf prism-ml/Ternary-Bonsai-2-27B-gguf:Q2_0
Then open http://localhost:8080 for a chat window.

This model ships in its own Q2_0 format; Ollama and LM Studio may not load it yet.

Memory needed: weights, context cache and runtime buffers.

Quantization4K context32K context256K context
16-bit F1656 GB58 GB73 GB
Q2_0 (as released) Q2_09.0 GB11 GB26 GB

Check it against your GPU, Mac or phone →