Compare AI models

Specifications
Context window
128k128k
API pricing
Input price
$0.15—
Output price
$0.60—
Cached input price
$0.075—
Cheapest input
$0.15Azure—
Cheapest output
$0.60Azure—
$60.00OpenAI list price—
Benchmarks
HumanEval
87.2%75.7%
MATH
70.2%57.9%
MMLU
82%81.9%
Overview
CompanyOpenAIZ.ai
Release dateJul 18 2024Jun 5 2024
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

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

Context windows are 128k (GPT-4o mini) vs 128k (GLM-4-Air).

On HumanEval, GPT-4o mini leads at 87.2% vs GLM-4-Air at 75.7%. On MATH, GPT-4o mini leads at 70.2% vs GLM-4-Air at 57.9%. On MMLU, GPT-4o mini leads at 82% vs GLM-4-Air at 81.9%.