Enter opens the highlighted result. Esc closes.

GLM 4.6 vs Ternary Bonsai 2 27B

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

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
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.6 or Ternary Bonsai 2 27B: which to pick

Only GLM 4.6 has a coding score, 8.8 on the Vibe Coding Index; Ternary Bonsai 2 27B has none, so the two cannot be ranked on coding.

Pick Ternary Bonsai 2 27B for output tokens 4.4x cheaper ($0.50 vs $2.20 per million) and a larger context window (262K against 205K tokens).

No benchmark has tested both yet. GLM 4.6 has results on SWE-bench Verified, LMArena WebDev and AA Coding Index; 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.6 8.8 from 2 benchmarks, 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.6 $2.20 against Ternary Bonsai 2 27B $0.50 per million output tokens, 4.4x apart.
Context window
GLM 4.6 takes 205K 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 Index12 boards measured
Coding benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
SWE-bench Verified68.2%Not measuredOnly GLM 4.6 measured
LMArena WebDev1341Not measuredOnly GLM 4.6 measured
AA Coding Index45.8Not measuredOnly GLM 4.6 measured
LiveCodeBench (Vals AI)81.0%Not measuredOnly GLM 4.6 measured
Vibe Code Bench (Vals AI)3.1%Not measuredOnly GLM 4.6 measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly GLM 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)28.8%Not measuredOnly GLM 4.6 measured
Terminal-Bench24.5%Not measuredOnly GLM 4.6 measured
ALE-Bench340.8Not measuredOnly GLM 4.6 measured
LMArena Text: coding1449Not measuredOnly GLM 4.6 measured
LMArena Text: software and IT1455Not measuredOnly GLM 4.6 measured
LMArena WebDev: HTML1350Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 27 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
AA Intelligence Index18.5Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Agentic work benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
Design Arena: agents building full-stack apps1029Not measuredOnly GLM 4.6 measured
Design Arena: agents building mobile apps1096Not measuredOnly GLM 4.6 measured
Design Arena: agents building Android apps1084Not measuredOnly GLM 4.6 measured
Design Arena: agents building Godot games1180Not measuredOnly GLM 4.6 measured
τ²-Bench Telecom76.9%Not measuredOnly GLM 4.6 measured
Berkeley Function Calling Leaderboard (BFCL)72.4%Not measuredOnly GLM 4.6 measured
BrowseComp-Plus48.2%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 34 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Reasoning benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
GPQA Diamond74.5%Not measuredOnly GLM 4.6 measured
GPQA Diamond (Artificial Analysis run)78.0%Not measuredOnly GLM 4.6 measured
Humanity's Last Exam (Artificial Analysis run)14.5%Not measuredOnly GLM 4.6 measured
LMArena Text: hard prompts1440Not measuredOnly GLM 4.6 measured
LMArena Text: expert1432Not measuredOnly GLM 4.6 measured
LMArena Text: hard prompts in English1445Not measuredOnly GLM 4.6 measured
Kagi LLM Benchmark45.7%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 15 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Math benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
AIME92.7%Not measuredOnly GLM 4.6 measured
MGSM (Vals AI)89.8%Not measuredOnly GLM 4.6 measured
AA Math Index86.0Not measuredOnly GLM 4.6 measured
AIME 2025 (Artificial Analysis run)86.0%Not measuredOnly GLM 4.6 measured
LMArena Text: math1432Not measuredOnly GLM 4.6 measured
LMArena Text: mathematical work1447Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index10 boards measured
Knowledge benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
MMLU Pro82.2%Not measuredOnly GLM 4.6 measured
LegalBench (Vals AI)79.6%Not measuredOnly GLM 4.6 measured
CorpFin (Vals AI)56.8%Not measuredOnly GLM 4.6 measured
TaxEval (Vals AI)66.2%Not measuredOnly GLM 4.6 measured
MedQA (Vals AI)92.2%Not measuredOnly GLM 4.6 measured
MMLU Pro (Artificial Analysis run)82.9%Not measuredOnly GLM 4.6 measured
LMArena Text: science1456Not measuredOnly GLM 4.6 measured
LMArena Text: medicine and healthcare1455Not measuredOnly GLM 4.6 measured
LMArena Text: legal and government1448Not measuredOnly GLM 4.6 measured
LMArena Text: business and finance1416Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 8 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Web design benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
Design Arena: websites1174Not measuredOnly GLM 4.6 measured
Design Arena: UI components1145Not measuredOnly GLM 4.6 measured
Design Arena: game dev1150Not measuredOnly GLM 4.6 measured
Design Arena: data viz1161Not measuredOnly GLM 4.6 measured
Design Arena: 3D1128Not measuredOnly GLM 4.6 measured
Design Arena: all code categories1165Not measuredOnly GLM 4.6 measured
Design Arena: SVG1108Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 2 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index19 boards measured
General benchmarks for GLM 4.6 and Ternary Bonsai 2 27B
BenchmarkGLM 4.6Ternary Bonsai 2 27BLeader
IFBench43.4%Not measuredOnly GLM 4.6 measured
Long context reasoning (AA-LCR)54.0%Not measuredOnly GLM 4.6 measured
LMArena Text1440Not measuredOnly GLM 4.6 measured
LMArena Text: instruction following1410Not measuredOnly GLM 4.6 measured
LMArena Text: creative writing1412Not measuredOnly GLM 4.6 measured
LMArena Text: English1449Not measuredOnly GLM 4.6 measured
LMArena Text: non-English1426Not measuredOnly GLM 4.6 measured
LMArena Text: Chinese1499Not measuredOnly GLM 4.6 measured
LMArena Text: German1447Not measuredOnly GLM 4.6 measured
LMArena Text: Japanese1393Not measuredOnly GLM 4.6 measured
LMArena Text: Korean1400Not measuredOnly GLM 4.6 measured
LMArena Text: French1459Not measuredOnly GLM 4.6 measured
LMArena Text: Spanish1436Not measuredOnly GLM 4.6 measured
LMArena Text: Russian1418Not measuredOnly GLM 4.6 measured
LMArena Text: Polish1447Not measuredOnly GLM 4.6 measured
LMArena Text: multi-turn1427Not measuredOnly GLM 4.6 measured
LMArena Text: longer queries1422Not measuredOnly GLM 4.6 measured
LMArena Text: writing and language1415Not measuredOnly GLM 4.6 measured
LMArena Text: entertainment and media1409Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 27 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.6$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.6$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.6$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.6 and Ternary Bonsai 2 27B
SpecificationZ.ai GLM 4.6PrismML Ternary Bonsai 2 27B
MakerZ.aiPrism-ml
WeightsOpen weightsOpen weights
ReleasedSeptember 30, 2025September 18, 2026
Context window205K262K
Input $/Mtok$0.60$0.075
Output $/Mtok$2.20$0.50
Coding index8.8Not benchmarked
Independent measurements behind it20
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GLM 4.6 has a coding score, 8.8 on the Vibe Coding Index; Ternary Bonsai 2 27B has none, so the two cannot be ranked on coding. Pick Ternary Bonsai 2 27B for output tokens 4.4x cheaper ($0.50 vs $2.20 per million) and a larger context window (262K against 205K tokens).

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

GLM 4.6 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.6 or Ternary Bonsai 2 27B?

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

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

No benchmark has tested both yet. GLM 4.6 has results on SWE-bench Verified, LMArena WebDev and AA Coding Index; Ternary Bonsai 2 27B has none yet. Compare them on price and context instead. Data as of October 22, 2026.

Compare next