Compare AI models

Specifications
Parameters
—30B
Context window
1M200k
API pricing
Input price
$2.00$0.00
Output price
$8.00$0.00
Cached input price
$0.50$0.00
Cheapest input
$2.00Azure—
Cheapest output
$8.00Azure—
$800OpenAI list price$0.00Z.ai list price
Benchmarks
SWE-Bench Verified
54.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 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 $2.00 per million input tokens, and $0.00 vs $8.00 per million output tokens. GPT-4.1 shipped 280 days before GLM-4.7-Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (GPT-4.1) vs 200k (GLM-4.7-Flash). GPT-4.1 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 at 54.6%.