@kenz1117/dsh-ui-usage-billing 1.8.3-alpha.10 → 1.8.3-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +32 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -844,6 +844,18 @@ function formatTokens(value) {
|
|
|
844
844
|
* 价源 = 腾讯云 TokenHub「模型价格」页(2026-11-04 更新)的官方 CN 价。
|
|
845
845
|
* Hy4 preview 条目与其价格一律不动——同 id 不同模型的收录不构成调价。
|
|
846
846
|
*
|
|
847
|
+
* 2026-11-16 扩容:补录腾讯混元 TokenHub 新上架的 **Hy4 flash**(官方 id
|
|
848
|
+
* `hy4-flash`,刊例价 ¥0.5 / ¥0.02(缓存命中)/ ¥2 每百万 token;官方价目页
|
|
849
|
+
* 2026-11-16 更新)。价源 = 腾讯云 TokenHub「模型价格」页的官方 CN 价
|
|
850
|
+
* (models.dev 实时目录尚无该模型条目,国内厂商按官方 CN 价优先的价源口径取
|
|
851
|
+
* 官方价,不做 USD 折算)。官方同期挂出限时折扣:**自该说明发布之日起至
|
|
852
|
+
* 2026-11-30 12:00:00(北京时间)按目录价格的 50% 结算** —— 刊例价留在 price
|
|
853
|
+
* 表,折扣按 promo 建模(只在计价/显示出口折算)。折扣起点取官方价目页
|
|
854
|
+
* 「最近更新时间」2026-11-16 12:15:30(北京时间)——这是本仓能取证的该说明上线
|
|
855
|
+
* 时刻,官方未给出更早的明确日期,故不向前追溯(promo 起点规则同 Hy4)。
|
|
856
|
+
* 本批只加新条目:既有 Hy4 / Hy4 preview 条目的价格与折扣窗口一律不动
|
|
857
|
+
* (本次官方价目页上 Hy4 仍是 ¥6/¥0.3/¥18,与目录现状逐字一致,不构成调价)。
|
|
858
|
+
*
|
|
847
859
|
* Time-of-day billing (peak/off-peak) is now real: DeepSeek V4 officially
|
|
848
860
|
* splits peak (09:00-12:00 / 14:00-18:00 Beijing) at 2x the off-peak rate
|
|
849
861
|
* from 2026-08-17, and Gemini's Flex tier discounts spare-capacity traffic.
|
|
@@ -1658,6 +1670,24 @@ const BUILTIN_MODEL_CATALOG = [
|
|
|
1658
1670
|
note: "限时 5 折至 2026-12-31"
|
|
1659
1671
|
}
|
|
1660
1672
|
},
|
|
1673
|
+
{
|
|
1674
|
+
key: "hunyuan-hy4-flash",
|
|
1675
|
+
name: "混元 Hy4 flash",
|
|
1676
|
+
provider: "腾讯混元",
|
|
1677
|
+
colorVar: "dsw-static-amber-400",
|
|
1678
|
+
price: {
|
|
1679
|
+
currency: "CNY",
|
|
1680
|
+
input: .5,
|
|
1681
|
+
cacheHit: .02,
|
|
1682
|
+
output: 2
|
|
1683
|
+
},
|
|
1684
|
+
promo: {
|
|
1685
|
+
factor: .5,
|
|
1686
|
+
startsAtMs: Date.UTC(2026, 10, 16, 4, 15, 30),
|
|
1687
|
+
endsAtMs: Date.UTC(2026, 10, 30, 4, 0, 0),
|
|
1688
|
+
note: "限时 5 折至 2026-11-30 12:00"
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1661
1691
|
{
|
|
1662
1692
|
key: "hy-mt2-pro",
|
|
1663
1693
|
name: "混元 MT2-Pro",
|
|
@@ -4199,6 +4229,8 @@ const BUILTIN_MODEL_KEY_ALIASES = {
|
|
|
4199
4229
|
"hunyuan-hy4": "hunyuan-hy4",
|
|
4200
4230
|
"hy4-preview": "hunyuan-hy4-preview",
|
|
4201
4231
|
"hunyuan-hy4-preview": "hunyuan-hy4-preview",
|
|
4232
|
+
"hy4-flash": "hunyuan-hy4-flash",
|
|
4233
|
+
"hunyuan-hy4-flash": "hunyuan-hy4-flash",
|
|
4202
4234
|
"longcat-2.0": "longcat-2.0",
|
|
4203
4235
|
"longcat-2": "longcat-2.0",
|
|
4204
4236
|
"minicpm-v-4.5": "minicpm-v-4.5",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenz1117/dsh-ui-usage-billing",
|
|
3
3
|
"description": "Usage billing dashboard for DeepSeek Harness: sidebar cost metrics plus a full dashboard modal, priced from a current multi-provider catalog with real usage aggregated from session logs.",
|
|
4
|
-
"version": "1.8.3-alpha.
|
|
4
|
+
"version": "1.8.3-alpha.11",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
7
7
|
"deepseek",
|