Compare AI models

Specifications
Parameters
—9B/32B
Context window
200k128k
API pricing
Input price
—$0.1032B checkpoint
Output price
—$0.10
—$25.00Z.ai list price
Benchmarks
SWE-Bench Verified
72.7%27.2%
Overview
CompanyAnthropicZ.ai
Release dateMay 22 2025Apr 14 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

Claude Sonnet 4 leads GLM-4-0414 on 1 of the 1 benchmark they both report (SWE-Bench Verified). Only GLM-4-0414 has a verified first-party price for an available API: $0.10 per million input tokens and $0.10 per million output tokens. No currently available pay-as-you-go API rate is tracked for Claude Sonnet 4. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. GLM-4-0414 shipped 38 days before Claude Sonnet 4, so benchmark comparisons should account for the intervening progress.

Context windows are 200k (Claude Sonnet 4) vs 128k (GLM-4-0414). Claude Sonnet 4 is closed, while GLM-4-0414 is open weight.

On SWE-Bench Verified, Claude Sonnet 4 leads at 72.7% vs GLM-4-0414 at 27.2%.