@molecule/api-resource-ai-models 1.17.1 → 1.17.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/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-16T23:31:16.001Z
6
+ Generated: 2026-10-22T01:48:38.322Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-resource-ai-models
@@ -107,8 +107,16 @@ interface ModelDefinition {
107
107
  * level names — e.g. Claude Haiku 4.5, Qwen3.7) list scaled-budget LABELS,
108
108
  * e.g. `['4K', '8K', '16K', '32K']`, with {@link effortBudgetTokens} mapping
109
109
  * each label to the actual token budget sent.
110
- * - **Fixed-reasoning models** (DeepSeek executors, Kimi, …) omit this field
111
- * entirely — reasoning depth can't be tuned, so there is nothing to pick.
110
+ * - **Opt-in reasoning models** put the LOCAL `'off'` toggle first, e.g.
111
+ * `['off', 'low', 'high', 'max']` on DeepSeek V4.1 Flash, with
112
+ * `defaultEffortLevel: 'off'`. `'off'` is never sent to the provider: the
113
+ * resolved level produces no thinking block, which turns the vendor's
114
+ * reasoning off. A persisted value the model does not offer resolves to
115
+ * `'off'` rather than degrading upward, so an old setting can never switch
116
+ * reasoning on by accident.
117
+ * - **Fixed-reasoning models** (DeepSeek V4 Pro / V4 Flash, Kimi, …) omit this
118
+ * field entirely — reasoning depth can't be tuned, so there is nothing to
119
+ * pick.
112
120
  *
113
121
  * A persisted value outside the active model's set degrades to the nearest one
114
122
  * (`model-selection.ts` `resolveEffortForModel`). Absent → no effort choice.
