Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs GLM 4.7

Gemini 3.7 Flash leads GLM 4.7 on coding, 58.0 to 55.1 on the Vibe Coding Index, and GLM 4.7 costs 1.7x less per output token ($2.20 vs $3.75 per million). Updated October 22, 2026; 63 benchmarks have a result for both.

Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
63
GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
0
vs boards won of 63 shared

Gemini 3.7 Flash or GLM 4.7: which to pick

Pick Gemini 3.7 Flash for coding: it scores 58.0 on the Vibe Coding Index against 55.1 for GLM 4.7.

Pick GLM 4.7 for output tokens 1.7x cheaper ($2.20 vs $3.75 per million) and a lower cost per solved task ($0.29 against $1.78).

Shared results
63
Gemini 3.7 Flash only
51
GLM 4.7 only
18
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
Gemini 3.7 Flash 58.0 from 6 benchmarks, GLM 4.7 55.1 from 2 benchmarks.
Widest category
Math, 23.9 points apart on average over 4 shared benchmarks.
Widest single gap
ProofBench: Gemini 3.7 Flash 58.0% against GLM 4.7 6.0%, 52.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against GLM 4.7 $2.20 per million output tokens, 1.7x apart.
Context window
Gemini 3.7 Flash takes 1.05M tokens, GLM 4.7 205K.

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
CategoryGemini 3.7 FlashBarsGLM 4.7Ties
Coding90
Intelligence20
Agentic work40
Reasoning80
Math40
Knowledge90
Web design80
General190
All shared boards630
CodingLike-for-likeSix of these boards feed the Vibe Coding Index90
Coding benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
LiveBench coding80.5%Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev15911435Gemini 3.7 Flash
AA Coding Index71.545.3Gemini 3.7 Flash
LiveCodeBench (Vals AI)88.7%82.2%Gemini 3.7 Flash
SWE-bench Verified (Vals AI)80.8%69.4%Gemini 3.7 Flash
Terminal-Bench 4 (Vals AI)12.1%Not measuredOnly Gemini 3.7 Flash measured
Vibe Code Bench (Vals AI)70.4%Not measuredOnly Gemini 3.7 Flash measured
Code migration (Vals AI)34.8%Not measuredOnly Gemini 3.7 Flash measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.7 Flash measured
IOI (Vals AI)67.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 2.1 (Vals AI)77.5%Not measuredOnly Gemini 3.7 Flash measured
SkillsBench (Vals AI)65.9%Not measuredOnly Gemini 3.7 Flash measured
CyberBench (Vals AI)43.8%Not measuredOnly Gemini 3.7 Flash measured
LiveCodeBench (Artificial Analysis run)Not measured89.4%Only GLM 4.7 measured
SciCode59.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured31.8%Only GLM 4.7 measured
Terminal-BenchNot measured33.4%Only GLM 4.7 measured
FrontierCode43.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierSWE20.3%Not measuredOnly Gemini 3.7 Flash measured
ALE-Bench904.3399.5Gemini 3.7 Flash
LMArena Text: coding14991454Gemini 3.7 Flash
LMArena Text: software and IT14981453Gemini 3.7 Flash
LMArena WebDev: React15871420Gemini 3.7 Flash
LMArena WebDev: HTML15931447Gemini 3.7 Flash
LMArena WebDev: from an image1599Not measuredOnly Gemini 3.7 Flash measured
SciCode13.8%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
AA Intelligence Index39.622.2Gemini 3.7 Flash
Epoch Capabilities Index158.0143.6Gemini 3.7 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
Design Arena: agents building web apps1223Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building full-stack apps12081050Gemini 3.7 Flash
Design Arena: agents building mobile apps12291105Gemini 3.7 Flash
Design Arena: agents building Android apps12431112Gemini 3.7 Flash
Design Arena: agents building Godot games12641058Gemini 3.7 Flash
Design Arena: agents building games1235Not measuredOnly Gemini 3.7 Flash measured
Design Arena: spreadsheets1058Not measuredOnly Gemini 3.7 Flash measured
LiveBench research76.5%Not measuredOnly Gemini 3.7 Flash measured
LiveBench browser56.0%Not measuredOnly Gemini 3.7 Flash measured
LiveBench long agentic28.3%Not measuredOnly Gemini 3.7 Flash measured
SREBench (Vals AI)4.6%Not measuredOnly Gemini 3.7 Flash measured
Finance Agent (Vals AI)59.0%Not measuredOnly Gemini 3.7 Flash measured
Tax Agent Bench (Vals AI)22.8%Not measuredOnly Gemini 3.7 Flash measured
Legal Research Bench (Vals AI)34.6%Not measuredOnly Gemini 3.7 Flash measured
Excel Modeling Benchmark (Vals AI)71.3%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench-Science (Vals AI)7.1%Not measuredOnly Gemini 3.7 Flash measured
τ²-Bench TelecomNot measured95.9%Only GLM 4.7 measured
APEX-Agents67.8%Not measuredOnly Gemini 3.7 Flash measured
Remote Labor Index5.0%Not measuredOnly Gemini 3.7 Flash measured
Vending-Bench 2Not measured$2,377Only GLM 4.7 measured
BrowseComp-PlusNot measured64.7%Only GLM 4.7 measured
Neither model has a result on the other 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index80
Reasoning benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
GPQA Diamond93.9%80.0%Gemini 3.7 Flash
LiveBench reasoning87.8%Not measuredOnly Gemini 3.7 Flash measured
MMMU Pro (Vals AI)89.0%Not measuredOnly Gemini 3.7 Flash measured
GPQA Diamond (Artificial Analysis run)94.5%85.9%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.9%27.4%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.8%83.3%Gemini 3.7 Flash
ARC-AGI95.5%Not measuredOnly Gemini 3.7 Flash measured
ARC-AGI-284.6%Not measuredOnly Gemini 3.7 Flash measured
SimpleBenchNot measured47.7%Only GLM 4.7 measured
Chess puzzles66.0%21.0%Gemini 3.7 Flash
Mystery game puzzles37.0%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: hard prompts14951443Gemini 3.7 Flash
LMArena Text: expert15121424Gemini 3.7 Flash
LMArena Text: hard prompts in English14871452Gemini 3.7 Flash
LMArena Vision: diagrams1329Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: homework1320Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
AIMENot measured93.3%Only GLM 4.7 measured
MGSM (Vals AI)Not measured88.2%Only GLM 4.7 measured
AA Math IndexNot measured95.0Only GLM 4.7 measured
AIME 2025 (Artificial Analysis run)Not measured95.0%Only GLM 4.7 measured
OTIS Mock AIME97.2%83.3%Gemini 3.7 Flash
FrontierMath, tiers 1 to 371.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierMath, tier 436.6%Not measuredOnly Gemini 3.7 Flash measured
ProofBench58.0%6.0%Gemini 3.7 Flash
LMArena Text: math15111424Gemini 3.7 Flash
LMArena Text: mathematical work15021411Gemini 3.7 Flash
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index90
Knowledge benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
MMLU Pro90.1%82.7%Gemini 3.7 Flash
LegalBench (Vals AI)87.3%83.4%Gemini 3.7 Flash
CaseLaw (Vals AI)Not measured54.9%Only GLM 4.7 measured
CorpFin (Vals AI)Not measured46.4%Only GLM 4.7 measured
TaxEval (Vals AI)74.7%68.8%Gemini 3.7 Flash
MortgageTax (Vals AI)66.7%Not measuredOnly Gemini 3.7 Flash measured
MedQA (Vals AI)Not measured93.7%Only GLM 4.7 measured
MedCode (Vals AI)53.4%32.8%Gemini 3.7 Flash
MMLU Pro (Artificial Analysis run)Not measured85.6%Only GLM 4.7 measured
SimpleQA Verified69.2%32.2%Gemini 3.7 Flash
LMArena Text: science15111457Gemini 3.7 Flash
LMArena Text: medicine and healthcare14941469Gemini 3.7 Flash
LMArena Text: legal and government14961444Gemini 3.7 Flash
LMArena Text: business and finance14791429Gemini 3.7 Flash
FACTS Benchmark Suite71.2%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
Design Arena: websites13031225Gemini 3.7 Flash
Design Arena: UI components12961196Gemini 3.7 Flash
Design Arena: game dev13171188Gemini 3.7 Flash
Design Arena: data viz13151195Gemini 3.7 Flash
Design Arena: 3D13071190Gemini 3.7 Flash
Design Arena: all code categories13081216Gemini 3.7 Flash
Design Arena: SVG12831142Gemini 3.7 Flash
Design Arena: ASCII art12761165Gemini 3.7 Flash
LiveBench design73.2%Not measuredOnly Gemini 3.7 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
LiveBench data analysis68.0%Not measuredOnly Gemini 3.7 Flash measured
SAGE (Vals AI)49.2%Not measuredOnly Gemini 3.7 Flash measured
MedScribe (Vals AI)83.9%68.6%Gemini 3.7 Flash
IFBenchNot measured67.9%Only GLM 4.7 measured
Long context reasoning (AA-LCR)83.0%71.0%Gemini 3.7 Flash
DTBench96.8%Not measuredOnly Gemini 3.7 Flash measured
LMCA50.4%Not measuredOnly Gemini 3.7 Flash measured
CL-benchNot measured15.9%Only GLM 4.7 measured
Furniture assembly26.7%Not measuredOnly Gemini 3.7 Flash measured
CL-bench LifeNot measured10.9%Only GLM 4.7 measured
LMArena Text14891435Gemini 3.7 Flash
LMArena Text: instruction following14841412Gemini 3.7 Flash
LMArena Text: creative writing14881401Gemini 3.7 Flash
LMArena Vision1314Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: English14831453Gemini 3.7 Flash
LMArena Text: non-English14871417Gemini 3.7 Flash
LMArena Text: Chinese15521495Gemini 3.7 Flash
LMArena Text: German15061426Gemini 3.7 Flash
LMArena Text: Japanese15111439Gemini 3.7 Flash
LMArena Text: Korean14811399Gemini 3.7 Flash
LMArena Text: French15001432Gemini 3.7 Flash
LMArena Text: Spanish14951434Gemini 3.7 Flash
LMArena Text: Russian15151423Gemini 3.7 Flash
LMArena Text: Polish15031435Gemini 3.7 Flash
LMArena Text: multi-turn14851446Gemini 3.7 Flash
LMArena Text: longer queries14921432Gemini 3.7 Flash
LMArena Text: writing and language14911411Gemini 3.7 Flash
LMArena Text: entertainment and media14771400Gemini 3.7 Flash
LMArena Vision: English1309Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: Chinese1394Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: reading text1322Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: humor1299Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: creative writing1312Not measuredOnly Gemini 3.7 Flash 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 Gemini 3.7 Flash and GLM 4.7
BenchmarkGemini 3.7 FlashGLM 4.7Leader
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

