Compare AI models

Specifications
Context window
128k128k
API pricing
Input price
$2.50—
Output price
$10.00—
Cached input price
$1.25—
Cheapest input
$2.50Azure—
Cheapest output
$10.00Azure—
$1,000OpenAI list price—
Benchmarks
HumanEval
91%75.7%
MATH
76.6%57.9%
MMLU
87.2%81.9%
Overview
CompanyOpenAIZ.ai
Release dateMay 13 2024Jun 5 2024
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

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

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

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