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

GLM 5.2 vs Hy4 preview (Comparative Analysis)

Loading comparison form...
Comparative Analysis: GLM 5.2 vs. Hy4 preview
Want to try out these models side by side?Sign up for Spiral

Overview

GLM 5.2 was released 2 months before Hy4 preview.
GLM 5.2GLM 5.2
Hy4 previewHy4 preview
Model Provider
The organization behind this AI's development
Z.AI logoZ.AI
Tencent logoTencent
Input Context Window
Maximum input tokens this model can process at once
1M
tokens
1M
tokens
Output Token Limit
Maximum output tokens this model can generate at once
943.7K
tokens
64K
tokens
Release Date
When this model first became publicly available
June 16th, 2026
August 28th, 2026

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
GLM 5.2
Hy4 preview
Input Types
Supported input formats
📝Text
📝Text
Reasoning Controls
Defaults and configurable reasoning effort
Enabled by defaultEffort: Extra High, High, NoneDefault: High
Enabled by defaultEffort: High, Low, NoneDefault: High
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
OtherOther
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 significantly less expensive compared to Hy4 preview for input tokens and roughly 2.6x more expensive for output tokens.
GLM 5.2GLM 5.2
Hy4 previewHy4 preview
Input Token Cost
Cost per million input tokens
$0.0070
per million tokens
$0.75
per million tokens
Output Token Cost
Cost per million output tokens
$5.80
per million tokens
$2.25
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 Hy4 preview.
GLM 5.2GLM 5.2
Hy4 previewHy4 preview
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 Hy4 preview 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.
Tencent logoHy4 preview by Tencent 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.75/M input and $2.25/M output tokens. Released August 28th, 2026.

Explore More Comparisons

Compare your models with top performers across different categories