Add DeepSeek-V4.1-Flash / 新增 DeepSeek-V4.1-Flash - #1109
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit bfbe3ed. Configure here.
This comment has been minimized.
This comment has been minimized.
bfbe3ed to
93a9c40
Compare
|
Rebased onto master and fixed the E2E failure. What failed: Fix: The rebase also picked up #1114 (DeepSeek V4 Pro single-turn 8k1k retirement), which touches the same constant and the same Verified locally against a fixtures build ( 中文说明已 rebase 到 master 并修复 E2E 失败。 失败原因: 修复: 更新 rebase 同时合入了 #1114(停用 DeepSeek V4 Pro 单轮 8k1k 场景),该 PR 改动了同一常量与同一份 本地验证( |
|
The remaining red check (E2E chrome shard 3) is a pre-existing failure on
Evidence it is not this PR: I built Why this PR cannot affect that selector: I have not touched that spec. Someone should open a separate issue against the PowerX changes; I did not want to fold an unrelated fix into this PR. Everything else is green: both overview shards now pass, along with lint, typecheck, unit tests, component tests, CodeQL and Bugbot. 中文说明剩余的红色检查项(E2E chrome shard 3)是
证明与本 PR 无关: 我在干净的 worktree 中以 本 PR 不可能影响该选择器: 我没有改动该 spec。建议针对 PowerX 的改动另开 issue 处理,不宜把无关修复混入本 PR。 其余检查全部通过:两个 overview 分片均已通过,lint、typecheck、单元测试、组件测试、CodeQL 与 Bugbot 也都通过。 |
Registers DeepSeek-V4.1-Flash as its own model bucket, sourced from the GB300 AgentX sweep in SemiAnalysisAI/InferenceX#2961 (run 34463351592): DB key `dsv41flash`, HF path `deepseek-ai/DeepSeek-V4.1-Flash`, FP4, vLLM, TP4, MTP. It is a Causal Encoder-Decoder / CSA2 architecture, not a V4-Pro point release, so it gets its own DB bucket and dropdown entry rather than folding into `dsv4`. The label carries the 552B backbone total; the 196B Engram conditional-memory table is sparsely accessed via token lookup and is excluded, matching how separate MTP heads are excluded elsewhere. Release date 2026-09-10 comes from the Hugging Face repo's initial commit (02:17Z) — the `deepseekv41-flash-0909` container tag is the image build date, not the weights date. The OpenRouter id is verified against the live `/api/v1/models` catalog. Curated as AgentX-only in the overview matrix: only agentic traces exist today, so the matrix must not claim a fixed-sequence row that will never fill. The compare-slug entry is structurally required — INFERENCE_MODEL_SLUGS, MODEL_ROUTES, /rankings and /run all derive from it and their tests demand coverage for every non-hidden model. No new GPU, precision, framework, or sequence is needed; all are already registered. MODEL_ARCHITECTURES is left for a follow-up (no diagram renders until added), as is the MTP engine exclusion — the guard only becomes meaningful once a second engine family sweeps the same SKU. 中文:新增 DeepSeek-V4.1-Flash 模型,数据来自 InferenceX#2961 的 GB300 AgentX sweep(run 34463351592):DB key 为 `dsv41flash`,HF 路径 `deepseek-ai/DeepSeek-V4.1-Flash`,FP4 + vLLM + TP4 + MTP。要点: - 它采用 Causal Encoder-Decoder / CSA2 架构,并非 V4-Pro 的小版本更新, 因此单独建桶,不并入 `dsv4`。 - 标签中的参数量取 552B backbone;196B 的 Engram 条件记忆表按 token 稀疏查表 访问,不计入总量,与此前排除独立 MTP head 的处理一致。 - 发布日期 2026-09-10 依据 Hugging Face 仓库首次提交(02:17Z);容器 tag 中的 `0909` 是镜像构建日期,而非权重发布日期。OpenRouter id 已对照线上目录核实。 - 在 overview 矩阵中标记为仅 AgentX:目前只有 agentic traces 数据,不应保留 永远不会填充的定长序列行。 - compare-slug 条目是结构性必需项:INFERENCE_MODEL_SLUGS、MODEL_ROUTES、 /rankings 与 /run 均由其派生,相关测试要求覆盖每个非 hidden 模型。 - 无需新增 GPU、精度、框架或序列长度。MODEL_ARCHITECTURES 与 MTP engine exclusion 留待后续处理。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The overview matrix gains one AgentX row, so MATRIX_ROWS moves 8 -> 9. The model is added to MODEL_LABELS and to the AgentX-scenario assertion loop so the new row is verified, not merely counted. 中文:overview 矩阵新增一行 AgentX 记录,MATRIX_ROWS 由 8 调整为 9。同时将该 模型加入 MODEL_LABELS 与 AgentX 场景断言循环,确保新行被实际校验而非仅计数。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Rebase onto master picked up the DeepSeek V4 Pro single-turn retirement (InferenceX#2728) in the same file, so the digest covers both that change and the DeepSeek-V4.1-Flash scenario entry. Neither alters an API parameter or the OverviewPageData shape, so the reference copy stands. 中文:rebase 到 master 后,该文件同时包含 DeepSeek V4 Pro 单轮场景停用 (InferenceX#2728)与 DeepSeek-V4.1-Flash 场景条目两处改动,故一并刷新 digest。 两者均未改变 API 参数或 OverviewPageData 结构,API 参考文档无需改动。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
`comparisonScenarioForModel` decided a compare page's default workload purely
by membership in `FEATURED_AGENTX_MODEL_SLUGS`, falling through to 8K/1K for
everything else. That list is editorial — it also drives the compare hero
ledger and the NEW badge in the /inference model selector — so it answered a
factual question ("which workload does this model have data for?") with a
product decision. The two coincided until DeepSeek V4.1 Flash, which entered
the fleet on AgentX only: the fallback SSR'd an empty 8K/1K comparison on
/compare/<slug>, /compare-per-dollar/<slug>, their /zh mirrors, the catalog
cards, the model detail page and the embed page.
Splits the factual set from the editorial one. `AGENTX_ONLY_MODEL_SLUGS` feeds
the scenario lookup alongside the featured list; the hero and the NEW badge
keep reading the featured list alone, so fixing the routing does not promote
the model. A drift guard pins the scenario set against
`OVERVIEW_MODEL_SCENARIOS`, which encodes the same fact for the overview
matrix — curating one without the other now fails a test instead of silently
serving an empty page. The guard lives in the test rather than as a runtime
import: ChartControls is a client component, and importing the overview module
into `compare-agentx.ts` would drag the matrix builder into the browser bundle.
Also from review: adds the DeepSeek-V4.1-Flash row and a mislabel-trap bullet
to the AGENTS.md parameter table (the 552B/8B-16B split and the excluded 196B
Engram table are exactly what that table exists to record), and moves the new
`MODEL_RELEASE_DATES` entry to the top of the map, which is documented "newest
first" so the weights-predate-sweep invariant stays checkable by eye.
中文:修复对比页默认场景的判定逻辑。此前 `comparisonScenarioForModel` 仅依据
`FEATURED_AGENTX_MODEL_SLUGS` 判断默认 workload,其余一律回退到 8K/1K。该列表本
质上是编辑性排序(同时驱动对比页 hero 栏与 /inference 选择器的 NEW 标记),却被用
来回答"该模型究竟有哪种 workload 数据"这一事实性问题。在 DeepSeek V4.1 Flash 之前
两者恰好一致,而该模型仅有 AgentX 数据,导致 /compare/<slug>、
/compare-per-dollar/<slug>、对应 /zh 页面、目录卡片、模型详情页与嵌入页均按 8K/1K
渲染出空数据页面。
现将事实性集合与编辑性集合拆分:新增 `AGENTX_ONLY_MODEL_SLUGS`,与 featured 列表
共同决定场景;hero 与 NEW 标记仍只读取 featured 列表,因此修复路由不会连带做出
编辑推广决定。另加漂移守卫,将该场景集合与 overview 矩阵中记录同一事实的
`OVERVIEW_MODEL_SCENARIOS` 对齐——今后只改其一会直接测试失败,而不是静默产出空页面。
守卫放在测试而非运行时导入:ChartControls 是客户端组件,在 `compare-agentx.ts` 中
引入 overview 模块会把矩阵构建逻辑带进浏览器产物。
另据评审补充:在 AGENTS.md 参数表中新增 DeepSeek-V4.1-Flash 行与一条易错说明
(552B 与 8B/16B 的拆分、以及不计入的 196B Engram 表,正是该表设立的意义),并将新的
`MODEL_RELEASE_DATES` 条目移至表首——该表注释要求"最新在前",以便用肉眼核对
"权重日期不得晚于首次 sweep"这一不变式。
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
3925b47 to
e68f2ae
Compare
|
Addressed all three review findings, rebased onto 1. AgentX-only models fell through to the 8K/1K default (the Bugbot finding). Fixed by separating the two questions that
Added a drift guard: a test pins the compare scenario set against 2. AGENTS.md parameter table. Added the row and a mislabel-trap bullet. The trap is worth having in writing: the active count is two numbers (8B prefill / 16B decode) because of the CED split, the 196B Engram table is excluded from the 552B backbone while Qwen3.8's n-gram table is counted in its total, and HF safetensors metadata reports 485B, matching neither. 3. Considered, not changed: a reviewer read the compare-slug ordering rule ("newer family member leads") as requiring Unit suite 5348 passed / 4 skipped; typecheck, lint, fmt clean. 中文说明已处理全部三项评审意见,并 rebase 到最新 1. 仅有 AgentX 数据的模型回退到 8K/1K 默认值(Bugbot 指出的问题)。 根因是 现新增 同时新增漂移守卫:通过测试将对比场景集合与 overview 矩阵中记录同一事实的 2. AGENTS.md 参数表。 已补充该模型行与一条易错说明。这条说明值得写清楚:受 CED 架构拆分影响,激活参数是两个数值(prefill 8B / decode 16B);196B 的 Engram 表不计入 552B backbone,而 Qwen3.8 的 n-gram 表是计入其总量的;此外 HF safetensors 元数据显示 485B,与两者皆不符。 3. 评估后未改动: 有评审意见将 compare-slug 的排序规则("较新的同系列成员在前")理解为 单元测试 5348 通过 / 4 跳过;typecheck、lint、fmt 均通过。 |