Gemini 3.7 Flash$0.0026Fits in one request
GLM 4.7$0.0017Fits in one request

GLM 4.7 costs less

Repository review

50K input + 3K output tokens

Gemini 3.7 Flash$0.049Fits in one request
GLM 4.7$0.037Fits in one request

GLM 4.7 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.7 Flash$0.188Fits in one request
GLM 4.7$0.142Exceeds 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 Gemini 3.7 Flash and GLM 4.7
SpecificationGoogle Gemini 3.7 FlashZ.ai GLM 4.7
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedAugust 13, 2026December 22, 2025
Context window1.05M205K
Input $/Mtok$0.75$0.60
Output $/Mtok$3.75$2.20
Coding index58.055.1
Independent measurements behind it62
Cost per solved task$1.78$0.29
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.7 Flash better than GLM 4.7 for coding?

Pick Gemini 3.7 Flash for coding: it scores 58.0 on the Vibe Coding Index against 55.1 for GLM 4.7. Pick GLM 4.7 for output tokens 1.7x cheaper ($2.20 vs $3.75 per million) and a lower cost per solved task ($0.29 against $1.78).

Which is cheaper, Gemini 3.7 Flash or GLM 4.7?

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GLM 4.7 costs $0.60 and $2.20. Per solved SWE-bench Verified task, Gemini 3.7 Flash costs $1.78 and GLM 4.7 $0.29.

Which has the bigger context window, Gemini 3.7 Flash or GLM 4.7?

Gemini 3.7 Flash, with 1.05M tokens against 205K.

How many benchmarks is the Gemini 3.7 Flash vs GLM 4.7 comparison based on?

63 benchmarks have a result for both models as of October 22, 2026. Gemini 3.7 Flash's coding index rests on 6 independent benchmarks and GLM 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gemini-3-7-flash-vs-glm-4-7" title="Gemini 3.7 Flash vs GLM 4.7, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gemini-3-7-flash-vs-glm-4-7">LLMBenchmark.ai, Gemini 3.7 Flash vs GLM 4.7</a></p>