# Ternary Bonsai 2 27B

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/model/ternary-bonsai-2-27b. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/model/ternary-bonsai-2-27b.

Bonsai 2 27B is a 27B-parameter reasoning model from PrismML derived from Qwen3.8-27B. It supports coding, mathematics, tool calling, and image...

Canonical URL: https://lmspeed.net/model/ternary-bonsai-2-27b
Last updated: 2026-10-17

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

Bonsai 2 27B is a 27B-parameter reasoning model from PrismML derived from Qwen3.8-27B. It supports coding, mathematics, tool calling, and image understanding with a 262K-token context window. Ternary compression shrinks...

LLM

Quality[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

#80of 193

65.0

Official API price

Not published

## Category Performance

Observed-capability estimates with uncertainty reported separately from independent benchmark families.

Coverage

5 / 8

Methodology

[V3.0](https://lmspeed.net/methodology)

#1Math57.9Estimated2/4 Measured dimensions

80% interval: 46.1–69.8

foundational math62.5

math_500 · math_500

competition math53.3

aime · aime2025 / aime · aime2026

proof frontierPrior only

applied tool mathPrior only

#2Reasoning53.9Estimated2/4 Measured dimensions

80% interval: 42.1–65.7

abstract logicPrior only

scientific causal54.2

gpqa · gpqa

multistep constraintsPrior only

evidence verification53.6

lcr · lcr

#3Instruction following51.9Estimated2/4 Measured dimensions

80% interval: 40.1–63.7

constraint following50.1

ifeval · ifeval

structured outputPrior only

novel instruction generalization53.7

ifbench · if_bench

long multiturn instructionPrior only

#4Agents48.6Estimated2/4 Measured dimensions

80% interval: 36.8–60.4

planningPrior only

tool use50.2

tau · tau2_bench

environment execution47

terminalbench · benchlm_agentic_terminal_bench21

recovery reliabilityPrior only

#5Coding47.2Estimated3/4 Measured dimensions

80% interval: 38.0–56.5

code generation57.3

livecodebench · live_code_bench_v6

repository engineeringPrior only

debugging testing46.5

swe_verified · swe_verified

tooling quality38

terminalbench · benchlm_coding_terminal_bench21

## Specifications

[[2]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-2)

Model weights

Open weights

License

[Apache 2.0](https://lmspeed.net/model/license/apache-2-0)[[1]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-1)

Context window

262.1Ktokens

262,144 tokens · [[2]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-2)

≈ 314.6 pages of text

OpenRouter-reported max output

32.8Ktokens

32,768 tokens · [[2]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-2)

8K128K1M4M

262.1K

### Features

### Technical Details

Input

Output

Total parameters

27B

Released

Sep 2026

Documentation

[OpenRouter](https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)[HuggingFace](https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf)[Ollama](https://ollama.com/search?q=Ternary%20Bonsai%202%2027B)

Tokenizer

Qwen

Architecture

text+image->text

Moderated

No

Supported parameters

frequency_penaltyinclude_reasoninglogprobsmax_tokenspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

## Detailed scores

Updated: Nov 7, 2026

#### Overall

1 metric

Overall score65.0#80 / 193

Benchmark

Score

LMSpeed rank

Updated

Confidence

Overall score[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score65.0

LMSpeed rank#80/193

UpdatedNov 7, 2026

Confidence3

#### Agents

3 metrics

Τ²-bench results80.2#59 / 94BFCL v374.9#1 / 4

48.6Estimated

Dimensions and evidenceV3.0Estimated

80% interval 36.8–60.42/4 Measured dimensions

Planning & decompositionPrior only

Tool use50.21 family · 1 metric

tau · tau2_benchz -0.17 · q 1.00

Environment & long-horizon execution471 family · 1 metric

terminalbench · benchlm_agentic_terminal_bench21z -0.67 · q 1.00

Recovery & completion reliabilityPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

Τ²-bench results[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score80.2

LMSpeed rank#59/94

UpdatedNov 7, 2026

Confidence3

BFCL v3[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score74.9

LMSpeed rank#1/4

UpdatedNov 7, 2026

Confidence3

Terminal-Bench 2.1[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score52.8

LMSpeed rank#44/47

UpdatedNov 7, 2026

Confidence3

#### Coding

5 metrics

Coding score43.3#112 / 142LiveCodeBench v690.1#4 / 26

47.2Estimated

Dimensions and evidenceV3.0Estimated

80% interval 38.0–56.53/4 Measured dimensions

Code generation57.31 family · 1 metric

livecodebench · live_code_bench_v6z 0.85 · q 1.00

Repository engineeringPrior only

Debugging & testing46.51 family · 1 metric

swe_verified · swe_verifiedz -0.81 · q 1.00

Tool-assisted development & quality381 family · 1 metric

terminalbench · benchlm_coding_terminal_bench21z -1.91 · q 1.00

Benchmark

Score

LMSpeed rank

Updated

Confidence

Coding score[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score43.3

LMSpeed rank#112/142

UpdatedNov 7, 2026

Confidence3

LiveCodeBench v6[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score90.1

LMSpeed rank#4/26

UpdatedNov 7, 2026

Confidence3

BigCodeBench[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score58.1

LMSpeed rank#1/1

UpdatedNov 7, 2026

Confidence3

SWE-bench Verified[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score60.8

LMSpeed rank#60/80

UpdatedNov 7, 2026

Confidence3

Terminal-Bench 2.1[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score52.8

LMSpeed rank#41/45

UpdatedNov 7, 2026

Confidence3

#### Reasoning

3 metrics

GPQA85.8%#72 / 238Reasoning score76.2#48 / 151

53.9Estimated

Dimensions and evidenceV3.0Estimated

80% interval 42.1–65.72/4 Measured dimensions

Abstract logicPrior only

Scientific & causal reasoning54.21 family · 1 metric

gpqa · gpqaz 0.50 · q 1.00

Multi-step constraintsPrior only

Evidence integration & verification53.61 family · 1 metric

lcr · lcrz 0.05 · q 1.00

Benchmark

Score

LMSpeed rank

Updated

Confidence

GPQA[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score85.8%

LMSpeed rank#72/238

UpdatedNov 7, 2026

Confidence3

Reasoning score[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score76.2

LMSpeed rank#48/151

UpdatedNov 7, 2026

Confidence3

AA-LCR[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score77.0

LMSpeed rank#74/154

UpdatedNov 7, 2026

Confidence3

#### Knowledge

3 metrics

Knowledge score75.2#35 / 172MMLU-Redux89.1#11 / 12

Benchmark

Score

LMSpeed rank

Updated

Confidence

Knowledge score[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score75.2

LMSpeed rank#35/172

UpdatedNov 7, 2026

Confidence3

MMLU-Redux[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score89.1

LMSpeed rank#11/12

UpdatedNov 7, 2026

Confidence3

GPQA-D[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score85.8

LMSpeed rank#45/54

UpdatedNov 7, 2026

Confidence3

#### Math

5 metrics

MATH-50098.8%#3 / 76Math score82.7#22 / 82

57.9Estimated

Dimensions and evidenceV3.0Estimated

80% interval 46.1–69.82/4 Measured dimensions

Foundational math62.51 family · 1 metric

math_500 · math_500z 1.84 · q 1.00

Competition math53.31 family · 2 metrics

aime · aime2025z 0.35 · q 1.00aime · aime2026z 0.43 · q 1.00

Advanced proofsPrior only

Applied & tool-assisted mathPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

MATH-500[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score98.8%

LMSpeed rank#3/76

UpdatedNov 7, 2026

Confidence3

Math score[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score82.7

LMSpeed rank#22/82

UpdatedNov 7, 2026

Confidence3

GSM8K[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score96.7

LMSpeed rank#1/2

UpdatedNov 7, 2026

Confidence3

AIME 2025[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score95.0

LMSpeed rank#6/28

UpdatedNov 7, 2026

Confidence3

AIME26[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score95.8

LMSpeed rank#5/20

UpdatedNov 7, 2026

Confidence3

#### Multimodal

5 metrics

CharXiv (overall)80.0#1 / 1A-OKVQA86.8#1 / 1

Benchmark

Score

LMSpeed rank

Updated

Confidence

CharXiv (overall)[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score80.0

LMSpeed rank#1/1

UpdatedNov 7, 2026

Confidence3

A-OKVQA[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score86.8

LMSpeed rank#1/1

UpdatedNov 7, 2026

Confidence3

OmniDocBench 1.6[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score89.1

LMSpeed rank#1/1

UpdatedNov 7, 2026

Confidence3

RealWorldQA[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score80.1

LMSpeed rank#11/13

UpdatedNov 7, 2026

Confidence3

OCRBench V2[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score56.9

LMSpeed rank#4/4

UpdatedNov 7, 2026

Confidence3

#### Instruction following

3 metrics

Instruction Following score74.0#61 / 103IFEval91.3#16 / 30

51.9Estimated

Dimensions and evidenceV3.0Estimated

80% interval 40.1–63.72/4 Measured dimensions

Constraint following50.11 family · 1 metric

ifeval · ifevalz -0.07 · q 1.00

Structured outputPrior only

Novel-instruction generalization53.71 family · 1 metric

ifbench · if_benchz 0.19 · q 1.00

Multi-turn & long instructionsPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

Instruction Following score[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)

Score74.0

LMSpeed rank#61/103

UpdatedNov 7, 2026

Confidence3

IFEval[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score91.3

LMSpeed rank#16/30

UpdatedNov 7, 2026

Confidence3

IFBench[[3]](https://lmspeed.net/model/ternary-bonsai-2-27b#model-source-3)V3 evidence

Score74.0

LMSpeed rank#21/29

UpdatedNov 7, 2026

Confidence3

## OpenRouter endpoints

1 endpoints

Third-party OpenRouter endpoint data, shown separately from LMSpeed measurements. Some 30-minute live performance fields only appear after syncing with an OpenRouter API key.

|  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- |
| Darkbloom darkbloom/int4 | $0.075/M | $0.500/M | 100% | — | — | 262.1K tokens / 32.8K tokens |

## Frequently Asked Questions

### What is the Ternary Bonsai 2 27B API price?

Not published

## Sources & notes

- [1]

[Model license](https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf)Checked: 2026-10-17

- [2]

[OpenRouter-reported; not official](https://openrouter.ai/prism-ml/ternary-bonsai-2-27b)

- [3]

[Benchize](https://benchize.com/)Checked: 2026-09-17, 2026-11-07

- [4]

[LMSpeed methodology](https://lmspeed.net/methodology)

Benchmark data comes from Benchize (benchize.com). Category scores are calculated by LMSpeed.

Download benchmark evidence (JSON)

---
Cite as: Ternary Bonsai 2 27B — LMSpeed, https://lmspeed.net/model/ternary-bonsai-2-27b (retrieved 2026-12-04)
