Enter opens the highlighted result. Esc closes.

GLM 4.7 Flash vs GPT-5 Mini

GPT-5 Mini leads GLM 4.7 Flash on the Artificial Analysis Intelligence Index, 20.6 to 14.9, and GLM 4.7 Flash costs 5.0x less per output token ($0.40 vs $2.00 per million). Updated October 21, 2026; 43 benchmarks have a result for both.

GLM 4.7 FlashZ.ai
Coding
No data
Overall
14.9
Output $/M
$0.40
7
GPT-5 MiniOpenAI
Coding
34.2
Overall
20.6
Output $/M
$2.00
36
vs boards won of 43 shared

GLM 4.7 Flash or GPT-5 Mini: which to pick

Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding.

Pick GLM 4.7 Flash for output tokens 5.0x cheaper ($0.40 vs $2.00 per million) and work measured by τ²-Bench Telecom or Design Arena: websites, where it leads.

Shared results
43
GLM 4.7 Flash only
0
GPT-5 Mini only
55
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 Flash not benchmarked, GPT-5 Mini 34.2 from 2 benchmarks.
Widest category
Agentic work, 27.8 points apart on average over 1 shared benchmark.
Widest single gap
Long context reasoning (AA-LCR): GLM 4.7 Flash 41.7% against GPT-5 Mini 72.3%, 30.7 points apart on a 0 to 100 scale.
Output price
GLM 4.7 Flash $0.40 against GPT-5 Mini $2.00 per million output tokens, 5.0x apart.
Context window
GLM 4.7 Flash takes 200K tokens, GPT-5 Mini 400K.

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.7 FlashBarsGPT-5 MiniTies
Coding03
Intelligence01
Agentic work10
Reasoning06
Math03
Knowledge04
Web design52
General117
All shared boards736
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
SWE-bench VerifiedNot measured59.8%Only GPT-5 Mini measured
SWE-bench MultilingualNot measured39.7%Only GPT-5 Mini measured
LiveCodeBench (Vals AI)Not measured86.6%Only GPT-5 Mini measured
SWE-bench Verified (Vals AI)Not measured60.8%Only GPT-5 Mini measured
Vibe Code Bench (Vals AI)Not measured14.2%Only GPT-5 Mini measured
LiveCodeBench (Artificial Analysis run)Not measured83.8%Only GPT-5 Mini measured
SciCodeNot measured39.0%Only GPT-5 Mini measured
Terminal-Bench Hard (Artificial Analysis run)22.0%33.3%GPT-5 Mini
Terminal-BenchNot measured34.8%Only GPT-5 Mini measured
WeirdMLNot measured52.7%Only GPT-5 Mini measured
LMArena Text: coding13821406GPT-5 Mini
LMArena Text: software and IT13891394GPT-5 Mini
Neither model has a result on the other 26 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
AA Intelligence Index14.920.6GPT-5 Mini
Epoch Capabilities IndexNot measured145.3Only GPT-5 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
τ²-Bench Telecom98.8%71.1%GLM 4.7 Flash
Vending-Bench 2Not measured-$31Only GPT-5 Mini measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
GPQA DiamondNot measured80.3%Only GPT-5 Mini measured
MMMU Pro (Vals AI)Not measured78.9%Only GPT-5 Mini measured
GPQA Diamond (Artificial Analysis run)58.1%82.8%GPT-5 Mini
Humanity's Last Exam (Artificial Analysis run)7.6%21.5%GPT-5 Mini
GPQA Diamond (Epoch AI run)60.5%75.0%GPT-5 Mini
ARC-AGINot measured54.3%Only GPT-5 Mini measured
ARC-AGI-2Not measured4.4%Only GPT-5 Mini measured
Chess puzzlesNot measured24.0%Only GPT-5 Mini measured
Mystery game puzzlesNot measured10.0%Only GPT-5 Mini measured
VPCTNot measured40.2%Only GPT-5 Mini measured
LMArena Text: hard prompts13561380GPT-5 Mini
LMArena Text: expert13571379GPT-5 Mini
LMArena Text: hard prompts in English13691383GPT-5 Mini
LMArena Vision: diagramsNot measured1202Only GPT-5 Mini measured
LMArena Vision: homeworkNot measured1210Only GPT-5 Mini measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
AIMENot measured91.5%Only GPT-5 Mini measured
MATH 500 (Vals AI)Not measured94.8%Only GPT-5 Mini measured
MGSM (Vals AI)Not measured92.6%Only GPT-5 Mini measured
AA Math IndexNot measured90.7Only GPT-5 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only GPT-5 Mini measured
OTIS Mock AIME58.3%86.7%GPT-5 Mini
FrontierMath, tiers 1 to 3Not measured46.7%Only GPT-5 Mini measured
FrontierMath, tier 4Not measured12.2%Only GPT-5 Mini measured
ProofBenchNot measured9.0%Only GPT-5 Mini measured
MATH level 5Not measured97.8%Only GPT-5 Mini measured
LMArena Text: math13551378GPT-5 Mini
LMArena Text: mathematical work13691380GPT-5 Mini
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
MMLU ProNot measured82.2%Only GPT-5 Mini measured
LegalBench (Vals AI)Not measured81.8%Only GPT-5 Mini measured
CaseLaw (Vals AI)Not measured68.5%Only GPT-5 Mini measured
CorpFin (Vals AI)Not measured60.2%Only GPT-5 Mini measured
TaxEval (Vals AI)Not measured75.2%Only GPT-5 Mini measured
MortgageTax (Vals AI)Not measured66.9%Only GPT-5 Mini measured
MedQA (Vals AI)Not measured96.1%Only GPT-5 Mini measured
MedCode (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MMLU Pro (Artificial Analysis run)Not measured83.7%Only GPT-5 Mini measured
SimpleQA VerifiedNot measured21.6%Only GPT-5 Mini measured
LMArena Text: science13581371GPT-5 Mini
LMArena Text: medicine and healthcare13431380GPT-5 Mini
LMArena Text: legal and government13571375GPT-5 Mini
LMArena Text: business and finance13431358GPT-5 Mini
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index52
Web design benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
Design Arena: websites11941125GLM 4.7 Flash
Design Arena: UI components12081106GLM 4.7 Flash
Design Arena: game dev11351130GLM 4.7 Flash
Design Arena: data viz11231130GPT-5 Mini
Design Arena: 3D11211037GLM 4.7 Flash
Design Arena: all code categories11781115GLM 4.7 Flash
Design Arena: SVG10381091GPT-5 Mini
Design Arena: ASCII artNot measured1125Only GPT-5 Mini measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index117
General benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 MiniLeader
SAGE (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MedScribe (Vals AI)Not measured80.6%Only GPT-5 Mini measured
IFBench60.8%75.4%GPT-5 Mini
Long context reasoning (AA-LCR)41.7%72.3%GPT-5 Mini
DTBenchNot measured80.5%Only GPT-5 Mini measured
LMCANot measured34.2%Only GPT-5 Mini measured
Fiction.LiveBenchNot measured69.4%Only GPT-5 Mini measured
Creative writing (Lech Mazur)Not measured83.1%Only GPT-5 Mini measured
LMArena Text13511373GPT-5 Mini
LMArena Text: instruction following13271357GPT-5 Mini
LMArena Text: creative writing12961325GPT-5 Mini
LMArena VisionNot measured1202Only GPT-5 Mini measured
LMArena Text: English13731379GPT-5 Mini
LMArena Text: non-English13301363GPT-5 Mini
LMArena Text: Chinese14031386GLM 4.7 Flash
LMArena Text: German13361366GPT-5 Mini
LMArena Text: JapaneseNot measured1341Only GPT-5 Mini measured
LMArena Text: Korean12831308GPT-5 Mini
LMArena Text: French13321386GPT-5 Mini
LMArena Text: Spanish13501354GPT-5 Mini
LMArena Text: Russian13331362GPT-5 Mini
LMArena Text: Polish12911378GPT-5 Mini
LMArena Text: multi-turn13421363GPT-5 Mini
LMArena Text: longer queries13451355GPT-5 Mini
LMArena Text: writing and language13201344GPT-5 Mini
LMArena Text: entertainment and media13041340GPT-5 Mini
LMArena Vision: EnglishNot measured1216Only GPT-5 Mini measured
LMArena Vision: ChineseNot measured1214Only GPT-5 Mini measured
LMArena Vision: reading textNot measured1199Only GPT-5 Mini measured
LMArena Vision: humorNot measured1205Only GPT-5 Mini measured
LMArena Vision: captioningNot measured1217Only GPT-5 Mini measured
LMArena Vision: recognizing thingsNot measured1226Only GPT-5 Mini measured
LMArena Vision: creative writingNot measured1181Only GPT-5 Mini measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.7 Flash and GPT-5 Mini
BenchmarkGLM 4.7 FlashGPT-5 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 Flash$0.0003Fits in one request
GPT-5 Mini$0.0013Fits in one request

GLM 4.7 Flash costs less

Repository review

50K input + 3K output tokens

GLM 4.7 Flash$0.0045Fits in one request
GPT-5 Mini$0.018Fits in one request

GLM 4.7 Flash costs less

Agent loop

200K input + 10K output tokens

GLM 4.7 Flash$0.017Exceeds the context window
GPT-5 Mini$0.070Fits in one request

GLM 4.7 Flash 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 Flash and GPT-5 Mini
SpecificationZ.ai GLM 4.7 FlashOpenAI GPT-5 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJanuary 19, 2026August 7, 2025
Context window200K400K
Input $/Mtok$0.0653$0.25
Output $/Mtok$0.40$2.00
Coding indexNot benchmarked34.2
Independent measurements behind it02
Cost per solved taskNot computable$0.08
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 Flash better than GPT-5 Mini for coding?

Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding. Pick GLM 4.7 Flash for output tokens 5.0x cheaper ($0.40 vs $2.00 per million) and work measured by τ²-Bench Telecom or Design Arena: websites, where it leads.

Which is cheaper, GLM 4.7 Flash or GPT-5 Mini?

GLM 4.7 Flash costs $0.0653 per million input tokens and $0.40 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Cost per solved task is known for GPT-5 Mini only.

Which has the bigger context window, GLM 4.7 Flash or GPT-5 Mini?

GPT-5 Mini, with 400K tokens against 200K.

How many benchmarks is the GLM 4.7 Flash vs GPT-5 Mini comparison based on?

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

Compare next