Ternary Bonsai 2 9B vs Hy4 flash

Compare Ternary Bonsai 2 9B from PrismML and Hy4 flash 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 flash

Overview

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

Analysis

Ternary Bonsai 2 9B vs Hy4 flash at a glance

Ternary Bonsai 2 9B
Input price
$0.08/M tokens
Hy4 flash
Input price
$0.05/M tokens
Ternary Bonsai 2 9B
Output price
$0.13/M tokens
Hy4 flash
Output price
$0.20/M tokens
Ternary Bonsai 2 9B
Context window
262,144 tokens
Hy4 flash
Context window
1,048,576 tokens
Ternary Bonsai 2 9B
Latency (p50)
0.50 s
Hy4 flash
Latency (p50)
2.71 s
Ternary Bonsai 2 9B
Throughput (p50)
60.0 tok/s
Hy4 flash
Throughput (p50)
22.0 tok/s
Ternary Bonsai 2 9B
Provided by
PrismML
Hy4 flash
Provided by
tencent

Frequently asked questions

Is Ternary Bonsai 2 9B cheaper than Hy4 flash?

Ternary Bonsai 2 9B and Hy4 flash trade off on price: Ternary Bonsai 2 9B costs $0.08/M tokens input and $0.13/M tokens output, while Hy4 flash costs $0.05/M tokens input and $0.20/M tokens output, so Hy4 flash is cheaper for input tokens and Ternary Bonsai 2 9B is cheaper for output tokens.

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

Hy4 flash 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 flash?

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