Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash vs GLM 4.7

DeepSeek V4.1 Flash leads GLM 4.7 on coding, 62.5 to 55.1 on the Vibe Coding Index, and DeepSeek V4.1 Flash costs 2.6x less per output token ($0.84 vs $2.20 per million). Updated October 22, 2026; 52 benchmarks have a result for both.

DeepSeek V4.1 FlashDeepSeek
Coding
62.5
Overall
62.4
Output $/M
$0.84
49
GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
3
vs boards won of 52 shared

DeepSeek V4.1 Flash or GLM 4.7: which to pick

Pick DeepSeek V4.1 Flash for coding: it scores 62.5 on the Vibe Coding Index against 55.1 for GLM 4.7.

Pick GLM 4.7 for work measured by LegalBench (Vals AI) or LMArena Text: legal and government, where it leads.

Shared results
52
DeepSeek V4.1 Flash only
49
GLM 4.7 only
29
Like-for-like categories
7 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
DeepSeek V4.1 Flash 62.5 from 5 benchmarks, GLM 4.7 55.1 from 2 benchmarks.
Widest category
Math, 21.1 points apart on average over 4 shared benchmarks.
Widest single gap
ProofBench: DeepSeek V4.1 Flash 54.0% against GLM 4.7 6.0%, 48.0 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash $0.84 against GLM 4.7 $2.20 per million output tokens, 2.6x apart.
Context window
DeepSeek V4.1 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
CategoryDeepSeek V4.1 FlashBarsGLM 4.7Ties
Coding60
Intelligence20
Reasoning60
Math40
Knowledge52
Web design80
General181
All shared boards493
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
Coding benchmarks for DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 FlashGLM 4.7Leader
LiveBench coding90.2%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena WebDev16181435DeepSeek V4.1 Flash
AA Coding IndexNot measured45.3Only GLM 4.7 measured
LiveCodeBench (Vals AI)Not measured82.2%Only GLM 4.7 measured
SWE-bench Verified (Vals AI)Not measured69.4%Only GLM 4.7 measured
Terminal-Bench 4 (Vals AI)19.7%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench (Vals AI)84.7%Not measuredOnly DeepSeek V4.1 Flash measured
Code migration (Vals AI)45.6%Not measuredOnly DeepSeek V4.1 Flash measured
ProgramBench (Vals AI)0.5%Not measuredOnly DeepSeek V4.1 Flash measured
IOI (Vals AI)40.3%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench 2.1 (Vals AI)74.5%Not measuredOnly DeepSeek V4.1 Flash measured
SWE-bench Multimodal (Vals AI)46.5%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench 1-100 (Vals AI)16.4%Not measuredOnly DeepSeek V4.1 Flash measured
SkillsBench (Vals AI)69.8%Not measuredOnly DeepSeek V4.1 Flash measured
CyberBench (Vals AI)73.7%Not measuredOnly DeepSeek V4.1 Flash measured
LiveCodeBench (Artificial Analysis run)Not measured89.4%Only GLM 4.7 measured
SciCode51.9%Not measuredOnly DeepSeek V4.1 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.9%Not measuredOnly DeepSeek V4.1 Flash measured
ALE-Bench1092.3399.5DeepSeek V4.1 Flash
LMArena Text: coding15021454DeepSeek V4.1 Flash
LMArena Text: software and IT14961453DeepSeek V4.1 Flash
LMArena WebDev: React16281420DeepSeek V4.1 Flash
LMArena WebDev: HTML16121447DeepSeek V4.1 Flash
LMArena WebDev: from an image1606Not measuredOnly DeepSeek V4.1 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 DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 FlashGLM 4.7Leader
AA Intelligence Index24.722.2DeepSeek V4.1 Flash
Epoch Capabilities Index155.9143.6DeepSeek V4.1 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index19 boards, none shared
Agentic work benchmarks for DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 FlashGLM 4.7Leader
Design Arena: agents building full-stack appsNot measured1050Only GLM 4.7 measured
Design Arena: agents building mobile appsNot measured1105Only GLM 4.7 measured
Design Arena: agents building Android appsNot measured1112Only GLM 4.7 measured
Design Arena: agents building Godot gamesNot measured1058Only GLM 4.7 measured
LiveBench research86.8%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench browser84.0%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench long agentic40.1%Not measuredOnly DeepSeek V4.1 Flash measured
SREBench (Vals AI)0.8%Not measuredOnly DeepSeek V4.1 Flash measured
Finance Agent (Vals AI)53.5%Not measuredOnly DeepSeek V4.1 Flash measured
Tax Agent Bench (Vals AI)26.6%Not measuredOnly DeepSeek V4.1 Flash measured
Legal Research Bench (Vals AI)41.4%Not measuredOnly DeepSeek V4.1 Flash measured
Excel Modeling Benchmark (Vals AI)57.2%Not measuredOnly DeepSeek V4.1 Flash measured
BioMysteryBench (Vals AI)67.8%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench-Science (Vals AI)0.0%Not measuredOnly DeepSeek V4.1 Flash measured
Vals Science Index29.6%Not measuredOnly DeepSeek V4.1 Flash measured
τ²-Bench TelecomNot measured95.9%Only GLM 4.7 measured
APEX-Agents39.5%Not measuredOnly DeepSeek V4.1 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 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 FlashGLM 4.7Leader
GPQA DiamondNot measured80.0%Only GLM 4.7 measured
LiveBench reasoning86.7%Not measuredOnly DeepSeek V4.1 Flash measured
MysteryMechanism (Vals AI)21.2%Not measuredOnly DeepSeek V4.1 Flash measured
GPQA Diamond (Artificial Analysis run)Not measured85.9%Only GLM 4.7 measured
Humanity's Last Exam (Artificial Analysis run)39.2%27.4%DeepSeek V4.1 Flash
GPQA Diamond (Epoch AI run)89.8%83.3%DeepSeek V4.1 Flash
ARC-AGI94.5%Not measuredOnly DeepSeek V4.1 Flash measured
ARC-AGI-272.9%Not measuredOnly DeepSeek V4.1 Flash measured
SimpleBenchNot measured47.7%Only GLM 4.7 measured
Chess puzzles48.0%21.0%DeepSeek V4.1 Flash
Mystery game puzzles43.0%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: hard prompts14831443DeepSeek V4.1 Flash
LMArena Text: expert15011424DeepSeek V4.1 Flash
LMArena Text: hard prompts in English14881452DeepSeek V4.1 Flash
LMArena Vision: diagrams1297Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: homework1307Not measuredOnly DeepSeek V4.1 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 DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 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 AIME98.3%83.3%DeepSeek V4.1 Flash
FrontierMath, tiers 1 to 367.4%Not measuredOnly DeepSeek V4.1 Flash measured
FrontierMath, tier 426.8%Not measuredOnly DeepSeek V4.1 Flash measured
ProofBench54.0%6.0%DeepSeek V4.1 Flash
LMArena Text: math14781424DeepSeek V4.1 Flash
LMArena Text: mathematical work14851411DeepSeek V4.1 Flash
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index52
Knowledge benchmarks for DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 FlashGLM 4.7Leader
MMLU ProNot measured82.7%Only GLM 4.7 measured
LegalBench (Vals AI)83.3%83.4%GLM 4.7
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)Not measured68.8%Only GLM 4.7 measured
MedQA (Vals AI)Not measured93.7%Only GLM 4.7 measured
MedCode (Vals AI)41.2%32.8%DeepSeek V4.1 Flash
MMLU Pro (Artificial Analysis run)Not measured85.6%Only GLM 4.7 measured
SimpleQA Verified42.9%32.2%DeepSeek V4.1 Flash
LMArena Text: science14691457DeepSeek V4.1 Flash
LMArena Text: medicine and healthcare14841469DeepSeek V4.1 Flash
LMArena Text: legal and government14431444GLM 4.7
LMArena Text: business and finance14611429DeepSeek V4.1 Flash
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 FlashGLM 4.7Leader
Design Arena: websites13081225DeepSeek V4.1 Flash
Design Arena: UI components13121196DeepSeek V4.1 Flash
Design Arena: game dev13301188DeepSeek V4.1 Flash
Design Arena: data viz12911195DeepSeek V4.1 Flash
Design Arena: 3D13551190DeepSeek V4.1 Flash
Design Arena: all code categories13201216DeepSeek V4.1 Flash
Design Arena: SVG12451142DeepSeek V4.1 Flash
Design Arena: ASCII art12651165DeepSeek V4.1 Flash
LiveBench design79.2%Not measuredOnly DeepSeek V4.1 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index181
General benchmarks for DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 FlashGLM 4.7Leader
LiveBench data analysis79.3%Not measuredOnly DeepSeek V4.1 Flash measured
Public Benefits Bench (Vals AI)64.3%Not measuredOnly DeepSeek V4.1 Flash measured
SAGE (Vals AI)47.9%Not measuredOnly DeepSeek V4.1 Flash measured
MedScribe (Vals AI)85.5%68.6%DeepSeek V4.1 Flash
IFBenchNot measured67.9%Only GLM 4.7 measured
Long context reasoning (AA-LCR)84.0%71.0%DeepSeek V4.1 Flash
DTBench89.9%Not measuredOnly DeepSeek V4.1 Flash measured
LMCA47.0%Not measuredOnly DeepSeek V4.1 Flash measured
CL-benchNot measured15.9%Only GLM 4.7 measured
Surface Evolver Bench46.3%Not measuredOnly DeepSeek V4.1 Flash measured
Furniture assembly34.2%Not measuredOnly DeepSeek V4.1 Flash measured
CL-bench LifeNot measured10.9%Only GLM 4.7 measured
LMArena Text14641435DeepSeek V4.1 Flash
LMArena Text: instruction following14731412DeepSeek V4.1 Flash
LMArena Text: creative writing14371401DeepSeek V4.1 Flash
LMArena Vision1278Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: English14731453DeepSeek V4.1 Flash
LMArena Text: non-English14491417DeepSeek V4.1 Flash
LMArena Text: Chinese15011495DeepSeek V4.1 Flash
LMArena Text: German14701426DeepSeek V4.1 Flash
LMArena Text: Japanese14321439GLM 4.7
LMArena Text: Korean14361399DeepSeek V4.1 Flash
LMArena Text: French14651432DeepSeek V4.1 Flash
LMArena Text: Spanish14591434DeepSeek V4.1 Flash
LMArena Text: Russian14671423DeepSeek V4.1 Flash
LMArena Text: Polish14571435DeepSeek V4.1 Flash
LMArena Text: multi-turn14611446DeepSeek V4.1 Flash
LMArena Text: longer queries14731432DeepSeek V4.1 Flash
LMArena Text: writing and language14501411DeepSeek V4.1 Flash
LMArena Text: entertainment and media14451400DeepSeek V4.1 Flash
LMArena Vision: English1288Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: Chinese1327Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: reading text1282Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: humor1260Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: creative writing1275Not measuredOnly DeepSeek V4.1 Flash 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 DeepSeek V4.1 Flash and GLM 4.7
BenchmarkDeepSeek V4.1 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