Summary
Registers DeepSeek-V4.1-Flash as a dashboard model, sourced from the GB300 AgentX sweep in SemiAnalysisAI/InferenceX#2961 — DB key
dsv41flash, HF pathdeepseek-ai/DeepSeek-V4.1-Flash, FP4 / vLLM / TP4 / MTP ongb300-nv, concurrencies 1–128.Preview of the source run: https://inferencex.semianalysis.com/inference?unofficialRun=34463351592
Changes
packages/constants/src/models.tsdsv41flash → 'DeepSeek-V4.1-Flash'+ release date2026-09-10packages/db/src/etl/normalizers.ts'deepseek-ai/DeepSeek-V4.1-Flash' → 'dsv41flash'packages/app/src/lib/data-mappings.tsModelenum member +MODEL_CONFIGentrypackages/app/src/lib/compare-slug.tsdeepseek-v41-flashslugpackages/app/src/lib/compare-ssr.tsKNOWN_MODELSentry so?g_model=validatespackages/app/src/lib/overview-data.tspackages/app/src/lib/api-route-catalog.tsDecisions worth reviewing
dsv4point release. V4.1-Flash is a Causal Encoder-Decoder architecture with CSA2 sparse attention — structurally different from V4-Pro, so grouping them under one display name would misrepresent both. Same treatment askimik3vs the K2 series andminimaxm3vs the M2 series.deepseekv41-flash-0909container tag is a day earlier, but that is the image build date, not the weights date. First sweep is same-day — day zero.OVERVIEW_MODEL_SCENARIOSentry once a fixed-sequence sweep lands.INFERENCE_MODEL_SLUGS,MODEL_ROUTES,/rankingsand/runall derive fromCOMPARE_MODEL_SLUGS, and their tests demand coverage for every non-hidden model. As a side effect the model now appears on/compare,/compare-per-dollar,/inference/deepseek-v41-flash,/calculator/…,/historical/…and the sitemap. The hardcodedDESCRIPTIONcatalog blurbs on/compareand/compare-per-dollarwere left alone — say the word if it should be named there.deepseek/deepseek-v4.1-flashexists in the live/api/v1/modelscatalog.Deliberately not in this PR
MODEL_ARCHITECTURES— no diagram renders until added; wants verifiedconfig.jsonvalues.MTP_ENGINE_EXCLUSIONthat V4-Pro carries. Only vLLM MTP has swept this model, so the guard has nothing to separate yet. It should be added the moment an SGLang MTP run lands on the same SKU.Test expectation updates
All four are mechanical consequences of one more visible model, not behavior changes: the compare-slug SEO-name map, the overview fixture row order,
/rankings24 → 26 pages,/run108 → 117 candidates. The twoapi-route-catalogdigests were refreshed after confirming the docs need no copy change — bothSUPPORTED_TCO_MODELSand the overview scenario curation are derived from the data, not hand-written into the reference.Chinese pages
No
/zhpage authoring needed. Model names, hardware SKUs and framework names stay English per the translation quality bar, and every affected surface (/zh/compare/[slug],/zh/inference/[model],/zh/calculator/[model], …) is a dynamic route that picks the new model up from the same registries.Verification
bun run typecheck,bun run lint,bun run fmt, andbun run test:unit(5297 passed, 4 skipped) all pass locally.中文说明
将 DeepSeek-V4.1-Flash 注册为仪表板模型,数据来自 SemiAnalysisAI/InferenceX#2961 的 GB300 AgentX sweep —— DB key 为
dsv41flash,HF 路径deepseek-ai/DeepSeek-V4.1-Flash,在gb300-nv上以 FP4 / vLLM / TP4 / MTP 运行,并发 1–128。需要评审的几个判断
dsv4的小版本更新。 V4.1-Flash 采用 Causal Encoder-Decoder 架构与 CSA2 稀疏注意力,与 V4-Pro 在结构上不同,合并显示会同时误导两者。处理方式与kimik3(相对 K2 系列)、minimaxm3(相对 M2 系列)一致。0909早一天,但那是镜像构建日期而非权重发布日期。首次 sweep 与发布同日,属于 day zero。OVERVIEW_MODEL_SCENARIOS条目。INFERENCE_MODEL_SLUGS、MODEL_ROUTES、/rankings与/run均由COMPARE_MODEL_SLUGS派生,相关测试要求覆盖每个非 hidden 模型。因此该模型会同时出现在/compare、/compare-per-dollar、/inference/deepseek-v41-flash、/calculator/…、/historical/…以及 sitemap 中。/compare与/compare-per-dollar中硬编码的DESCRIPTION文案未改动,如需在其中列出该模型请告知。deepseek/deepseek-v4.1-flash存在于线上/api/v1/models目录中。本 PR 有意未包含
MODEL_ARCHITECTURES:缺失时不渲染架构图,需要经核实的config.json数值。MTP_ENGINE_EXCLUSION:目前只有 vLLM MTP 跑过该模型,该保护规则尚无可区分的对象。一旦同一 SKU 上出现 SGLang MTP 运行,应立即补上。测试预期更新
四处改动都只是"多了一个可见模型"的机械结果,并非行为变更:compare-slug 的 SEO 名称映射、overview fixture 行序、
/rankings24 → 26 个页面、/run108 → 117 个候选。两处api-route-catalogdigest 是在确认文档无需改动文案后刷新的 ——SUPPORTED_TCO_MODELS与 overview 场景 curation 都由数据派生,并非手写进 API 参考。中文页面
无需新增
/zh页面。按翻译质量标准,模型名称、硬件 SKU 与框架名称保持英文;所有受影响的页面(/zh/compare/[slug]、/zh/inference/[model]、/zh/calculator/[model]等)都是动态路由,会自动从同一批注册表中读取新模型。验证
本地
bun run typecheck、bun run lint、bun run fmt、bun run test:unit(5297 通过,4 跳过)全部通过。🤖 Generated with Claude Code
Note
Medium Risk
Broad but additive registry wiring across app, constants, and DB ETL; wrong deploy order before ingest would drop rows, and AgentX-only curation must stay aligned with compare routing.
Overview
Adds DeepSeek-V4.1-Flash end-to-end as its own model (DB key
dsv41flash, compare slugdeepseek-v41-flash), separate from DeepSeek-V4-Pro, with labels anchored on the 552B backbone and AgentX-only curation until an 8K/1K sweep exists.Data & ingest:
packages/constantsandpackages/dbETL mapdeepseek-ai/DeepSeek-V4.1-Flash→dsv41flashand record release date 2026-09-10. App registries:Model/MODEL_CONFIG,COMPARE_MODEL_SLUGS, compare SSRKNOWN_MODELS, and/overviewOVERVIEW_MODEL_SCENARIOS(AgentX row after V4 Pro). Compare behavior:compare-agentxsplits editorial featured AgentX models from factual AgentX-only slugs so V4.1 Flash links to/…/agenticwithout joining the hero ledger or NEW badges; tests lock that agreement with the overview matrix.Docs & QA:
AGENTS.mdparameter table and a new mislabel trap for CED/Engram sizing; Cypress overview expectations (8 matrix rows); bumped rankings/run page counts; refreshedapi-route-catalogdigests after confirming no public API doc copy change.Reviewed by Cursor Bugbot for commit e68f2ae. Bugbot is set up for automated code reviews on this repo. Configure here.