@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.
@@ -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,EAi5CnC,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;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
- // The free tier PLANS with this model (molecule-dev FREE_TIER_MODELS.plan,
1258
- // 2026-08-14), so its default US region must be free-tier selectable. It
1259
- // took over from deepseek-v4-pro@cn: measured on the real starting-point
1260
- // selection it scored 8/8 against Pro's 7/8 — including the case Pro failed
1261
- // — at 1.28c/plan-turn flat versus Pro's 2.62c off-peak and 5.24c inside
1262
- // DeepSeek's Beijing-hours windows, and it adds vision, which Pro (text
1263
- // only) could not offer discovery. CN is NOT listed: it is dearer than US
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-resource-ai-models",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
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",