@molecule/api-resource-ai-models 1.19.1 → 1.19.3
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 +5 -1
- package/package.json +2 -5
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;AA2DjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoZG;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;AA2DjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoZG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EAgoFnC,CAAA"}
|
package/dist/models.js
CHANGED
|
@@ -2220,7 +2220,8 @@ export const MODELS = [
|
|
|
2220
2220
|
// DeepSeek charges no cache-write premium — write bills at input.
|
|
2221
2221
|
cacheWritePricePerMTok: 0.15,
|
|
2222
2222
|
// Native first (the default region); the DeepInfra US re-host
|
|
2223
|
-
// (`deepseek-ai/DeepSeek-V4.1-Flash
|
|
2223
|
+
// (`deepseek-ai/DeepSeek-V4.1-Flash-1017` since 2026-11-12, was the undated
|
|
2224
|
+
// `deepseek-ai/DeepSeek-V4.1-Flash`; molecule-dev region-model-maps.ts)
|
|
2224
2225
|
// is offered as a SECOND region since 2026-09-14, when the native endpoint
|
|
2225
2226
|
// queued every completion for hours (SSE keep-alives, no token, three
|
|
2226
2227
|
// Synthase turns lost) while DeepInfra answered at once. Its card, read
|
|
@@ -2233,6 +2234,9 @@ export const MODELS = [
|
|
|
2233
2234
|
// not upgrade weights in place) at IDENTICAL rates — 0.00002/0.00006
|
|
2234
2235
|
// cents, cache 3% — so bumping the us modelMap to it moves no price here;
|
|
2235
2236
|
// a weights decision, not a pricing one (same as V4-Pro's `-0813`).
|
|
2237
|
+
// Re-verified 2026-11-12 on both ids: still identical ($0.20/$0.60, cache
|
|
2238
|
+
// 3%); the map moved to -1017, the weights DeepSeek's card says native
|
|
2239
|
+
// `deepseek-flash` serves.
|
|
2236
2240
|
regions: ['cn', 'us'],
|
|
2237
2241
|
regionPricing: {
|
|
2238
2242
|
us: { inputPricePerMTok: 0.2, outputPricePerMTok: 0.6, cacheReadPricePerMTok: 0.006 },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-resource-ai-models",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.3",
|
|
4
4
|
"description": "AI model catalog — server-side source of truth plus an authentication-gated discovery endpoint",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@molecule/api-bond": "1.0.4",
|
|
31
31
|
"@molecule/api-i18n": "1.0.5",
|
|
32
|
-
"@molecule/api-resource": "1.
|
|
32
|
+
"@molecule/api-resource": "1.1.1",
|
|
33
33
|
"@types/node": "26.6.5",
|
|
34
34
|
"typescript": "6.0.3",
|
|
35
35
|
"vitest": "4.1.12"
|
|
@@ -40,9 +40,6 @@
|
|
|
40
40
|
"@molecule/api-resource": "^1.0.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
|
-
"@molecule/api-i18n": {
|
|
44
|
-
"optional": true
|
|
45
|
-
},
|
|
46
43
|
"@molecule/api-resource": {
|
|
47
44
|
"optional": true
|
|
48
45
|
}
|