Enter opens the highlighted result. Esc closes.

Ternary Bonsai 2 27B vs Hy4 preview

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

P Ternary Bonsai 2 27BPrism-ml
Coding
No data
Overall
No data
Output $/M
$0.50
Hy4 previewTencent
Coding
44.3
Overall
No data
Output $/M
$2.501
vs $0.50 vs $2.501 per 1M output tokens. Ternary Bonsai 2 27B is 5.0x cheaper.

Ternary Bonsai 2 27B or Hy4 preview: which to pick

Only Hy4 preview has a coding score, 44.3 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 5.0x cheaper ($0.50 vs $2.501 per million).

No benchmark has tested both yet. Ternary Bonsai 2 27B has none yet; Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). 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
Ternary Bonsai 2 27B not benchmarked, Hy4 preview 44.3 from 3 benchmarks.
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
Ternary Bonsai 2 27B $0.50 against Hy4 preview $2.501 per million output tokens, 5.0x apart.
Context window
Ternary Bonsai 2 27B takes 262K tokens, Hy4 preview 1.05M.

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 Index10 boards measured
Coding benchmarks for Ternary Bonsai 2 27B and Hy4 preview
BenchmarkTernary Bonsai 2 27BHy4 previewLeader
LMArena WebDevNot measured1631Only Hy4 preview measured
Terminal-Bench 4 (Vals AI)Not measured8.1%Only Hy4 preview measured
Vibe Code Bench (Vals AI)Not measured77.5%Only Hy4 preview measured
Code migration (Vals AI)Not measured47.4%Only Hy4 preview measured
ProgramBench (Vals AI)Not measured0.0%Only Hy4 preview measured
IOI (Vals AI)Not measured59.3%Only Hy4 preview measured
Terminal-Bench 2.1 (Vals AI)Not measured55.1%Only Hy4 preview measured
CyberBench (Vals AI)Not measured65.4%Only Hy4 preview measured
LMArena WebDev: ReactNot measured1653Only Hy4 preview measured
LMArena WebDev: HTMLNot measured1620Only Hy4 preview measured
Neither model has a result on the other 33 boards here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index8 boards measured
Agentic work benchmarks for Ternary Bonsai 2 27B and Hy4 preview
BenchmarkTernary Bonsai 2 27BHy4 previewLeader
SREBench (Vals AI)Not measured2.3%Only Hy4 preview measured
Finance Agent (Vals AI)Not measured55.1%Only Hy4 preview measured
Tax Agent Bench (Vals AI)Not measured32.6%Only Hy4 preview measured
Legal Research Bench (Vals AI)Not measured45.2%Only Hy4 preview measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured8.8%Only Hy4 preview measured
Excel Modeling Benchmark (Vals AI)Not measured58.1%Only Hy4 preview measured
BioMysteryBench (Vals AI)Not measured69.3%Only Hy4 preview measured
Terminal-Bench-Science (Vals AI)Not measured1.4%Only Hy4 preview measured
Neither model has a result on the other 34 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Math benchmarks for Ternary Bonsai 2 27B and Hy4 preview
BenchmarkTernary Bonsai 2 27BHy4 previewLeader
ProofBenchNot measured75.0%Only Hy4 preview measured
Neither model has a result on the other 13 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Knowledge benchmarks for Ternary Bonsai 2 27B and Hy4 preview
BenchmarkTernary Bonsai 2 27BHy4 previewLeader
LegalBench (Vals AI)Not measured83.8%Only Hy4 preview measured
MedCode (Vals AI)Not measured43.3%Only Hy4 preview measured
Neither model has a result on the other 18 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
General benchmarks for Ternary Bonsai 2 27B and Hy4 preview
BenchmarkTernary Bonsai 2 27BHy4 previewLeader
Vals IndexNot measured53.2%Only Hy4 preview measured
Public Benefits Bench (Vals AI)Not measured68.6%Only Hy4 preview measured
MedScribe (Vals AI)Not measured83.6%Only Hy4 preview measured
Neither model has a result on the other 45 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

Ternary Bonsai 2 27B$0.0003Fits in one request
Hy4 preview$0.0021Fits in one request

Ternary Bonsai 2 27B costs less

Repository review

50K input + 3K output tokens

Ternary Bonsai 2 27B$0.0053Fits in one request
Hy4 preview$0.049Fits in one request

Ternary Bonsai 2 27B costs less

Agent loop

200K input + 10K output tokens

Ternary Bonsai 2 27B$0.020Fits in one request
Hy4 preview$0.192Fits 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 Ternary Bonsai 2 27B and Hy4 preview
SpecificationPrismML Ternary Bonsai 2 27BTencent Hy4 preview
MakerPrism-mlTencent
WeightsOpen weightsOpen weights
ReleasedSeptember 18, 2026August 28, 2026
Context window262K1.05M
Input $/Mtok$0.075$0.834
Output $/Mtok$0.50$2.501
Coding indexNot benchmarked44.3
Independent measurements behind it03
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Ternary Bonsai 2 27B better than Hy4 preview for coding?

Only Hy4 preview has a coding score, 44.3 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 5.0x cheaper ($0.50 vs $2.501 per million).

Which is cheaper, Ternary Bonsai 2 27B or Hy4 preview?

Ternary Bonsai 2 27B costs $0.075 per million input tokens and $0.50 per million output tokens; Hy4 preview costs $0.834 and $2.501. Cost per solved task is known for neither of them.

Which has the bigger context window, Ternary Bonsai 2 27B or Hy4 preview?

Hy4 preview, with 1.05M tokens against 262K.

Has any benchmark tested both Ternary Bonsai 2 27B and Hy4 preview?

No benchmark has tested both yet. Ternary Bonsai 2 27B has none yet; Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). Compare them on price and context instead. Data as of October 22, 2026.

Compare next