Compare AI models

Specifications
Context window
128k—
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%72%
MATH
76.6%47.9%
MMLU
87.2%81.5%
Overview
CompanyOpenAIZ.ai
Release dateMay 13 2024Jan 16 2024
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

GPT-4o leads GLM-4 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. GLM-4 shipped 118 days before GPT-4o, 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-4o leads at 91% vs GLM-4 at 72%. On MATH, GPT-4o leads at 76.6% vs GLM-4 at 47.9%. On MMLU, GPT-4o leads at 87.2% vs GLM-4 at 81.5%.