Model comparison

GLM-5.1 vs GPT-4.1 mini

GLM-5.1 is the stronger model overall, scoring 47.8 to 33.6 on the Noometry Index. GPT-4.1 mini costs 3.1× less per token, which makes it the better buy when GLM-5.1's lead doesn't matter for your workload.

Last verified . 28 shared benchmarks.

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

GPT-4.1 mini OpenAI

33.6

Rank #240 Confirmed

Summary

  • They share 28 benchmarks with published results for both. GLM-5.1 scores higher in 8 categories and GPT-4.1 mini in 1 category; 9 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where GLM-5.1 leads 39.1 to 10.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 93.3% for GLM-5.1 and 44.7% for GPT-4.1 mini.
  • GPT-4.1 mini is cheaper at $0.40 / $1.60 per million input/output tokens, against $1.40 / $4.40 for GLM-5.1.
  • GPT-4.1 mini accepts more context: 1.05M tokens versus 200K.
  • GLM-5.1 has downloadable open weights; the other is API-only.

Side by side

GLM-5.1 and GPT-4.1 mini specifications
GLM-5.1GPT-4.1 mini
ProviderZ.ai (Zhipu)OpenAI
Noometry Index47.833.6
Released2026-04-072025-04-14
WeightsOpenProprietary
Context window200K1.05M
Max output131K33K
Input $ / M tokens$1.40$0.40
Output $ / M tokens$4.40$1.60
Results tracked4147

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GLM-5.1 leads

GLM-5.1: 48.7 (#55), GPT-4.1 mini: 30.6 (#293)

Coding benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
SciCode43.8%40.4%
WeirdML57.1%37.6%
LMArena Coding14851367
SWE-bench Verified74.2%—
SWE-bench Verified (bash only)—23.9%
Aider Polyglot—32.4%
LMArena WebDev1508—
BigCodeBench Instruct—48.9%
CadEval—16%
ALE-Bench887.1—

Agentic & Tool Use GPT-4.1 mini leads

GLM-5.1: 24.9 (#113), GPT-4.1 mini: 33.3 (#55)

Agentic & Tool Use benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
APEX-Agents40.9%—
Berkeley Function Calling Leaderboard—50.5%
ExploitBench18.1%—
GBAEval0%—
Vending-Bench 25,634—

Reasoning GLM-5.1 leads

GLM-5.1: 39.1 (#60), GPT-4.1 mini: 10.8 (#340)

Reasoning benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
CritPt4.6%0%
Chess Puzzles19%7%
LMArena Hard Prompts14721349
Epoch Capabilities Index149.84135.01
ARC-AGI-2—0%
SimpleBench55.1%—
Kagi LLM Benchmark—48.6%
NYT Connections (extended)77.7%—
ARC-AGI-1—3.5%
Thematic Generalization69.8%—
Mystery Game Puzzles—7%
DTBench—68.8%
LMCA—21.1%

Math GLM-5.1 leads

GLM-5.1: 49.7 (#60), GPT-4.1 mini: 24.1 (#270)

Math benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
FrontierMath (Tiers 1-3)36.8%6.7%
OTIS Mock AIME 2024-202593.3%44.7%
LMArena Math14731343
FrontierMath (Feb 2025 set)33.4%4.5%
MathArena Final-Answer Competitions67.1%—
ProofBench22.2%—
Omni-MATH—49.1%
MATH Level 5—87.3%
FrontierMath Tier 4 (v1)12.5%—

Knowledge GLM-5.1 leads

GLM-5.1: 54.9 (#50), GPT-4.1 mini: 34.7 (#194)

Knowledge benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
GPQA Diamond89.9%65.8%
SimpleQA Verified34%12.7%
LMArena Expert14761338
MMLU-Pro—78.3%
GPQA (HELM)—61.4%

Multimodal Not comparable

GLM-5.1: —, GPT-4.1 mini: 35.8 (#82)

Multimodal benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
LMArena Vision—1181

Multilingual GLM-5.1 leads

GLM-5.1: 55.0 (#36), GPT-4.1 mini: 45.7 (#166)

Multilingual benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
LMArena Non-English14471318
LMArena Chinese15151329
LMArena French14741358
LMArena German14651351
LMArena Japanese14341290
LMArena Korean14181298
LMArena Russian14541324
LMArena Spanish14691319

Instruction Following GLM-5.1 leads

GLM-5.1: 76.3 (#42), GPT-4.1 mini: 73.7 (#118)

Instruction Following benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
LMArena Instruction Following14511333
IFEval—90.4%

Long Context GLM-5.1 leads

GLM-5.1: 44.9 (#53), GPT-4.1 mini: 31.8 (#275)

Long Context benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
LMArena Longer Query14661344
Fiction.LiveBench—44.4%

Writing & Preference GLM-5.1 leads

GLM-5.1: 66.9 (#31), GPT-4.1 mini: 48.6 (#199)

Writing & Preference benchmarks
BenchmarkGLM-5.1GPT-4.1 mini
LMArena Text14611340
LMArena Creative Writing14531300
EQ-Bench Creative Writing15921147
LMArena Multi-Turn14721354
WildBench—83.8%

Frequently asked questions

Is GLM-5.1 better than GPT-4.1 mini?

GLM-5.1 is the stronger model overall, scoring 47.8 to 33.6 on the Noometry Index. GPT-4.1 mini costs 3.1× less per token, which makes it the better buy when GLM-5.1's lead doesn't matter for your workload.

Which is cheaper, GLM-5.1 or GPT-4.1 mini?

GPT-4.1 mini is cheaper. It lists at $0.40 per million input tokens and $1.60 per million output tokens; GLM-5.1 lists at $1.40 and $4.40.

Is GLM-5.1 or GPT-4.1 mini better for coding?

GLM-5.1 scores higher on coding benchmarks: 48.7 versus 30.6 in the Noometry coding category.

Which has the bigger context window?

GPT-4.1 mini does, with 1.05M tokens against 200K.

How many benchmarks do GLM-5.1 and GPT-4.1 mini share?

28 benchmarks have published results for both models. GLM-5.1 has 41 scored results on Noometry and GPT-4.1 mini has 47.

Related comparisons

Go deeper