Compare AI models

Specifications
Parameters
—9B/32B
Context window
400k128k
API pricing
Input price
$1.25$0.1032B checkpoint
Output price
$10.00$0.10
Cached input price
$0.125—
Cheapest input
$1.25Azure—
Cheapest output
$10.00Azure—
$750OpenAI list price$25.00Z.ai list price
Benchmarks
SWE-Bench Verified
74.9%27.2%
Overview
CompanyOpenAIZ.ai
Release dateAug 7 2025Apr 14 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

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

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

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