ZMIME
Comparison · 2 models · Updated Nov 25, 2026

Ternary Bonsai 2.5 27B vs GLM-5.4

No independent capability benchmark covers every model here yet. The score uses context window.

  1. PrismML

    Ternary Bonsai 2.5 27B

    Released Nov 24, 2026Latest

    43/100
    • ECI—
    • Price—
    • Context262K
  2. Z.ai (Zhipu)

    GLM-5.4

    Released Nov 23, 2026Latest

    64/100
    • ECI—
    • Price—
    • Context1M
  3. PrismML

    Ternary Bonsai 2.5 27B

    Released Nov 24, 2026Latest

    43/100
    • ECI—
    • Price—
    • Context262K
  4. Z.ai (Zhipu)

    GLM-5.4

    Released Nov 23, 2026Latest

    64/100
    • ECI—
    • Price—
    • Context1M
  5. Add a model

    Make it a three-way comparison.

01 — Verdict

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.4Ternary Bonsai 2.5 27B: Text, Images · GLM-5.4: Text, Images, PDFs, Video
  • Self-hostingTernary Bonsai 2.5 27BPublishes downloadable weights (Apache-2.0)
How the score is built
MeasureWeightTernary Bonsai 2.5 27BGLM-5.4
Context window100%4364
Specs & price only100%43/10064/100

Left out because at least one model lacks the data: capability, price and inputs & features. The remaining weights were rescaled.

How the score is built
MeasureWeightTernary Bonsai 2.5 27BGLM-5.4
Context window100%4364
Specs only100%43/10064/100

Left out because at least one model lacks the data: capability and inputs & features. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

Ternary Bonsai 2.5 27B vs GLM-5.4 specifications side by side
SpecificationTernary Bonsai 2.5 27BPrismMLGLM-5.4Z.ai (Zhipu)
TaskLocal multi-turn coding and tool useMultimodal coding and tool-assisted work
Published capabilitiesPrismML’s agentic update to the Qwen3.8-27B-based ternary model, trained for longer tasks with repeated tool calls.Z.ai’s Loop Transformer flagship reuses a group of layers to increase reasoning depth for complex coding and multimodal tasks.
Model size27B parameters, 1.76 bits per weight and 5.93 GB GGUF checkpoint750B scale, per Z.ai
AccessPublic GGUF weights for documented llama.cpp builds and a separate MLX export.Available through GLM Coding Plan tools. Z.ai says general Model API access will follow its security assessment.
ResultNot publishedText and structured responses
Operating limitsThe 5.93 GB figure is checkpoint storage. Runtime memory varies by context and backend.Z.ai lists a 1M context and 128K maximum output. Long reasoning runs can take more time.
Billing termsNot publishedMetered through Coding Plan quota. General per-token API rates are unpublished.
SourcesPublisher documentation · Model weightsPublisher documentation · Additional documentation
Capability
Capabilities Index (ECI)Not publishedNot published
ECI rankNot publishedNot published
ECI confidence intervalNot publishedNot published
ECI evaluation dateNot publishedNot published
Documented capabilitiesPrismML’s agentic update to the Qwen3.8-27B-based ternary model, trained for longer tasks with repeated tool calls.Z.ai’s Loop Transformer flagship reuses a group of layers to increase reasoning depth for complex coding and multimodal tasks.
Model parameters27B parameters, 1.76 bits per weight and 5.93 GB GGUF checkpoint750B scale, per Z.ai
Output modalitiesTextText
Publisher-reported benchmarks
Terminal-Bench 2.1Thinking mode, xhigh effort60.1Score (%)Reported resultNov 24, 2026Not published
Price per million tokens
InputNot publishedNot published
OutputNot publishedNot published
Cached inputNot publishedNot published
Blended (3:1)Not publishedNot published
Long-context rateNot publishedNot published
Price sourceNot publishedNot published
Limits
Context window262,144 tokens1,000,000 tokens (best)
Max inputNot publishedNot published
Max outputNot published131,072 tokens
Inputs and features
TextYesYes
ImagesYesYes
PDFsNoYes
AudioNoNo
VideoNoYes
ReasoningUnconfirmedYeslow · high · max
Tool callingYesYes
Structured outputNot publishedYes
File attachmentsNot publishedYes
Temperature controlNot publishedYes
Reasoning controlNot publishedeffort
Availability
WeightsOpenApache-2.0Proprietary
API model IDNot publishedNot published
API providersNot publishedNot published
ReleasedNov 24, 2026Nov 23, 2026
Knowledge cutoffNot publishedNot published
Publisher documentationPublisher documentation · Model weightsPublisher documentation · Additional documentation
Source metadata updatedNot publishedNov 23, 2026
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 25, 2026Nov 25, 2026
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • Ternary Bonsai 2.5 27B—
  • GLM-5.4—
04 — Questions

Which should you choose?

Which is better: Ternary Bonsai 2.5 27B or GLM-5.4?

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, Ternary Bonsai 2.5 27B or GLM-5.4?

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. Ternary Bonsai 2.5 27B has not been scored yet and GLM-5.4 has not been scored yet.

Which is better for coding?

There are no published SWE-bench Verified results for Ternary Bonsai 2.5 27B and GLM-5.4 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?

Ternary Bonsai 2.5 27B accepts text and images; GLM-5.4 accepts text, images, PDFs and video. 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.