@stll/ai-catalog 0.1.8 → 0.1.10

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/index.d.ts CHANGED
@@ -284,18 +284,21 @@ declare const MODEL_RATES: {
284
284
  readonly inputPerMTok: 80000;
285
285
  readonly outputPerMTok: 320000;
286
286
  readonly cachedInputPerMTok: 20000;
287
+ readonly cachedWriteInputPerMTok: 80000;
287
288
  };
288
289
  readonly "us.amazon.nova-lite-v1:0": {
289
290
  readonly kind: "flat";
290
291
  readonly inputPerMTok: 6000;
291
292
  readonly outputPerMTok: 24000;
292
293
  readonly cachedInputPerMTok: 1500;
294
+ readonly cachedWriteInputPerMTok: 6000;
293
295
  };
294
296
  readonly "us.amazon.nova-micro-v1:0": {
295
297
  readonly kind: "flat";
296
298
  readonly inputPerMTok: 3500;
297
299
  readonly outputPerMTok: 14000;
298
300
  readonly cachedInputPerMTok: 875;
301
+ readonly cachedWriteInputPerMTok: 3500;
299
302
  };
300
303
  readonly "openai.gpt-oss-120b-1:0": {
301
304
  readonly kind: "flat";
@@ -411,28 +414,10 @@ declare const RETAINED_MODELS_DEV_RATE_ENTRIES: {
411
414
  /**
412
415
  * Exact mappings where Stella uses a provider routing ID while models.dev
413
416
  * publishes pricing under the corresponding base model ID. Generation rejects
414
- * a mapping once models.dev begins publishing the Stella ID directly.
417
+ * a mapping once models.dev begins publishing the Stella ID directly, so the
418
+ * map is empty whenever upstream covers every offered ID.
415
419
  */
416
- declare const MODELS_DEV_RATE_SOURCE_ALIASES: {
417
- readonly "us.amazon.nova-pro-v1:0": {
418
- readonly modelId: "amazon.nova-pro-v1:0";
419
- readonly provider: "amazon-bedrock";
420
- readonly reason: string;
421
- readonly sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html";
422
- };
423
- readonly "us.amazon.nova-lite-v1:0": {
424
- readonly modelId: "amazon.nova-lite-v1:0";
425
- readonly provider: "amazon-bedrock";
426
- readonly reason: string;
427
- readonly sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html";
428
- };
429
- readonly "us.amazon.nova-micro-v1:0": {
430
- readonly modelId: "amazon.nova-micro-v1:0";
431
- readonly provider: "amazon-bedrock";
432
- readonly reason: string;
433
- readonly sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html";
434
- };
435
- };
420
+ declare const MODELS_DEV_RATE_SOURCE_ALIASES: {};
436
421
  //#endregion
437
422
  //#region src/capabilities-overrides.d.ts
438
423
  /**
package/dist/index.js CHANGED
@@ -729,19 +729,22 @@ const MODEL_RATES = {
729
729
  kind: "flat",
730
730
  inputPerMTok: 8e4,
731
731
  outputPerMTok: 32e4,
732
- cachedInputPerMTok: 2e4
732
+ cachedInputPerMTok: 2e4,
733
+ cachedWriteInputPerMTok: 8e4
733
734
  },
734
735
  "us.amazon.nova-lite-v1:0": {
735
736
  kind: "flat",
736
737
  inputPerMTok: 6e3,
737
738
  outputPerMTok: 24e3,
738
- cachedInputPerMTok: 1500
739
+ cachedInputPerMTok: 1500,
740
+ cachedWriteInputPerMTok: 6e3
739
741
  },
740
742
  "us.amazon.nova-micro-v1:0": {
741
743
  kind: "flat",
742
744
  inputPerMTok: 3500,
743
745
  outputPerMTok: 14e3,
744
- cachedInputPerMTok: 875
746
+ cachedInputPerMTok: 875,
747
+ cachedWriteInputPerMTok: 3500
745
748
  },
746
749
  "openai.gpt-oss-120b-1:0": {
747
750
  kind: "flat",
@@ -867,53 +870,13 @@ const RETAINED_MODELS_DEV_RATE_ENTRIES = {
867
870
  /**
868
871
  * Exact mappings where Stella uses a provider routing ID while models.dev
869
872
  * publishes pricing under the corresponding base model ID. Generation rejects
870
- * a mapping once models.dev begins publishing the Stella ID directly.
873
+ * a mapping once models.dev begins publishing the Stella ID directly, so the
874
+ * map is empty whenever upstream covers every offered ID.
871
875
  */
872
- const MODELS_DEV_RATE_SOURCE_ALIASES = defineRateSourceAliases({
873
- "us.amazon.nova-pro-v1:0": {
874
- modelId: "amazon.nova-pro-v1:0",
875
- provider: "amazon-bedrock",
876
- reason: "2026-09-03: stella uses the Bedrock US inference-profile ID; models.dev prices its corresponding base model ID",
877
- sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html"
878
- },
879
- "us.amazon.nova-lite-v1:0": {
880
- modelId: "amazon.nova-lite-v1:0",
881
- provider: "amazon-bedrock",
882
- reason: "2026-09-03: stella uses the Bedrock US inference-profile ID; models.dev prices its corresponding base model ID",
883
- sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html"
884
- },
885
- "us.amazon.nova-micro-v1:0": {
886
- modelId: "amazon.nova-micro-v1:0",
887
- provider: "amazon-bedrock",
888
- reason: "2026-09-03: stella uses the Bedrock US inference-profile ID; models.dev prices its corresponding base model ID",
889
- sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html"
890
- }
891
- });
876
+ const MODELS_DEV_RATE_SOURCE_ALIASES = defineRateSourceAliases({});
892
877
  //#endregion
893
878
  //#region src/capabilities-overrides.ts
894
- const CAPABILITY_OVERRIDES = {
895
- "us.amazon.nova-pro-v1:0": {
896
- documentInput: true,
897
- documentInputReason: "2026-08-20: AWS documents PDF input for Nova Pro through Bedrock Converse",
898
- reasoningEfforts: null,
899
- temperatureSupported: true,
900
- reason: "2026-07-20: absent from the models.dev amazon-bedrock catalog; Bedrock Converse accepts temperature and Nova has no reasoning dial"
901
- },
902
- "us.amazon.nova-lite-v1:0": {
903
- documentInput: true,
904
- documentInputReason: "2026-08-20: AWS documents PDF input for Nova Lite through Bedrock Converse",
905
- reasoningEfforts: null,
906
- temperatureSupported: true,
907
- reason: "2026-07-20: absent from the models.dev amazon-bedrock catalog; Bedrock Converse accepts temperature and Nova has no reasoning dial"
908
- },
909
- "us.amazon.nova-micro-v1:0": {
910
- documentInput: false,
911
- documentInputReason: "2026-08-20: AWS documents Nova Micro as text-only",
912
- reasoningEfforts: null,
913
- temperatureSupported: true,
914
- reason: "2026-07-20: absent from the models.dev amazon-bedrock catalog; Bedrock Converse accepts temperature and Nova has no reasoning dial"
915
- }
916
- };
879
+ const CAPABILITY_OVERRIDES = {};
917
880
  //#endregion
918
881
  //#region src/document-input-overrides.ts
919
882
  /**
@@ -933,6 +896,14 @@ const DOCUMENT_INPUT_OVERRIDES = {
933
896
  "gpt-5.2": {
934
897
  supported: true,
935
898
  reason: "2026-08-20: OpenAI Responses accepts input_file PDF content for this vision-capable model; models.dev currently omits the pdf modality"
899
+ },
900
+ "us.amazon.nova-pro-v1:0": {
901
+ supported: true,
902
+ reason: "2026-09-09: AWS documents PDF input for Nova Pro through Bedrock Converse; models.dev lists text, image and video only"
903
+ },
904
+ "us.amazon.nova-lite-v1:0": {
905
+ supported: true,
906
+ reason: "2026-09-09: AWS documents PDF input for Nova Lite through Bedrock Converse; models.dev lists text, image and video only"
936
907
  }
937
908
  };
938
909
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/ai-catalog",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Provider-neutral AI model roles, capabilities, and curated model metadata.",
5
5
  "keywords": [
6
6
  "ai",
@@ -51,11 +51,11 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@stll/typescript-config": "0.0.0",
54
- "@tanstack/ai-anthropic": "0.17.1",
55
- "@tanstack/ai-bedrock": "0.2.6",
56
- "@tanstack/ai-gemini": "0.25.1",
57
- "@tanstack/ai-mistral": "0.4.1",
58
- "@tanstack/ai-openrouter": "0.18.3",
54
+ "@tanstack/ai-anthropic": "0.18.3",
55
+ "@tanstack/ai-bedrock": "0.3.4",
56
+ "@tanstack/ai-gemini": "0.26.5",
57
+ "@tanstack/ai-mistral": "0.5.3",
58
+ "@tanstack/ai-openrouter": "0.19.6",
59
59
  "bun-types": "1.4.2",
60
60
  "tsdown": "0.22.14"
61
61
  },