Compare AI models

Specifications
Parameters
—9B/32B
Context window
1M128k
API pricing
Input price
$5.00$0.1032B checkpoint
Output price
$25.00$0.10
Cached input price
$0.50—
Cheapest input
$5.00Amazon Bedrock—
Cheapest output
$25.00Amazon Bedrock—
$2,250Anthropic list price$25.00Z.ai list price
Benchmarks
SWE-Bench Verified
88.6%27.2%
Overview
CompanyAnthropicZ.ai
Release dateMay 28 2026Apr 14 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

Claude Opus 4.8 leads GLM-4-0414 on 1 of the 1 benchmark they both report (SWE-Bench Verified). GLM-4-0414 is cheaper on both input and output: $0.10 vs $5.00 per million input tokens, and $0.10 vs $25.00 per million output tokens. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. GLM-4-0414 shipped 409 days before Claude Opus 4.8, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (Claude Opus 4.8) vs 128k (GLM-4-0414). Claude Opus 4.8 is closed, while GLM-4-0414 is open weight.

On SWE-Bench Verified, Claude Opus 4.8 leads at 88.6% vs GLM-4-0414 at 27.2%.