Compare AI models

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

Frequently asked questions

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

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

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