Compare AI models

Specifications
Parameters
—30B
Context window
1M200k
API pricing
Input price
$0.40$0.00
Output price
$1.60$0.00
Cached input price
$0.10$0.00
Cheapest input
$0.40Azure—
Cheapest output
$1.60Azure—
$160OpenAI list price$0.00Z.ai list price
Benchmarks
SWE-Bench Verified
23.6%59.2%
Overview
CompanyOpenAIZ.ai
Release dateApr 14 2025Jan 19 2026
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GLM-4.7-Flash leads GPT-4.1 mini on 1 of the 1 benchmark they both report (SWE-Bench Verified). GLM-4.7-Flash is cheaper on both input and output: $0.00 vs $0.40 per million input tokens, and $0.00 vs $1.60 per million output tokens. GPT-4.1 mini shipped 280 days before GLM-4.7-Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (GPT-4.1 mini) vs 200k (GLM-4.7-Flash). GPT-4.1 mini is closed, while GLM-4.7-Flash is open weight.

On SWE-Bench Verified, GLM-4.7-Flash leads at 59.2% vs GPT-4.1 mini at 23.6%.