Ternary Bonsai 2 9B vs Hy4

Compare Ternary Bonsai 2 9B from PrismML and Hy4 from tencent on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for prism-ml
Ternary Bonsai 2 9B
Favicon for tencent
Hy4

Overview

Ternary Bonsai 2 9B
Author
PrismML
Hy4
Author
tencent
Ternary Bonsai 2 9B
Context length
262Ktokens
Hy4
Context length
1.05Mtokens
Ternary Bonsai 2 9B
Reasoning
Yes
Hy4
Reasoning
Yes
Ternary Bonsai 2 9B
Input modalities
Text, Image
Hy4
Input modalities
Text, Image
Ternary Bonsai 2 9B
Output modalities
Text
Hy4
Output modalities
Text

Analysis

Ternary Bonsai 2 9B vs Hy4 at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Ternary Bonsai 2 9B
Input price
$0.08/M tokens
Hy4
Input price
$0.417/M tokens
Ternary Bonsai 2 9B
Output price
$0.13/M tokens
Hy4
Output price
$1.251/M tokens
Ternary Bonsai 2 9B
Context window
262,144 tokens
Hy4
Context window
1,048,576 tokens
Ternary Bonsai 2 9B
Intelligence Index Artificial Analysis, best published result
Not available
Hy4
Intelligence Index Artificial Analysis, best published result
34.6
Ternary Bonsai 2 9B
Finance & Accounting Index Artificial Analysis, best published result
Not available
Hy4
Finance & Accounting Index Artificial Analysis, best published result
38.0
Ternary Bonsai 2 9B
Strategy & Ops Index Artificial Analysis, best published result
Not available
Hy4
Strategy & Ops Index Artificial Analysis, best published result
48.7
Ternary Bonsai 2 9B
Legal Index Artificial Analysis, best published result
Not available
Hy4
Legal Index Artificial Analysis, best published result
35.4
Ternary Bonsai 2 9B
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Hy4
Healthcare & Medical Index Artificial Analysis, best published result
42.9
Ternary Bonsai 2 9B
Engineering Index Artificial Analysis, best published result
Not available
Hy4
Engineering Index Artificial Analysis, best published result
41.1
Ternary Bonsai 2 9B
Economics Index Artificial Analysis, best published result
Not available
Hy4
Economics Index Artificial Analysis, best published result
38.3
Ternary Bonsai 2 9B
Cyber Index Artificial Analysis, best published result
Not available
Hy4
Cyber Index Artificial Analysis, best published result
58.00.0% of tasks refused
Ternary Bonsai 2 9B
Openness Index Artificial Analysis, best published result
Not available
Hy4
Openness Index Artificial Analysis, best published result
33.3
Ternary Bonsai 2 9B
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Hy4
FrontierCode-AA 2.0 Artificial Analysis, best published result
31.2%
Ternary Bonsai 2 9B
Latency (p50)
0.50 s
Hy4
Latency (p50)
3.11 s
Ternary Bonsai 2 9B
Throughput (p50)
60.0 tok/s
Hy4
Throughput (p50)
64.0 tok/s
Ternary Bonsai 2 9B
Provided by
PrismML
Hy4
Provided by
tencent

Benchmark data updated

Frequently asked questions

Is Ternary Bonsai 2 9B cheaper than Hy4?

Ternary Bonsai 2 9B is cheaper than Hy4 on OpenRouter: Ternary Bonsai 2 9B costs $0.08/M tokens input and $0.13/M tokens output, while Hy4 costs $0.417/M tokens input and $1.251/M tokens output.

Which has the longer context window, Ternary Bonsai 2 9B or Hy4?

Hy4 has the longer context window at 1,048,576 tokens, compared with 262,144 tokens for Ternary Bonsai 2 9B.

Which is faster, Ternary Bonsai 2 9B or Hy4?

Hy4 is faster on OpenRouter, generating a median 64.0 tokens per second compared with 60.0 tokens per second for Ternary Bonsai 2 9B.