@molecule/api-resource-ai-models 1.6.0 → 1.6.1
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.map +1 -1
- package/dist/models.js +13 -9
- package/package.json +1 -1
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;AAQjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkNG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,
|
|
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;AAQjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkNG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EAq1DnC,CAAA"}
|
package/dist/models.js
CHANGED
|
@@ -1428,15 +1428,19 @@ export const MODELS = [
|
|
|
1428
1428
|
cacheReadPricePerMTok: 0.003,
|
|
1429
1429
|
// DeepSeek charges no cache-write premium — write bills at input.
|
|
1430
1430
|
cacheWritePricePerMTok: 0.15,
|
|
1431
|
-
//
|
|
1432
|
-
// `deepseek-ai/DeepSeek-V4.1-Flash
|
|
1433
|
-
//
|
|
1434
|
-
//
|
|
1435
|
-
//
|
|
1436
|
-
//
|
|
1437
|
-
//
|
|
1438
|
-
//
|
|
1439
|
-
|
|
1431
|
+
// Native first (the default region); the DeepInfra US re-host
|
|
1432
|
+
// (`deepseek-ai/DeepSeek-V4.1-Flash`, molecule-dev region-model-maps.ts)
|
|
1433
|
+
// is offered as a SECOND region since 2026-09-14, when the native endpoint
|
|
1434
|
+
// queued every completion for hours (SSE keep-alives, no token, three
|
|
1435
|
+
// Synthase turns lost) while DeepInfra answered at once. Its card, read
|
|
1436
|
+
// live from api.deepinfra.com/models on 2026-09-14: $0.20/$0.60, cache
|
|
1437
|
+
// read 3% of input = $0.006 — roughly 2× this native off-peak card on
|
|
1438
|
+
// cache reads, so native stays the default and `us` is the fallback a
|
|
1439
|
+
// project picks when native is unavailable.
|
|
1440
|
+
regions: ['cn', 'us'],
|
|
1441
|
+
regionPricing: {
|
|
1442
|
+
us: { inputPricePerMTok: 0.2, outputPricePerMTok: 0.6, cacheReadPricePerMTok: 0.006 },
|
|
1443
|
+
},
|
|
1440
1444
|
// Same peak windows as the family — the V4.1 card footnote is verbatim the
|
|
1441
1445
|
// 2026-08-31 sentence: 01:00-04:00 and 06:00-10:00 UTC, Mon-Fri, ×2.
|
|
1442
1446
|
peakPricing: {
|
package/package.json
CHANGED