Probably yes on the limited head-to-head data, but the evidence is thin — that is the honest answer. Z.ai shipped GLM 5.4 on November 23, 2026 as a 750B-scale Loop Transformer flagship, initially limited to the GLM Coding Plan, ZCode and Z.ai Chat. DeepSeek V4.1 Flash 1017 is not a mystery build: we confirmed that 1017 is the October 17, 2026 dated checkpoint, served under the deepseek-flash API name with MIT open weights. Every like-for-like comparison we found leans GLM 5.4, but there are only four of them, no independent lab has published a GLM 5.4 SWE-bench, Terminal-Bench or Artificial Analysis Intelligence Index score, and the one direct head-to-head most people quote is a single YouTuber-run test. We verified each claim below, said which we could not confirm, and priced the cache-aware bill both ways.
The short version for a reader in a hurry: if your work is building apps and web front ends, GLM 5.4 is the likelier pick on the evidence we have. If it is terminal work, long agent loops, or anything where cost and latency dominate, DeepSeek V4.1 Flash 1017 is competitive and in several places cheaper by an order of magnitude. Neither conclusion is a lab-verified verdict, and the two model families are rarely run on the same benchmark variant at all.
What we actually know: the verified scorecard
The table separates independent labs, informal community tests and vendor-reported numbers, because those are not the same kind of evidence. Where a cell is blank, no published score for that model on that exact variant exists that we could verify — a blank is not a zero. Note the variant names: Terminal-Bench 2.0, Terminal-Bench 3.0 and Terminal-Bench 4.0 are different tests, as are DeepSWE v1.1 and Vibe Code Bench v1.1, and no number below can be subtracted from a number on a different row.
| Benchmark / exact variant | GLM 5.4 | DeepSeek V4.1 Flash 1017 | Source and type | Date |
|---|---|---|---|---|
| KingBench 4 (strict-v2) | 33.2/60 at max effort, 7th of 19 | 31.0 (labelled "V4.1 Flash", no 1017 suffix) | AICodeKing, informal YouTuber run | Nov 23, 2026 |
| Code Arena WebDev | 1692 points, 15th overall, first among open models | 1660 points at $0.11 median cost per task | Arena, independent human-vote leaderboard | Dec 2, 2026 |
| ModelDial Coding Rankings v3 | 48.0/100 at max, rank 26/56 | 45.4/100 at max, rank 31/56 | ModelDial, independent private test sets | Dec 3, 2026 |
| Z.ai 200-scenario coding preference | won 36.6%, tied 30.2%, lost 33.2% vs 1017 | the opponent in that paired study | Z.ai, vendor-reported, no task breakdown | Nov 23, 2026 |
| Vibe Code Bench v1.1 | no entry | 87.73% at $0.58 per test | vals.ai, independent, superseded by v1.1.1 | Nov 19, 2026 |
| Kilo Bench, Terminal-Bench 2.0 | no entry | 75.3% at $2.58 per attempt (September 10 build, not 1017) | Kilo Code, provider-run eval | Sep 10, 2026 |
| Terminal-Bench 3.0 (retired) | no entry | 30.0 vs GLM 5.3 at 28.3 | LLMBoard / LLMLearner, self-reported aggregator | Nov 21, 2026 |
| DeepSWE v1.1 (vendor table) | no entry | 77.0 for 1017, 74.2 for the September build, GLM 5.3 66.9 | DeepSeek, vendor-reported, mini-swe-v2 harness | Oct 17, 2026 |
| Terminal-Bench 4.1 (Artificial Analysis) | no entry | 32.3% vs GLM 5.3 at 40.9% | Artificial Analysis, independent, index v5.0.2 | Dec 2, 2026 |
| SWE-bench Verified | no entry | no entry (board saturated; GLM 5.3 95.40%) | vals.ai, independent, no longer run on new releases | Sep 1, 2026 |
Confirmation status, plainly: GLM 5.4's launch date, 750B-scale Loop Transformer architecture, 1M context, 128K max output, initial availability in the GLM Coding Plan, ZCode and Z.ai Chat, and its $1.40/$0.26/$4.40 rate card are all confirmed by Z.ai's own blog, model guide and pricing page. The KingBench 4 result, the Arena WebDev rank, the ModelDial score and Z.ai's 200-scenario win rate are all confirmed as published numbers, with the important caveats below. DeepSeek's 75.3% on Terminal-Bench 2.0, 74.2 on DeepSWE v1.1 and 30.0 on Terminal-Bench 3.0 are also real published numbers — but they belong to the September 10, 2026 V4.1 Flash build, not necessarily to the 1017 checkpoint, and they compare against GLM 5.3 rather than GLM 5.4. The claim that DeepSeek Flash matches Claude Sonnet 5.5 in VSCode while being faster and cheaper is anecdotal: we could not find a reproducible benchmark behind it, so we do not use it as evidence.
Where GLM 5.4 leads: app-building and web-dev
The one direct head-to-head most readers arrive with is KingBench 4, a six-task application-building suite run by the YouTuber AICodeKing. At max effort GLM 5.4 scored 33.2/60 (55.3%), ranked 7th of 19 and was the highest-scoring open model in that run, ahead of DeepSeek V4.1 Flash at 31.0 and GLM 5.3 at 27.5. That is a genuine same-variant comparison, and it is the only one inside a lab-style scoreboard rather than an Elo board or a preference study. It is also the thinnest kind of evidence: one informal tester, a preview build, some tasks self-graded by the model itself, and two simulator and container tasks re-run with reworded prompts. With the original prompts the same run scored 31.8, which would put GLM 5.4 behind Kimi K3.1 Pro and level with Muse Wonder Full in that table. The run also took 431 minutes and used 9 to 14 times the reasoning tokens of Gemini 4 Neon.
One suite, one scale: KingBench 4 (points out of 60)
All six bars: AICodeKing's KingBench 4 (strict-v2) leaderboard, a single informal YouTuber-run test of six application builds, not an independent lab benchmark. GLM 5.4's 33.2 used a preview build and two reworded prompts; with the original prompts the same run scored 31.8. The DeepSeek bar is labelled "V4.1 Flash" without a "1017" suffix, so it may not be the October 17 checkpoint. No score from any other benchmark appears on this axis.
Arena's Code Arena WebDev is the strongest independent signal for GLM 5.4. On December 2, 2026, GLM 5.4 (Max) entered at 1692 points, 15th overall and first among open models, a 69-point jump over GLM 5.3 (Max) at 1623. Crucially, the same board has a DeepSeek entry: DeepSeek-V4.1-Flash-20261017 (Max) at 1660, third among open models, at $0.11 median cost per task against GLM 5.3's $1.41. That makes Arena a true head-to-head on one variant — 1692 vs 1660, a 32-point gap — and it says GLM 5.4's lead on human-voted web development is real but modest. Ratings move with votes: earlier ChatOSS articles quoted 1665 for the 1017 checkpoint on this board in October, and launch-week press reported 1670, so treat 1660 as the December 2 reading rather than a permanent number.
ModelDial Coding Rankings v3 is a like-for-like check that the original Q&A missed. Its 58-model board scores five weighted axes (backend 25%, frontend 20%, autonomous delivery 25%, visual aesthetics 15%, maintainability 15%) on private test sets. GLM 5.4 scores 48.0 at max, rank 26/56; DeepSeek V4.1 Flash (1017) scores 45.4 at max, rank 31/56. GLM 5.4's own gain over GLM 5.3 is small there, 48.0 vs 47.2, and GLM 5.3 actually leads on autonomous delivery, 66.4 vs 54.3 — a useful reminder that a higher overall number is not a win in every coding mode. ModelDial also revised this axis on November 30, which limits how far back its scores can be compared.
Finally, Z.ai's own 200-scenario coding study is the closest thing to a controlled head-to-head against the exact 1017 checkpoint. It reports GLM 5.4 winning 36.6%, tying 30.2% and losing 33.2% of paired comparisons — a 3.4-point margin, and only 52.4% of comparisons that produced a winner. It is vendor-reported, with no task breakdown, judge, sample size or confidence interval, so it supports “probably yes” but cannot prove it. Two further informal same-prompt comparisons point the same way with the same caveat: a December 1 Chinese six-task review found GLM 5.4 best on quality in five of six tasks but slowest in all six (32 minutes vs 9 minutes on one Three.js build), and a 30-run Crazyrouter test had GLM 5.4 correct on 25/25 shared objective tasks against DeepSeek's 21/25, while DeepSeek was far more reliable at raw parseable JSON (16/21 vs 3/19).
Where DeepSeek V4.1 Flash holds up: terminal and agentic tests
DeepSeek's reputation for agentic work comes from a different set of variants. Kilo Code's leaderboard reports 75.3% completion on Terminal-Bench 2.0 at $2.58 per attempt for the September 10 V4.1 Flash build; Kilo's 1017 page has no Kilo Bench result, so that number should not be silently carried over to the 1017 checkpoint. The DeepSeek model card reports DeepSWE v1.1 at 77.0 for 1017, up from 74.2 on the September build, with GLM 5.3 at 66.9; Terminal-Bench 4.0 at 42.3, up from 31.2, with GLM 5.3 at 37.9. Those are vendor numbers on a Claude Code and mini-swe-v2 harness, and the comparison column is GLM 5.3, not GLM 5.4.
The retired Terminal-Bench 3.0 board lists DeepSeek-V4.1-Flash at 30.0 against GLM 5.3 at 28.3, again a previous-generation comparison on a benchmark its publisher has since replaced. On vals.ai's Vibe Code Bench v1.1, the 1017 checkpoint scores 87.73% at $0.58 per test and 43.65M tokens — a strong, independently-run web-app result that has no GLM 5.4 counter-score because that board was superseded by v1.1.1 on November 19, four days before GLM 5.4 shipped. Vals.ai also stopped running SWE-bench Verified on new models in September 2026, so neither model has a fresh Verified row. Artificial Analysis has no GLM 5.4 Intelligence Index entry at all; its 1017-vs-GLM-5.3 comparison has both at 32 on index v5.0.2, with DeepSeek ahead on FrontierCode-AA 2.0 (28.2% vs 21.6%) and AA-Briefcase v1.1 (1570 vs 1498) but behind on Terminal-Bench 4.1 (32.3% vs 40.9%) at $0.60 vs $5.01 cost per task. In other words, even the terminal story is mixed once you name the variant and the runner.
The Claude and OpenAI mapping, briefly and in house style: on these boards GLM 5.4 sits below the Claude Opus 5.5 and Claude Fable 5.2 frontier (Arena WebDev rates Opus 5.5 Max at 1817 and KingBench 4 has Fable 5.2 at 42) and around the GPT-6.1 Sol tier on app-building; DeepSeek 1017 is a Flash-tier model that shows up near Claude Sonnet 5.5 and GPT-6.1 Sol on selected agentic tests at a fraction of their price. Neither is a verified Opus-class replacement, and the Sonnet 5.5 VSCode claim specifically remains anecdotal.
Flash vs flagship: speed and the cache-aware bill
The two models are built for different jobs. GLM 5.4 is a 750B-scale flagship that loops 28 GLM-5 layers twice for deeper reasoning; Z.ai itself warns of “marathon thinking” and quotes up to 200 tokens per second off-peak and 70 to 80 at peak. DeepSeek V4.1 Flash 1017 is a sparse MoE at roughly 748B total parameters (552B backbone plus 196B Engram) with only 8B active during prefill and 16B during decode, built to be fast and cheap. That difference shows up in the six tasks above, where GLM 5.4 was slowest every time, and decisively in the rate cards.
| Property | GLM 5.4 | DeepSeek V4.1 Flash 1017 |
|---|---|---|
| Input / 1M | $1.40 | $0.15 off-peak, $0.30 peak |
| Cached input / 1M | $0.26 | $0.003 off-peak, $0.006 peak |
| Output / 1M | $4.40 | $0.60 off-peak, $1.20 peak |
| Context / max output | 1M / 128K | 1M / 384K |
| Weights / licence | planned after safety hardening; not yet public | MIT, open weights on Hugging Face |
| Availability | Coding Plan, ZCode, Z.ai Chat; pay-as-you-go API opened Dec 2, 2026 | first-party API plus many third-party hosts |
Putting those cards through the repo's established agent-hour profile — 31.0M cache reads, 175K uncached input and 107K output — is where the “probably yes on quality” verdict meets its limit. In full, the two rate cards are GLM 5.4 at $1.40 input, $0.26 cached input and $4.40 output per million tokens, against DeepSeek 1017 at $0.15/$0.60 off-peak, $0.30/$1.20 peak and $0.003/$0.006 cache reads. GLM 5.4 costs $8.78 for that hour; DeepSeek 1017 costs $0.18 off-peak or $0.37 at peak, roughly 49 and 24 times cheaper. The gap is mostly the cache line: GLM 5.4 bills 31 million cached reads at $0.26 per million, while DeepSeek bills them at $0.003. A sensitivity ladder keeps the comparison honest: at 90% cache hits GLM 5.4 is $12.13 against $0.62 off-peak and $1.23 at peak, and with zero caching it is $44.12 against $4.74 and $9.48. DeepSeek's peak clock applies only in 01:00-04:00 and 06:00-10:00 UTC on weekdays; GLM 5.4 has no off-peak discount. None of this says which model writes better code — it says what a finished task costs at the cache-hit rate your agent actually achieves.
Cost per modeled agent hour — the cache decides ($)
Modeled at GLM-5.4's $1.40/$4.40/$0.26 list card and DeepSeek's $0.15/$0.60/$0.003 off-peak and $0.30/$1.20/$0.006 peak card. The 31.0M cache reads, 175K uncached input and 107K output are a modeled agent hour, not a benchmark average; the other bars re-run the same total input at 90% cache hits and with caching off. GLM-5.4 has no peak/off-peak discount. Cost is not quality: this chart says nothing about which model writes better code.
The caveats, all of them
First, the benchmarks are not comparable with each other. A 33.2/60 on KingBench 4, 1692 Arena points, 48.0 on ModelDial, 75.3% on Terminal-Bench 2.0 and 87.73% on Vibe Code Bench v1.1 live on different scales, different task sets and different runners; none can be subtracted from another, which is why the chart above plots only one suite on one axis. Second, coverage is thin because GLM 5.4 launched on November 23, 2026: as of December 3 there is no GLM 5.4 entry on SWE-bench Verified, SWE-bench Pro, Terminal-Bench 4.1 or the Artificial Analysis Intelligence Index, and the independent boards that do have DeepSeek 1017 rows predate the launch. Third, the 1017 question is now answered — it is the October 17, 2026 checkpoint, confirmed by DeepSeek's dated release note, its pricing page, which maps deepseek-flash to DeepSeek-V4.1-Flash-1017, the MIT-licensed Hugging Face card and Kilo's own description — but several of the DeepSeek numbers in circulation are for the earlier September 10 build, so a version mismatch may invalidate those comparisons. KingBench 4 in particular labels its DeepSeek row simply "V4.1 Flash" with no 1017 suffix.
Fourth, most DeepSeek-vs-GLM terminal comparisons are against GLM 5.3, not GLM 5.4, and GLM 5.3 is not a proxy for its successor: on Terminal-Bench 4.1 Artificial Analysis has GLM 5.3 ahead 40.9% to 32.3%, while DeepSeek's own vendor table has 1017 ahead of GLM 5.3 42.3 to 37.9 on Terminal-Bench 4.0. Fifth, the informal reports cut both ways: the Claude Sonnet 5.5 VSCode claim is unverifiable anecdote, KingBench 4 used a preview build with some tasks self-graded and two prompts reworded, and the Chinese six-task review found GLM 5.4 best on quality but slowest on every task, taking nearly two hours on one 3D build. Sixth, the licensing asymmetry is real: DeepSeek 1017 is MIT open weights you can self-host today, while GLM 5.4's weights are still only promised after safety hardening, so “open model” in the Arena headline means a planned release, not a downloadable checkpoint. Finally, community sentiment trackers show GLM 5.4's first week sliding on speed and quota complaints — useful color, not a benchmark.
How to decide
If you care most about quality on app-building and web-dev work, GLM 5.4 is the likelier pick: it leads the one direct KingBench 4 comparison, the Arena WebDev board, ModelDial Coding Rankings v3 and Z.ai's own paired study. If the work is terminal-heavy, agentic, or budget- and latency-sensitive — especially cache-heavy agent loops — DeepSeek V4.1 Flash 1017 is competitive and dramatically cheaper, with MIT weights and a 384K output ceiling. Both statements are “probably”, not “proven”: the head-to-head sample is four comparisons, half of them informal or vendor-reported, and no independent lab has run both models on the same variant yet.
So run both on a few of your own tasks. Hold the environment constant (same repository revision, prompts, tools, reasoning setting, time budget and retry policy), define a pass condition before you start, count accepted changes rather than subjective impressions, and divide total billed spend by accepted tasks. Include one multi-file fix, one greenfield web app and one task with a strict time budget. A dozen representative tasks on your own codebase will settle this far more reliably than any leaderboard in this article — and if you find a GLM 5.4 Terminal-Bench 4.1 or SWE-bench entry, check the model ID, the variant, the runner and the effort tier before believing the number.