Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash vs GLM 5.2

GLM 5.2 leads DeepSeek V4.1 Flash on coding, 59.7 to 50.3 on the Vibe Coding Index, and DeepSeek V4.1 Flash costs 5.0x less per output token ($0.876 vs $4.40 per million). Updated December 6, 2026; 74 benchmarks have a result for both.

DeepSeek V4.1 FlashDeepSeek
Coding
50.3
Overall
68.0
Output $/M
$0.876
46
GLM 5.2Z.ai
Coding
59.7
Overall
65.2
Output $/M
$4.40
27
vs boards won of 74 shared, 1 tied

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

Pick GLM 5.2 for coding: it scores 59.7 on the Vibe Coding Index against 50.3 for DeepSeek V4.1 Flash.

Pick DeepSeek V4.1 Flash for output tokens 5.0x cheaper ($0.876 vs $4.40 per million) and work measured by Code migration (Vals AI) or Terminal-Bench 2.1 (Vals AI), where it leads.

Shared results
74
DeepSeek V4.1 Flash only
29
GLM 5.2 only
37
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
DeepSeek V4.1 Flash 50.3 from 3 benchmarks, GLM 5.2 59.7 from 3 benchmarks.
Widest category
Coding, 12.3 points apart on average over 12 shared benchmarks.
Widest single gap
ARC-AGI-2: DeepSeek V4.1 Flash 72.9% against GLM 5.2 22.8%, 50.1 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash $0.876 against GLM 5.2 $4.40 per million output tokens, 5.0x apart.
Context window
Both take 1.05M tokens.

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 5.2Ties
Coding1101 tie
Intelligence10
Agentic work32
Reasoning92
Math43
Knowledge43
Web design80
General617
All shared boards46271 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index110
Coding benchmarks for DeepSeek V4.1 Flash and GLM 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
LMArena WebDevNot measured1608Only GLM 5.2 measured
LiveCodeBench (Vals AI)Not measured69.5%Only GLM 5.2 measured
SWE-bench Verified (Vals AI)Not measured82.8%Only GLM 5.2 measured
Terminal-Bench 4 (Vals AI)19.7%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench (Vals AI)67.4%Not measuredOnly DeepSeek V4.1 Flash measured
Code migration (Vals AI)45.6%37.9%DeepSeek V4.1 Flash
ProgramBench (Vals AI)0.5%0.5%Tie
IOI (Vals AI)40.3%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench 2.1 (Vals AI)74.5%67.8%DeepSeek V4.1 Flash
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%45.1%DeepSeek V4.1 Flash
CyberBench (Vals AI)73.7%Not measuredOnly DeepSeek V4.1 Flash measured
SciCode51.9%51.2%DeepSeek V4.1 Flash
Terminal-Bench Hard (Artificial Analysis run)Not measured50.8%Only GLM 5.2 measured
Terminal-Bench 4.0 (Artificial Analysis run)26.8%1.0%DeepSeek V4.1 Flash
FrontierCode43.9%24.5%DeepSeek V4.1 Flash
WeirdMLNot measured70.1%Only GLM 5.2 measured
MirrorCode64.4%36.7%DeepSeek V4.1 Flash
ALE-Bench1092.31047.0DeepSeek V4.1 Flash
LMArena Text: coding15031488DeepSeek V4.1 Flash
LMArena Text: software and IT14951487DeepSeek V4.1 Flash
LMArena WebDev: ReactNot measured1621Only GLM 5.2 measured
LMArena WebDev: HTMLNot measured1567Only GLM 5.2 measured
LMArena WebDev: from an image1610Not measuredOnly DeepSeek V4.1 Flash measured
SWE Atlas: Codebase QnANot measured48.1%Only GLM 5.2 measured
SWE Atlas: RefactoringNot measured42.4%Only GLM 5.2 measured
SWE Atlas: Test WritingNot measured41.5%Only GLM 5.2 measured
GameBench 268.649.9DeepSeek V4.1 Flash
Terminal-Bench 3.0Not measured4.6%Only GLM 5.2 measured
ProgramBenchNot measured0.0%Only GLM 5.2 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4.1 Flash and GLM 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
Epoch Capabilities Index156.9153.0DeepSeek V4.1 Flash
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index32
Agentic work benchmarks for DeepSeek V4.1 Flash and GLM 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
Design Arena: agents building web appsNot measured1184Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1288Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1152Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1162Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1156Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1077Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1157Only GLM 5.2 measured
Design Arena: spreadsheetsNot measured1123Only GLM 5.2 measured
SREBench (Vals AI)0.8%0.0%DeepSeek V4.1 Flash
Finance Agent (Vals AI)53.5%49.7%DeepSeek V4.1 Flash
Tax Agent Bench (Vals AI)26.6%Not measuredOnly DeepSeek V4.1 Flash measured
Legal Research Bench (Vals AI)41.4%31.3%DeepSeek V4.1 Flash
Excel Modeling Benchmark (Vals AI)57.2%61.5%GLM 5.2
BioMysteryBench (Vals AI)67.8%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench-Science (Vals AI)1.4%Not measuredOnly DeepSeek V4.1 Flash measured
Vals Science Index30.1%Not measuredOnly DeepSeek V4.1 Flash measured
τ²-Bench TelecomNot measured99.1%Only GLM 5.2 measured
APEX-Agents39.5%45.2%GLM 5.2
Remote Labor Index9.6%Not measuredOnly DeepSeek V4.1 Flash measured
PostTrainBenchNot measured30.4%Only GLM 5.2 measured
Vending-Bench 2Not measured$8,314Only GLM 5.2 measured
MCP AtlasNot measured77.8%Only GLM 5.2 measured
Toolathlon-VerifiedNot measured59.9%Only GLM 5.2 measured
τ³-BankingNot measured37.1%Only GLM 5.2 measured
Neither model has a result on the other 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index92
Reasoning benchmarks for DeepSeek V4.1 Flash and GLM 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
GPQA DiamondNot measured85.6%Only GLM 5.2 measured
MysteryMechanism (Vals AI)21.2%Not measuredOnly DeepSeek V4.1 Flash measured
GPQA Diamond (Artificial Analysis run)Not measured89.5%Only GLM 5.2 measured
Humanity's Last Exam (Artificial Analysis run)39.2%41.1%GLM 5.2
HLE-Diamond (Artificial Analysis run)19.1%17.7%DeepSeek V4.1 Flash
GPQA Diamond (Epoch AI run)89.8%91.9%GLM 5.2
ARC-AGI94.5%77.0%DeepSeek V4.1 Flash
ARC-AGI-272.9%22.8%DeepSeek V4.1 Flash
SimpleBench66.7%58.8%DeepSeek V4.1 Flash
Chess puzzles48.0%22.0%DeepSeek V4.1 Flash
Mystery game puzzles43.0%19.0%DeepSeek V4.1 Flash
EBR-benchNot measured9.5%Only GLM 5.2 measured
LMArena Text: hard prompts14821481DeepSeek V4.1 Flash
LMArena Text: expert15021488DeepSeek V4.1 Flash
LMArena Text: hard prompts in English14881481DeepSeek V4.1 Flash
LMArena Vision: diagrams1297Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: homework1305Not measuredOnly DeepSeek V4.1 Flash measured
Kagi LLM BenchmarkNot measured62.6%Only GLM 5.2 measured
Humanity's Last Exam (Scale run)20.5%Not measuredOnly DeepSeek V4.1 Flash measured
GoBench1705Not 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 index43
Math benchmarks for DeepSeek V4.1 Flash and GLM 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
OTIS Mock AIME98.3%86.4%DeepSeek V4.1 Flash
FrontierMath, tiers 1 to 367.4%59.2%DeepSeek V4.1 Flash
FrontierMath, tier 426.8%29.3%GLM 5.2
ProofBench54.0%35.0%DeepSeek V4.1 Flash
LMArena Text: math14781485GLM 5.2
LMArena Text: mathematical work14791490GLM 5.2
MathArena39.6%21.1%DeepSeek V4.1 Flash
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index43
Knowledge benchmarks for DeepSeek V4.1 Flash and GLM 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
MMLU ProNot measured86.7%Only GLM 5.2 measured
LegalBench (Vals AI)83.3%84.1%GLM 5.2
CorpFin (Vals AI)Not measured66.1%Only GLM 5.2 measured
TaxEval (Vals AI)Not measured73.3%Only GLM 5.2 measured
MedCode (Vals AI)41.2%40.8%DeepSeek V4.1 Flash
AA-OmniscienceNot measured0.6Only GLM 5.2 measured
SimpleQA Verified42.9%34.2%DeepSeek V4.1 Flash
LMArena Text: science14691489GLM 5.2
LMArena Text: medicine and healthcare14911476DeepSeek V4.1 Flash
LMArena Text: legal and government14481490GLM 5.2
LMArena Text: business and finance14641450DeepSeek V4.1 Flash
PRBench Finance47.1%Not measuredOnly DeepSeek V4.1 Flash measured
PRBench Legal47.1%Not measuredOnly DeepSeek V4.1 Flash measured
Neither model has a result on the other 8 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 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
Design Arena: websites13461323DeepSeek V4.1 Flash
Design Arena: UI components12901271DeepSeek V4.1 Flash
Design Arena: game dev13041234DeepSeek V4.1 Flash
Design Arena: data viz12791275DeepSeek V4.1 Flash
Design Arena: 3D13201247DeepSeek V4.1 Flash
Design Arena: all code categories13621328DeepSeek V4.1 Flash
Design Arena: SVG12811245DeepSeek V4.1 Flash
Design Arena: ASCII art12341174DeepSeek V4.1 Flash
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index617
General benchmarks for DeepSeek V4.1 Flash and GLM 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
Public Benefits Bench (Vals AI)64.3%Not measuredOnly DeepSeek V4.1 Flash measured
SAGE (Vals AI)85.4%Not measuredOnly DeepSeek V4.1 Flash measured
MedScribe (Vals AI)85.5%83.5%DeepSeek V4.1 Flash
IFBenchNot measured73.3%Only GLM 5.2 measured
Long context reasoning (AA-LCR)84.0%78.3%DeepSeek V4.1 Flash
GDPval-AA16001383DeepSeek V4.1 Flash
DTBench89.9%93.6%GLM 5.2
LMCA47.0%45.8%DeepSeek V4.1 Flash
Surface Evolver Bench46.3%55.6%GLM 5.2
Furniture assembly34.2%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text14631470GLM 5.2
LMArena Text: instruction following14721467DeepSeek V4.1 Flash
LMArena Text: creative writing14371460GLM 5.2
LMArena Vision1278Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: English14731475GLM 5.2
LMArena Text: non-English14491458GLM 5.2
LMArena Text: Chinese15031523GLM 5.2
LMArena Text: German14561467GLM 5.2
LMArena Text: Japanese14321452GLM 5.2
LMArena Text: Korean14221430GLM 5.2
LMArena Text: French14691477GLM 5.2
LMArena Text: Spanish14571480GLM 5.2
LMArena Text: Russian14681466DeepSeek V4.1 Flash
LMArena Text: Polish14521459GLM 5.2
LMArena Text: multi-turn14611470GLM 5.2
LMArena Text: longer queries14741479GLM 5.2
LMArena Text: writing and language14491462GLM 5.2
LMArena Text: entertainment and media14431448GLM 5.2
LMArena Vision: English1290Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: Chinese1345Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: reading text1283Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: humor1274Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: creative writing1284Not measuredOnly DeepSeek V4.1 Flash measured
MultiChallenge74.9%Not measuredOnly DeepSeek V4.1 Flash measured
EQ-Bench 4Not measured1208Only GLM 5.2 measured
Neither model has a result on the other 14 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 5.2
BenchmarkDeepSeek V4.1 FlashGLM 5.2Leader
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 5.2$0.0036Fits in one request

