Enter opens the highlighted result. Esc closes.

GLM 4.7 vs o4 Mini

GLM 4.7 leads o4 Mini on the Artificial Analysis Intelligence Index, 22.2 to 16.7, and GLM 4.7 costs 2.0x less per output token ($2.20 vs $4.40 per million). Updated October 21, 2026; 62 benchmarks have a result for both.

GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
53
o4 MiniOpenAI
Coding
No data
Overall
43.0
Output $/M
$4.40
9
vs boards won of 62 shared

GLM 4.7 or o4 Mini: which to pick

Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; o4 Mini has none, so the two cannot be ranked on coding.

Pick o4 Mini for work measured by Epoch Capabilities Index or Chess puzzles, where it leads.

Shared results
62
GLM 4.7 only
19
o4 Mini only
36
Like-for-like categories
8 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GLM 4.7 55.1 from 2 benchmarks, o4 Mini not benchmarked.
Widest category
Agentic work, 40.4 points apart on average over 1 shared benchmark.
Widest single gap
Design Arena: 3D: GLM 4.7 1191 against o4 Mini 854, 42.1 points apart on a 0 to 100 scale.
Output price
GLM 4.7 $2.20 against o4 Mini $4.40 per million output tokens, 2.0x apart.
Context window
GLM 4.7 takes 205K tokens, o4 Mini 200K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGLM 4.7Barso4 MiniTies
Coding50
Intelligence11
Agentic work10
Reasoning81
Math61
Knowledge84
Web design60
General182
All shared boards539
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
Aider polyglotNot measured72.0%Only o4 Mini measured
SWE-bench VerifiedNot measured64.6%Only o4 Mini measured
SWE-bench MultimodalNot measured33.9%Only o4 Mini measured
LMArena WebDev1435Not measuredOnly GLM 4.7 measured
AA Coding Index45.3Not measuredOnly GLM 4.7 measured
LiveCodeBench (Vals AI)82.2%82.2%GLM 4.7
SWE-bench Verified (Vals AI)69.4%Not measuredOnly GLM 4.7 measured
LiveCodeBench (Artificial Analysis run)89.4%85.9%GLM 4.7
Terminal-Bench Hard (Artificial Analysis run)31.8%15.2%GLM 4.7
Terminal-Bench33.4%Not measuredOnly GLM 4.7 measured
GSO-BenchNot measured3.6%Only o4 Mini measured
WeirdMLNot measured52.6%Only o4 Mini measured
ALE-Bench399.5Not measuredOnly GLM 4.7 measured
LMArena Text: coding14541368GLM 4.7
LMArena Text: software and IT14531367GLM 4.7
LMArena WebDev: React1420Not measuredOnly GLM 4.7 measured
LMArena WebDev: HTML1447Not measuredOnly GLM 4.7 measured
SciCodeNot measured10.8%Only o4 Mini measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
AA Intelligence Index22.216.7GLM 4.7
Epoch Capabilities Index143.6145.5o4 Mini
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
Design Arena: agents building full-stack apps1050Not measuredOnly GLM 4.7 measured
Design Arena: agents building mobile apps1105Not measuredOnly GLM 4.7 measured
Design Arena: agents building Android apps1112Not measuredOnly GLM 4.7 measured
Design Arena: agents building Godot games1058Not measuredOnly GLM 4.7 measured
τ²-Bench Telecom95.9%55.6%GLM 4.7
METR time horizonsNot measured63.9%Only o4 Mini measured
Vending-Bench 2$2,377Not measuredOnly GLM 4.7 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured53.2%Only o4 Mini measured
BrowseComp-Plus64.7%Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index81
Reasoning benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
GPQA Diamond80.0%74.5%GLM 4.7
MMMU Pro (Vals AI)Not measured79.7%Only o4 Mini measured
GPQA Diamond (Artificial Analysis run)85.9%78.4%GLM 4.7
Humanity's Last Exam (Artificial Analysis run)27.4%16.5%GLM 4.7
GPQA Diamond (Epoch AI run)83.3%79.6%GLM 4.7
ARC-AGINot measured58.7%Only o4 Mini measured
ARC-AGI-2Not measured6.1%Only o4 Mini measured
SimpleBench47.7%38.7%GLM 4.7
Chess puzzles21.0%22.0%o4 Mini
Mystery game puzzlesNot measured5.0%Only o4 Mini measured
VPCTNot measured57.5%Only o4 Mini measured
LMArena Text: hard prompts14431351GLM 4.7
LMArena Text: expert14241343GLM 4.7
LMArena Text: hard prompts in English14521366GLM 4.7
LMArena Vision: diagramsNot measured1197Only o4 Mini measured
LMArena Vision: homeworkNot measured1234Only o4 Mini measured
Kagi LLM BenchmarkNot measured67.6%Only o4 Mini measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index61
Math benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
AIME93.3%83.7%GLM 4.7
MATH 500 (Vals AI)Not measured94.2%Only o4 Mini measured
MGSM (Vals AI)88.2%93.4%o4 Mini
AA Math Index95.090.7GLM 4.7
AIME 2025 (Artificial Analysis run)95.0%90.7%GLM 4.7
OTIS Mock AIME83.3%81.7%GLM 4.7
FrontierMath, tiers 1 to 3Not measured36.1%Only o4 Mini measured
FrontierMath, tier 4Not measured4.9%Only o4 Mini measured
ProofBench6.0%Not measuredOnly GLM 4.7 measured
MATH level 5Not measured97.8%Only o4 Mini measured
LMArena Text: math14241389GLM 4.7
LMArena Text: mathematical work14111379GLM 4.7
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index84
Knowledge benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
MMLU Pro82.7%80.6%GLM 4.7
LegalBench (Vals AI)83.4%79.2%GLM 4.7
CaseLaw (Vals AI)54.9%Not measuredOnly GLM 4.7 measured
CorpFin (Vals AI)46.4%59.0%o4 Mini
TaxEval (Vals AI)68.8%74.8%o4 Mini
MortgageTax (Vals AI)Not measured64.8%Only o4 Mini measured
MedQA (Vals AI)93.7%96.0%o4 Mini
MedCode (Vals AI)32.8%33.8%o4 Mini
MMLU Pro (Artificial Analysis run)85.6%83.2%GLM 4.7
SimpleQA Verified32.2%19.6%GLM 4.7
GeoBenchNot measured64.0%Only o4 Mini measured
LMArena Text: science14571354GLM 4.7
LMArena Text: medicine and healthcare14691361GLM 4.7
LMArena Text: legal and government14441350GLM 4.7
LMArena Text: business and finance14291325GLM 4.7
FACTS Benchmark SuiteNot measured28.1%Only o4 Mini measured
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
Design Arena: websites1226985GLM 4.7
Design Arena: UI components1199983GLM 4.7
Design Arena: game dev11891003GLM 4.7
Design Arena: data viz1195990GLM 4.7
Design Arena: 3D1191854GLM 4.7
Design Arena: all code categories1217976GLM 4.7
Design Arena: SVG1143Not measuredOnly GLM 4.7 measured
Design Arena: ASCII art1165Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index182
General benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
SAGE (Vals AI)Not measured41.1%Only o4 Mini measured
MedScribe (Vals AI)68.6%69.1%o4 Mini
IFBench67.9%68.7%o4 Mini
Long context reasoning (AA-LCR)71.0%61.0%GLM 4.7
DTBenchNot measured77.6%Only o4 Mini measured
LMCANot measured26.5%Only o4 Mini measured
Fiction.LiveBenchNot measured77.8%Only o4 Mini measured
Creative writing (Lech Mazur)Not measured75.0%Only o4 Mini measured
CL-bench15.9%Not measuredOnly GLM 4.7 measured
CL-bench Life10.9%Not measuredOnly GLM 4.7 measured
LMArena Text14351353GLM 4.7
LMArena Text: instruction following14121320GLM 4.7
LMArena Text: creative writing14011294GLM 4.7
LMArena VisionNot measured1194Only o4 Mini measured
LMArena Text: English14531367GLM 4.7
LMArena Text: non-English14171337GLM 4.7
LMArena Text: Chinese14951354GLM 4.7
LMArena Text: German14261336GLM 4.7
LMArena Text: Japanese14391308GLM 4.7
LMArena Text: Korean13991312GLM 4.7
LMArena Text: French14321364GLM 4.7
LMArena Text: Spanish14341346GLM 4.7
LMArena Text: Russian14231334GLM 4.7
LMArena Text: Polish14351358GLM 4.7
LMArena Text: multi-turn14461350GLM 4.7
LMArena Text: longer queries14321315GLM 4.7
LMArena Text: writing and language14111316GLM 4.7
LMArena Text: entertainment and media14001308GLM 4.7
LMArena Vision: EnglishNot measured1200Only o4 Mini measured
LMArena Vision: ChineseNot measured1218Only o4 Mini measured
LMArena Vision: reading textNot measured1197Only o4 Mini measured
LMArena Vision: humorNot measured1199Only o4 Mini measured
LMArena Vision: captioningNot measured1204Only o4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only o4 Mini measured
LMArena Vision: creative writingNot measured1166Only o4 Mini measured
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.7 and o4 Mini
BenchmarkGLM 4.7o4 MiniLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GLM 4.7$0.0017Fits in one request
o4 Mini$0.0033Fits in one request

