@molecule/api-resource-ai-models 1.17.1 → 1.17.2
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/dist/models.d.ts +13 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +18 -3
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -233,7 +233,19 @@ import type { ModelDefinition } from './types.js';
|
|
|
233
233
|
* https://www.12371.gov.cn/web/article/web/content_1451614684968525824.html
|
|
234
234
|
* (the State Council's 2026 notice; see CHINA_PUBLIC_HOLIDAYS)
|
|
235
235
|
* - DeepSeek: https://api-docs.deepseek.com/quick_start/pricing +
|
|
236
|
-
* /updates/ (verified 2026-
|
|
236
|
+
* /updates/ (verified 2026-10-20 — the whole rate card RE-READ, unchanged:
|
|
237
|
+
* pro 0.66/1.98/0.022 off-peak ×2 peak, flash 0.15/0.6/0.003, peak windows
|
|
238
|
+
* and the Chinese-public-holidays exclusion verbatim as before. The page is
|
|
239
|
+
* now a client-rendered SPA — its HTML is an app shell and the card text
|
|
240
|
+
* lives in the route's JS chunk, which is where this read came from; the
|
|
241
|
+
* freshness gate reads it there too. New on the card: footnote (1) now says
|
|
242
|
+
* the retired flash ids' requests "are served by the DeepSeek-V4.1-Flash-1017
|
|
243
|
+
* model and billed at the Flash price" — so -1017 is also the weights under
|
|
244
|
+
* the native evergreen `deepseek-flash` id (a weights fact, not a pricing
|
|
245
|
+
* one; the flash card itself did not move). The page also lists standalone
|
|
246
|
+
* Search & Fetch APIs at $0.75 per 1k requests (harness tool-call billing
|
|
247
|
+
* starts 2026-11-01 Beijing) — not a surface this catalog prices.
|
|
248
|
+
* Earlier, verified 2026-09-23: the announced 2026-09-14 routing of
|
|
237
249
|
* `deepseek-v4-pro` to V4.1 Flash was WITHDRAWN: V4 Pro keeps its card
|
|
238
250
|
* 0.66/1.98/0.022 off-peak, so its staged `scheduledPricing` was deleted.
|
|
239
251
|
* The card now also says peak hours exclude Chinese public holidays, which
|
package/dist/models.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AA2DjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgYG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EAi8EnC,CAAA"}
|
package/dist/models.js
CHANGED
|
@@ -14,8 +14,11 @@
|
|
|
14
14
|
const WEEKDAYS_UTC = [1, 2, 3, 4, 5];
|
|
15
15
|
/**
|
|
16
16
|
* DeepSeek's own sentence defining its peak windows, verbatim (pricing page,
|
|
17
|
-
* re-read 2026-09-23
|
|
18
|
-
*
|
|
17
|
+
* re-read 2026-09-23 and 2026-10-20 — unchanged both times). The page stopped
|
|
18
|
+
* server-rendering around 2026-10-20 (its HTML is a Docusaurus app shell; the
|
|
19
|
+
* text lives in the per-route JS chunk), which check-model-freshness now
|
|
20
|
+
* resolves. It warns when the page stops saying exactly this — then the
|
|
21
|
+
* windows and CHINA_PUBLIC_HOLIDAYS need re-reading.
|
|
19
22
|
*/
|
|
20
23
|
const DEEPSEEK_PEAK_RULE = {
|
|
21
24
|
url: 'https://api-docs.deepseek.com/quick_start/pricing',
|
|
@@ -282,7 +285,19 @@ const CHINA_PUBLIC_HOLIDAYS = [
|
|
|
282
285
|
* https://www.12371.gov.cn/web/article/web/content_1451614684968525824.html
|
|
283
286
|
* (the State Council's 2026 notice; see CHINA_PUBLIC_HOLIDAYS)
|
|
284
287
|
* - DeepSeek: https://api-docs.deepseek.com/quick_start/pricing +
|
|
285
|
-
* /updates/ (verified 2026-
|
|
288
|
+
* /updates/ (verified 2026-10-20 — the whole rate card RE-READ, unchanged:
|
|
289
|
+
* pro 0.66/1.98/0.022 off-peak ×2 peak, flash 0.15/0.6/0.003, peak windows
|
|
290
|
+
* and the Chinese-public-holidays exclusion verbatim as before. The page is
|
|
291
|
+
* now a client-rendered SPA — its HTML is an app shell and the card text
|
|
292
|
+
* lives in the route's JS chunk, which is where this read came from; the
|
|
293
|
+
* freshness gate reads it there too. New on the card: footnote (1) now says
|
|
294
|
+
* the retired flash ids' requests "are served by the DeepSeek-V4.1-Flash-1017
|
|
295
|
+
* model and billed at the Flash price" — so -1017 is also the weights under
|
|
296
|
+
* the native evergreen `deepseek-flash` id (a weights fact, not a pricing
|
|
297
|
+
* one; the flash card itself did not move). The page also lists standalone
|
|
298
|
+
* Search & Fetch APIs at $0.75 per 1k requests (harness tool-call billing
|
|
299
|
+
* starts 2026-11-01 Beijing) — not a surface this catalog prices.
|
|
300
|
+
* Earlier, verified 2026-09-23: the announced 2026-09-14 routing of
|
|
286
301
|
* `deepseek-v4-pro` to V4.1 Flash was WITHDRAWN: V4 Pro keeps its card
|
|
287
302
|
* 0.66/1.98/0.022 off-peak, so its staged `scheduledPricing` was deleted.
|
|
288
303
|
* The card now also says peak hours exclude Chinese public holidays, which
|
package/package.json
CHANGED