Skip to content
llmmodels

Claude Sonnet 4.6 vs GLM-5.2

GLM-5.2 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 152.8). GLM-5.2 is about 3× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has open weights, so you can self-host and fine-tune it; Claude Sonnet 4.6 is API-only.

SpecClaude Sonnet 4.6GLM-5.2
ProviderAnthropicZhipu AI (Z.ai)
ReleasedFeb 17, 2026Jun 13, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters—753B
Context window1M1M
Max output125K128K (better)
Input price / 1M$3$1.20 (better)
Output price / 1M$15$4.18 (better)
Input modalitiestext, image, pdf, file (better)text
Open weightsNoYes
LicenseProprietarymit
Reasoning modeYesYes
Tool callingYesYes
API providers5895 (better)
Epoch Capabilities Index152.8153.1 (better)
GPQA Diamond87.4%91.9% (better)
SWE-bench Verified75.2%78.7% (better)
Terminal-Bench53.4%—
WebDev Arena15211593 (better)
OTIS Mock AIME85.8%86.4% (better)
FrontierMath—59.2%
ARC-AGI-260.4% (better)22.8%
SimpleQA Verified35.5% (better)34.2%
OSWorld72.1%—

Cost example

For a workload of 10M input + 2M output tokens per month: Claude Sonnet 4.6 costs $60.00 and GLM-5.2 costs $20.32 at list price (Anthropic / zhipuai pricing).

About Claude Sonnet 4.6

Claude Sonnet 4.6 is a proprietary reasoning llm from Anthropic, released Feb 17, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $3 per million input tokens and $15 per million output tokens. It is available from 58 API providers. It scores 152.8 on the Epoch Capabilities Index. Full Claude Sonnet 4.6 specs →

About GLM-5.2

GLM-5.2 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Jun 13, 2026. It has 753B parameters and a 1M-token context window. API pricing starts at $1.20 per million input tokens and $4.18 per million output tokens. It is available from 95 API providers. It scores 153.1 on the Epoch Capabilities Index. Full GLM-5.2 specs →

Compare other models

FAQ

Which is better, Claude Sonnet 4.6 or GLM-5.2?

GLM-5.2 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 152.8). GLM-5.2 is about 3× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has open weights, so you can self-host and fine-tune it; Claude Sonnet 4.6 is API-only.

Is Claude Sonnet 4.6 cheaper than GLM-5.2?

Claude Sonnet 4.6 costs $3 input / $15 output per 1M tokens; GLM-5.2 costs $1.20 / $4.18. GLM-5.2 is cheaper overall.

Which has a bigger context window?

Claude Sonnet 4.6: 1,000,000 tokens. GLM-5.2: 1,000,000 tokens.

Are Claude Sonnet 4.6 and GLM-5.2 open source?

Claude Sonnet 4.6 is proprietary; GLM-5.2 is open-weight.