GLM-4.7-FlashX vs Ternary Bonsai 2 9B
Ternary Bonsai 2 9B is about 1.6× cheaper on a blended (3:1 input:output) token price. Ternary Bonsai 2 9B has the larger context window (256K vs 200K).
| Spec | GLM-4.7-FlashX | Ternary Bonsai 2 9B |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | Prism Ml |
| Released | Jan 19, 2026 | Oct 16, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | 9B |
| Context window | 200K | 256K (better) |
| Max output | 128K (better) | 64K |
| Input price / 1M | $0.07 (better) | $0.08 |
| Output price / 1M | $0.4 | $0.13 (better) |
| Input modalities | text | text, image (better) |
| Open weights | Yes | Yes |
| License | — | — |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 10 (better) | 1 |
Cost example
For a workload of 10M input + 2M output tokens per month: GLM-4.7-FlashX costs $1.50 and Ternary Bonsai 2 9B costs $1.06 at list price (zai / openrouter pricing).
About GLM-4.7-FlashX
GLM-4.7-FlashX is an open-weight reasoning llm from Zhipu AI (Z.ai), released Jan 19, 2026. It has a 200K-token context window. API pricing starts at $0.07 per million input tokens and $0.4 per million output tokens. It is available from 10 API providers. Full GLM-4.7-FlashX specs →
About Ternary Bonsai 2 9B
Ternary Bonsai 2 9B is an open-weight reasoning llm from Prism Ml, released Oct 16, 2026. It has 9B parameters, a 256K-token context window and accepts text, image input. API pricing starts at $0.08 per million input tokens and $0.13 per million output tokens. Full Ternary Bonsai 2 9B specs →
Compare other models
FAQ
Which is better, GLM-4.7-FlashX or Ternary Bonsai 2 9B?
Ternary Bonsai 2 9B is about 1.6× cheaper on a blended (3:1 input:output) token price. Ternary Bonsai 2 9B has the larger context window (256K vs 200K).
Is GLM-4.7-FlashX cheaper than Ternary Bonsai 2 9B?
GLM-4.7-FlashX costs $0.07 input / $0.4 output per 1M tokens; Ternary Bonsai 2 9B costs $0.08 / $0.13. Ternary Bonsai 2 9B is cheaper overall.
Which has a bigger context window?
GLM-4.7-FlashX: 200,000 tokens. Ternary Bonsai 2 9B: 262,144 tokens.
Are GLM-4.7-FlashX and Ternary Bonsai 2 9B open source?
GLM-4.7-FlashX is open-weight; Ternary Bonsai 2 9B is open-weight.