Compare AI models
| Specifications | ||
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. | 32k | — |
| Benchmarks | ||
HumanEvalFunction synthesis — 164 small Python problems: the AI is given a function's description and has to write the working function. This was the coding benchmark of the GPT-3.5 and GPT-4 era, before the field moved to fixing real bugs in real repositories. Higher is better. | 74.4% | 72% |
MATHReasoning — accuracy on the original competition mathematics test set | 53.2% | 47.9% |
MMLUGeneral knowledge — A 57-subject multiple-choice exam — history, law, medicine, maths — that was the standard measure of how much a model knows from 2020 until roughly 2024, when frontier scores crowded into the high 80s and labs moved on to harder tests. The scores here were published years apart under different testing setups, so read them as a historical record rather than a like-for-like ranking. Higher is better. | 83.7% | 81.5% |
GSM8KGrade-school math — Grade-school maths word problems that take a few steps of arithmetic to work through. It separated the models of 2022 and 2023 sharply, then saturated. One caveat on the historical numbers: OpenAI included part of the GSM8K training set in GPT-4's pre-training mix, so GPT-4's score is not a clean few-shot result. Higher is better. | 88.9% | 87.6% |
HellaSwagReasoning — commonsense completion of short scenarios | 87.8% | — |
MGSMMultilingual math — solving grade-school word problems translated into multiple languages | 79% | — |
MathVistaMultimodal reasoning — mathematical reasoning about visual information | 53% | — |
MMMUMultimodal — Tests the AI on understanding images and text together across many college subjects. Higher is better. | 59.4% | — |
| Overview | ||
| Company | Z.ai | |
| Release date | Feb 8 2024 | Jan 16 2024 |
| Access | Closed | Closed |
| Model details | View model | View model |
Other comparisons
Gemini 1.0 UltravsClaude Fable 5.2GLM-4vsClaude Fable 5.2Gemini 1.0 UltravsGPT-6.2 AstraGLM-4vsGPT-6.2 AstraGemini 1.0 UltravsMuse EmberGLM-4vsMuse EmberGemini 1.0 UltravsGrok 4.7GLM-4vsGrok 4.7Gemini 1.0 UltravsDeepSeek-V4.1-Flash-1017GLM-4vsDeepSeek-V4.1-Flash-1017Gemini 1.0 UltravsMistral Large 4GLM-4vsMistral Large 4Frequently asked questions
Gemini 1.0 Ultra leads GLM-4 on 4 of the 4 benchmarks they both report (HumanEval, MATH, MMLU, GSM8K). GLM-4 shipped 23 days before Gemini 1.0 Ultra, 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, Gemini 1.0 Ultra leads at 74.4% vs GLM-4 at 72%. On MATH, Gemini 1.0 Ultra leads at 53.2% vs GLM-4 at 47.9%. On MMLU, Gemini 1.0 Ultra leads at 83.7% vs GLM-4 at 81.5%. On GSM8K, Gemini 1.0 Ultra leads at 88.9% vs GLM-4 at 87.6%.