GLM 4.7 costs less

Repository review

50K input + 3K output tokens

GLM 4.7$0.037Fits in one request
o4 Mini$0.068Fits in one request

GLM 4.7 costs less

Agent loop

200K input + 10K output tokens

GLM 4.7$0.142Exceeds the context window
o4 Mini$0.264Exceeds the context window

GLM 4.7 costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GLM 4.7 and o4 Mini
SpecificationZ.ai GLM 4.7OpenAI o4 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedDecember 22, 2025April 16, 2025
Context window205K200K
Input $/Mtok$0.60$1.10
Output $/Mtok$2.20$4.40
Coding index55.1Not benchmarked
Independent measurements behind it20
Cost per solved task$0.29Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 better than o4 Mini for coding?

Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; o4 Mini has none, so the two cannot be ranked on coding. Pick o4 Mini for work measured by Epoch Capabilities Index or Chess puzzles, where it leads.

Which is cheaper, GLM 4.7 or o4 Mini?

GLM 4.7 costs $0.60 per million input tokens and $2.20 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for GLM 4.7 only.

Which has the bigger context window, GLM 4.7 or o4 Mini?

GLM 4.7, with 205K tokens against 200K.

How many benchmarks is the GLM 4.7 vs o4 Mini comparison based on?

62 benchmarks have a result for both models as of October 21, 2026. GLM 4.7's coding index rests on 2 independent benchmarks and o4 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next