Compare AI models

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

Frequently asked questions

GPT-5 mini 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 $0.25 per million input tokens, and $0.10 vs $2.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 mini, so benchmark comparisons should account for the intervening progress.

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

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