@stll/ai-catalog 0.1.7 → 0.1.9
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 +41 -27
- package/dist/index.js +60 -44
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -92,6 +92,22 @@ declare const MODEL_RATES: {
|
|
|
92
92
|
readonly outputPerMTok: 150000;
|
|
93
93
|
readonly cachedInputPerMTok: 2500;
|
|
94
94
|
};
|
|
95
|
+
readonly "gpt-6-astra": {
|
|
96
|
+
readonly kind: "input-token-tiered";
|
|
97
|
+
readonly inputTokenThreshold: 272000;
|
|
98
|
+
readonly standard: {
|
|
99
|
+
readonly inputPerMTok: 1000000;
|
|
100
|
+
readonly outputPerMTok: 5000000;
|
|
101
|
+
readonly cachedInputPerMTok: 100000;
|
|
102
|
+
readonly cachedWriteInputPerMTok: 1250000;
|
|
103
|
+
};
|
|
104
|
+
readonly aboveThreshold: {
|
|
105
|
+
readonly inputPerMTok: 2000000;
|
|
106
|
+
readonly outputPerMTok: 7500000;
|
|
107
|
+
readonly cachedInputPerMTok: 200000;
|
|
108
|
+
readonly cachedWriteInputPerMTok: 2500000;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
95
111
|
readonly "gpt-5.6": {
|
|
96
112
|
readonly kind: "input-token-tiered";
|
|
97
113
|
readonly inputTokenThreshold: 272000;
|
|
@@ -395,28 +411,10 @@ declare const RETAINED_MODELS_DEV_RATE_ENTRIES: {
|
|
|
395
411
|
/**
|
|
396
412
|
* Exact mappings where Stella uses a provider routing ID while models.dev
|
|
397
413
|
* publishes pricing under the corresponding base model ID. Generation rejects
|
|
398
|
-
* a mapping once models.dev begins publishing the Stella ID directly
|
|
414
|
+
* a mapping once models.dev begins publishing the Stella ID directly, so the
|
|
415
|
+
* map is empty whenever upstream covers every offered ID.
|
|
399
416
|
*/
|
|
400
|
-
declare const MODELS_DEV_RATE_SOURCE_ALIASES: {
|
|
401
|
-
readonly "us.amazon.nova-pro-v1:0": {
|
|
402
|
-
readonly modelId: "amazon.nova-pro-v1:0";
|
|
403
|
-
readonly provider: "amazon-bedrock";
|
|
404
|
-
readonly reason: string;
|
|
405
|
-
readonly sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html";
|
|
406
|
-
};
|
|
407
|
-
readonly "us.amazon.nova-lite-v1:0": {
|
|
408
|
-
readonly modelId: "amazon.nova-lite-v1:0";
|
|
409
|
-
readonly provider: "amazon-bedrock";
|
|
410
|
-
readonly reason: string;
|
|
411
|
-
readonly sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html";
|
|
412
|
-
};
|
|
413
|
-
readonly "us.amazon.nova-micro-v1:0": {
|
|
414
|
-
readonly modelId: "amazon.nova-micro-v1:0";
|
|
415
|
-
readonly provider: "amazon-bedrock";
|
|
416
|
-
readonly reason: string;
|
|
417
|
-
readonly sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html";
|
|
418
|
-
};
|
|
419
|
-
};
|
|
417
|
+
declare const MODELS_DEV_RATE_SOURCE_ALIASES: {};
|
|
420
418
|
//#endregion
|
|
421
419
|
//#region src/capabilities-overrides.d.ts
|
|
422
420
|
/**
|
|
@@ -466,6 +464,7 @@ declare const MODEL_REASONING_EFFORTS: {
|
|
|
466
464
|
readonly "gemini-3.1-pro-preview": readonly ["low", "medium", "high"];
|
|
467
465
|
readonly "gemini-3.5-flash": readonly ["minimal", "low", "medium", "high"];
|
|
468
466
|
readonly "gemini-3.1-flash-lite": readonly ["minimal", "low", "medium", "high"];
|
|
467
|
+
readonly "openai/gpt-6-astra": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
469
468
|
readonly "openai/gpt-5.6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
470
469
|
readonly "openai/gpt-5.6-terra": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
471
470
|
readonly "google/gemini-3.8-flash": readonly ["low", "medium", "high"];
|
|
@@ -481,6 +480,7 @@ declare const MODEL_REASONING_EFFORTS: {
|
|
|
481
480
|
readonly "anthropic/claude-sonnet-4.6": readonly ["none", "low", "medium", "high", "max"];
|
|
482
481
|
readonly "openai/gpt-5.5": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
483
482
|
readonly "openai/gpt-5.4-mini": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
483
|
+
readonly "gpt-6-astra": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
484
484
|
readonly "gpt-5.6": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
485
485
|
readonly "gpt-5.6-terra": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
486
486
|
readonly "gpt-5.6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
@@ -526,6 +526,7 @@ declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
526
526
|
readonly "gemini-3.1-pro-preview": null;
|
|
527
527
|
readonly "gemini-3.5-flash": null;
|
|
528
528
|
readonly "gemini-3.1-flash-lite": null;
|
|
529
|
+
readonly "openai/gpt-6-astra": "medium";
|
|
529
530
|
readonly "openai/gpt-5.6-luna": "medium";
|
|
530
531
|
readonly "openai/gpt-5.6-terra": "medium";
|
|
531
532
|
readonly "google/gemini-3.8-flash": "medium";
|
|
@@ -541,6 +542,7 @@ declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
541
542
|
readonly "anthropic/claude-sonnet-4.6": "medium";
|
|
542
543
|
readonly "openai/gpt-5.5": "medium";
|
|
543
544
|
readonly "openai/gpt-5.4-mini": "medium";
|
|
545
|
+
readonly "gpt-6-astra": null;
|
|
544
546
|
readonly "gpt-5.6": null;
|
|
545
547
|
readonly "gpt-5.6-terra": null;
|
|
546
548
|
readonly "gpt-5.6-luna": null;
|
|
@@ -586,6 +588,7 @@ declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
586
588
|
readonly "gemini-3.1-pro-preview": "emit";
|
|
587
589
|
readonly "gemini-3.5-flash": "emit";
|
|
588
590
|
readonly "gemini-3.1-flash-lite": "emit";
|
|
591
|
+
readonly "openai/gpt-6-astra": "omit";
|
|
589
592
|
readonly "openai/gpt-5.6-luna": "omit";
|
|
590
593
|
readonly "openai/gpt-5.6-terra": "omit";
|
|
591
594
|
readonly "google/gemini-3.8-flash": "omit";
|
|
@@ -601,6 +604,7 @@ declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
601
604
|
readonly "anthropic/claude-sonnet-4.6": "emit";
|
|
602
605
|
readonly "openai/gpt-5.5": "omit";
|
|
603
606
|
readonly "openai/gpt-5.4-mini": "omit";
|
|
607
|
+
readonly "gpt-6-astra": "omit";
|
|
604
608
|
readonly "gpt-5.6": "omit";
|
|
605
609
|
readonly "gpt-5.6-terra": "omit";
|
|
606
610
|
readonly "gpt-5.6-luna": "omit";
|
|
@@ -797,8 +801,8 @@ declare const DEFAULT_MODELS: {
|
|
|
797
801
|
declare const BYOK_MODEL_OPTIONS: {
|
|
798
802
|
readonly google: readonly ["gemini-3.8-flash", "gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.5-flash", "gemini-3.1-flash-lite"];
|
|
799
803
|
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
800
|
-
readonly openai: readonly ["gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
801
|
-
readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
804
|
+
readonly openai: readonly ["gpt-6-astra", "gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
805
|
+
readonly openrouter: readonly ["openai/gpt-6-astra", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
802
806
|
readonly bedrock: readonly ["us.anthropic.claude-sonnet-4-5-20250929-v1:0", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0", "us.amazon.nova-micro-v1:0", "openai.gpt-oss-120b-1:0", "openai.gpt-oss-20b-1:0", "us.deepseek.r1-v1:0"];
|
|
803
807
|
readonly mistral: readonly ["mistral-large-latest", "mistral-medium-latest", "mistral-small-latest", "magistral-medium-latest", "magistral-small", "pixtral-large-latest"];
|
|
804
808
|
};
|
|
@@ -882,6 +886,10 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
882
886
|
readonly displayName: "Claude Haiku 4.5";
|
|
883
887
|
readonly iconProvider: "anthropic";
|
|
884
888
|
};
|
|
889
|
+
readonly "gpt-6-astra": {
|
|
890
|
+
readonly displayName: "GPT-6 Astra";
|
|
891
|
+
readonly iconProvider: "openai";
|
|
892
|
+
};
|
|
885
893
|
readonly "gpt-5.6": {
|
|
886
894
|
readonly displayName: "GPT-5.6 Sol";
|
|
887
895
|
readonly iconProvider: "openai";
|
|
@@ -914,6 +922,10 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
914
922
|
readonly displayName: "GPT-5.2";
|
|
915
923
|
readonly iconProvider: "openai";
|
|
916
924
|
};
|
|
925
|
+
readonly "openai/gpt-6-astra": {
|
|
926
|
+
readonly displayName: "GPT-6 Astra";
|
|
927
|
+
readonly iconProvider: "openai";
|
|
928
|
+
};
|
|
917
929
|
readonly "openai/gpt-5.6-luna": {
|
|
918
930
|
readonly displayName: "GPT-5.6 Luna";
|
|
919
931
|
readonly iconProvider: "openai";
|
|
@@ -1039,8 +1051,8 @@ declare const getModelDisplayMetadata: (modelId: string) => ModelDisplayMetadata
|
|
|
1039
1051
|
*/
|
|
1040
1052
|
declare const BYOK_DOCUMENT_INPUT_MODEL_OPTIONS: {
|
|
1041
1053
|
readonly google: readonly ["gemini-3.8-flash", "gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.5-flash", "gemini-3.1-flash-lite"];
|
|
1042
|
-
readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
1043
|
-
readonly openai: readonly ["gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
1054
|
+
readonly openrouter: readonly ["openai/gpt-6-astra", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
1055
|
+
readonly openai: readonly ["gpt-6-astra", "gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
1044
1056
|
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
1045
1057
|
readonly bedrock: readonly ["us.anthropic.claude-sonnet-4-5-20250929-v1:0", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0"];
|
|
1046
1058
|
readonly mistral: readonly [];
|
|
@@ -1070,8 +1082,8 @@ declare const isBYOKModelRoleSupported: ({ provider, modelId, role }: {
|
|
|
1070
1082
|
declare const CHAT_PDF_ATTACHMENT_MODEL_OPTIONS: {
|
|
1071
1083
|
readonly mistral: readonly ["mistral-medium-latest", "mistral-small-latest", "pixtral-large-latest"];
|
|
1072
1084
|
readonly google: readonly ["gemini-3.8-flash", "gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.5-flash", "gemini-3.1-flash-lite"];
|
|
1073
|
-
readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
1074
|
-
readonly openai: readonly ["gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
1085
|
+
readonly openrouter: readonly ["openai/gpt-6-astra", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
1086
|
+
readonly openai: readonly ["gpt-6-astra", "gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
1075
1087
|
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
1076
1088
|
readonly bedrock: readonly ["us.anthropic.claude-sonnet-4-5-20250929-v1:0", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0"];
|
|
1077
1089
|
};
|
|
@@ -1224,6 +1236,7 @@ declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1224
1236
|
readonly "gpt-5.4-mini": 400000;
|
|
1225
1237
|
readonly "gpt-5.4": 400000;
|
|
1226
1238
|
readonly "gpt-5.5": 400000;
|
|
1239
|
+
readonly "gpt-6-astra": 922000;
|
|
1227
1240
|
readonly "gpt-5.6": 922000;
|
|
1228
1241
|
readonly "gpt-5.6-luna": 922000;
|
|
1229
1242
|
readonly "gpt-5.6-terra": 922000;
|
|
@@ -1255,6 +1268,7 @@ declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1255
1268
|
readonly "anthropic/claude-opus-5": 1000000;
|
|
1256
1269
|
readonly "anthropic/claude-opus-4.8": 200000;
|
|
1257
1270
|
readonly "anthropic/claude-sonnet-4.6": 200000;
|
|
1271
|
+
readonly "openai/gpt-6-astra": 922000;
|
|
1258
1272
|
readonly "openai/gpt-5.6-luna": 922000;
|
|
1259
1273
|
readonly "openai/gpt-5.6-terra": 922000;
|
|
1260
1274
|
readonly "openai/gpt-5.5": 400000;
|
package/dist/index.js
CHANGED
|
@@ -15,6 +15,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
15
15
|
"gemini-3.1-flash-lite"
|
|
16
16
|
],
|
|
17
17
|
openrouter: [
|
|
18
|
+
"openai/gpt-6-astra",
|
|
18
19
|
"openai/gpt-5.6-luna",
|
|
19
20
|
"openai/gpt-5.6-terra",
|
|
20
21
|
"google/gemini-3.8-flash",
|
|
@@ -32,6 +33,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
32
33
|
"openai/gpt-5.4-mini"
|
|
33
34
|
],
|
|
34
35
|
openai: [
|
|
36
|
+
"gpt-6-astra",
|
|
35
37
|
"gpt-5.6",
|
|
36
38
|
"gpt-5.6-terra",
|
|
37
39
|
"gpt-5.6-luna",
|
|
@@ -106,6 +108,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
106
108
|
"medium",
|
|
107
109
|
"high"
|
|
108
110
|
],
|
|
111
|
+
"openai/gpt-6-astra": [
|
|
112
|
+
"low",
|
|
113
|
+
"medium",
|
|
114
|
+
"high",
|
|
115
|
+
"xhigh",
|
|
116
|
+
"max"
|
|
117
|
+
],
|
|
109
118
|
"openai/gpt-5.6-luna": [
|
|
110
119
|
"none",
|
|
111
120
|
"low",
|
|
@@ -207,6 +216,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
207
216
|
"high",
|
|
208
217
|
"xhigh"
|
|
209
218
|
],
|
|
219
|
+
"gpt-6-astra": [
|
|
220
|
+
"low",
|
|
221
|
+
"medium",
|
|
222
|
+
"high",
|
|
223
|
+
"xhigh",
|
|
224
|
+
"max"
|
|
225
|
+
],
|
|
210
226
|
"gpt-5.6": [
|
|
211
227
|
"none",
|
|
212
228
|
"low",
|
|
@@ -358,6 +374,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
358
374
|
"gemini-3.1-pro-preview": null,
|
|
359
375
|
"gemini-3.5-flash": null,
|
|
360
376
|
"gemini-3.1-flash-lite": null,
|
|
377
|
+
"openai/gpt-6-astra": "medium",
|
|
361
378
|
"openai/gpt-5.6-luna": "medium",
|
|
362
379
|
"openai/gpt-5.6-terra": "medium",
|
|
363
380
|
"google/gemini-3.8-flash": "medium",
|
|
@@ -373,6 +390,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
373
390
|
"anthropic/claude-sonnet-4.6": "medium",
|
|
374
391
|
"openai/gpt-5.5": "medium",
|
|
375
392
|
"openai/gpt-5.4-mini": "medium",
|
|
393
|
+
"gpt-6-astra": null,
|
|
376
394
|
"gpt-5.6": null,
|
|
377
395
|
"gpt-5.6-terra": null,
|
|
378
396
|
"gpt-5.6-luna": null,
|
|
@@ -418,6 +436,7 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
418
436
|
"gemini-3.1-pro-preview": "emit",
|
|
419
437
|
"gemini-3.5-flash": "emit",
|
|
420
438
|
"gemini-3.1-flash-lite": "emit",
|
|
439
|
+
"openai/gpt-6-astra": "omit",
|
|
421
440
|
"openai/gpt-5.6-luna": "omit",
|
|
422
441
|
"openai/gpt-5.6-terra": "omit",
|
|
423
442
|
"google/gemini-3.8-flash": "omit",
|
|
@@ -433,6 +452,7 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
433
452
|
"anthropic/claude-sonnet-4.6": "emit",
|
|
434
453
|
"openai/gpt-5.5": "omit",
|
|
435
454
|
"openai/gpt-5.4-mini": "omit",
|
|
455
|
+
"gpt-6-astra": "omit",
|
|
436
456
|
"gpt-5.6": "omit",
|
|
437
457
|
"gpt-5.6-terra": "omit",
|
|
438
458
|
"gpt-5.6-luna": "omit",
|
|
@@ -518,6 +538,22 @@ const MODEL_RATES = {
|
|
|
518
538
|
outputPerMTok: 15e4,
|
|
519
539
|
cachedInputPerMTok: 2500
|
|
520
540
|
},
|
|
541
|
+
"gpt-6-astra": {
|
|
542
|
+
kind: "input-token-tiered",
|
|
543
|
+
inputTokenThreshold: 272e3,
|
|
544
|
+
standard: {
|
|
545
|
+
inputPerMTok: 1e6,
|
|
546
|
+
outputPerMTok: 5e6,
|
|
547
|
+
cachedInputPerMTok: 1e5,
|
|
548
|
+
cachedWriteInputPerMTok: 125e4
|
|
549
|
+
},
|
|
550
|
+
aboveThreshold: {
|
|
551
|
+
inputPerMTok: 2e6,
|
|
552
|
+
outputPerMTok: 75e5,
|
|
553
|
+
cachedInputPerMTok: 2e5,
|
|
554
|
+
cachedWriteInputPerMTok: 25e5
|
|
555
|
+
}
|
|
556
|
+
},
|
|
521
557
|
"gpt-5.6": {
|
|
522
558
|
kind: "input-token-tiered",
|
|
523
559
|
inputTokenThreshold: 272e3,
|
|
@@ -831,53 +867,13 @@ const RETAINED_MODELS_DEV_RATE_ENTRIES = {
|
|
|
831
867
|
/**
|
|
832
868
|
* Exact mappings where Stella uses a provider routing ID while models.dev
|
|
833
869
|
* publishes pricing under the corresponding base model ID. Generation rejects
|
|
834
|
-
* a mapping once models.dev begins publishing the Stella ID directly
|
|
870
|
+
* a mapping once models.dev begins publishing the Stella ID directly, so the
|
|
871
|
+
* map is empty whenever upstream covers every offered ID.
|
|
835
872
|
*/
|
|
836
|
-
const MODELS_DEV_RATE_SOURCE_ALIASES = defineRateSourceAliases({
|
|
837
|
-
"us.amazon.nova-pro-v1:0": {
|
|
838
|
-
modelId: "amazon.nova-pro-v1:0",
|
|
839
|
-
provider: "amazon-bedrock",
|
|
840
|
-
reason: "2026-09-03: stella uses the Bedrock US inference-profile ID; models.dev prices its corresponding base model ID",
|
|
841
|
-
sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html"
|
|
842
|
-
},
|
|
843
|
-
"us.amazon.nova-lite-v1:0": {
|
|
844
|
-
modelId: "amazon.nova-lite-v1:0",
|
|
845
|
-
provider: "amazon-bedrock",
|
|
846
|
-
reason: "2026-09-03: stella uses the Bedrock US inference-profile ID; models.dev prices its corresponding base model ID",
|
|
847
|
-
sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html"
|
|
848
|
-
},
|
|
849
|
-
"us.amazon.nova-micro-v1:0": {
|
|
850
|
-
modelId: "amazon.nova-micro-v1:0",
|
|
851
|
-
provider: "amazon-bedrock",
|
|
852
|
-
reason: "2026-09-03: stella uses the Bedrock US inference-profile ID; models.dev prices its corresponding base model ID",
|
|
853
|
-
sourceUrl: "https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html"
|
|
854
|
-
}
|
|
855
|
-
});
|
|
873
|
+
const MODELS_DEV_RATE_SOURCE_ALIASES = defineRateSourceAliases({});
|
|
856
874
|
//#endregion
|
|
857
875
|
//#region src/capabilities-overrides.ts
|
|
858
|
-
const CAPABILITY_OVERRIDES = {
|
|
859
|
-
"us.amazon.nova-pro-v1:0": {
|
|
860
|
-
documentInput: true,
|
|
861
|
-
documentInputReason: "2026-08-20: AWS documents PDF input for Nova Pro through Bedrock Converse",
|
|
862
|
-
reasoningEfforts: null,
|
|
863
|
-
temperatureSupported: true,
|
|
864
|
-
reason: "2026-07-20: absent from the models.dev amazon-bedrock catalog; Bedrock Converse accepts temperature and Nova has no reasoning dial"
|
|
865
|
-
},
|
|
866
|
-
"us.amazon.nova-lite-v1:0": {
|
|
867
|
-
documentInput: true,
|
|
868
|
-
documentInputReason: "2026-08-20: AWS documents PDF input for Nova Lite through Bedrock Converse",
|
|
869
|
-
reasoningEfforts: null,
|
|
870
|
-
temperatureSupported: true,
|
|
871
|
-
reason: "2026-07-20: absent from the models.dev amazon-bedrock catalog; Bedrock Converse accepts temperature and Nova has no reasoning dial"
|
|
872
|
-
},
|
|
873
|
-
"us.amazon.nova-micro-v1:0": {
|
|
874
|
-
documentInput: false,
|
|
875
|
-
documentInputReason: "2026-08-20: AWS documents Nova Micro as text-only",
|
|
876
|
-
reasoningEfforts: null,
|
|
877
|
-
temperatureSupported: true,
|
|
878
|
-
reason: "2026-07-20: absent from the models.dev amazon-bedrock catalog; Bedrock Converse accepts temperature and Nova has no reasoning dial"
|
|
879
|
-
}
|
|
880
|
-
};
|
|
876
|
+
const CAPABILITY_OVERRIDES = {};
|
|
881
877
|
//#endregion
|
|
882
878
|
//#region src/document-input-overrides.ts
|
|
883
879
|
/**
|
|
@@ -897,6 +893,14 @@ const DOCUMENT_INPUT_OVERRIDES = {
|
|
|
897
893
|
"gpt-5.2": {
|
|
898
894
|
supported: true,
|
|
899
895
|
reason: "2026-08-20: OpenAI Responses accepts input_file PDF content for this vision-capable model; models.dev currently omits the pdf modality"
|
|
896
|
+
},
|
|
897
|
+
"us.amazon.nova-pro-v1:0": {
|
|
898
|
+
supported: true,
|
|
899
|
+
reason: "2026-09-09: AWS documents PDF input for Nova Pro through Bedrock Converse; models.dev lists text, image and video only"
|
|
900
|
+
},
|
|
901
|
+
"us.amazon.nova-lite-v1:0": {
|
|
902
|
+
supported: true,
|
|
903
|
+
reason: "2026-09-09: AWS documents PDF input for Nova Lite through Bedrock Converse; models.dev lists text, image and video only"
|
|
900
904
|
}
|
|
901
905
|
};
|
|
902
906
|
//#endregion
|
|
@@ -1077,6 +1081,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1077
1081
|
"claude-haiku-4-5-20251001"
|
|
1078
1082
|
],
|
|
1079
1083
|
openai: [
|
|
1084
|
+
"gpt-6-astra",
|
|
1080
1085
|
"gpt-5.6",
|
|
1081
1086
|
"gpt-5.6-terra",
|
|
1082
1087
|
"gpt-5.6-luna",
|
|
@@ -1087,6 +1092,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1087
1092
|
"gpt-5.2"
|
|
1088
1093
|
],
|
|
1089
1094
|
openrouter: [
|
|
1095
|
+
"openai/gpt-6-astra",
|
|
1090
1096
|
"openai/gpt-5.6-luna",
|
|
1091
1097
|
"openai/gpt-5.6-terra",
|
|
1092
1098
|
"google/gemini-3.8-flash",
|
|
@@ -1193,6 +1199,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1193
1199
|
displayName: "Claude Haiku 4.5",
|
|
1194
1200
|
iconProvider: "anthropic"
|
|
1195
1201
|
},
|
|
1202
|
+
"gpt-6-astra": {
|
|
1203
|
+
displayName: "GPT-6 Astra",
|
|
1204
|
+
iconProvider: "openai"
|
|
1205
|
+
},
|
|
1196
1206
|
"gpt-5.6": {
|
|
1197
1207
|
displayName: "GPT-5.6 Sol",
|
|
1198
1208
|
iconProvider: "openai"
|
|
@@ -1225,6 +1235,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1225
1235
|
displayName: "GPT-5.2",
|
|
1226
1236
|
iconProvider: "openai"
|
|
1227
1237
|
},
|
|
1238
|
+
"openai/gpt-6-astra": {
|
|
1239
|
+
displayName: "GPT-6 Astra",
|
|
1240
|
+
iconProvider: "openai"
|
|
1241
|
+
},
|
|
1228
1242
|
"openai/gpt-5.6-luna": {
|
|
1229
1243
|
displayName: "GPT-5.6 Luna",
|
|
1230
1244
|
iconProvider: "openai"
|
|
@@ -1580,6 +1594,7 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1580
1594
|
"gpt-5.4-mini": 4e5,
|
|
1581
1595
|
"gpt-5.4": 4e5,
|
|
1582
1596
|
"gpt-5.5": 4e5,
|
|
1597
|
+
"gpt-6-astra": 922e3,
|
|
1583
1598
|
"gpt-5.6": 922e3,
|
|
1584
1599
|
"gpt-5.6-luna": 922e3,
|
|
1585
1600
|
"gpt-5.6-terra": 922e3,
|
|
@@ -1611,6 +1626,7 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1611
1626
|
"anthropic/claude-opus-5": 1e6,
|
|
1612
1627
|
"anthropic/claude-opus-4.8": 2e5,
|
|
1613
1628
|
"anthropic/claude-sonnet-4.6": 2e5,
|
|
1629
|
+
"openai/gpt-6-astra": 922e3,
|
|
1614
1630
|
"openai/gpt-5.6-luna": 922e3,
|
|
1615
1631
|
"openai/gpt-5.6-terra": 922e3,
|
|
1616
1632
|
"openai/gpt-5.5": 4e5,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/ai-catalog",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Provider-neutral AI model roles, capabilities, and curated model metadata.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typecheck": "bun ../../packages/scripts/src/tsc-native.ts --noEmit",
|
|
44
44
|
"lint": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --report-unused-disable-directives-severity=error --deny-warnings --type-aware packages/ai-catalog",
|
|
45
45
|
"lint:fix": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --type-aware --fix packages/ai-catalog",
|
|
46
|
-
"format": "oxfmt .",
|
|
46
|
+
"format": "bun ../../scripts/run-oxfmt.ts .",
|
|
47
47
|
"prepack": "bun run build"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@stll/typescript-config": "0.0.0",
|
|
54
|
-
"@tanstack/ai-anthropic": "0.
|
|
55
|
-
"@tanstack/ai-bedrock": "0.
|
|
56
|
-
"@tanstack/ai-gemini": "0.
|
|
57
|
-
"@tanstack/ai-mistral": "0.
|
|
58
|
-
"@tanstack/ai-openrouter": "0.
|
|
59
|
-
"bun-types": "1.4.
|
|
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
|
+
"bun-types": "1.4.2",
|
|
60
60
|
"tsdown": "0.22.14"
|
|
61
61
|
},
|
|
62
62
|
"main": "./dist/index.js",
|