GLM-5.2 vs Claude Opus 4.6

API pricing, benchmark indices and specs — updated 19 October 2026.

zai-org · A · Open weights
Params
753.3 B
Context
1,048,576
30d
333 K
mit · commercial OK
anthropic · B · API-only
Input / 1M
$5.00
Output / 1M
$25.00
AA index
31.9
proprietary · 1M context

Specification comparison

Differences are highlighted; identical values are muted.

Specification GLM-5.2 Claude Opus 4.6
Deployment Open weights · also via API API-only (closed weights)
Parameters 753.3 B n/a — API-only
Architecture GlmMoeDsaForCausalLM n/a — API-only
Context length 1,048,576 1,000,000
Licence mit Proprietary
Commercial use Allowed Per API terms
Languages 2 n/a — API-only
Downloads 30d 333,202 n/a — API-only
Downloads all time 4.8 M n/a — API-only
Quantizations on the Hub SAFETENSORS n/a — API-only
Gated No n/a — API-only
First seen on the Hub 2026-06-16 n/a — API-only
API input price / 1M tokens $0.034 $5.00
API output price / 1M tokens $7.00 $25.00
Est. cost per 1M input + 1M output tokens $7.03 $30.00
Cached input / 1M tokens $0.033 $0.50
AA Intelligence Index 33.7 31.9
AA Coding Index 68.8 —
AA Agentic Index 38.4 —
Max output tokens 943,718 128,000
API providers 26 5
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

GLM-5.2 $7.03
Claude Opus 4.6 $30.00

GLM-5.2 is 4.3× cheaper at list price.

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

GLM-5.2 · fp16 @ 1024K ctx 16,121.8 GB / 24 GB
❌ Won’t fit

Adjacent comparisons