@@ -213,15 +221,6 @@ interface ModelDefinition {
213
221
  /**
214
222
  * Regions in which this model is free-tier selectable even though the model
215
223
  * as a whole is not `freeTier` — for models whose regional hosts price very
216
- * differently (e.g. a cheap native host powering the free planner while its
217
- * ~3× re-host stays paid-only). Ignored when `freeTier` is true (all regions
218
- * free); omitted → no free-tier access outside `freeTier`.
219
- */
220
- freeTierRegions?: string[]
221
- /**
222
- * Processing regions this model can run in, as arbitrary region codes; the
223
- * FIRST entry is the model's default region. Omit for `['us']` (the platform
224
- * default — a single-region US model). A single-entry list pins the model to
225
224
  // … truncated — the full declaration is in node_modules/@molecule/api-resource-ai-models/dist/types.d.ts
226
225
  ```
227
226
 
@@ -302,7 +301,9 @@ sent to the provider IS the model's real level (e.g. `'high'` / `'xhigh'` /
302
301
  thinking-budget label like `'16K'` on budget-configurable models). Each model
303
302
  declares its own ordered {@link ModelDefinition.supportedEffortLevels}; a
304
303
  value that isn't in the active model's set degrades to the nearest one (see
305
- `model-selection.ts`). Mirrored by the client-side `EffortLevel` in
304
+ `model-selection.ts`). `'off'` is the one exception: it is a LOCAL toggle
305
+ (send no thinking block) that is never sent to a provider as an effort value.
306
+ Mirrored by the client-side `EffortLevel` in
306
307
  `@molecule/app-ai-models`; keep the two in sync. Re-declared (rather than
307
308
  imported) by the ide-react and molecule-dev consumers per the cross-stack
308
309
  rule, but this catalog is the canonical home.
package/dist/models.d.ts CHANGED
@@ -233,7 +233,19 @@ import type { ModelDefinition } from './types.js';
233
233
  * https://www.12371.gov.cn/web/article/web/content_1451614684968525824.html
234
234
  * (the State Council's 2026 notice; see CHINA_PUBLIC_HOLIDAYS)
235
235
  * - DeepSeek: https://api-docs.deepseek.com/quick_start/pricing +
236
- * /updates/ (verified 2026-09-23 — the announced 2026-09-14 routing of
236
+ * /updates/ (verified 2026-10-20 — the whole rate card RE-READ, unchanged:
237
+ * pro 0.66/1.98/0.022 off-peak ×2 peak, flash 0.15/0.6/0.003, peak windows
238
+ * and the Chinese-public-holidays exclusion verbatim as before. The page is
239
+ * now a client-rendered SPA — its HTML is an app shell and the card text
240
+ * lives in the route's JS chunk, which is where this read came from; the
241
+ * freshness gate reads it there too. New on the card: footnote (1) now says
242
+ * the retired flash ids' requests "are served by the DeepSeek-V4.1-Flash-1017
243
+ * model and billed at the Flash price" — so -1017 is also the weights under
244
+ * the native evergreen `deepseek-flash` id (a weights fact, not a pricing
245
+ * one; the flash card itself did not move). The page also lists standalone
246
+ * Search & Fetch APIs at $0.75 per 1k requests (harness tool-call billing
247
+ * starts 2026-11-01 Beijing) — not a surface this catalog prices.
248
+ * Earlier, verified 2026-09-23: the announced 2026-09-14 routing of
237
249
  * `deepseek-v4-pro` to V4.1 Flash was WITHDRAWN: V4 Pro keeps its card
238
250
  * 0.66/1.98/0.022 off-peak, so its staged `scheduledPricing` was deleted.
239
251
  * The card now also says peak hours exclude Chinese public holidays, which
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoXG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EAi8EnC,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;AA2DjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgYG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EAs9EnC,CAAA"}
package/dist/models.js CHANGED
@@ -14,8 +14,11 @@
14
14
  const WEEKDAYS_UTC = [1, 2, 3, 4, 5];
15
15
  /**
16
16
  * DeepSeek's own sentence defining its peak windows, verbatim (pricing page,
17
- * re-read 2026-09-23). check-model-freshness warns when the page stops saying
18
- * exactly this — then the windows and CHINA_PUBLIC_HOLIDAYS need re-reading.
17
+ * re-read 2026-09-23 and 2026-10-20 — unchanged both times). The page stopped
18
+ * server-rendering around 2026-10-20 (its HTML is a Docusaurus app shell; the
19
+ * text lives in the per-route JS chunk), which check-model-freshness now
20
+ * resolves. It warns when the page stops saying exactly this — then the
21
+ * windows and CHINA_PUBLIC_HOLIDAYS need re-reading.
19
22
  */
20
23
  const DEEPSEEK_PEAK_RULE = {
21
24
  url: 'https://api-docs.deepseek.com/quick_start/pricing',
@@ -282,7 +285,19 @@ const CHINA_PUBLIC_HOLIDAYS = [
282
285
  * https://www.12371.gov.cn/web/article/web/content_1451614684968525824.html
283
286
  * (the State Council's 2026 notice; see CHINA_PUBLIC_HOLIDAYS)
284
287
  * - DeepSeek: https://api-docs.deepseek.com/quick_start/pricing +
285
- * /updates/ (verified 2026-09-23 — the announced 2026-09-14 routing of
288
+ * /updates/ (verified 2026-10-20 — the whole rate card RE-READ, unchanged:
289
+ * pro 0.66/1.98/0.022 off-peak ×2 peak, flash 0.15/0.6/0.003, peak windows
290
+ * and the Chinese-public-holidays exclusion verbatim as before. The page is
291
+ * now a client-rendered SPA — its HTML is an app shell and the card text
292
+ * lives in the route's JS chunk, which is where this read came from; the
293
+ * freshness gate reads it there too. New on the card: footnote (1) now says
294
+ * the retired flash ids' requests "are served by the DeepSeek-V4.1-Flash-1017
295
+ * model and billed at the Flash price" — so -1017 is also the weights under
296
+ * the native evergreen `deepseek-flash` id (a weights fact, not a pricing
297
+ * one; the flash card itself did not move). The page also lists standalone
298
+ * Search & Fetch APIs at $0.75 per 1k requests (harness tool-call billing
299
+ * starts 2026-11-01 Beijing) — not a surface this catalog prices.
300
+ * Earlier, verified 2026-09-23: the announced 2026-09-14 routing of
286
301
  * `deepseek-v4-pro` to V4.1 Flash was WITHDRAWN: V4 Pro keeps its card
287
302
  * 0.66/1.98/0.022 off-peak, so its staged `scheduledPricing` was deleted.
288
303
  * The card now also says peak hours exclude Chinese public holidays, which
@@ -2105,20 +2120,41 @@ export const MODELS = [
2105
2120
  description: 'Newest ultra-cheap & fast flash — vision-capable agentic coding',
2106
2121
  contextWindow: 1_000_000,
2107
2122
  maxOutputTokens: 384_000,
2108
- // Non-thinking (see section note) — same bond treatment as the family:
2109
- // the executor tool loop does not replay reasoning_content.
2110
- supportsThinking: false,
2111
- thinkingBudgetTokens: 0,
2112
- thinkingConfigurable: false,
2123
+ // Thinking is OPT-IN, and OFF is the default. DeepSeek V4 enables thinking
2124
+ // upstream by default, but every platform surface (planner, executor,
2125
+ // free tier, compaction, commit messages) has always run this model
2126
+ // non-thinking, so the catalog keeps that historical behavior: `off` is a
2127
+ // LOCAL toggle, never sent to the vendor as a reasoning_effort value. A
2128
+ // project that asks for `low`/`high`/`max` sends that native effort and the
2129
+ // bond replays every retained assistant reasoning_content through the tool
2130
+ // loop (DeepSeek 400s a thinking-mode request with tools that omits one),
2131
+ // which is what makes thinking mode usable on this surface at all.
2132
+ //
2133
+ // Verified against DeepSeek's own pages (2026-10-22):
2134
+ // https://api-docs.deepseek.com/guides/thinking_mode/ (replay obligation)
2135
+ // and https://api-docs.deepseek.com/api/create-chat-completion/
2136
+ // (thinking.type, reasoning_effort low|high|max; forced tool_choice is
2137
+ // rejected in thinking mode — the bond relaxes it). Both serving hosts also
2138
+ // ENFORCE the local-toggle split live: a dispatch probe that sent the level
2139
+ // verbatim rejected `off` on the native CN endpoint AND on the DeepInfra
2140
+ // re-host, listing low/high/max among their accepted variants. The US
2141
+ // re-host rides the SAME bond (molecule-dev/api/src/bonds/ai-deepseek.ts),
2142
+ // so both regions get this shape unchanged.
2143
+ supportsThinking: true,
2144
+ thinkingBudgetTokens: 8_000,
2145
+ thinkingConfigurable: true,
2146
+ supportedEffortLevels: ['off', 'low', 'high', 'max'],
2147
+ defaultEffortLevel: 'off',
2113
2148
  supportsVision: true,
2114
2149
  supportsPromptCaching: true,
2115
2150
  supportsTools: true,
2116
2151
  // Free-tier default (moved from deepseek-v4-flash 2026-09-10): the
2117
- // cheapest capable executor on the go-forward id — fast, non-thinking,
2118
- // tool-calling, and now vision-capable. Serving cost is ~2× the retired
2119
- // US leg on output-heavy turns (CN 0.6/1.2 output vs DeepInfra's flat
2120
- // 0.18) — tiers.ts's free-turn budget math derives from this entry.
2121
- // Exactly one model in this catalog may carry freeTier (lookup.test.ts).
2152
+ // cheapest capable executor on the go-forward id — fast, tool-calling,
2153
+ // vision-capable, and non-thinking unless a project opts in. Serving cost
2154
+ // is ~2× the retired US leg on output-heavy turns (CN 0.6/1.2 output vs
2155
+ // DeepInfra's flat 0.18) — tiers.ts's free-turn budget math derives from
2156
+ // this entry. Exactly one model in this catalog may carry freeTier
2157
+ // (lookup.test.ts).
2122
2158
  freeTier: true,
2123
2159
  // Off-peak V4.1 Flash card; peak is `peakPricing.multiplier` × these.
2124
2160
  inputPricePerMTok: 0.15,
package/dist/types.d.ts CHANGED
@@ -32,7 +32,9 @@ export type AIProviderID = 'anthropic' | 'openai' | 'google' | 'xai' | 'deepseek
32
32
  * thinking-budget label like `'16K'` on budget-configurable models). Each model
33
33
  * declares its own ordered {@link ModelDefinition.supportedEffortLevels}; a
34
34
  * value that isn't in the active model's set degrades to the nearest one (see
35
- * `model-selection.ts`). Mirrored by the client-side `EffortLevel` in
35
+ * `model-selection.ts`). `'off'` is the one exception: it is a LOCAL toggle
36
+ * (send no thinking block) that is never sent to a provider as an effort value.
37
+ * Mirrored by the client-side `EffortLevel` in
36
38
  * `@molecule/app-ai-models`; keep the two in sync. Re-declared (rather than
37
39
  * imported) by the ide-react and molecule-dev consumers per the cross-stack
38
40
  * rule, but this catalog is the canonical home.
@@ -78,8 +80,16 @@ export interface ModelDefinition {
78
80
  * level names — e.g. Claude Haiku 4.5, Qwen3.7) list scaled-budget LABELS,
79
81
  * e.g. `['4K', '8K', '16K', '32K']`, with {@link effortBudgetTokens} mapping
80
82
  * each label to the actual token budget sent.
81
- * - **Fixed-reasoning models** (DeepSeek executors, Kimi, …) omit this field
82
- * entirely — reasoning depth can't be tuned, so there is nothing to pick.
83
+ * - **Opt-in reasoning models** put the LOCAL `'off'` toggle first, e.g.
84
+ * `['off', 'low', 'high', 'max']` on DeepSeek V4.1 Flash, with
85
+ * `defaultEffortLevel: 'off'`. `'off'` is never sent to the provider: the
86
+ * resolved level produces no thinking block, which turns the vendor's
87
+ * reasoning off. A persisted value the model does not offer resolves to
88
+ * `'off'` rather than degrading upward, so an old setting can never switch
89
+ * reasoning on by accident.
90
+ * - **Fixed-reasoning models** (DeepSeek V4 Pro / V4 Flash, Kimi, …) omit this
91
+ * field entirely — reasoning depth can't be tuned, so there is nothing to
92
+ * pick.
83
93
  *
84
94
  * A persisted value outside the active model's set degrades to the nearest one
85
95
  * (`model-selection.ts` `resolveEffortForModel`). Absent → no effort choice.
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,CAAA;IACD,mDAAmD;IACnD,eAAe,EAAE,MAAM,CAAA;IACvB;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,6DAA6D;IAC7D,IAAI,EAAE,MAAM,CAAA;IACZ,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAA;IACf,8EAA8E;IAC9E,MAAM,EAAE,MAAM,CAAA;IACd,4EAA4E;IAC5E,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,eAAe,EAAE,CAAA;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-resource-ai-models",
3
- "version": "1.17.1",
3
+ "version": "1.17.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",
@@ -32,7 +32,7 @@
32
32
  "@molecule/api-resource": "1.0.5",
33
33
  "@types/node": "26.1.2",
34
34
  "typescript": "6.0.3",
35
- "vitest": "4.1.11"
35
+ "vitest": "4.1.12"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@molecule/api-bond": "^1.0.1",