@molecule/api-resource-ai-models 1.2.3 → 1.2.5
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 +12 -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;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6GG;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;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6GG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EAo5CnC,CAAA"}
|
package/dist/models.js
CHANGED
|
@@ -480,6 +480,11 @@ export const MODELS = [
|
|
|
480
480
|
// Cached input 0.1× input; write premium reported 1.25× (see section note).
|
|
481
481
|
cacheReadPricePerMTok: 0.02,
|
|
482
482
|
cacheWritePricePerMTok: 0.25,
|
|
483
|
+
// The free-tier PLAN default (2026-08-18) — us-only OpenAI, so this carve-out
|
|
484
|
+
// is what lets `freeTierAllows` permit it for plan mode without making it
|
|
485
|
+
// outright `freeTier` (which would free it in every mode). Mirrors how
|
|
486
|
+
// minimax-m3 was scoped as the prior free planner.
|
|
487
|
+
freeTierRegions: ['us'],
|
|
483
488
|
// Not published — best-effort estimate.
|
|
484
489
|
knowledgeCutoff: '2026-03-01',
|
|
485
490
|
},
|
|
@@ -1254,15 +1259,13 @@ export const MODELS = [
|
|
|
1254
1259
|
// US default. DeepInfra list matches native; only the cache write differs
|
|
1255
1260
|
// (no premium → region input rate). Verified 2026-08-01.
|
|
1256
1261
|
regions: ['us', 'cn'],
|
|
1257
|
-
//
|
|
1258
|
-
// 2026-08-
|
|
1259
|
-
//
|
|
1260
|
-
//
|
|
1261
|
-
//
|
|
1262
|
-
//
|
|
1263
|
-
//
|
|
1264
|
-
// here, so free planning stays on the cheaper host.
|
|
1265
|
-
freeTierRegions: ['us'],
|
|
1262
|
+
// No freeTierRegions: the free tier stopped planning with this model on
|
|
1263
|
+
// 2026-08-18 (gpt-5.6-luna took over as FREE_TIER_MODELS.plan). It had been
|
|
1264
|
+
// the free planner since 2026-08-14, taking over from deepseek-v4-pro@cn.
|
|
1265
|
+
// The carve-out only ever existed to keep the free tier's OWN plan default
|
|
1266
|
+
// usable, and `freeTierAllows` checks `FREE_TIER_MODELS[mode] === modelId`
|
|
1267
|
+
// before it looks at regions, so leaving it here would widen nothing — it
|
|
1268
|
+
// would just claim a free-tier relationship that no longer exists.
|
|
1266
1269
|
regionPricing: {
|
|
1267
1270
|
// Verified 2026-08-14 against api.deepinfra.com/models/MiniMaxAI/MiniMax-M3
|
|
1268
1271
|
// (cache read = 0.2 × input). Was 0.3/1.2/0.06 — DeepInfra had repriced
|
package/package.json
CHANGED