@molecule/api-resource-ai-models 1.13.0 → 1.14.0

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-09-30T04:56:41.977Z
6
+ Generated: 2026-10-08T07:16:27.706Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-resource-ai-models
@@ -392,6 +392,26 @@ interface ModelDefinition {
392
392
  /** Fast-mode prompt-cache write price per million tokens in USD. */
393
393
  cacheWritePricePerMTok: number
394
394
  }
395
+ /**
396
+ * Long-context pricing — models priced BY PROMPT LENGTH (Claude Haiku 5.5: 5× above 100K prompt tokens). A request
397
+ * whose prompt (fresh input + cache read + cache write tokens) EXCEEDS `aboveInputTokens` bills ALL of its tokens at
398
+ * these rates, not just the excess. Resolved by `modelRegionRates(model, region, at, promptTokens)`; callers must pass
399
+ * ONE provider call's prompt size, never a multi-call sum. All four rates are required for the same never-under-meter
400
+ * reasons as the base rates. A model with a staged `scheduledPricing` change or a region override restates this band
401
+ * itself when the long-context rates move; today the band applies on top of the base rates only.
402
+ */
403
+ longContextPricing?: {
404
+ /** A prompt larger than this many tokens bills at the long-context rates. */
405
+ aboveInputTokens: number
406
+ /** Long-context input price per million uncached tokens in USD. */
407
+ inputPricePerMTok: number
408
+ /** Long-context output price per million tokens in USD. */
409
+ outputPricePerMTok: number
410
+ /** Long-context prompt-cache read price per million tokens in USD. */
411
+ cacheReadPricePerMTok: number
412
+ /** Long-context prompt-cache write price per million tokens in USD. */
413
+ cacheWritePricePerMTok: number
414
+ }
395
415
  /** Reliable knowledge cutoff date (YYYY-MM-DD). */
396
416
  knowledgeCutoff: string
