Models

claude-opus-4-6 vs glm-5.2

Output tokens cost $25.00 per million on claude-opus-4-6 and $2.76 per million on glm-5.2. Input tokens cost $5.00 per million on claude-opus-4-6 and $0.79 per million on glm-5.2. Cached input tokens are billed at $0.50 per million on claude-opus-4-6 and $0.20 per million on glm-5.2. Discounted rates are shown where a promotion is active. Context lengths are 200,000 tokens on claude-opus-4-6 and 1,000,000 tokens on glm-5.2. Time to first token (TTFT) measured on AIHubMix is 2.0s on claude-opus-4-6 and 0.9s on glm-5.2. Measured output throughput is 43.5 tok/s on claude-opus-4-6 and 49.2 tok/s on glm-5.2. On the LMArena coding leaderboard claude-opus-4-6 scores 1547 and glm-5.2 scores 1506.

Anthropicclaude-opus-4-6Z.AIglm-5.2
Anthropic logo
claude-opus-4-6
Anthropic · text, image → text

Claude Opus 4.6 is Anthropic’s latest state-of-the-art reasoning model. It features an adaptive “thinking” mode that dynamically decides when to think and how much to think. At the default effort level (high), Claude will almost always engage in thinking. At lower effort levels, it may skip thinking for simple problems. ⚠️ The minimum cache token for claude-opus-4-6 has been increased from 1,024 to 4,096 tokens.

Input$5.00 /M
Output$25.00 /M
up to 30% off·00:00–23:59 UTC
Z.AI logo
glm-5.2
Z.AI · text → text

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.

Input$1.13$0.79 /M
Output$3.94$2.76 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

claude-opus-4-6
glm-5.2
Input /M
$5.00
$1.13$0.7930%
Output /M
$25.00
$3.94$2.7630%
Cache read /M
$0.50
$0.28$0.2030%
Context length
200,000
1,000,000
Max output
32,000
128,000
Time to First Token
2.0 s
0.9 s
Throughput
43.5 tok/s
49.2 tok/s
Modalities
textimage
text
Supported Parameters
thinkingtoolsfunction callingstructured outputs
thinkingtoolsfunction callingstructured outputs
API Formats
chat_completions · claude_api

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

claude-opus-4-6glm-5.2

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

claude-opus-4-6glm-5.2

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
claude-opus-4-6glm-5.2
14201460150015401580
Overall
14711497
Coding
15061547
Math
14741506
Hard prompts
14881526
Instruction following
14651500
Multi-turn
14691512
Creative writing
14491479
Longer query
14801518
Chinese
15211549
English
14801507
WebDev Arena
claude-opus-4-6glm-5.2
1500154015801620
Overall
15371587
React
15291597
HTML
15401550
Gaming
15661620
Simulations
15451610
Data analytics
15151546

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

glm-5.2
$127$88.74 /mo
claude-opus-4-6
$675 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: claude-opus-4-6, glm-5.2?

glm-5.2: $2.76/M output tokens; claude-opus-4-6: $25.00/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

claude-opus-4-6: 1547; glm-5.2: 1506 (LMArena coding leaderboard).

Which responds faster?

glm-5.2: 0.9s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

claude-opus-4-6 accepts 200,000 and glm-5.2 accepts 1,000,000 input tokens. Maximum output per request is 32,000 tokens on claude-opus-4-6 and 128,000 tokens on glm-5.2.

Which one generates tokens faster?

glm-5.2 at 49.2 tok/s and claude-opus-4-6 at 43.5 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

claude-opus-4-6 accepts text and image input and supports thinking, tool calling, function calling and structured outputs; glm-5.2 accepts text input and supports thinking, tool calling, function calling and structured outputs.

Can I call claude-opus-4-6 and glm-5.2 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.