@molecule/api-resource-ai-models 1.17.0 → 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 +26 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +31 -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
|
|
@@ -363,6 +375,19 @@ import type { ModelDefinition } from './types.js';
|
|
|
363
375
|
* output $0.50, cache read 0.2× input); deployment not deprecated.
|
|
364
376
|
* 'us' stays selectable at that same card, like deepseek-flash's cn-first
|
|
365
377
|
* default. glm-5.3 / glm-5.3-flashx unchanged, cn-only.)
|
|
378
|
+
* (re-verified 2026-10-20: every GLM rate on the pricing page is UNCHANGED —
|
|
379
|
+
* glm-5.3 / glm-5.2 $1.40/$4.40 (cached $0.26), glm-5.3-flashx $0.37/$1.25
|
|
380
|
+
* (cached $0.075), glm-5.3-flash $0.15/$0.50 (cached $0.03), glm-5 $1/$3.20
|
|
381
|
+
* (cached $0.20); the page states "All prices are in USD", cached-input
|
|
382
|
+
* storage "Limited-time Free", no other promo footnote. The 2026-10-20 06:35
|
|
383
|
+
* alert's 15 "price drifts" were FALSE: models.dev added/changed its
|
|
384
|
+
* `zhipuai` entry — open.bigmodel.cn's CNY card converted to USD (glm-5.3
|
|
385
|
+
* $1.19516/$4.18306 = ¥8/¥28 input/output, ¥2 cached, converted at ≈6.694;
|
|
386
|
+
* same relation holds for every other GLM entry) — and check-model-freshness
|
|
387
|
+
* compared this card against it. The zhipu bond bills z.ai
|
|
388
|
+
* (https://api.z.ai/api/paas), whose models.dev mirror is `zai` and carries
|
|
389
|
+
* this card exactly; PROVIDER_MAP in check-model-freshness.mjs now points
|
|
390
|
+
* there. No catalog price changed.)
|
|
366
391
|
*
|
|
367
392
|
* Knowledge-cutoff dates on non-Anthropic entries are best-effort estimates
|
|
368
393
|
* where the provider doesn't publish one; the provider sources above verify
|
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
|
|
@@ -412,6 +427,19 @@ const CHINA_PUBLIC_HOLIDAYS = [
|
|
|
412
427
|
* output $0.50, cache read 0.2× input); deployment not deprecated.
|
|
413
428
|
* 'us' stays selectable at that same card, like deepseek-flash's cn-first
|
|
414
429
|
* default. glm-5.3 / glm-5.3-flashx unchanged, cn-only.)
|
|
430
|
+
* (re-verified 2026-10-20: every GLM rate on the pricing page is UNCHANGED —
|
|
431
|
+
* glm-5.3 / glm-5.2 $1.40/$4.40 (cached $0.26), glm-5.3-flashx $0.37/$1.25
|
|
432
|
+
* (cached $0.075), glm-5.3-flash $0.15/$0.50 (cached $0.03), glm-5 $1/$3.20
|
|
433
|
+
* (cached $0.20); the page states "All prices are in USD", cached-input
|
|
434
|
+
* storage "Limited-time Free", no other promo footnote. The 2026-10-20 06:35
|
|
435
|
+
* alert's 15 "price drifts" were FALSE: models.dev added/changed its
|
|
436
|
+
* `zhipuai` entry — open.bigmodel.cn's CNY card converted to USD (glm-5.3
|
|
437
|
+
* $1.19516/$4.18306 = ¥8/¥28 input/output, ¥2 cached, converted at ≈6.694;
|
|
438
|
+
* same relation holds for every other GLM entry) — and check-model-freshness
|
|
439
|
+
* compared this card against it. The zhipu bond bills z.ai
|
|
440
|
+
* (https://api.z.ai/api/paas), whose models.dev mirror is `zai` and carries
|
|
441
|
+
* this card exactly; PROVIDER_MAP in check-model-freshness.mjs now points
|
|
442
|
+
* there. No catalog price changed.)
|
|
415
443
|
*
|
|
416
444
|
* Knowledge-cutoff dates on non-Anthropic entries are best-effort estimates
|
|
417
445
|
* where the provider doesn't publish one; the provider sources above verify
|
package/package.json
CHANGED