Compare AI models

Specifications
Parameters
—9B/32B
Context window
1M128k
API pricing
Input price
$0.40$0.1032B checkpoint
Output price
$1.60$0.10
Cached input price
$0.10—
Cheapest input
$0.40Azure—
Cheapest output
$1.60Azure—
$160OpenAI list price$25.00Z.ai list price
Benchmarks
SWE-Bench Verified
23.6%27.2%
IFEval
84.1%87.6%
Overview
CompanyOpenAIZ.ai
Release dateApr 14 2025Apr 14 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GLM-4-0414 leads GPT-4.1 mini on 2 of the 2 benchmarks they both report (SWE-Bench Verified, IFEval). GLM-4-0414 is cheaper on both input and output: $0.10 vs $0.40 per million input tokens, and $0.10 vs $1.60 per million output tokens. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. Both models were released on the same day — Apr 14 2025.

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

On SWE-Bench Verified, GLM-4-0414 leads at 27.2% vs GPT-4.1 mini at 23.6%. On IFEval, GLM-4-0414 leads at 87.6% vs GPT-4.1 mini at 84.1%.