Enter opens the highlighted result. Esc closes.

GLM 4.5 vs Ternary Bonsai 2 27B

Ternary Bonsai 2 27B costs 4.4x less per output token than GLM 4.5 ($0.50 vs $2.20 per million). Updated October 22, 2026; no benchmark has tested both models yet.

GLM 4.5Z.ai
Coding
No data
Overall
No data
Output $/M
$2.20
P Ternary Bonsai 2 27BPrism-ml
Coding
No data
Overall
No data
Output $/M
$0.50
vs $2.20 vs $0.50 per 1M output tokens. Ternary Bonsai 2 27B is 4.4x cheaper.

GLM 4.5 or Ternary Bonsai 2 27B: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Compare them on price, context and the boards below.

No benchmark has tested both yet. GLM 4.5 has results on SWE-bench Verified, LiveCodeBench (Vals AI) and LiveCodeBench (Artificial Analysis run); Ternary Bonsai 2 27B has none yet. Compare them on price and context instead.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GLM 4.5 not benchmarked, Ternary Bonsai 2 27B not benchmarked.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
GLM 4.5 $2.20 against Ternary Bonsai 2 27B $0.50 per million output tokens, 4.4x apart.
Context window
GLM 4.5 takes 131K tokens, Ternary Bonsai 2 27B 262K.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index8 boards measured
Coding benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
SWE-bench Verified64.2%Not measuredOnly GLM 4.5 measured
LiveCodeBench (Vals AI)67.5%Not measuredOnly GLM 4.5 measured
LiveCodeBench (Artificial Analysis run)73.8%Not measuredOnly GLM 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)22.0%Not measuredOnly GLM 4.5 measured
WeirdML40.6%Not measuredOnly GLM 4.5 measured
ALE-Bench344.8Not measuredOnly GLM 4.5 measured
LMArena Text: coding1434Not measuredOnly GLM 4.5 measured
LMArena Text: software and IT1440Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 35 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
AA Intelligence Index12.8Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Agentic work benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
τ²-Bench Telecom43.0%Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 41 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Reasoning benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
GPQA Diamond72.2%Not measuredOnly GLM 4.5 measured
GPQA Diamond (Artificial Analysis run)78.2%Not measuredOnly GLM 4.5 measured
Humanity's Last Exam (Artificial Analysis run)13.0%Not measuredOnly GLM 4.5 measured
LMArena Text: hard prompts1429Not measuredOnly GLM 4.5 measured
LMArena Text: expert1433Not measuredOnly GLM 4.5 measured
LMArena Text: hard prompts in English1429Not measuredOnly GLM 4.5 measured
Kagi LLM Benchmark57.9%Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 16 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards measured
Math benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
AIME86.7%Not measuredOnly GLM 4.5 measured
MATH 500 (Vals AI)94.0%Not measuredOnly GLM 4.5 measured
MGSM (Vals AI)90.8%Not measuredOnly GLM 4.5 measured
AA Math Index73.7Not measuredOnly GLM 4.5 measured
AIME 2025 (Artificial Analysis run)73.7%Not measuredOnly GLM 4.5 measured
LMArena Text: math1427Not measuredOnly GLM 4.5 measured
LMArena Text: mathematical work1430Not measuredOnly GLM 4.5 measured
MathArena13.2%Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 6 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index10 boards measured
Knowledge benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
MMLU Pro81.2%Not measuredOnly GLM 4.5 measured
LegalBench (Vals AI)75.6%Not measuredOnly GLM 4.5 measured
CorpFin (Vals AI)61.0%Not measuredOnly GLM 4.5 measured
TaxEval (Vals AI)72.4%Not measuredOnly GLM 4.5 measured
MedQA (Vals AI)90.0%Not measuredOnly GLM 4.5 measured
MMLU Pro (Artificial Analysis run)83.5%Not measuredOnly GLM 4.5 measured
LMArena Text: science1444Not measuredOnly GLM 4.5 measured
LMArena Text: medicine and healthcare1455Not measuredOnly GLM 4.5 measured
LMArena Text: legal and government1438Not measuredOnly GLM 4.5 measured
LMArena Text: business and finance1420Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 10 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Web design benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
Design Arena: websites1169Not measuredOnly GLM 4.5 measured
Design Arena: UI components1141Not measuredOnly GLM 4.5 measured
Design Arena: game dev1144Not measuredOnly GLM 4.5 measured
Design Arena: data viz1159Not measuredOnly GLM 4.5 measured
Design Arena: 3D1170Not measuredOnly GLM 4.5 measured
Design Arena: all code categories1164Not measuredOnly GLM 4.5 measured
Design Arena: SVG1095Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 2 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index20 boards measured
General benchmarks for GLM 4.5 and Ternary Bonsai 2 27B
BenchmarkGLM 4.5Ternary Bonsai 2 27BLeader
IFBench44.1%Not measuredOnly GLM 4.5 measured
Long context reasoning (AA-LCR)52.7%Not measuredOnly GLM 4.5 measured
Creative writing (Lech Mazur)73.4%Not measuredOnly GLM 4.5 measured
LMArena Text1430Not measuredOnly GLM 4.5 measured
LMArena Text: instruction following1404Not measuredOnly GLM 4.5 measured
LMArena Text: creative writing1395Not measuredOnly GLM 4.5 measured
LMArena Text: English1437Not measuredOnly GLM 4.5 measured
LMArena Text: non-English1417Not measuredOnly GLM 4.5 measured
LMArena Text: Chinese1465Not measuredOnly GLM 4.5 measured
LMArena Text: German1407Not measuredOnly GLM 4.5 measured
LMArena Text: Japanese1415Not measuredOnly GLM 4.5 measured
LMArena Text: Korean1380Not measuredOnly GLM 4.5 measured
LMArena Text: French1418Not measuredOnly GLM 4.5 measured
LMArena Text: Spanish1454Not measuredOnly GLM 4.5 measured
LMArena Text: Russian1413Not measuredOnly GLM 4.5 measured
LMArena Text: Polish1422Not measuredOnly GLM 4.5 measured
LMArena Text: multi-turn1415Not measuredOnly GLM 4.5 measured
LMArena Text: longer queries1412Not measuredOnly GLM 4.5 measured
LMArena Text: writing and language1403Not measuredOnly GLM 4.5 measured
LMArena Text: entertainment and media1404Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 28 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GLM 4.5$0.0017Fits in one request
Ternary Bonsai 2 27B$0.0003Fits in one request

