Skip to content
llmmodels

GLM-5.1 vs Hy4 preview

Hy4 preview is about 1.3× cheaper on a blended (3:1 input:output) token price. Hy4 preview has the larger context window (1M vs 200K).

SpecGLM-5.1Hy4 preview
ProviderZhipu AI (Z.ai)Tencent
ReleasedApr 7, 2026Aug 28, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters754B780B
Context window200K1M (better)
Max output128K (better)64K
Input price / 1M$0.896$0.834 (better)
Output price / 1M$3.59$2.50 (better)
Input modalitiestexttext
Open weightsYesYes
Licensemitapache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers48 (better)20
Epoch Capabilities Index150.7—
GPQA Diamond89.9%—
SWE-bench Verified74.2%—
WebDev Arena1508—
OTIS Mock AIME93.3%—
FrontierMath36.8%—
SimpleQA Verified34.0%—

Cost example

For a workload of 10M input + 2M output tokens per month: GLM-5.1 costs $16.13 and Hy4 preview costs $13.34 at list price (Zhipu AI (Z.ai) / openrouter pricing).

About GLM-5.1

GLM-5.1 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Apr 7, 2026. It has 754B parameters and a 200K-token context window. API pricing starts at $0.896 per million input tokens and $3.59 per million output tokens. It is available from 48 API providers. It scores 150.7 on the Epoch Capabilities Index. Full GLM-5.1 specs →

About Hy4 preview

Hy4 preview is an open-weight reasoning llm from Tencent, released Aug 28, 2026. It has 780B parameters and a 1M-token context window. API pricing starts at $0.834 per million input tokens and $2.50 per million output tokens. It is available from 20 API providers. Full Hy4 preview specs →

Compare other models

FAQ

Which is better, GLM-5.1 or Hy4 preview?

Hy4 preview is about 1.3× cheaper on a blended (3:1 input:output) token price. Hy4 preview has the larger context window (1M vs 200K).

Is GLM-5.1 cheaper than Hy4 preview?

GLM-5.1 costs $0.896 input / $3.59 output per 1M tokens; Hy4 preview costs $0.834 / $2.50. Hy4 preview is cheaper overall.

Which has a bigger context window?

GLM-5.1: 200,000 tokens. Hy4 preview: 1,048,576 tokens.

Are GLM-5.1 and Hy4 preview open source?

GLM-5.1 is open-weight; Hy4 preview is open-weight.