Compare AI models

Specifications
Parameters
—9B/32B
Context window
400k128k
API pricing
Input price
$1.75$0.1032B checkpoint
Output price
$14.00$0.10
Cached input price
$0.175—
Cheapest input
$0.875OpenAI—
Cheapest output
$7.00OpenAI—
$1,050OpenAI list price$25.00Z.ai list price
Benchmarks
SWE-Bench Verified
80%27.2%
Overview
CompanyOpenAIZ.ai
Release dateDec 11 2025Apr 14 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GPT-5.2 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 $1.75 per million input tokens, and $0.10 vs $14.00 per million output tokens. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. GLM-4-0414 shipped 241 days before GPT-5.2, so benchmark comparisons should account for the intervening progress.

Context windows are 400k (GPT-5.2) vs 128k (GLM-4-0414). GPT-5.2 is closed, while GLM-4-0414 is open weight.

On SWE-Bench Verified, GPT-5.2 leads at 80% vs GLM-4-0414 at 27.2%.