0

GLM 5.1 vs GPT-4o

Head to head on 14 shared benchmarks, with price, context window, and release dates.

Benchmark scores

54

evals · sort by any column, ⤢ to expand fullscreen

Model
GLM 5.1

Zai

64.5%33.5%83.9%27.9%52.0%72.7%75.4%68.5%71.8%85.4%36.1%71.2%35.6%97.1%----20.8%35.9%1.13--40.0%-1589elo73.544.8%34.7%15.1%--63.2%84.9%72.5%--67.0%41.6%-72.3%--22.2%-34.6%5.24--69.8-52.5%31.5%-53.6%
GPT-4o

OpenAI

45.9%0.3%54.3%2.4%34.3%55.1%46.1%70.1%49.0%74.8%33.3%74.5%8.3%25.1%18.2%15.0%6.0%38---0.0%0.33-6.1%-----96.10.0%---30.9%75.9%--10.8%-57.4%54.0%-5.71--21.6%61.2-0.98--32.5%33.4%
2 / 2 models
AttributeGLM 5.1

Zai

GPT-4o

OpenAI

DescriptionGLM-5.1 is an AI model from Zai, released with open weights.GPT-4o is an AI model from OpenAI.
FamilyGlmGPT
Params--
Open weightsopenclosed
Licensemitproprietary
Released7 Apr 202620 Nov 2024
Context204,800128,000
Input $/1M$1.39$2.50
Output $/1M$4.40$10.00
Cache read $/1M$0.234$1.250
Cache write $/1M--
Speed0 tok/s0 tok/s
Latency0.00 s0.00 s
Modalitiestexttext, image, file
Providers--
PublisherZaiOpenAI
Reported scores
Taubench61.2 pass^1
GSM8K96.1 Accuracy
ScholarSearch5.71 Social Sciences & Humanities (%)
AIME202438 pass@1

FAQ

Is GLM 5.1 or GPT-4o better?
Across the 14 benchmarks both models report on Sophon, GLM 5.1 leads on 12 of them. Which one is "better" depends on the benchmark - the table above shows every shared score.
How do GLM 5.1 and GPT-4o compare on GPQA Diamond?
GLM 5.1 scores 83.9% and GPT-4o scores 54.3% on GPQA Diamond.
Which is cheaper, GLM 5.1 or GPT-4o?
GLM 5.1 is cheaper at $4.40 per million output tokens against $10.00 for GPT-4o - about 2.3x.
When were GLM 5.1 and GPT-4o released?
GLM 5.1 was released 7 Apr 2026 by Zai. GPT-4o was released 20 Nov 2024 by OpenAI.

Comparing something else? Build your own side-by-side.