GLM-5.4 vs Ternary Bonsai 2.5 27B
No independent capability benchmark covers every model here yet. The score uses context window.
Z.ai (Zhipu)
GLM-5.4
64/100- ECI—
- Price—
- Context1M
PrismML
Ternary Bonsai 2.5 27B
43/100- ECI—
- Price—
- Context262K
Z.ai (Zhipu)
GLM-5.4
64/100- ECI—
- Price—
- Context1M
PrismML
Ternary Bonsai 2.5 27B
43/100- ECI—
- Price—
- Context262K
Add a model
Make it a three-way comparison.
Capability evidence is incomplete
There is not enough shared capability evidence to name an overall winner. The scores (GLM-5.4 64/100, Ternary Bonsai 2.5 27B 43/100) compare the available specifications and price. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.There is not enough shared capability evidence to name an overall winner. The scores (GLM-5.4 64/100, Ternary Bonsai 2.5 27B 43/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
- CapabilityNot enough dataNo independent benchmark covers every model here yet
- Longest contextGLM-5.4GLM-5.4 1,000,000 · Ternary Bonsai 2.5 27B 262,144 tokens
- Widest inputsGLM-5.4GLM-5.4: Text, Images, PDFs, Video · Ternary Bonsai 2.5 27B: Text, Images
- Self-hostingTernary Bonsai 2.5 27BPublishes downloadable weights (Apache-2.0)
| Measure | Weight | GLM-5.4 | Ternary Bonsai 2.5 27B |
|---|---|---|---|
| Context window | 100% | 64 | 43 |
| Specs & price only | 100% | 64/100 | 43/100 |
Left out because at least one model lacks the data: capability, price and inputs & features. The remaining weights were rescaled.
| Measure | Weight | GLM-5.4 | Ternary Bonsai 2.5 27B |
|---|---|---|---|
| Context window | 100% | 64 | 43 |
| Specs only | 100% | 64/100 | 43/100 |
Left out because at least one model lacks the data: capability and inputs & features. The remaining weights were rescaled.
Every spec in one table
Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.
| Specification | ||
|---|---|---|
| Task | Multimodal coding and tool-assisted work | Local multi-turn coding and tool use |
| Published capabilities | Z.ai’s Loop Transformer flagship reuses a group of layers to increase reasoning depth for complex coding and multimodal tasks. | PrismML’s agentic update to the Qwen3.8-27B-based ternary model, trained for longer tasks with repeated tool calls. |
| Model size | 750B scale, per Z.ai | 27B parameters, 1.76 bits per weight and 5.93 GB GGUF checkpoint |
| Access | Available through GLM Coding Plan tools. Z.ai says general Model API access will follow its security assessment. | Public GGUF weights for documented llama.cpp builds and a separate MLX export. |
| Result | Text and structured responses | Not published |
| Operating limits | Z.ai lists a 1M context and 128K maximum output. Long reasoning runs can take more time. | The 5.93 GB figure is checkpoint storage. Runtime memory varies by context and backend. |
| Billing terms | Metered through Coding Plan quota. General per-token API rates are unpublished. | Not published |
| Sources | Publisher documentation · Additional documentation | Publisher documentation · Model weights |
| Capability | ||
| Capabilities Index (ECI) | Not published | Not published |
| ECI rank | Not published | Not published |
| ECI confidence interval | Not published | Not published |
| ECI evaluation date | Not published | Not published |
| Documented capabilities | Z.ai’s Loop Transformer flagship reuses a group of layers to increase reasoning depth for complex coding and multimodal tasks. | PrismML’s agentic update to the Qwen3.8-27B-based ternary model, trained for longer tasks with repeated tool calls. |
| Model parameters | 750B scale, per Z.ai | 27B parameters, 1.76 bits per weight and 5.93 GB GGUF checkpoint |
| Output modalities | Text | Text |
| Publisher-reported benchmarks | ||
| Terminal-Bench 2.1Thinking mode, xhigh effort | Not published | 60.1Score (%)Reported resultNov 24, 2026 |
| Price per million tokens | ||
| Input | Not published | Not published |
| Output | Not published | Not published |
| Cached input | Not published | Not published |
| Blended (3:1) | Not published | Not published |
| Long-context rate | Not published | Not published |
| Price source | Not published | Not published |
| Limits | ||
| Context window | 1,000,000 tokens (best) | 262,144 tokens |
| Max input | Not published | Not published |
| Max output | 131,072 tokens | Not published |
| Inputs and features | ||
| Text | Yes | Yes |
| Images | Yes | Yes |
| PDFs | Yes | No |
| Audio | No | No |
| Video | Yes | No |
| Reasoning | Yeslow · high · max | Unconfirmed |
| Tool calling | Yes | Yes |
| Structured output | Yes | Not published |
| File attachments | Yes | Not published |
| Temperature control | Yes | Not published |
| Reasoning control | effort | Not published |
| Availability | ||
| Weights | Proprietary | OpenApache-2.0 |
| API model ID | Not published | Not published |
| API providers | Not published | Not published |
| Released | Nov 23, 2026 | Nov 24, 2026 |
| Knowledge cutoff | Not published | Not published |
| Publisher documentation | Publisher documentation · Additional documentation | Publisher documentation · Model weights |
| Source metadata updated | Nov 23, 2026 | Not published |
| Data sources | models.dev · Epoch AI | models.dev · Epoch AI |
| Catalog checked | Nov 25, 2026 | Nov 25, 2026 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
GLM-5.4—
Ternary Bonsai 2.5 27B—
Which should you choose?
Which is better: GLM-5.4 or Ternary Bonsai 2.5 27B?
There is not enough shared capability evidence to name an overall winner. The scores (GLM-5.4 64/100, Ternary Bonsai 2.5 27B 43/100) compare the available specifications and price. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.There is not enough shared capability evidence to name an overall winner. The scores (GLM-5.4 64/100, Ternary Bonsai 2.5 27B 43/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
Which is cheaper, GLM-5.4 or Ternary Bonsai 2.5 27B?
None of these models has a published per-token price.
Which scores higher on benchmarks?
There is no independent benchmark that covers both models yet. GLM-5.4 has not been scored yet and Ternary Bonsai 2.5 27B has not been scored yet.
Which is better for coding?
There are no published SWE-bench Verified results for GLM-5.4 and Ternary Bonsai 2.5 27B yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. Both support tool calling for agent workflows.
Which has the bigger context window?
GLM-5.4 has the largest context window at 1,000,000 tokens, against 262,144 for Ternary Bonsai 2.5 27B. Maximum output per response: GLM-5.4 up to 131,072 tokens.
Which can read images, PDFs, audio or video?
GLM-5.4 accepts text, images, PDFs and video; Ternary Bonsai 2.5 27B accepts text and images. GLM-5.4 handles the widest range of inputs.
Are any of these open source?
Ternary Bonsai 2.5 27B publishes its weights (Apache-2.0) and can be self-hosted; GLM-5.4 is proprietary.
Which is newer?
Ternary Bonsai 2.5 27B is the newest, released Nov 24, 2026. GLM-5.4 came out Nov 23, 2026.
How do you decide the winner?
This rating uses context window (100%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 25, 2026.