Spiral gives your agent every tool with one account. Browse the tools →

GLM 5.2 vs Ternary Bonsai 2 27B (Comparative Analysis)

Loading comparison form...
Comparative Analysis: GLM 5.2 vs. Ternary Bonsai 2 27B
Want to try out these models side by side?Sign up for Spiral

Overview

GLM 5.2 was released 3 months before Ternary Bonsai 2 27B.
GLM 5.2GLM 5.2
Ternary Bonsai 2 27BTernary Bonsai 2 27B
Model Provider
The organization behind this AI's development
Z.AI logoZ.AI
PrismML logoPrismML
Input Context Window
Maximum input tokens this model can process at once
1M
tokens
262.1K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
943.7K
tokens
32.8K
tokens
Release Date
When this model first became publicly available
June 16th, 2026
September 18th, 2026

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
GLM 5.2
Ternary Bonsai 2 27B
Input Types
Supported input formats
📝Text
📝Text🖼️Image
Reasoning Controls
Defaults and configurable reasoning effort
Enabled by defaultEffort: Extra High, High, NoneDefault: High
Enabled by defaultEffort: Extra High, Medium, NoneDefault: Extra High
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
OtherQwen
Key Features
Advanced capabilities
✓Function Calling✓Structured Output✓Reasoning ModeContent Moderation
✓Function Calling✓Structured Output✓Reasoning ModeContent Moderation
Open Source
Model availability
Available on HuggingFace →Available on HuggingFace →

Pricing

GLM 5.2 is roughly 0.10x less expensive compared to Ternary Bonsai 2 27B for input tokens and roughly 11.6x more expensive for output tokens.
GLM 5.2GLM 5.2
Ternary Bonsai 2 27BTernary Bonsai 2 27B
Input Token Cost
Cost per million input tokens
$0.0070
per million tokens
$0.07
per million tokens
Output Token Cost
Cost per million output tokens
$5.80
per million tokens
$0.50
per million tokens
Cache Read Cost
Cost to reuse cached input tokens
$0.0060
per million tokens
$0.04
per million tokens

Benchmarks

Compare relevant benchmarks between GLM 5.2 and Ternary Bonsai 2 27B.
GLM 5.2GLM 5.2
Ternary Bonsai 2 27BTernary Bonsai 2 27B
Best Design Arena Score
Highest human-preference Elo score across design arenas
1,329 Elo
(#30 in Code Categories (50.4% win rate))
Benchmark not available.

At a Glance

Quick overview of what makes GLM 5.2 and Ternary Bonsai 2 27B unique.
Z.AI logoGLM 5.2 by Z.AI can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 1M token context window. Reasonably priced at $0.0070/M input and $5.80/M output tokens. Released June 16th, 2026.
PrismML logoTernary Bonsai 2 27B by PrismML understands both text and images, can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 262.1K token context window. Very affordable at $0.07/M input and $0.50/M output tokens. Released September 18th, 2026.

Explore More Comparisons

Compare your models with top performers across different categories