Compare AI models

Specifications
Context window
1M128k
API pricing
Input price
$0.40—
Output price
$1.60—
Cached input price
$0.10—
Cheapest input
$0.40Azure—
Cheapest output
$1.60Azure—
$160OpenAI list price—
Benchmarks
HumanEval
93.8%75.7%
IFEval
84.1%75.2%
MMLU
87.5%81.9%
Overview
CompanyOpenAIZ.ai
Release dateApr 14 2025Jun 5 2024
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

GPT-4.1 mini leads GLM-4-Air on 3 of the 3 benchmarks they both report (HumanEval, IFEval, MMLU). Only GPT-4.1 mini has a verified first-party price for an available API: $0.40 per million input tokens and $1.60 per million output tokens. No currently available pay-as-you-go API rate is tracked for GLM-4-Air. GLM-4-Air shipped 313 days before GPT-4.1 mini, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (GPT-4.1 mini) vs 128k (GLM-4-Air).

On HumanEval, GPT-4.1 mini leads at 93.8% vs GLM-4-Air at 75.7%. On IFEval, GPT-4.1 mini leads at 84.1% vs GLM-4-Air at 75.2%. On MMLU, GPT-4.1 mini leads at 87.5% vs GLM-4-Air at 81.9%.