Ternary Bonsai 2 27B costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
Ternary Bonsai 2 27B$0.0053Fits in one request

Ternary Bonsai 2 27B costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
Ternary Bonsai 2 27B$0.020Fits in one request

Ternary Bonsai 2 27B costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GLM 4.5 and Ternary Bonsai 2 27B
SpecificationZ.ai GLM 4.5PrismML Ternary Bonsai 2 27B
MakerZ.aiPrism-ml
WeightsOpen weightsOpen weights
ReleasedJuly 25, 2025September 18, 2026
Context window131K262K
Input $/Mtok$0.60$0.075
Output $/Mtok$2.20$0.50
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than Ternary Bonsai 2 27B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, GLM 4.5 or Ternary Bonsai 2 27B?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; Ternary Bonsai 2 27B costs $0.075 and $0.50. Cost per solved task is known for neither of them.

Which has the bigger context window, GLM 4.5 or Ternary Bonsai 2 27B?

Ternary Bonsai 2 27B, with 262K tokens against 131K.

Has any benchmark tested both GLM 4.5 and Ternary Bonsai 2 27B?

No benchmark has tested both yet. GLM 4.5 has results on SWE-bench Verified, LiveCodeBench (Vals AI) and LiveCodeBench (Artificial Analysis run); Ternary Bonsai 2 27B has none yet. Compare them on price and context instead. Data as of October 22, 2026.

Compare next