Compare AI models

Specifications
Parameters
9B/27B—
Context window
8k128k
API pricing
Cheapest input
$0.65NextBit—
Cheapest output
$0.65NextBit—
$163NextBit · int4—
Benchmarks
HumanEval
51.8%75.7%
MATH
42.3%57.9%
MMLU
75.2%81.9%
GSM8K
74%90.9%
Overview
CompanyGoogleZ.ai
Release dateJun 27 2024Jun 5 2024
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

GLM-4-Air leads Gemma 2 on 4 of the 4 benchmarks they both report (HumanEval, MATH, MMLU, GSM8K). GLM-4-Air shipped 22 days before Gemma 2, so benchmark comparisons should account for the intervening progress.

Context windows are 8k (Gemma 2) vs 128k (GLM-4-Air). Gemma 2 is open weight, while GLM-4-Air is closed.

On HumanEval, GLM-4-Air leads at 75.7% vs Gemma 2 at 51.8%. On MATH, GLM-4-Air leads at 57.9% vs Gemma 2 at 42.3%. On MMLU, GLM-4-Air leads at 81.9% vs Gemma 2 at 75.2%. On GSM8K, GLM-4-Air leads at 90.9% vs Gemma 2 at 74%.