dsh-all-usage 1.1.13 → 1.1.14
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/CHANGELOG.md +353 -347
- package/README.md +391 -386
- package/lib/pricing.js +5 -0
- package/package.json +82 -82
package/lib/pricing.js
CHANGED
|
@@ -452,8 +452,13 @@ const DEEPSEEK_VISION_EFFECTIVE_FROM = Date.UTC(2026, 7, 21, 0, 0, 0)
|
|
|
452
452
|
// Built-in first-party profiles: each model carries its own explicit off-peak
|
|
453
453
|
// (inherited from the live catalog entry) and peak rates; the peak rates are
|
|
454
454
|
// stored as data, never derived as an automatic 'half price' rule.
|
|
455
|
+
// models.dev publishes `deepseek-flash` (DeepSeek V4.1 Flash) in the same
|
|
456
|
+
// `deepseek-flash` family and at the same standard rates as
|
|
457
|
+
// `deepseek-v4-flash`, so it shares that band; a variant that arrives with
|
|
458
|
+
// different standard rates still needs its own row.
|
|
455
459
|
const DEEPSEEK_TEMPORAL_MODELS = new Map([
|
|
456
460
|
['deepseek-v4-flash', { input: '0.44', output: '1.32', cacheRead: '0.014', cacheWrite: '0', effectiveFrom: DEEPSEEK_TEMPORAL_EFFECTIVE_FROM }],
|
|
461
|
+
['deepseek-flash', { input: '0.44', output: '1.32', cacheRead: '0.014', cacheWrite: '0', effectiveFrom: DEEPSEEK_TEMPORAL_EFFECTIVE_FROM }],
|
|
457
462
|
['deepseek-v4-flash-vision-exp', { input: '0.44', output: '1.32', cacheRead: '0.014', cacheWrite: '0', effectiveFrom: DEEPSEEK_VISION_EFFECTIVE_FROM }],
|
|
458
463
|
['deepseek-v4-pro', { input: '1.32', output: '3.96', cacheRead: '0.044', cacheWrite: '0', effectiveFrom: DEEPSEEK_TEMPORAL_EFFECTIVE_FROM }],
|
|
459
464
|
])
|
package/package.json
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-all-usage",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "DeepSeek Harness usage dashboard with model, provider, workspace, cache, balance, and CSV insights",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/ParticleLight/dsh-all-usage.git"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/ParticleLight/dsh-all-usage#readme",
|
|
10
|
-
"type": "module",
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=22 <25"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build:client": "node scripts/build-client.mjs",
|
|
16
|
-
"test": "node --test",
|
|
17
|
-
"fixture:check": "node scripts/replay-fixture.mjs fixtures/usage-events.json",
|
|
18
|
-
"test:runtime": "node --test test/dsh-runtime.test.js",
|
|
19
|
-
"check:pack": "node scripts/check-package.mjs",
|
|
20
|
-
"prepack": "npm run build:client"
|
|
21
|
-
},
|
|
22
|
-
"main": "lib/index.js",
|
|
23
|
-
"exports": {
|
|
24
|
-
".": {
|
|
25
|
-
"default": "./lib/index.js"
|
|
26
|
-
},
|
|
27
|
-
"./client": {
|
|
28
|
-
"default": "./lib/client.js"
|
|
29
|
-
},
|
|
30
|
-
"./package.json": "./package.json"
|
|
31
|
-
},
|
|
32
|
-
"dsh": {
|
|
33
|
-
"compatibility": {
|
|
34
|
-
"runtime": ">=0.1.1-rc.1 <0.1.5-0 || >=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-rc.2 <0.1.8-0",
|
|
35
|
-
"verified": ["0.1.7-rc.2", "0.1.5-rc.2", "0.1.5-rc.1", "0.1.1-rc.2", "0.1.1-rc.1"]
|
|
36
|
-
},
|
|
37
|
-
"bundle": {
|
|
38
|
-
"patch": "./cordis.patch.yml"
|
|
39
|
-
},
|
|
40
|
-
"client": {
|
|
41
|
-
"inject": [
|
|
42
|
-
"@deepseek-ai/dsh-client-runtime",
|
|
43
|
-
"@deepseek-ai/dsh-client-ui-slots",
|
|
44
|
-
"@deepseek-ai/dsh-client-ui-sidebar"
|
|
45
|
-
],
|
|
46
|
-
"platform": "web"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"lib/index.js",
|
|
51
|
-
"lib/plugin.js",
|
|
52
|
-
"lib/aggregation.js",
|
|
53
|
-
"lib/ledger.js",
|
|
54
|
-
"lib/session-sync.js",
|
|
55
|
-
"lib/pricing-runtime.js",
|
|
56
|
-
"lib/balance.js",
|
|
57
|
-
"lib/http.js",
|
|
58
|
-
"lib/client.js",
|
|
59
|
-
"lib/pricing.js",
|
|
60
|
-
"lib/usage-core.js",
|
|
61
|
-
"CHANGELOG.md",
|
|
62
|
-
"cordis.patch.yml",
|
|
63
|
-
"screenshots.json",
|
|
64
|
-
"fixtures/usage-events.json",
|
|
65
|
-
"scripts/replay-fixture.mjs",
|
|
66
|
-
"assets"
|
|
67
|
-
],
|
|
68
|
-
"keywords": [
|
|
69
|
-
"deepseek-harness",
|
|
70
|
-
"dsh",
|
|
71
|
-
"plugin",
|
|
72
|
-
"usage",
|
|
73
|
-
"stats",
|
|
74
|
-
"heatmap",
|
|
75
|
-
"tokens",
|
|
76
|
-
"balance"
|
|
77
|
-
],
|
|
78
|
-
"license": "MIT",
|
|
79
|
-
"devDependencies": {
|
|
80
|
-
"terser": "5.51.2"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-all-usage",
|
|
3
|
+
"version": "1.1.14",
|
|
4
|
+
"description": "DeepSeek Harness usage dashboard with model, provider, workspace, cache, balance, and CSV insights",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/ParticleLight/dsh-all-usage.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/ParticleLight/dsh-all-usage#readme",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=22 <25"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build:client": "node scripts/build-client.mjs",
|
|
16
|
+
"test": "node --test",
|
|
17
|
+
"fixture:check": "node scripts/replay-fixture.mjs fixtures/usage-events.json",
|
|
18
|
+
"test:runtime": "node --test test/dsh-runtime.test.js",
|
|
19
|
+
"check:pack": "node scripts/check-package.mjs",
|
|
20
|
+
"prepack": "npm run build:client"
|
|
21
|
+
},
|
|
22
|
+
"main": "lib/index.js",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"default": "./lib/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./client": {
|
|
28
|
+
"default": "./lib/client.js"
|
|
29
|
+
},
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
"dsh": {
|
|
33
|
+
"compatibility": {
|
|
34
|
+
"runtime": ">=0.1.1-rc.1 <0.1.5-0 || >=0.1.5-rc.1 <0.1.6-0 || >=0.1.7-rc.2 <0.1.8-0",
|
|
35
|
+
"verified": ["0.1.7-rc.2", "0.1.5-rc.2", "0.1.5-rc.1", "0.1.1-rc.2", "0.1.1-rc.1"]
|
|
36
|
+
},
|
|
37
|
+
"bundle": {
|
|
38
|
+
"patch": "./cordis.patch.yml"
|
|
39
|
+
},
|
|
40
|
+
"client": {
|
|
41
|
+
"inject": [
|
|
42
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
43
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
44
|
+
"@deepseek-ai/dsh-client-ui-sidebar"
|
|
45
|
+
],
|
|
46
|
+
"platform": "web"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"lib/index.js",
|
|
51
|
+
"lib/plugin.js",
|
|
52
|
+
"lib/aggregation.js",
|
|
53
|
+
"lib/ledger.js",
|
|
54
|
+
"lib/session-sync.js",
|
|
55
|
+
"lib/pricing-runtime.js",
|
|
56
|
+
"lib/balance.js",
|
|
57
|
+
"lib/http.js",
|
|
58
|
+
"lib/client.js",
|
|
59
|
+
"lib/pricing.js",
|
|
60
|
+
"lib/usage-core.js",
|
|
61
|
+
"CHANGELOG.md",
|
|
62
|
+
"cordis.patch.yml",
|
|
63
|
+
"screenshots.json",
|
|
64
|
+
"fixtures/usage-events.json",
|
|
65
|
+
"scripts/replay-fixture.mjs",
|
|
66
|
+
"assets"
|
|
67
|
+
],
|
|
68
|
+
"keywords": [
|
|
69
|
+
"deepseek-harness",
|
|
70
|
+
"dsh",
|
|
71
|
+
"plugin",
|
|
72
|
+
"usage",
|
|
73
|
+
"stats",
|
|
74
|
+
"heatmap",
|
|
75
|
+
"tokens",
|
|
76
|
+
"balance"
|
|
77
|
+
],
|
|
78
|
+
"license": "MIT",
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"terser": "5.51.2"
|
|
81
|
+
}
|
|
82
|
+
}
|