Compare AI models

Specifications
Parameters
—6B
Context window
128k32k
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%9.8%
MATH
76.6%6.9%
MMLU
87.2%45.2%
Overview
CompanyOpenAIZ.ai
Release dateMay 13 2024Jun 25 2023
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GPT-4o leads ChatGLM2-6B 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 ChatGLM2-6B. ChatGLM2-6B shipped 323 days before GPT-4o, so benchmark comparisons should account for the intervening progress.

Context windows are 128k (GPT-4o) vs 32k (ChatGLM2-6B). GPT-4o is closed, while ChatGLM2-6B is open weight.

On HumanEval, GPT-4o leads at 91% vs ChatGLM2-6B at 9.8%. On MATH, GPT-4o leads at 76.6% vs ChatGLM2-6B at 6.9%. On MMLU, GPT-4o leads at 87.2% vs ChatGLM2-6B at 45.2%.