397
417
  /**
@@ -683,7 +703,7 @@ function list(_req: MoleculeRequest, res: MoleculeResponse): Promise<void>
683
703
  - `_req` — The request object (unused).
684
704
  - `res` — The response object.
685
705
 
686
- #### `modelRegionRates(modelDef, requested, at)`
706
+ #### `modelRegionRates(modelDef, requested, at, promptTokens)`
687
707
 
688
708
  The token rates for a model in a given processing region: the model's
689
709
  {@link ModelDefinition.regionPricing} override for the region when one
@@ -699,13 +719,23 @@ keep billing a superseded rate by omitting it — metering should still pass
699
719
  each request's own timestamp, the same way it must for
700
720
  {@link priceMultiplierAt}.
701
721
 
722
+ A model priced by prompt length ({@link ModelDefinition.longContextPricing}) bills a request whose
723
+ `promptTokens` EXCEED the threshold at the long-context rates (all of its tokens, not the excess). Pass ONE
724
+ provider call's prompt size (fresh input + cache read + cache write); omit it and the base rates apply.
725
+
702
726
  ```typescript
703
- function modelRegionRates(modelDef: ModelDefinition, requested?: string, at?: Date): ModelTokenRates
727
+ function modelRegionRates(
728
+ modelDef: ModelDefinition,
729
+ requested?: string,
730
+ at?: Date,
731
+ promptTokens?: number,
732
+ ): ModelTokenRates
704
733
  ```
705
734
 
706
735
  - `modelDef` — The model definition.
707
736
  - `requested` — The user's per-model region choice, if any.
708
737
  - `at` — The instant to price at (defaults to now).
738
+ - `promptTokens` — The request's prompt size in tokens, when the caller knows it.
709
739
 
710
740
  **Returns:** The region-effective rates.
711
741
 
@@ -897,6 +927,27 @@ Sources (verified 2026-07-28; OpenAI re-verified 2026-07-31 after the
897
927
  pages: non-default temperature 400, tool_choice any/tool 400,
898
928
  thinking "disabled" replaced by "between_tools" — Synthase sends none of
899
929
  those. Every other Anthropic price on the pricing page is unchanged.)
930
+ (re-verified 2026-10-08 on /docs/en/about-claude/pricing: sonnet-5-5 cache
931
+ hits are $0.10 — footnote 2 prices Opus 5.5 AND Sonnet 5.5 cache hits at
932
+ 0.05× input — not the $0.20 recorded at its add; catalog corrected. Every
933
+ other cataloged Anthropic price on that page is unchanged.)
934
+ (verified 2026-10-08 — ADDED claude-haiku-5-5, released 2026-10-07 and
935
+ listed "Active (latest)" on /docs/en/models/haiku-5-5/overview, which
936
+ moves claude-haiku-4-5 to "Legacy models (still available)" → superseded.
937
+ Model page + pricing page: $0.10/$0.50 per MTok for prompts up to 100K
938
+ tokens — the first Anthropic model priced BY PROMPT LENGTH (over 100K:
939
+ $0.50/$2.50, cache read $0.05, 5m write $0.625; not modeled, same as the
940
+ Gemini/Grok >200K and GPT-6 >272K bands) — 5m cache write $0.125, cache
941
+ hits $0.01 (standard 0.1×), web search $10/1k. 1M ctx / 128K out, text +
942
+ image input, reliable knowledge cutoff Jun 2026. Effort page: all five
943
+ levels, default MEDIUM. Model page "Good to know": non-default
944
+ temperature/top_p/top_k → 400 (rejectsTemperature). Unlike
945
+ opus-5-5/sonnet-5.5, forced tool_choice any/tool still works — the
946
+ pricing page's tool-token table carries an any/tool count for it (406)
947
+ where those two have none — and thinking {type:"disabled"} is accepted at
948
+ high-or-below effort; Synthase sends neither disabled nor a temperature.
949
+ Adaptive thinking only, budget_tokens is the legacy path. Every other
950
+ Anthropic price on the pricing page is unchanged.)
900
951
  - OpenAI: https://developers.openai.com/api/docs/pricing (GPT-5.6 family GA
901
952
  2026-07-09; REPRICED 2026-07-30: -luna cut 80% to $0.20/$1.20, -terra cut
902
953
  20% to $2/$12, -sol unchanged $5/$30; cache read 0.1× input; gpt-5.5/
package/dist/lookup.d.ts CHANGED
@@ -170,10 +170,15 @@ export interface ModelTokenRates {
170
170
  * each request's own timestamp, the same way it must for
171
171
  * {@link priceMultiplierAt}.
172
172
  *
173
+ * A model priced by prompt length ({@link ModelDefinition.longContextPricing}) bills a request whose
174
+ * `promptTokens` EXCEED the threshold at the long-context rates (all of its tokens, not the excess). Pass ONE
175
+ * provider call's prompt size (fresh input + cache read + cache write); omit it and the base rates apply.
176
+ *
173
177
  * @param modelDef - The model definition.
174
178
  * @param requested - The user's per-model region choice, if any.
175
179
  * @param at - The instant to price at (defaults to now).
180
+ * @param promptTokens - The request's prompt size in tokens, when the caller knows it.
176
181
  * @returns The region-effective rates.
177
182
  */
178
- export declare function modelRegionRates(modelDef: ModelDefinition, requested?: string, at?: Date): ModelTokenRates;
183
+ export declare function modelRegionRates(modelDef: ModelDefinition, requested?: string, at?: Date, promptTokens?: number): ModelTokenRates;
179
184
  //# sourceMappingURL=lookup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../src/lookup.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAE/D;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,cAAc,CAAC,GACxD,OAAO,CAET;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASvE;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,MAAM,CAEzC,CAAA;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAEhE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,YAAY,GAAG,SAAS,eAAe,EAAE,CAEtF;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,kBAAkB,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,SAAS,YAAY,EAAE,GACtE,SAAS,eAAe,EAAE,CAI5B;AAoBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,EAAE,GAAE,IAAiB,GACpB,eAAe,CAgBjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,eAAe,EACzB,EAAE,GAAE,IAAiB,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B,EAAE,MAAM,CAAA;IAC7B,0DAA0D;IAC1D,sBAAsB,EAAE,MAAM,CAAA;CAC/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,eAAe,EACzB,SAAS,CAAC,EAAE,MAAM,EAClB,EAAE,GAAE,IAAiB,EACrB,YAAY,CAAC,EAAE,MAAM,GACpB,eAAe,CAqBjB"}
