@molecule/api-resource-ai-models 1.15.1 → 1.15.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/README.md +7 -1
- package/dist/models.d.ts +6 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +19 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-11T20:07:44.827Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-resource-ai-models
|
|
@@ -1123,6 +1123,12 @@ Sources (verified 2026-07-28; OpenAI re-verified 2026-07-31 after the
|
|
|
1123
1123
|
(re-verified 2026-09-10 on platform.kimi.ai/docs/models: kimi-k2.5 was
|
|
1124
1124
|
officially discontinued 2026-08-31 — calls 404 — so its entry is now
|
|
1125
1125
|
`disabled: true`. kimi-k3 / kimi-k2.6 / kimi-k2.7-code all still Active.)
|
|
1126
|
+
(re-verified 2026-10-11 on api.deepinfra.com/models/: the US re-host
|
|
1127
|
+
DEPRECATED moonshotai/Kimi-K2.7-Code on 2026-09-29 with replaced_by
|
|
1128
|
+
Kimi-K3 — a live probe sat 221 s with no content, then streamed chunks
|
|
1129
|
+
labeled Kimi-K3 — so kimi-k2.7-code is native-only (regions ['cn']) and
|
|
1130
|
+
its US modelMap entry is gone. kimi-k3's US re-host is healthy, rates
|
|
1131
|
+
unchanged.)
|
|
1126
1132
|
- MiniMax: https://platform.minimax.io/docs/guides/pricing-paygo (unchanged;
|
|
1127
1133
|
minimax-m3 $0.30/$1.20 is a "permanent 50% off" list rate)
|
|
1128
1134
|
- Alibaba: https://www.alibabacloud.com/help/en/model-studio/deep-thinking
|
package/dist/models.d.ts
CHANGED
|
@@ -256,6 +256,12 @@ import type { ModelDefinition } from './types.js';
|
|
|
256
256
|
* (re-verified 2026-09-10 on platform.kimi.ai/docs/models: kimi-k2.5 was
|
|
257
257
|
* officially discontinued 2026-08-31 — calls 404 — so its entry is now
|
|
258
258
|
* `disabled: true`. kimi-k3 / kimi-k2.6 / kimi-k2.7-code all still Active.)
|
|
259
|
+
* (re-verified 2026-10-11 on api.deepinfra.com/models/: the US re-host
|
|
260
|
+
* DEPRECATED moonshotai/Kimi-K2.7-Code on 2026-09-29 with replaced_by
|
|
261
|
+
* Kimi-K3 — a live probe sat 221 s with no content, then streamed chunks
|
|
262
|
+
* labeled Kimi-K3 — so kimi-k2.7-code is native-only (regions ['cn']) and
|
|
263
|
+
* its US modelMap entry is gone. kimi-k3's US re-host is healthy, rates
|
|
264
|
+
* unchanged.)
|
|
259
265
|
* - MiniMax: https://platform.minimax.io/docs/guides/pricing-paygo (unchanged;
|
|
260
266
|
* minimax-m3 $0.30/$1.20 is a "permanent 50% off" list rate)
|
|
261
267
|
* - Alibaba: https://www.alibabacloud.com/help/en/model-studio/deep-thinking
|
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;AAwDjD
|
|
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;AAwDjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwUG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EA01EnC,CAAA"}
|
package/dist/models.js
CHANGED
|
@@ -305,6 +305,12 @@ const CHINA_PUBLIC_HOLIDAYS = [
|
|
|
305
305
|
* (re-verified 2026-09-10 on platform.kimi.ai/docs/models: kimi-k2.5 was
|
|
306
306
|
* officially discontinued 2026-08-31 — calls 404 — so its entry is now
|
|
307
307
|
* `disabled: true`. kimi-k3 / kimi-k2.6 / kimi-k2.7-code all still Active.)
|
|
308
|
+
* (re-verified 2026-10-11 on api.deepinfra.com/models/: the US re-host
|
|
309
|
+
* DEPRECATED moonshotai/Kimi-K2.7-Code on 2026-09-29 with replaced_by
|
|
310
|
+
* Kimi-K3 — a live probe sat 221 s with no content, then streamed chunks
|
|
311
|
+
* labeled Kimi-K3 — so kimi-k2.7-code is native-only (regions ['cn']) and
|
|
312
|
+
* its US modelMap entry is gone. kimi-k3's US re-host is healthy, rates
|
|
313
|
+
* unchanged.)
|
|
308
314
|
* - MiniMax: https://platform.minimax.io/docs/guides/pricing-paygo (unchanged;
|
|
309
315
|
* minimax-m3 $0.30/$1.20 is a "permanent 50% off" list rate)
|
|
310
316
|
* - Alibaba: https://www.alibabacloud.com/help/en/model-studio/deep-thinking
|
|
@@ -2112,7 +2118,9 @@ export const MODELS = [
|
|
|
2112
2118
|
// 0.000285 → $2.85/MTok, cents_per_output_token 0.001425 → $14.25/MTok,
|
|
2113
2119
|
// rate_per_input_token_cached 0.1 → cache read $0.285/MTok, and
|
|
2114
2120
|
// rate_per_input_token_cache_write null → no write premium (the omitted
|
|
2115
|
-
// cache-write field falls back to the region's input rate).
|
|
2121
|
+
// cache-write field falls back to the region's input rate).
|
|
2122
|
+
// Re-verified 2026-10-11 on the same page: rates unchanged, deployment
|
|
2123
|
+
// NOT deprecated (unlike Kimi-K2.7-Code — see that entry). Cheaper than
|
|
2116
2124
|
// Moonshot native on every axis, which is why US leads (see the
|
|
2117
2125
|
// cheapest-default-region invariant in __tests__/lookup.test.ts).
|
|
2118
2126
|
// The host serves the full 1M context, unquantized, and returns
|
|
@@ -2152,15 +2160,16 @@ export const MODELS = [
|
|
|
2152
2160
|
// Automatic context cache: absolute cache-hit price ($0.19/M = 0.2× input).
|
|
2153
2161
|
cacheReadPricePerMTok: 0.19,
|
|
2154
2162
|
cacheWritePricePerMTok: 0.95,
|
|
2155
|
-
//
|
|
2156
|
-
//
|
|
2157
|
-
//
|
|
2158
|
-
//
|
|
2159
|
-
//
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2163
|
+
// Native-only since 2026-10-11. DeepInfra DEPRECATED the K2.7-Code
|
|
2164
|
+
// deployment on 2026-09-29 (its own model page: replaced_by
|
|
2165
|
+
// moonshotai/Kimi-K3) and it rotted exactly the way re-host ids do: a live
|
|
2166
|
+
// 2026-10-11 probe got HTTP 200 in under a second, then NO content for
|
|
2167
|
+
// 221 s, and the chunks came back labeled model "moonshotai/Kimi-K3" —
|
|
2168
|
+
// the replacement served under the deprecated id. Dropped, not remapped:
|
|
2169
|
+
// silently serving the 4× -pricier flagship under the coding model's name
|
|
2170
|
+
// and rate card is worse than not offering US. Native (cn) verified live
|
|
2171
|
+
// the same day — all three Synthase request shapes OK.
|
|
2172
|
+
regions: ['cn'],
|
|
2164
2173
|
// Not published — best-effort estimate.
|
|
2165
2174
|
knowledgeCutoff: '2025-10-01',
|
|
2166
2175
|
// kimi-k3 is the Moonshot pick, but this is NOT superseded: the coding
|
package/package.json
CHANGED