GLM-4.7-FlashX vs Ternary Bonsai 2 27B
GLM-4.7-FlashX is about 1.2× cheaper on a blended (3:1 input:output) token price. Ternary Bonsai 2 27B has the larger context window (256K vs 200K).
| Spec | GLM-4.7-FlashX | Ternary Bonsai 2 27B |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | Prism Ml |
| Released | Jan 19, 2026 | Sep 18, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | 27B |
| Context window | 200K | 256K (better) |
| Max output | 128K (better) | 32K |
| Input price / 1M | $0.07 (better) | $0.075 |
| Output price / 1M | $0.4 (better) | $0.5 |
| 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 27B costs $1.75 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 27B
Ternary Bonsai 2 27B is an open-weight reasoning llm from Prism Ml, released Sep 18, 2026. It has 27B parameters, a 256K-token context window and accepts text, image input. API pricing starts at $0.075 per million input tokens and $0.5 per million output tokens. Full Ternary Bonsai 2 27B specs →
Compare other models
FAQ
Which is better, GLM-4.7-FlashX or Ternary Bonsai 2 27B?
GLM-4.7-FlashX is about 1.2× cheaper on a blended (3:1 input:output) token price. Ternary Bonsai 2 27B has the larger context window (256K vs 200K).
Is GLM-4.7-FlashX cheaper than Ternary Bonsai 2 27B?
GLM-4.7-FlashX costs $0.07 input / $0.4 output per 1M tokens; Ternary Bonsai 2 27B costs $0.075 / $0.5. GLM-4.7-FlashX is cheaper overall.
Which has a bigger context window?
GLM-4.7-FlashX: 200,000 tokens. Ternary Bonsai 2 27B: 262,144 tokens.
Are GLM-4.7-FlashX and Ternary Bonsai 2 27B open source?
GLM-4.7-FlashX is open-weight; Ternary Bonsai 2 27B is open-weight.