package/dist/lookup.js CHANGED
@@ -265,15 +265,29 @@ export function effectiveModelRegion(modelDef, requested) {
265
265
  * each request's own timestamp, the same way it must for
266
266
  * {@link priceMultiplierAt}.
267
267
  *
268
+ * A model priced by prompt length ({@link ModelDefinition.longContextPricing}) bills a request whose
269
+ * `promptTokens` EXCEED the threshold at the long-context rates (all of its tokens, not the excess). Pass ONE
270
+ * provider call's prompt size (fresh input + cache read + cache write); omit it and the base rates apply.
271
+ *
268
272
  * @param modelDef - The model definition.
269
273
  * @param requested - The user's per-model region choice, if any.
270
274
  * @param at - The instant to price at (defaults to now).
275
+ * @param promptTokens - The request's prompt size in tokens, when the caller knows it.
271
276
  * @returns The region-effective rates.
272
277
  */
273
- export function modelRegionRates(modelDef, requested, at = new Date()) {
278
+ export function modelRegionRates(modelDef, requested, at = new Date(), promptTokens) {
274
279
  const region = effectiveModelRegion(modelDef, requested);
275
280
  const override = modelDef.regionPricing?.[region];
276
281
  if (!override) {
282
+ const longBand = modelDef.longContextPricing;
283
+ if (longBand && typeof promptTokens === 'number' && promptTokens > longBand.aboveInputTokens) {
284
+ return {
285
+ inputPricePerMTok: longBand.inputPricePerMTok,
286
+ outputPricePerMTok: longBand.outputPricePerMTok,
287
+ cacheReadPricePerMTok: longBand.cacheReadPricePerMTok,
288
+ cacheWritePricePerMTok: longBand.cacheWritePricePerMTok,
289
+ };
290
+ }
277
291
  return effectiveBaseRates(modelDef, at);
278
292
  }
279
293
  return {
package/dist/models.d.ts CHANGED
@@ -113,6 +113,27 @@ import type { ModelDefinition } from './types.js';
113
113
  * pages: non-default temperature 400, tool_choice any/tool 400,
114
114
  * thinking "disabled" replaced by "between_tools" — Synthase sends none of
115
115
  * those. Every other Anthropic price on the pricing page is unchanged.)
116
+ * (re-verified 2026-10-08 on /docs/en/about-claude/pricing: sonnet-5-5 cache
117
+ * hits are $0.10 — footnote 2 prices Opus 5.5 AND Sonnet 5.5 cache hits at
118
+ * 0.05× input — not the $0.20 recorded at its add; catalog corrected. Every
119
+ * other cataloged Anthropic price on that page is unchanged.)
120
+ * (verified 2026-10-08 — ADDED claude-haiku-5-5, released 2026-10-07 and
121
+ * listed "Active (latest)" on /docs/en/models/haiku-5-5/overview, which
122
+ * moves claude-haiku-4-5 to "Legacy models (still available)" → superseded.
123
+ * Model page + pricing page: $0.10/$0.50 per MTok for prompts up to 100K
124
+ * tokens — the first Anthropic model priced BY PROMPT LENGTH (over 100K:
125
+ * $0.50/$2.50, cache read $0.05, 5m write $0.625; not modeled, same as the
126
+ * Gemini/Grok >200K and GPT-6 >272K bands) — 5m cache write $0.125, cache
127
+ * hits $0.01 (standard 0.1×), web search $10/1k. 1M ctx / 128K out, text +
128
+ * image input, reliable knowledge cutoff Jun 2026. Effort page: all five
129
+ * levels, default MEDIUM. Model page "Good to know": non-default
130
+ * temperature/top_p/top_k → 400 (rejectsTemperature). Unlike
131
+ * opus-5-5/sonnet-5.5, forced tool_choice any/tool still works — the
132
+ * pricing page's tool-token table carries an any/tool count for it (406)
133
+ * where those two have none — and thinking {type:"disabled"} is accepted at
134
+ * high-or-below effort; Synthase sends neither disabled nor a temperature.
135
+ * Adaptive thinking only, budget_tokens is the legacy path. Every other
136
+ * Anthropic price on the pricing page is unchanged.)
116
137
  * - OpenAI: https://developers.openai.com/api/docs/pricing (GPT-5.6 family GA
117
138
  * 2026-07-09; REPRICED 2026-07-30: -luna cut 80% to $0.20/$1.20, -terra cut
118
139
  * 20% to $2/$12, -sol unchanged $5/$30; cache read 0.1× input; gpt-5.5/
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsSG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EAgxEnC,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;AAwDjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2TG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EA80EnC,CAAA"}
package/dist/models.js CHANGED
@@ -162,6 +162,27 @@ const CHINA_PUBLIC_HOLIDAYS = [
162
162
  * pages: non-default temperature 400, tool_choice any/tool 400,
163
163
  * thinking "disabled" replaced by "between_tools" — Synthase sends none of
164
164
  * those. Every other Anthropic price on the pricing page is unchanged.)
165
+ * (re-verified 2026-10-08 on /docs/en/about-claude/pricing: sonnet-5-5 cache
166
+ * hits are $0.10 — footnote 2 prices Opus 5.5 AND Sonnet 5.5 cache hits at
167
+ * 0.05× input — not the $0.20 recorded at its add; catalog corrected. Every
168
+ * other cataloged Anthropic price on that page is unchanged.)
169
+ * (verified 2026-10-08 — ADDED claude-haiku-5-5, released 2026-10-07 and
170
+ * listed "Active (latest)" on /docs/en/models/haiku-5-5/overview, which
171
+ * moves claude-haiku-4-5 to "Legacy models (still available)" → superseded.
172
+ * Model page + pricing page: $0.10/$0.50 per MTok for prompts up to 100K
173
+ * tokens — the first Anthropic model priced BY PROMPT LENGTH (over 100K:
174
+ * $0.50/$2.50, cache read $0.05, 5m write $0.625; not modeled, same as the
175
+ * Gemini/Grok >200K and GPT-6 >272K bands) — 5m cache write $0.125, cache
176
+ * hits $0.01 (standard 0.1×), web search $10/1k. 1M ctx / 128K out, text +
177
+ * image input, reliable knowledge cutoff Jun 2026. Effort page: all five
178
+ * levels, default MEDIUM. Model page "Good to know": non-default
179
+ * temperature/top_p/top_k → 400 (rejectsTemperature). Unlike
180
+ * opus-5-5/sonnet-5.5, forced tool_choice any/tool still works — the
181
+ * pricing page's tool-token table carries an any/tool count for it (406)
182
+ * where those two have none — and thinking {type:"disabled"} is accepted at
183
+ * high-or-below effort; Synthase sends neither disabled nor a temperature.
184
+ * Adaptive thinking only, budget_tokens is the legacy path. Every other
185
+ * Anthropic price on the pricing page is unchanged.)
165
186
  * - OpenAI: https://developers.openai.com/api/docs/pricing (GPT-5.6 family GA
166
187
  * 2026-07-09; REPRICED 2026-07-30: -luna cut 80% to $0.20/$1.20, -terra cut
167
188
  * 20% to $2/$12, -sol unchanged $5/$30; cache read 0.1× input; gpt-5.5/
@@ -631,9 +652,10 @@ export const MODELS = [
631
652
  webFetchToolType: 'web_fetch_20260209',
632
653
  inputPricePerMTok: 2,
633
654
  outputPricePerMTok: 10,
634
- // Standard Anthropic ratios (pricing page: $0.20 cache hits, $2.50 5m
635
- // cache write, verified 2026-09-29).
636
- cacheReadPricePerMTok: 0.2,
655
+ // Cache hits are 0.05× input = $0.10 (pricing page footnote 2, shared
656
+ // with Opus 5.5; re-verified 2026-10-08 — the 2026-09-29 add carried the
657
+ // standard 0.1× $0.20); 5m cache write is the usual 1.25× $2.50.
658
+ cacheReadPricePerMTok: 0.1,
637
659
  cacheWritePricePerMTok: 2.5,
638
660
  // Reliable knowledge cutoff Jun 2026 (model page "Specifications").
639
661
  knowledgeCutoff: '2026-06-01',
@@ -799,6 +821,61 @@ export const MODELS = [
799
821
  deprecatedAt: '2026-07-07',
800
822
  supersededBy: 'claude-sonnet-5-5',
801
823
  },
824
+ {
825
+ id: 'claude-haiku-5-5',
826
+ provider: 'anthropic',
827
+ // Model page "Good to know": omit temperature/top_p/top_k — a non-default
828
+ // value for ANY of them returns a 400 (verified 2026-10-08); callers omit
829
+ // it (request-shape.ts temperatureParam).
830
+ rejectsTemperature: true,
831
+ label: 'Claude Haiku 5.5',
832
+ description: 'Fastest Anthropic — high-volume classification, extraction & subagents',
833
+ contextWindow: 1_000_000,
834
+ maxOutputTokens: 128_000,
835
+ supportsThinking: true,
836
+ thinkingBudgetTokens: 16_000,
837
+ thinkingConfigurable: true,
838
+ supportedEffortLevels: ['low', 'medium', 'high', 'xhigh', 'max'],
839
+ defaultEffortLevel: 'medium',
840
+ // Adaptive thinking only — budget_tokens is the legacy Haiku-4.5 path;
841
+ // effort is the depth control, all five levels with API default MEDIUM
842
+ // (effort page, verified 2026-10-08). Two WAYS this differs from
843
+ // opus-5-5 / sonnet-5-5, both per first-party pages: thinking
844
+ // {type:"disabled"} is ACCEPTED here (at high-or-below effort) — the bond
845
+ // never sends it — and forced tool_choice any/tool still WORKS (the
846
+ // pricing page's tool-token table lists an any/tool count for Haiku 5.5,
847
+ // 406 tokens, where opus-5-5 / sonnet-5-5 have none), so NO
848
+ // rejectsForcedToolChoice pin — discovery/selection force their tool call.
849
+ supportsVision: true,
850
+ supportsPromptCaching: true,
851
+ supportsTools: true,
852
+ webSearchToolType: 'web_search_20260209',
853
+ webSearchPricePer1k: 10,
854
+ // Same server-tool versions as the rest of the 4.6+ Anthropic fleet —
855
+ // dynamic-filtering web search is "Claude 4.6 and later models" (web
856
+ // search docs, verified 2026-10-08; Haiku 4.5 predates 4.6, hence its
857
+ // basic variant). Not currently sent by Synthase beyond webSearchToolType.
858
+ codeExecutionToolType: 'code_execution_20260521',
859
+ webFetchToolType: 'web_fetch_20260209',
860
+ inputPricePerMTok: 0.1,
861
+ outputPricePerMTok: 0.5,
862
+ // Standard 0.1× cache read = $0.01; 5m cache write the usual 1.25× =
863
+ // $0.125 (pricing page, verified 2026-10-08). The FIRST Anthropic model
864
+ // priced BY PROMPT LENGTH: prompts over 100K tokens pay 5× ($0.50/$2.50,
865
+ // cache $0.05/$0.625) for the WHOLE request — modeled by longContextPricing,
866
+ // which metering applies from the call's prompt size.
867
+ cacheReadPricePerMTok: 0.01,
868
+ cacheWritePricePerMTok: 0.125,
869
+ longContextPricing: {
870
+ aboveInputTokens: 100_000,
871
+ inputPricePerMTok: 0.5,
872
+ outputPricePerMTok: 2.5,
873
+ cacheReadPricePerMTok: 0.05,
874
+ cacheWritePricePerMTok: 0.625,
875
+ },
876
+ // Reliable + training-data cutoff Jun 2026 (model page "Specifications").
877
+ knowledgeCutoff: '2026-06-01',
878
+ },
802
879
  {
803
880
  id: 'claude-haiku-4-5-20251001',
804
881
  provider: 'anthropic',
@@ -827,6 +904,12 @@ export const MODELS = [
827
904
  cacheReadPricePerMTok: 0.1,
828
905
  cacheWritePricePerMTok: 1.25,
829
906
  knowledgeCutoff: '2025-02-01',
907
+ // Superseded by claude-haiku-5-5 (released 2026-10-07, same Haiku tier at
908
+ // ~1/10 the price with 5× the context); the models overview now lists
909
+ // haiku-4-5 under "Legacy models (still available)". Still served and
910
+ // priceable, just not OFFERED.
911
+ deprecatedAt: '2026-10-07',
912
+ supersededBy: 'claude-haiku-5-5',
830
913
  },
831
914
  // ---------------------------------------------------------------------------
832
915
  // OpenAI
package/dist/types.d.ts CHANGED
@@ -375,6 +375,26 @@ export interface ModelDefinition {
375
375
  /** Fast-mode prompt-cache write price per million tokens in USD. */
376
376
  cacheWritePricePerMTok: number;
377
377
  };
378
+ /**
379
+ * Long-context pricing — models priced BY PROMPT LENGTH (Claude Haiku 5.5: 5× above 100K prompt tokens). A request
380
+ * whose prompt (fresh input + cache read + cache write tokens) EXCEEDS `aboveInputTokens` bills ALL of its tokens at
381
+ * these rates, not just the excess. Resolved by `modelRegionRates(model, region, at, promptTokens)`; callers must pass
382
+ * ONE provider call's prompt size, never a multi-call sum. All four rates are required for the same never-under-meter
383
+ * reasons as the base rates. A model with a staged `scheduledPricing` change or a region override restates this band
384
+ * itself when the long-context rates move; today the band applies on top of the base rates only.
385
+ */
386
+ longContextPricing?: {
387
+ /** A prompt larger than this many tokens bills at the long-context rates. */
388
+ aboveInputTokens: number;
389
+ /** Long-context input price per million uncached tokens in USD. */
390
+ inputPricePerMTok: number;
391
+ /** Long-context output price per million tokens in USD. */
392
+ outputPricePerMTok: number;
393
+ /** Long-context prompt-cache read price per million tokens in USD. */
394
+ cacheReadPricePerMTok: number;
395
+ /** Long-context prompt-cache write price per million tokens in USD. */
396
+ cacheWritePricePerMTok: number;
397
+ };
378
398
  /** Reliable knowledge cutoff date (YYYY-MM-DD). */
379
399
  knowledgeCutoff: string;
380
400
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GACpB,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,UAAU,GACV,MAAM,GACN,UAAU,GACV,SAAS,GACT,SAAS,GACT,OAAO;AACT;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;QACZ,gEAAgE;QAChE,iBAAiB,EAAE,MAAM,CAAA;QACzB,wDAAwD;QACxD,kBAAkB,EAAE,MAAM,CAAA;QAC1B,mEAAmE;QACnE,qBAAqB,EAAE,MAAM,CAAA;QAC7B,oEAAoE;QACpE,sBAAsB,EAAE,MAAM,CAAA;KAC/B,CAAA;IACD;;;;;;;OAOG;IACH,kBAAkB,CAAC,EAAE;QACnB,6EAA6E;QAC7E,gBAAgB,EAAE,MAAM,CAAA;QACxB,mEAAmE;QACnE,iBAAiB,EAAE,MAAM,CAAA;QACzB,2DAA2D;QAC3D,kBAAkB,EAAE,MAAM,CAAA;QAC1B,sEAAsE;QACtE,qBAAqB,EAAE,MAAM,CAAA;QAC7B,uEAAuE;QACvE,sBAAsB,EAAE,MAAM,CAAA;KAC/B,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.13.0",
3
+ "version": "1.14.0",
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",