Model comparison

GLM-4.7-Flash vs GPT-4.1 mini

GLM-4.7-Flash is the stronger model overall, scoring 38.8 to 33.6 on the Noometry Index.

Last verified . 20 shared benchmarks.

GLM-4.7-Flash Z.ai (Zhipu)

38.8

Rank #180 Confirmed

GPT-4.1 mini OpenAI

33.6

Rank #240 Confirmed

Summary

  • They share 20 benchmarks with published results for both. GLM-4.7-Flash scores higher in 6 categories and GPT-4.1 mini in 2 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in math, where GLM-4.7-Flash leads 36.1 to 24.1.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 58.3% for GLM-4.7-Flash and 44.7% for GPT-4.1 mini.
  • GLM-4.7-Flash is cheaper at $0.06 / $0.40 per million input/output tokens, against $0.40 / $1.60 for GPT-4.1 mini.
  • GPT-4.1 mini accepts more context: 1.05M tokens versus 200K.
  • GLM-4.7-Flash has downloadable open weights; the other is API-only.

Side by side

GLM-4.7-Flash and GPT-4.1 mini specifications
GLM-4.7-FlashGPT-4.1 mini
ProviderZ.ai (Zhipu)OpenAI
Noometry Index38.833.6
Released2026-01-192025-04-14
WeightsOpenProprietary
Context window200K1.05M
Max output131K33K
Input $ / M tokens$0.06$0.40
Output $ / M tokens$0.40$1.60
Results tracked2147

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

Category by category

Coding GLM-4.7-Flash leads

GLM-4.7-Flash: 40.6 (#135), GPT-4.1 mini: 30.6 (#293)

Coding benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
LMArena Coding13831367
SWE-bench Verified (bash only)—23.9%
Aider Polyglot—32.4%
SciCode—40.4%
WeirdML—37.6%
BigCodeBench Instruct—48.9%
CadEval—16%

Agentic & Tool Use Not comparable

GLM-4.7-Flash: —, GPT-4.1 mini: 33.3 (#55)

Agentic & Tool Use benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
Berkeley Function Calling Leaderboard—50.5%

Reasoning GLM-4.7-Flash leads

GLM-4.7-Flash: 20.9 (#229), GPT-4.1 mini: 10.8 (#340)

Reasoning benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
Chess Puzzles0%7%
LMArena Hard Prompts13561349
ARC-AGI-2—0%
Kagi LLM Benchmark—48.6%
ARC-AGI-1—3.5%
CritPt—0%
Mystery Game Puzzles—7%
DTBench—68.8%
LMCA—21.1%
Epoch Capabilities Index—135.01

Math GLM-4.7-Flash leads

GLM-4.7-Flash: 36.1 (#173), GPT-4.1 mini: 24.1 (#270)

Math benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
OTIS Mock AIME 2024-202558.3%44.7%
LMArena Math13551343
FrontierMath (Tiers 1-3)—6.7%
Omni-MATH—49.1%
MATH Level 5—87.3%
FrontierMath (Feb 2025 set)—4.5%

Knowledge Too close to call

GLM-4.7-Flash: 35.5 (#184), GPT-4.1 mini: 34.7 (#194)

Knowledge benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
GPQA Diamond60.5%65.8%
LMArena Expert13571338
SimpleQA Verified—12.7%
MMLU-Pro—78.3%
Vectara Hallucination Rate9.3%—
GPQA (HELM)—61.4%

Multimodal Not comparable

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

Multimodal benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
LMArena Vision—1181

Multilingual Too close to call

GLM-4.7-Flash: 46.5 (#158), GPT-4.1 mini: 45.7 (#166)

Multilingual benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
LMArena Non-English13301318
LMArena Chinese14031329
LMArena French13321358
LMArena German13371351
LMArena Korean12831298
LMArena Russian13321324
LMArena Spanish13501319
LMArena Japanese—1290

Instruction Following GPT-4.1 mini leads

GLM-4.7-Flash: 70.1 (#167), GPT-4.1 mini: 73.7 (#118)

Instruction Following benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
LMArena Instruction Following13271333
IFEval—90.4%

Long Context GLM-4.7-Flash leads

GLM-4.7-Flash: 40.9 (#148), GPT-4.1 mini: 31.8 (#275)

Long Context benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
LMArena Longer Query13451344
Fiction.LiveBench—44.4%

Writing & Preference GPT-4.1 mini leads

GLM-4.7-Flash: 47.4 (#210), GPT-4.1 mini: 48.6 (#199)

Writing & Preference benchmarks
BenchmarkGLM-4.7-FlashGPT-4.1 mini
LMArena Text13511340
LMArena Creative Writing12971300
EQ-Bench Creative Writing11251147
LMArena Multi-Turn13421354
WildBench—83.8%

Frequently asked questions

Is GLM-4.7-Flash better than GPT-4.1 mini?

GLM-4.7-Flash is the stronger model overall, scoring 38.8 to 33.6 on the Noometry Index.

Which is cheaper, GLM-4.7-Flash or GPT-4.1 mini?

GLM-4.7-Flash is cheaper. It lists at $0.06 per million input tokens and $0.40 per million output tokens; GPT-4.1 mini lists at $0.40 and $1.60.

Is GLM-4.7-Flash or GPT-4.1 mini better for coding?

GLM-4.7-Flash scores higher on coding benchmarks: 40.6 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-4.7-Flash and GPT-4.1 mini share?

20 benchmarks have published results for both models. GLM-4.7-Flash has 21 scored results on Noometry and GPT-4.1 mini has 47.

Related comparisons

Go deeper