2026-08-21 上线的 deepseek-v4-flash-vision-exp 不在价格表里,回落到 v4-pro 后读数为实际的 3 倍
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
`deepseek-v4-flash-vision-exp` 在 2026-08-21 上线,三张价格表里都没有它,于是 `priceFor` 走了 `?? table[DEFAULT_MODEL]` 这一支回落到 `deepseek-v4-pro`——而 v4-pro 对 flash 在三个数上正好都是 3 倍,所以用这个模型的会话,面板上的缓存命中、未命中、输出**每一项都是实际的 3 倍**。
官方价目页([中文](https://api-docs.deepseek.com/zh-cn/quick_start/pricing/) / [英文](https://api-docs.deepseek.com/quick_start/pricing),2026-08-23 读取)现在列的是三个模型,vision-exp 的六个数跟 `deepseek-v4-flash` 逐字相同:
| 元 / 百万 token | 缓存命中 | 缓存未命中 | 输出 |
| --- | ---: | ---: | ---: |
| 高峰 | 0.10 | 3.0 | 9.0 |
| 空闲 | 0.05 | 1.5 | 4.5 |
对照现在表里的 v4-pro(高峰 0.30 / 9.0 / 27.0,空闲 0.15 / 4.5 / 13.5),比值三个数都是 3.0。
发布说明:(DeepSeek-V4-Flash-Vision-Exp,支持 JSON Output / Tool Calls / Responses API / Anthropic API,不支持 FIM;图片按尺寸折成 token 与文本一起计费)。
补两行即可:
```ts
// PEAK_PRICES
'deepseek-v4-flash-vision-exp': { cacheHitPerM: 0.1, cacheMissPerM: 3, outputPerM: 9 },
// OFF_PEAK_PRICES
'deepseek-v4-flash-vision-exp': { cacheHitPerM: 0.05, cacheMissPerM: 1.5, outputPerM: 4.5 },
```
`MODEL_PRICES`(2026-08-17 之前那张)不用动:这个模型是 08-21 才有的,不存在更早的历史用量。
## 跟 #2 叠在一起会到 6 倍
#2 说的是周末那一维。两处凑齐的话:周末跑 vision-exp,实际按空闲档 flash 计费(0.05 / 1.5 / 4.5),面板按高峰档 v4-pro 显示(0.30 / 9.0 / 27.0)——**6 倍**。两处都只影响读数、不影响真实账单,但「成本面板」这个东西的全部用处就是那个读数。
## 顺带一句 `DEFAULT_MODEL` 回落
`table[modelId] ?? table[DEFAULT_MODEL]` 把未知模型按最贵的那一档估,方向上是保守的,不算错。只是新出的模型多半落在 flash 系,这个回落会长期偏高,而且从界面上看不出这个数是估的。
如果愿意的话,回落时在徽章上带个标记(比如价格旁边一个 `~`,悬浮提示「未知模型 `xxx`,按 v4-pro 估算」)会比静默回落实在些——这样下次再出新模型,用的人自己就能发现,不用等有人来提 issue。这条纯属建议,跟上面那个补表的修复无关,拆不拆随你。
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the TypeScript definitions of PEAK_PRICES and OFF_PEAK_PRICES, then inspect priceFor and the existing DeepSeek model entries. Add the six values for deepseek-v4-flash-vision-exp in those two tables, leave MODEL_PRICES unchanged, and verify that lookup returns the flash prices for peak and off-peak usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- analytics
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100