DeepSeek V4.1 Flash costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash$0.013Fits in one request
GLM 5.2$0.083Fits in one request

DeepSeek V4.1 Flash costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash$0.051Fits in one request
GLM 5.2$0.324Fits in one request

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 5.2
SpecificationDeepSeek V4.1 FlashZ.ai GLM 5.2
MakerDeepSeekZ.ai
WeightsOpen weightsOpen weights
ReleasedSeptember 10, 2026June 16, 2026
Context window1.05M1.05M
Input $/Mtok$0.2117$1.40
Output $/Mtok$0.876$4.40
Coding index50.359.7
Independent measurements behind it33
Cost per solved taskNot computable$0.86
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GLM 5.2 for coding: it scores 59.7 on the Vibe Coding Index against 50.3 for DeepSeek V4.1 Flash. Pick DeepSeek V4.1 Flash for output tokens 5.0x cheaper ($0.876 vs $4.40 per million) and work measured by Code migration (Vals AI) or Terminal-Bench 2.1 (Vals AI), where it leads.

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

DeepSeek V4.1 Flash costs $0.2117 per million input tokens and $0.876 per million output tokens; GLM 5.2 costs $1.40 and $4.40. Cost per solved task is known for GLM 5.2 only.

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

Neither: both take 1.05M tokens.

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

74 benchmarks have a result for both models as of December 6, 2026. DeepSeek V4.1 Flash's coding index rests on 3 independent benchmarks and GLM 5.2's on 3. 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-5-2" title="DeepSeek V4.1 Flash vs GLM 5.2, 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-5-2">LLMBenchmark.ai, DeepSeek V4.1 Flash vs GLM 5.2</a></p>