DeepSeek V4.1 Flash$0.0006Fits in one request
GLM 4.7$0.0017Fits in one request

DeepSeek V4.1 Flash costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash$0.014Fits in one request
GLM 4.7$0.037Fits in one request

DeepSeek V4.1 Flash costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash$0.053Fits in one request
GLM 4.7$0.142Exceeds the context window

DeepSeek V4.1 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 DeepSeek V4.1 Flash and GLM 4.7
SpecificationDeepSeek V4.1 FlashZ.ai GLM 4.7
MakerDeepSeekZ.ai
WeightsOpen weightsOpen weights
ReleasedSeptember 10, 2026December 22, 2025
Context window1.05M205K
Input $/Mtok$0.2225$0.60
Output $/Mtok$0.84$2.20
Coding index62.555.1
Independent measurements behind it52
Cost per solved taskNot computable$0.29
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4.1 Flash better than GLM 4.7 for coding?

Pick DeepSeek V4.1 Flash for coding: it scores 62.5 on the Vibe Coding Index against 55.1 for GLM 4.7. Pick GLM 4.7 for work measured by LegalBench (Vals AI) or LMArena Text: legal and government, where it leads.

Which is cheaper, DeepSeek V4.1 Flash or GLM 4.7?

DeepSeek V4.1 Flash costs $0.2225 per million input tokens and $0.84 per million output tokens; GLM 4.7 costs $0.60 and $2.20. Cost per solved task is known for GLM 4.7 only.

Which has the bigger context window, DeepSeek V4.1 Flash or GLM 4.7?

DeepSeek V4.1 Flash, with 1.05M tokens against 205K.

How many benchmarks is the DeepSeek V4.1 Flash vs GLM 4.7 comparison based on?

52 benchmarks have a result for both models as of October 22, 2026. DeepSeek V4.1 Flash's coding index rests on 5 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/deepseek-v4-1-flash-vs-glm-4-7" title="DeepSeek V4.1 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/deepseek-v4-1-flash-vs-glm-4-7">LLMBenchmark.ai, DeepSeek V4.1 Flash vs GLM 4.7</a></p>