Compare AI models

Specifications
Context window
1M—
API pricing
Input price
$2.00—
Output price
$8.00—
Cached input price
$0.50—
Cheapest input
$2.00Azure—
Cheapest output
$8.00Azure—
$800OpenAI list price—
Benchmarks
HumanEval
94.5%72%
MMLU
90.2%81.5%
Overview
CompanyOpenAIZ.ai
Release dateApr 14 2025Jan 16 2024
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

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

Published specifications for these two models are limited — see each model page for the latest details.

On HumanEval, GPT-4.1 leads at 94.5% vs GLM-4 at 72%. On MMLU, GPT-4.1 leads at 90.2% vs GLM-4 at 81.5%.