Compare AI models

Specifications
Parameters
—30B
Context window
400k200k
API pricing
Input price
$0.25$0.00
Output price
$2.00$0.00
Cached input price
$0.025$0.00
Cheapest input
$0.125OpenAI—
Cheapest output
$1.00OpenAI—
$150OpenAI list price$0.00Z.ai list price
Benchmarks
SWE-Bench Verified
71%59.2%
AIME 2025
91.1%91.6%
Overview
CompanyOpenAIZ.ai
Release dateAug 7 2025Jan 19 2026
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GPT-5 mini and GLM-4.7-Flash are evenly matched across the 2 benchmarks they both report (SWE-Bench Verified, AIME 2025). GLM-4.7-Flash is cheaper on both input and output: $0.00 vs $0.25 per million input tokens, and $0.00 vs $2.00 per million output tokens. GPT-5 mini shipped 165 days before GLM-4.7-Flash, so benchmark comparisons should account for the intervening progress.

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

On SWE-Bench Verified, GPT-5 mini leads at 71% vs GLM-4.7-Flash at 59.2%. On AIME 2025, GLM-4.7-Flash leads at 91.6% vs GPT-5 mini at 91.1%.