Ternary Bonsai 2 9B vs GLM 5.3 FlashX Legal

Compare Ternary Bonsai 2 9B from PrismML and GLM 5.3 FlashX Legal from Z.ai 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 z-ai
GLM 5.3 FlashX Legal

Overview

Ternary Bonsai 2 9B
Author
PrismML
GLM 5.3 FlashX Legal
Author
Z.ai
Ternary Bonsai 2 9B
Context length
262Ktokens
GLM 5.3 FlashX Legal
Context length
1.05Mtokens
Ternary Bonsai 2 9B
Reasoning
Yes
GLM 5.3 FlashX Legal
Reasoning
Yes
Ternary Bonsai 2 9B
Input modalities
Text, Image
GLM 5.3 FlashX Legal
Input modalities
Text, Image, Video
Ternary Bonsai 2 9B
Output modalities
Text
GLM 5.3 FlashX Legal
Output modalities
Text

Analysis

Ternary Bonsai 2 9B vs GLM 5.3 FlashX Legal at a glance

Ternary Bonsai 2 9B
Input price
$0.08/M tokens
GLM 5.3 FlashX Legal
Input price
$0.37/M tokens
Ternary Bonsai 2 9B
Output price
$0.13/M tokens
GLM 5.3 FlashX Legal
Output price
$1.25/M tokens
Ternary Bonsai 2 9B
Context window
262,144 tokens
GLM 5.3 FlashX Legal
Context window
1,048,576 tokens
Ternary Bonsai 2 9B
Latency (p50)
0.44 s
GLM 5.3 FlashX Legal
Latency (p50)
1.44 s
Ternary Bonsai 2 9B
Throughput (p50)
59.0 tok/s
GLM 5.3 FlashX Legal
Throughput (p50)
80.0 tok/s
Ternary Bonsai 2 9B
Provided by
PrismML
GLM 5.3 FlashX Legal
Provided by
Z.ai

Frequently asked questions

Is Ternary Bonsai 2 9B cheaper than GLM 5.3 FlashX Legal?

Ternary Bonsai 2 9B is cheaper than GLM 5.3 FlashX Legal on OpenRouter: Ternary Bonsai 2 9B costs $0.08/M tokens input and $0.13/M tokens output, while GLM 5.3 FlashX Legal costs $0.37/M tokens input and $1.25/M tokens output.

Which has the longer context window, Ternary Bonsai 2 9B or GLM 5.3 FlashX Legal?

GLM 5.3 FlashX Legal 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 GLM 5.3 FlashX Legal?

GLM 5.3 FlashX Legal is faster on OpenRouter, generating a median 80.0 tokens per second compared with 59.0 tokens per second for Ternary Bonsai 2 9B.