Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

fix(model-catalog): mark deepseek-v4-flash text-only (#678)

Yaowei Zheng1a26d1cd8b84
diff --git a/changelog/unreleased/2026-09-11-deepseek-v4-flash-text-only.md b/changelog/unreleased/2026-09-11-deepseek-v4-flash-text-only.md
new file mode 100644
index 00000000..d7c29fe8
--- /dev/null
+++ b/changelog/unreleased/2026-09-11-deepseek-v4-flash-text-only.md
@@ -0,0 +1,22 @@
+# DeepSeek V4 Flash is text-only in the catalog
+
+- **Date:** 2026-09-11
+- **Type:** fix
+- **Scope:** `model-catalog`, `core`, `docs`
+- **PR:** [#678](https://github.com/Prism-Shadow/penguin-harness/pull/678)
+
+[中文版](2026-09-11-deepseek-v4-flash-text-only.zh.md)
+
+The direct DeepSeek `deepseek-v4-flash` row was marked text-only (`supportsVision: false`).
+DeepSeek retired the id on 2026-09-10 and serves it from V4.1 Flash, but AgentHub 0.4.11's
+DeepSeek client matches the bare id against its text-only deny-list
+`/^deepseek-v4-(flash|pro)(-\d{4})?$/` and rejects image parts before the request leaves the
+harness, so an image attached to this model never reaches DeepSeek.
+
+## Details
+
+- `deepseek-flash` (V4.1 Flash) and `deepseek-v4-flash-vision-exp` are unchanged and read
+ images, as do the resold V4.1 Flash and Vision Exp rows on OpenRouter, TokenDance and vLLM.
+- The models docs were corrected alongside the row.
+- An existing Project keeps the `vision` value its `.project_config.toml` already stores;
+ pressing **sync presets** on the models page applies the correction.
diff --git a/changelog/unreleased/2026-09-11-deepseek-v4-flash-text-only.zh.md b/changelog/unreleased/2026-09-11-deepseek-v4-flash-text-only.zh.md
new file mode 100644
index 00000000..79c2ca24
--- /dev/null
+++ b/changelog/unreleased/2026-09-11-deepseek-v4-flash-text-only.zh.md
@@ -0,0 +1,21 @@
+# 目录中的 DeepSeek V4 Flash 恢复为纯文本
+
+- **Date:** 2026-09-11
+- **Type:** fix
+- **Scope:** `model-catalog`, `core`, `docs`
+- **PR:** [#678](https://github.com/Prism-Shadow/penguin-harness/pull/678)
+
+[English](2026-09-11-deepseek-v4-flash-text-only.md)
+
+DeepSeek 直连分组的 `deepseek-v4-flash` 条目标记为纯文本(`supportsVision: false`)。DeepSeek 已于
+2026-09-10 将该 id 退役并改由 V4.1 Flash 承接,但 AgentHub 0.4.11 的 DeepSeek 客户端会用纯文本
+拒绝名单 `/^deepseek-v4-(flash|pro)(-\d{4})?$/` 匹配这个裸 id,在请求离开 harness 之前就拒绝图像
+部件,因此挂给该模型的图片根本到不了 DeepSeek。
+
+## 细节
+
+- `deepseek-flash`(V4.1 Flash)与 `deepseek-v4-flash-vision-exp` 保持不变,仍支持图像输入;
+ OpenRouter、TokenDance 与 vLLM 上转售的 V4.1 Flash 和 Vision Exp 条目同样不变。
+- 文档站的模型页随该条目一并更正。
+- 已有 Project 仍保留 `.project_config.toml` 中已存的 `vision` 取值;在模型页点击**同步预置**即可
+ 应用这次更正。
diff --git a/packages/core/src/state/model-catalog.ts b/packages/core/src/state/model-catalog.ts
index 72ac5435..dddb5e3d 100644
--- a/packages/core/src/state/model-catalog.ts
+++ b/packages/core/src/state/model-catalog.ts
@@ -14,9 +14,10 @@
* pre-registered deepseek-v4.1-flash row: 2026-09-09, from DeepSeek's release announcement;
* the whole Gemini 3.x line-up, direct + OpenRouter — the 3.6 / 3.7 / 3.8 Flash launch
* discounts declared, every other row re-read and unchanged: 2026-09-09; the direct DeepSeek
- * group (V4.1 Flash released as `deepseek-flash`, the two V4 Flash ids retired into it), the
- * OpenRouter and TokenDance V4.1 Flash rows, and TokenDance's running promotions plus its
- * Doubao Seed display names: 2026-09-10 — per each provider's docs).
+ * group (V4.1 Flash released as `deepseek-flash`, the two V4 Flash ids retired into it —
+ * `deepseek-v4-flash` text-only even so, AgentHub's DeepSeek client refusing image parts for
+ * that id), the OpenRouter and TokenDance V4.1 Flash rows, and TokenDance's running promotions
+ * plus its Doubao Seed display names: 2026-09-10 — per each provider's docs).
* Docs: packages/docs/content/models.{zh,en}.md (site path /docs/models) documents the
* provider groups and credential resolution described here.
*
@@ -505,17 +506,18 @@ export const MODEL_CATALOG: ModelCatalogEntry[] = [
},
{
// Retired on 2026-09-10: DeepSeek still accepts the id and serves it from V4.1 Flash at
- // the Flash price, so what answers here reads images — hence the flag. AgentHub 0.4.11's
- // DeepSeek client still refuses image parts for this bare id (its text-only deny-list
- // /^deepseek-v4-(flash|pro)(-\d{4})?$/ predates the retirement), so until AgentHub
- // relaxes that list an image sent to this id is rejected by the client, not by DeepSeek.
+ // the Flash price. V4 Flash reads no images, and the retirement does not change that —
+ // `deepseek-flash` is the id to send an image to. AgentHub agrees rather than decides:
+ // 0.4.11's DeepSeek client matches this bare id against its text-only deny-list
+ // /^deepseek-v4-(flash|pro)(-\d{4})?$/ and rejects image parts before the request leaves
+ // the harness, so relaxing that list is not a reason to flip this flag.
modelId: "deepseek-v4-flash",
displayName: "DeepSeek V4 Flash",
provider: "deepseek",
contextWindow: 1000000,
pricing: cny(0.04, 2, 8),
offPeakDiscount: DEEPSEEK_OFF_PEAK,
- supportsVision: true,
+ supportsVision: false,
},
{
// The experimental vision revision of V4 Flash (added 2026-08-21), retired on the same
diff --git a/packages/core/test/model-catalog.test.ts b/packages/core/test/model-catalog.test.ts
index 9e3b4cc5..14e70546 100644
--- a/packages/core/test/model-catalog.test.ts
+++ b/packages/core/test/model-catalog.test.ts
@@ -252,12 +252,12 @@ describe("model-catalog", () => {
expect(catalogEntryFor("openrouter", "deepseek/deepseek-v4.1-flash")?.provider).toBe(
"openrouter",
);
- // Vision is a per-row flag, not a property of the id's spelling. Every Flash row in the
- // direct group reads images: deepseek-flash natively, and both V4 Flash ids because
- // DeepSeek retired them on 2026-09-10 and now serves them from V4.1 Flash. deepseek-v4-pro
- // is the group's one text-only row.
+ // Vision is a per-row flag, not a property of the id's spelling: it tracks what the client
+ // routing the row actually carries. AgentHub's DeepSeek client denies image parts to ids
+ // matching /^deepseek-v4-(flash|pro)(-\d{4})?$/, which covers deepseek-v4-flash and
+ // deepseek-v4-pro but neither the bare deepseek-flash nor the vision-exp revision.
expect(catalogEntryFor("deepseek", "deepseek-flash")?.supportsVision).toBe(true);
- expect(catalogEntryFor("deepseek", "deepseek-v4-flash")?.supportsVision).toBe(true);
+ expect(catalogEntryFor("deepseek", "deepseek-v4-flash")?.supportsVision).toBe(false);
expect(catalogEntryFor("deepseek", "deepseek-v4-flash-vision-exp")?.supportsVision).toBe(true);
expect(catalogEntryFor("deepseek", "deepseek-v4-pro")?.supportsVision).toBe(false);
expect(
diff --git a/packages/docs/content/models.en.md b/packages/docs/content/models.en.md
index b87d76ee..9f2d3fa3 100644
--- a/packages/docs/content/models.en.md
+++ b/packages/docs/content/models.en.md
@@ -80,7 +80,7 @@ The gateway groups (openrouter / fireworks / siliconflow / tokendance / qwen-pay
The preset catalog also carries OpenRouter's free tier: the `:free` model variant `nvidia/nemotron-3-ultra-550b-a55b:free` and the `openrouter/free` unified Free Models Router. They cost nothing, but are subject to OpenRouter's free-tier rate limits and data policy.
-Some models in the preset catalog: deepseek-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp (`deepseek-flash`, `deepseek-v4-flash` and `deepseek-v4-flash-vision-exp` read images; `deepseek-v4-pro` is text-only. Since 2026-09-10 the two legacy Flash ids are retired names that DeepSeek serves from V4.1 Flash at the Flash price, which is why they read images too), MiniMax-M3, gemini-3.8-flash, claude-opus-5 / claude-opus-4-8 / claude-sonnet-5, gpt-6-astra / gpt-5.6 / gpt-5.5, glm-5.3 / glm-5.3-flash, kimi-k3, qwen3.8-max / qwen3.8-flash, seed-2.1-pro / seed-2.1-turbo / seed-evolving (not exhaustive). The whole OpenAI line-up is listed twice — directly (your own OpenAI key, list prices) and on OpenRouter as `openai/<id>` (the gateway's rates, which follow its running promotions). DeepSeek's direct-group rows record the official peak tier and declare its off-peak schedule: outside Beijing weekday 9:00–12:00 and 14:00–18:00 every bucket is halved, which the models page marks with a `50% off` badge and the cost center bills at. Three resold rows follow the same schedule, because their sellers pass DeepSeek's own windows through: TokenDance's `deepseek-v4.1-flash` and `deepseek-v4-flash-vision-exp`, and OpenRouter's `deepseek/deepseek-v4.1-flash`. The stored price is always the peak one, so what is on disk does not depend on the hour a Project was created or re-synced in. `glm-5.3-flash` appears three times, and all three rows accept images: AgentHub's GLM client forwards image parts for this one GLM id (every other GLM id refuses them), while the OpenRouter row `z-ai/glm-5.3-flash` and the TokenDance row go through the generic OpenAI-compatible client, which carries them for any id. What the three rows do not share is the price: each records what its own seller charges, so they disagree while a promotion is running.
+Some models in the preset catalog: deepseek-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp (`deepseek-flash` and `deepseek-v4-flash-vision-exp` read images; `deepseek-v4-flash` and `deepseek-v4-pro` are text-only. Since 2026-09-10 the two legacy Flash ids are retired names that DeepSeek serves from V4.1 Flash at the Flash price, which changes what they cost but not what V4 Flash reads: send an image to `deepseek-flash`), MiniMax-M3, gemini-3.8-flash, claude-opus-5 / claude-opus-4-8 / claude-sonnet-5, gpt-6-astra / gpt-5.6 / gpt-5.5, glm-5.3 / glm-5.3-flash, kimi-k3, qwen3.8-max / qwen3.8-flash, seed-2.1-pro / seed-2.1-turbo / seed-evolving (not exhaustive). The whole OpenAI line-up is listed twice — directly (your own OpenAI key, list prices) and on OpenRouter as `openai/<id>` (the gateway's rates, which follow its running promotions). DeepSeek's direct-group rows record the official peak tier and declare its off-peak schedule: outside Beijing weekday 9:00–12:00 and 14:00–18:00 every bucket is halved, which the models page marks with a `50% off` badge and the cost center bills at. Three resold rows follow the same schedule, because their sellers pass DeepSeek's own windows through: TokenDance's `deepseek-v4.1-flash` and `deepseek-v4-flash-vision-exp`, and OpenRouter's `deepseek/deepseek-v4.1-flash`. The stored price is always the peak one, so what is on disk does not depend on the hour a Project was created or re-synced in. `glm-5.3-flash` appears three times, and all three rows accept images: AgentHub's GLM client forwards image parts for this one GLM id (every other GLM id refuses them), while the OpenRouter row `z-ai/glm-5.3-flash` and the TokenDance row go through the generic OpenAI-compatible client, which carries them for any id. What the three rows do not share is the price: each records what its own seller charges, so they disagree while a promotion is running.
TokenDance rows record the gateway's list price and, where a promotion is running, the rate off it. Nine models are discounted today — `deepseek-v4-flash-0731`, `deepseek-v4-pro-0813` and `kimi-k3` at 20% off, `glm-5.3`, `glm-5.3-flash` and `qwen3.8-max` at 10%, and the three Doubao Seed rows (`seed-2.1-pro`, `seed-2.1-turbo`, `seed-evolving`) at 50%. Two further rows carry no flat discount and instead follow DeepSeek's own off-peak schedule, described above. Their model cards show the price being billed right now, with the rate as a badge, and a Project is preset with the **discounted** price, so the cost center charges what the gateway charges. Prices you edit yourself keep the discount decoration off the card: the figure is then yours, not the gateway's.
diff --git a/packages/docs/content/models.zh.md b/packages/docs/content/models.zh.md
index bb961bbd..19f34bbd 100644
--- a/packages/docs/content/models.zh.md
+++ b/packages/docs/content/models.zh.md
@@ -80,7 +80,7 @@ api_key = "sk-..."
预置目录还收录了 OpenRouter 的免费档:`:free` 模型变体 `nvidia/nemotron-3-ultra-550b-a55b:free` 与统一路由 `openrouter/free`(Free Models Router),零成本可用,但受 OpenRouter 免费档速率限制与数据政策约束。
-预置目录中的部分模型:deepseek-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp(其中 `deepseek-flash`、`deepseek-v4-flash`、`deepseek-v4-flash-vision-exp` 支持图像输入,`deepseek-v4-pro` 为纯文本。自 2026-09-10 起,后两个 V4 Flash id 已是退役名称,DeepSeek 改由 V4.1 Flash 承接、按 Flash 价计费,因此它们同样能读图)、MiniMax-M3、gemini-3.8-flash、claude-opus-5 / claude-opus-4-8 / claude-sonnet-5、gpt-6-astra / gpt-5.6 / gpt-5.5、glm-5.3 / glm-5.3-flash、kimi-k3、qwen3.8-max / qwen3.8-flash、seed-2.1-pro / seed-2.1-turbo / seed-evolving 等(非完整清单)。OpenAI 全系列都收录了两份——直连(用自己的 OpenAI Key,记牌价)与 OpenRouter 上的 `openai/<id>`(记网关实际计费价,会随其促销浮动)。DeepSeek 直连分组的条目记录官方高峰档,并声明其空闲时段规则:在北京时间周一至周五 9:00–12:00、14:00–18:00 之外,各档价格减半——模型页以「省 50%」徽标标记,成本中心按此计价。另有三条转售条目沿用同一套时段,因为卖家原样传递了 DeepSeek 自己的窗口:TokenDance 的 `deepseek-v4.1-flash` 与 `deepseek-v4-flash-vision-exp`,以及 OpenRouter 的 `deepseek/deepseek-v4.1-flash`。存盘的始终是高峰价,因此磁盘上的数字不会随 Project 创建或同步预置的时刻而变。`glm-5.3-flash` 收录了三份,三条都支持图像输入:AgentHub 的 GLM 客户端只为这一个 GLM id 转发图像部件(其余 GLM id 一律拒绝),而 OpenRouter 上的 `z-ai/glm-5.3-flash` 与 TokenDance 分组的同名条目走通用 OpenAI 兼容客户端,对任何 id 都能携带图片。三条不一致的是价格:每一条都记录各自卖家的收费,因此促销期间三者不同。
+预置目录中的部分模型:deepseek-flash / deepseek-v4-pro / deepseek-v4-flash / deepseek-v4-flash-vision-exp(其中 `deepseek-flash`、`deepseek-v4-flash-vision-exp` 支持图像输入,`deepseek-v4-flash` 与 `deepseek-v4-pro` 为纯文本。自 2026-09-10 起,两个 V4 Flash id 已是退役名称,DeepSeek 改由 V4.1 Flash 承接、按 Flash 价计费——变的是价格,不是 V4 Flash 能读什么:要发图请用 `deepseek-flash`)、MiniMax-M3、gemini-3.8-flash、claude-opus-5 / claude-opus-4-8 / claude-sonnet-5、gpt-6-astra / gpt-5.6 / gpt-5.5、glm-5.3 / glm-5.3-flash、kimi-k3、qwen3.8-max / qwen3.8-flash、seed-2.1-pro / seed-2.1-turbo / seed-evolving 等(非完整清单)。OpenAI 全系列都收录了两份——直连(用自己的 OpenAI Key,记牌价)与 OpenRouter 上的 `openai/<id>`(记网关实际计费价,会随其促销浮动)。DeepSeek 直连分组的条目记录官方高峰档,并声明其空闲时段规则:在北京时间周一至周五 9:00–12:00、14:00–18:00 之外,各档价格减半——模型页以「省 50%」徽标标记,成本中心按此计价。另有三条转售条目沿用同一套时段,因为卖家原样传递了 DeepSeek 自己的窗口:TokenDance 的 `deepseek-v4.1-flash` 与 `deepseek-v4-flash-vision-exp`,以及 OpenRouter 的 `deepseek/deepseek-v4.1-flash`。存盘的始终是高峰价,因此磁盘上的数字不会随 Project 创建或同步预置的时刻而变。`glm-5.3-flash` 收录了三份,三条都支持图像输入:AgentHub 的 GLM 客户端只为这一个 GLM id 转发图像部件(其余 GLM id 一律拒绝),而 OpenRouter 上的 `z-ai/glm-5.3-flash` 与 TokenDance 分组的同名条目走通用 OpenAI 兼容客户端,对任何 id 都能携带图片。三条不一致的是价格:每一条都记录各自卖家的收费,因此促销期间三者不同。
TokenDance 分组的条目记录该网关的牌价,并在有促销时记录折扣率。当前有九个模型处于折扣中——`deepseek-v4-flash-0731`、`deepseek-v4-pro-0813` 与 `kimi-k3` 八折,`glm-5.3`、`glm-5.3-flash` 与 `qwen3.8-max` 九折,三条 Doubao Seed 条目(`seed-2.1-pro`、`seed-2.1-turbo`、`seed-evolving`)五折。另有两条条目不走固定折扣,而是沿用上文所述 DeepSeek 自己的空闲时段规则。它们的模型卡片显示当前实际计费的那个价格,并以徽标标出折扣率;新建 Project 预置的是**折后价**,因此成本中心按网关实际收费计价。自行修改过价格的条目不再显示折扣标记:此时那个数字属于你,而不是网关。