@stll/ai-catalog 0.3.0 → 0.3.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/dist/index.d.ts +77 -10
- package/dist/index.js +113 -3
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -92,6 +92,22 @@ export declare const MODEL_RATES: {
|
|
|
92
92
|
readonly outputPerMTok: 150000;
|
|
93
93
|
readonly cachedInputPerMTok: 2500;
|
|
94
94
|
};
|
|
95
|
+
readonly "gpt-6.1-sol": {
|
|
96
|
+
readonly kind: "input-token-tiered";
|
|
97
|
+
readonly inputTokenThreshold: 272000;
|
|
98
|
+
readonly standard: {
|
|
99
|
+
readonly inputPerMTok: 200000;
|
|
100
|
+
readonly outputPerMTok: 1000000;
|
|
101
|
+
readonly cachedInputPerMTok: 10000;
|
|
102
|
+
readonly cachedWriteInputPerMTok: 250000;
|
|
103
|
+
};
|
|
104
|
+
readonly aboveThreshold: {
|
|
105
|
+
readonly inputPerMTok: 400000;
|
|
106
|
+
readonly outputPerMTok: 1500000;
|
|
107
|
+
readonly cachedInputPerMTok: 20000;
|
|
108
|
+
readonly cachedWriteInputPerMTok: 500000;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
95
111
|
readonly "gpt-6-astra": {
|
|
96
112
|
readonly kind: "input-token-tiered";
|
|
97
113
|
readonly inputTokenThreshold: 272000;
|
|
@@ -234,6 +250,13 @@ export declare const MODEL_RATES: {
|
|
|
234
250
|
readonly outputPerMTok: 1400000;
|
|
235
251
|
readonly cachedInputPerMTok: 17500;
|
|
236
252
|
};
|
|
253
|
+
readonly "claude-sonnet-5-5": {
|
|
254
|
+
readonly kind: "flat";
|
|
255
|
+
readonly inputPerMTok: 200000;
|
|
256
|
+
readonly outputPerMTok: 1000000;
|
|
257
|
+
readonly cachedInputPerMTok: 20000;
|
|
258
|
+
readonly cachedWriteInputPerMTok: 250000;
|
|
259
|
+
};
|
|
237
260
|
readonly "claude-sonnet-5": {
|
|
238
261
|
readonly kind: "flat";
|
|
239
262
|
readonly inputPerMTok: 200000;
|
|
@@ -353,16 +376,19 @@ export declare const MODEL_RATES: {
|
|
|
353
376
|
readonly kind: "flat";
|
|
354
377
|
readonly inputPerMTok: 50000;
|
|
355
378
|
readonly outputPerMTok: 150000;
|
|
379
|
+
readonly cachedInputPerMTok: 5000;
|
|
356
380
|
};
|
|
357
381
|
readonly "mistral-medium-latest": {
|
|
358
382
|
readonly kind: "flat";
|
|
359
383
|
readonly inputPerMTok: 150000;
|
|
360
384
|
readonly outputPerMTok: 750000;
|
|
385
|
+
readonly cachedInputPerMTok: 15000;
|
|
361
386
|
};
|
|
362
387
|
readonly "mistral-small-latest": {
|
|
363
388
|
readonly kind: "flat";
|
|
364
389
|
readonly inputPerMTok: 15000;
|
|
365
390
|
readonly outputPerMTok: 60000;
|
|
391
|
+
readonly cachedInputPerMTok: 1500;
|
|
366
392
|
};
|
|
367
393
|
readonly "gemini-2.5-flash": {
|
|
368
394
|
readonly kind: "flat";
|
|
@@ -502,6 +528,7 @@ export declare const MODEL_REASONING_EFFORTS: {
|
|
|
502
528
|
readonly "gemini-3.1-pro-preview": readonly ["low", "medium", "high"];
|
|
503
529
|
readonly "gemini-3.5-flash": readonly ["minimal", "low", "medium", "high"];
|
|
504
530
|
readonly "gemini-3.1-flash-lite": readonly ["minimal", "low", "medium", "high"];
|
|
531
|
+
readonly "openai/gpt-6.1-sol": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
505
532
|
readonly "openai/gpt-6-astra": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
506
533
|
readonly "openai/gpt-6-sol": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
507
534
|
readonly "openai/gpt-6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
@@ -515,12 +542,14 @@ export declare const MODEL_REASONING_EFFORTS: {
|
|
|
515
542
|
readonly "google/gemini-3.1-pro-preview": readonly ["low", "medium", "high"];
|
|
516
543
|
readonly "google/gemini-3.5-flash": readonly ["minimal", "low", "medium", "high"];
|
|
517
544
|
readonly "google/gemini-3.1-flash-lite": readonly ["none", "minimal", "low", "medium", "high"];
|
|
545
|
+
readonly "anthropic/claude-sonnet-5.5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
518
546
|
readonly "anthropic/claude-sonnet-5": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
519
547
|
readonly "anthropic/claude-opus-5": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
520
548
|
readonly "anthropic/claude-opus-4.8": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
521
549
|
readonly "anthropic/claude-sonnet-4.6": readonly ["none", "low", "medium", "high", "max"];
|
|
522
550
|
readonly "openai/gpt-5.5": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
523
551
|
readonly "openai/gpt-5.4-mini": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
552
|
+
readonly "gpt-6.1-sol": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
524
553
|
readonly "gpt-6-astra": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
525
554
|
readonly "gpt-6-sol": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
526
555
|
readonly "gpt-6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
@@ -532,6 +561,7 @@ export declare const MODEL_REASONING_EFFORTS: {
|
|
|
532
561
|
readonly "gpt-5.4-mini": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
533
562
|
readonly "gpt-5.4-nano": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
534
563
|
readonly "gpt-5.2": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
564
|
+
readonly "claude-sonnet-5-5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
535
565
|
readonly "claude-sonnet-5": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
536
566
|
readonly "claude-fable-5-1": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
537
567
|
readonly "claude-fable-5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
@@ -566,6 +596,7 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
566
596
|
readonly "gemini-3.1-pro-preview": null;
|
|
567
597
|
readonly "gemini-3.5-flash": null;
|
|
568
598
|
readonly "gemini-3.1-flash-lite": null;
|
|
599
|
+
readonly "openai/gpt-6.1-sol": "medium";
|
|
569
600
|
readonly "openai/gpt-6-astra": "medium";
|
|
570
601
|
readonly "openai/gpt-6-sol": "medium";
|
|
571
602
|
readonly "openai/gpt-6-luna": "medium";
|
|
@@ -579,12 +610,14 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
579
610
|
readonly "google/gemini-3.1-pro-preview": "medium";
|
|
580
611
|
readonly "google/gemini-3.5-flash": "medium";
|
|
581
612
|
readonly "google/gemini-3.1-flash-lite": "minimal";
|
|
613
|
+
readonly "anthropic/claude-sonnet-5.5": "high";
|
|
582
614
|
readonly "anthropic/claude-sonnet-5": "high";
|
|
583
615
|
readonly "anthropic/claude-opus-5": "high";
|
|
584
616
|
readonly "anthropic/claude-opus-4.8": "high";
|
|
585
617
|
readonly "anthropic/claude-sonnet-4.6": "medium";
|
|
586
618
|
readonly "openai/gpt-5.5": "medium";
|
|
587
619
|
readonly "openai/gpt-5.4-mini": "medium";
|
|
620
|
+
readonly "gpt-6.1-sol": null;
|
|
588
621
|
readonly "gpt-6-astra": null;
|
|
589
622
|
readonly "gpt-6-sol": null;
|
|
590
623
|
readonly "gpt-6-luna": null;
|
|
@@ -596,6 +629,7 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
596
629
|
readonly "gpt-5.4-mini": null;
|
|
597
630
|
readonly "gpt-5.4-nano": null;
|
|
598
631
|
readonly "gpt-5.2": null;
|
|
632
|
+
readonly "claude-sonnet-5-5": null;
|
|
599
633
|
readonly "claude-sonnet-5": null;
|
|
600
634
|
readonly "claude-fable-5-1": null;
|
|
601
635
|
readonly "claude-fable-5": null;
|
|
@@ -630,6 +664,7 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
630
664
|
readonly "gemini-3.1-pro-preview": "emit";
|
|
631
665
|
readonly "gemini-3.5-flash": "emit";
|
|
632
666
|
readonly "gemini-3.1-flash-lite": "emit";
|
|
667
|
+
readonly "openai/gpt-6.1-sol": "omit";
|
|
633
668
|
readonly "openai/gpt-6-astra": "omit";
|
|
634
669
|
readonly "openai/gpt-6-sol": "omit";
|
|
635
670
|
readonly "openai/gpt-6-luna": "omit";
|
|
@@ -643,12 +678,14 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
643
678
|
readonly "google/gemini-3.1-pro-preview": "emit";
|
|
644
679
|
readonly "google/gemini-3.5-flash": "emit";
|
|
645
680
|
readonly "google/gemini-3.1-flash-lite": "emit";
|
|
681
|
+
readonly "anthropic/claude-sonnet-5.5": "emit";
|
|
646
682
|
readonly "anthropic/claude-sonnet-5": "omit";
|
|
647
683
|
readonly "anthropic/claude-opus-5": "emit";
|
|
648
684
|
readonly "anthropic/claude-opus-4.8": "emit";
|
|
649
685
|
readonly "anthropic/claude-sonnet-4.6": "emit";
|
|
650
686
|
readonly "openai/gpt-5.5": "omit";
|
|
651
687
|
readonly "openai/gpt-5.4-mini": "omit";
|
|
688
|
+
readonly "gpt-6.1-sol": "omit";
|
|
652
689
|
readonly "gpt-6-astra": "omit";
|
|
653
690
|
readonly "gpt-6-sol": "omit";
|
|
654
691
|
readonly "gpt-6-luna": "omit";
|
|
@@ -660,6 +697,7 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
660
697
|
readonly "gpt-5.4-mini": "emit";
|
|
661
698
|
readonly "gpt-5.4-nano": "emit";
|
|
662
699
|
readonly "gpt-5.2": "emit";
|
|
700
|
+
readonly "claude-sonnet-5-5": "omit";
|
|
663
701
|
readonly "claude-sonnet-5": "omit";
|
|
664
702
|
readonly "claude-fable-5-1": "omit";
|
|
665
703
|
readonly "claude-fable-5": "omit";
|
|
@@ -694,6 +732,7 @@ export declare const MODEL_OUTPUT_TOKEN_LIMITS: {
|
|
|
694
732
|
readonly "gemini-3.1-pro-preview": 65536;
|
|
695
733
|
readonly "gemini-3.5-flash": 65536;
|
|
696
734
|
readonly "gemini-3.1-flash-lite": 65536;
|
|
735
|
+
readonly "openai/gpt-6.1-sol": 128000;
|
|
697
736
|
readonly "openai/gpt-6-astra": 128000;
|
|
698
737
|
readonly "openai/gpt-6-sol": 128000;
|
|
699
738
|
readonly "openai/gpt-6-luna": 128000;
|
|
@@ -707,12 +746,14 @@ export declare const MODEL_OUTPUT_TOKEN_LIMITS: {
|
|
|
707
746
|
readonly "google/gemini-3.1-pro-preview": 65536;
|
|
708
747
|
readonly "google/gemini-3.5-flash": 65536;
|
|
709
748
|
readonly "google/gemini-3.1-flash-lite": 65536;
|
|
749
|
+
readonly "anthropic/claude-sonnet-5.5": 128000;
|
|
710
750
|
readonly "anthropic/claude-sonnet-5": 128000;
|
|
711
751
|
readonly "anthropic/claude-opus-5": 128000;
|
|
712
752
|
readonly "anthropic/claude-opus-4.8": 128000;
|
|
713
753
|
readonly "anthropic/claude-sonnet-4.6": 128000;
|
|
714
754
|
readonly "openai/gpt-5.5": 128000;
|
|
715
755
|
readonly "openai/gpt-5.4-mini": 128000;
|
|
756
|
+
readonly "gpt-6.1-sol": 128000;
|
|
716
757
|
readonly "gpt-6-astra": 128000;
|
|
717
758
|
readonly "gpt-6-sol": 128000;
|
|
718
759
|
readonly "gpt-6-luna": 128000;
|
|
@@ -724,6 +765,7 @@ export declare const MODEL_OUTPUT_TOKEN_LIMITS: {
|
|
|
724
765
|
readonly "gpt-5.4-mini": 128000;
|
|
725
766
|
readonly "gpt-5.4-nano": 128000;
|
|
726
767
|
readonly "gpt-5.2": 128000;
|
|
768
|
+
readonly "claude-sonnet-5-5": 128000;
|
|
727
769
|
readonly "claude-sonnet-5": 128000;
|
|
728
770
|
readonly "claude-fable-5-1": 128000;
|
|
729
771
|
readonly "claude-fable-5": 128000;
|
|
@@ -910,9 +952,9 @@ export declare const DEFAULT_MODELS: {
|
|
|
910
952
|
*/
|
|
911
953
|
export declare const BYOK_MODEL_OPTIONS: {
|
|
912
954
|
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"];
|
|
913
|
-
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-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"];
|
|
914
|
-
readonly openai: readonly [...("gpt-6-astra" | "gpt-6-sol" | "gpt-6-luna" | "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"];
|
|
915
|
-
readonly openrouter: readonly [...("openai/gpt-6-astra" | "openai/gpt-6-sol" | "openai/gpt-6-luna" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-terra" | "openai/gpt-5.6-luna")[], "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"];
|
|
955
|
+
readonly anthropic: readonly ["claude-sonnet-5-5", "claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-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"];
|
|
956
|
+
readonly openai: readonly [...("gpt-6-astra" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.6" | "gpt-5.6-terra" | "gpt-5.6-luna" | "gpt-6.1-sol")[], "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
957
|
+
readonly openrouter: readonly [...("openai/gpt-6-astra" | "openai/gpt-6-sol" | "openai/gpt-6-luna" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-terra" | "openai/gpt-5.6-luna" | "openai/gpt-6.1-sol")[], "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.5", "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"];
|
|
916
958
|
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"];
|
|
917
959
|
readonly mistral: readonly ["mistral-large-latest", "mistral-medium-latest", "mistral-small-latest"];
|
|
918
960
|
};
|
|
@@ -960,6 +1002,10 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
960
1002
|
readonly displayName: "Gemini 3.1 Flash Lite";
|
|
961
1003
|
readonly iconProvider: "google";
|
|
962
1004
|
};
|
|
1005
|
+
readonly "claude-sonnet-5-5": {
|
|
1006
|
+
readonly displayName: "Claude Sonnet 5.5";
|
|
1007
|
+
readonly iconProvider: "anthropic";
|
|
1008
|
+
};
|
|
963
1009
|
readonly "claude-sonnet-5": {
|
|
964
1010
|
readonly displayName: "Claude Sonnet 5";
|
|
965
1011
|
readonly iconProvider: "anthropic";
|
|
@@ -1000,6 +1046,10 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
1000
1046
|
readonly displayName: "Claude Haiku 4.5";
|
|
1001
1047
|
readonly iconProvider: "anthropic";
|
|
1002
1048
|
};
|
|
1049
|
+
readonly "gpt-6.1-sol": {
|
|
1050
|
+
readonly displayName: "GPT-6.1 Sol";
|
|
1051
|
+
readonly iconProvider: "openai";
|
|
1052
|
+
};
|
|
1003
1053
|
readonly "gpt-6-astra": {
|
|
1004
1054
|
readonly displayName: "GPT-6 Astra";
|
|
1005
1055
|
readonly iconProvider: "openai";
|
|
@@ -1044,6 +1094,10 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
1044
1094
|
readonly displayName: "GPT-5.2";
|
|
1045
1095
|
readonly iconProvider: "openai";
|
|
1046
1096
|
};
|
|
1097
|
+
readonly "openai/gpt-6.1-sol": {
|
|
1098
|
+
readonly displayName: "GPT-6.1 Sol";
|
|
1099
|
+
readonly iconProvider: "openai";
|
|
1100
|
+
};
|
|
1047
1101
|
readonly "openai/gpt-6-astra": {
|
|
1048
1102
|
readonly displayName: "GPT-6 Astra";
|
|
1049
1103
|
readonly iconProvider: "openai";
|
|
@@ -1096,6 +1150,10 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
1096
1150
|
readonly displayName: "Gemini 3.1 Flash Lite";
|
|
1097
1151
|
readonly iconProvider: "google";
|
|
1098
1152
|
};
|
|
1153
|
+
readonly "anthropic/claude-sonnet-5.5": {
|
|
1154
|
+
readonly displayName: "Claude Sonnet 5.5";
|
|
1155
|
+
readonly iconProvider: "anthropic";
|
|
1156
|
+
};
|
|
1099
1157
|
readonly "anthropic/claude-sonnet-5": {
|
|
1100
1158
|
readonly displayName: "Claude Sonnet 5";
|
|
1101
1159
|
readonly iconProvider: "anthropic";
|
|
@@ -1169,9 +1227,9 @@ export declare const getModelDisplayMetadata: (modelId: string) => ModelDisplayM
|
|
|
1169
1227
|
*/
|
|
1170
1228
|
export declare const BYOK_DOCUMENT_INPUT_MODEL_OPTIONS: {
|
|
1171
1229
|
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"];
|
|
1172
|
-
readonly openrouter: readonly ["openai/gpt-6-astra", "openai/gpt-6-sol", "openai/gpt-6-luna", "openai/gpt-5.6-sol", "openai/gpt-5.6-terra", "openai/gpt-5.6-luna", "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"];
|
|
1173
|
-
readonly openai: readonly ["gpt-6-astra", "gpt-6-sol", "gpt-6-luna", "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"];
|
|
1174
|
-
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-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"];
|
|
1230
|
+
readonly openrouter: readonly ["openai/gpt-6.1-sol", "openai/gpt-6-astra", "openai/gpt-6-sol", "openai/gpt-6-luna", "openai/gpt-5.6-sol", "openai/gpt-5.6-terra", "openai/gpt-5.6-luna", "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.5", "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"];
|
|
1231
|
+
readonly openai: readonly ["gpt-6.1-sol", "gpt-6-astra", "gpt-6-sol", "gpt-6-luna", "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"];
|
|
1232
|
+
readonly anthropic: readonly ["claude-sonnet-5-5", "claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-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"];
|
|
1175
1233
|
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"];
|
|
1176
1234
|
readonly mistral: readonly [];
|
|
1177
1235
|
};
|
|
@@ -1200,9 +1258,9 @@ export declare const isBYOKModelRoleSupported: ({ provider, modelId, role }: {
|
|
|
1200
1258
|
export declare const CHAT_PDF_ATTACHMENT_MODEL_OPTIONS: {
|
|
1201
1259
|
readonly mistral: readonly ["mistral-medium-latest", "mistral-small-latest"];
|
|
1202
1260
|
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"];
|
|
1203
|
-
readonly openrouter: readonly ["openai/gpt-6-astra", "openai/gpt-6-sol", "openai/gpt-6-luna", "openai/gpt-5.6-sol", "openai/gpt-5.6-terra", "openai/gpt-5.6-luna", "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"];
|
|
1204
|
-
readonly openai: readonly ["gpt-6-astra", "gpt-6-sol", "gpt-6-luna", "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"];
|
|
1205
|
-
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-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"];
|
|
1261
|
+
readonly openrouter: readonly ["openai/gpt-6.1-sol", "openai/gpt-6-astra", "openai/gpt-6-sol", "openai/gpt-6-luna", "openai/gpt-5.6-sol", "openai/gpt-5.6-terra", "openai/gpt-5.6-luna", "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.5", "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"];
|
|
1262
|
+
readonly openai: readonly ["gpt-6.1-sol", "gpt-6-astra", "gpt-6-sol", "gpt-6-luna", "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"];
|
|
1263
|
+
readonly anthropic: readonly ["claude-sonnet-5-5", "claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-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"];
|
|
1206
1264
|
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"];
|
|
1207
1265
|
};
|
|
1208
1266
|
export declare const isChatPdfAttachmentModelSupported: ({ provider, modelId }: {
|
|
@@ -1234,7 +1292,7 @@ export declare const resolveWorkingBYOKModelForRole: ({ provider, modelId, role
|
|
|
1234
1292
|
* legacy budget-based form, so every Opus 4.6+/Sonnet 4.6/Fable entry
|
|
1235
1293
|
* offered above must appear here or it will 400 on the reasoning role.
|
|
1236
1294
|
*/
|
|
1237
|
-
export declare const ANTHROPIC_ADAPTIVE_THINKING_MODELS: readonly ["claude-sonnet-5", "claude-opus-5", "claude-sonnet-4-6", "claude-opus-4-6", "claude-opus-4-7", "claude-opus-4-8", "claude-fable-5", "claude-fable-5-1", "claude-opus-5-5"];
|
|
1295
|
+
export declare const ANTHROPIC_ADAPTIVE_THINKING_MODELS: readonly ["claude-sonnet-5-5", "claude-sonnet-5", "claude-opus-5", "claude-sonnet-4-6", "claude-opus-4-6", "claude-opus-4-7", "claude-opus-4-8", "claude-fable-5", "claude-fable-5-1", "claude-opus-5-5"];
|
|
1238
1296
|
/**
|
|
1239
1297
|
* Canonical reasoning-effort ladder, ordered weakest to strongest.
|
|
1240
1298
|
* Union of every effort keyword the offered providers accept; no
|
|
@@ -1278,6 +1336,7 @@ export declare const FALLBACK_CHAT_MODEL_BY_PROVIDER: {
|
|
|
1278
1336
|
export declare const MODEL_CATALOG_ID_ALIASES: {
|
|
1279
1337
|
readonly "gpt-5.6-sol": "gpt-5.6";
|
|
1280
1338
|
readonly "claude-opus-4.8": "claude-opus-4-8";
|
|
1339
|
+
readonly "claude-sonnet-5.5": "claude-sonnet-5-5";
|
|
1281
1340
|
readonly "claude-sonnet-4.6": "claude-sonnet-4-6";
|
|
1282
1341
|
};
|
|
1283
1342
|
export declare const normalizeModelCatalogId: (modelId: string) => string;
|
|
@@ -1318,6 +1377,7 @@ export declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1318
1377
|
readonly "gemini-3.1-pro-preview": "supported";
|
|
1319
1378
|
readonly "gemini-3.5-flash": "supported";
|
|
1320
1379
|
readonly "gemini-3.1-flash-lite": "supported";
|
|
1380
|
+
readonly "openai/gpt-6.1-sol": "supported";
|
|
1321
1381
|
readonly "openai/gpt-6-astra": "supported";
|
|
1322
1382
|
readonly "openai/gpt-6-sol": "supported";
|
|
1323
1383
|
readonly "openai/gpt-6-luna": "supported";
|
|
@@ -1331,12 +1391,14 @@ export declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1331
1391
|
readonly "google/gemini-3.1-pro-preview": "supported";
|
|
1332
1392
|
readonly "google/gemini-3.5-flash": "supported";
|
|
1333
1393
|
readonly "google/gemini-3.1-flash-lite": "supported";
|
|
1394
|
+
readonly "anthropic/claude-sonnet-5.5": "supported";
|
|
1334
1395
|
readonly "anthropic/claude-sonnet-5": "supported";
|
|
1335
1396
|
readonly "anthropic/claude-opus-5": "supported";
|
|
1336
1397
|
readonly "anthropic/claude-opus-4.8": "supported";
|
|
1337
1398
|
readonly "anthropic/claude-sonnet-4.6": "supported";
|
|
1338
1399
|
readonly "openai/gpt-5.5": "supported";
|
|
1339
1400
|
readonly "openai/gpt-5.4-mini": "supported";
|
|
1401
|
+
readonly "gpt-6.1-sol": "supported";
|
|
1340
1402
|
readonly "gpt-6-astra": "supported";
|
|
1341
1403
|
readonly "gpt-6-sol": "supported";
|
|
1342
1404
|
readonly "gpt-6-luna": "supported";
|
|
@@ -1348,6 +1410,7 @@ export declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1348
1410
|
readonly "gpt-5.4-mini": "supported";
|
|
1349
1411
|
readonly "gpt-5.4-nano": "supported";
|
|
1350
1412
|
readonly "gpt-5.2": "supported";
|
|
1413
|
+
readonly "claude-sonnet-5-5": "supported";
|
|
1351
1414
|
readonly "claude-sonnet-5": "supported";
|
|
1352
1415
|
readonly "claude-fable-5-1": "supported";
|
|
1353
1416
|
readonly "claude-fable-5": "supported";
|
|
@@ -1441,6 +1504,7 @@ export declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1441
1504
|
readonly "gpt-5.4-mini": 400000;
|
|
1442
1505
|
readonly "gpt-5.4": 400000;
|
|
1443
1506
|
readonly "gpt-5.5": 400000;
|
|
1507
|
+
readonly "gpt-6.1-sol": 922000;
|
|
1444
1508
|
readonly "gpt-6-astra": 922000;
|
|
1445
1509
|
readonly "gpt-6-sol": 922000;
|
|
1446
1510
|
readonly "gpt-6-luna": 922000;
|
|
@@ -1450,6 +1514,7 @@ export declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1450
1514
|
readonly "claude-haiku-4-5-20251001": 200000;
|
|
1451
1515
|
readonly "claude-sonnet-4-6": 200000;
|
|
1452
1516
|
readonly "claude-sonnet-5": 1000000;
|
|
1517
|
+
readonly "claude-sonnet-5-5": 1000000;
|
|
1453
1518
|
readonly "claude-opus-4-6": 200000;
|
|
1454
1519
|
readonly "claude-opus-4-7": 200000;
|
|
1455
1520
|
readonly "claude-opus-4-8": 200000;
|
|
@@ -1469,10 +1534,12 @@ export declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1469
1534
|
readonly "google/gemini-3.1-pro-preview": 1048576;
|
|
1470
1535
|
readonly "google/gemini-3.5-flash": 1048576;
|
|
1471
1536
|
readonly "google/gemini-3.1-flash-lite": 1048576;
|
|
1537
|
+
readonly "anthropic/claude-sonnet-5.5": 1000000;
|
|
1472
1538
|
readonly "anthropic/claude-sonnet-5": 1000000;
|
|
1473
1539
|
readonly "anthropic/claude-opus-5": 1000000;
|
|
1474
1540
|
readonly "anthropic/claude-opus-4.8": 200000;
|
|
1475
1541
|
readonly "anthropic/claude-sonnet-4.6": 200000;
|
|
1542
|
+
readonly "openai/gpt-6.1-sol": 922000;
|
|
1476
1543
|
readonly "openai/gpt-6-astra": 922000;
|
|
1477
1544
|
readonly "openai/gpt-6-sol": 922000;
|
|
1478
1545
|
readonly "openai/gpt-6-luna": 922000;
|
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.1-sol",
|
|
18
19
|
"openai/gpt-6-astra",
|
|
19
20
|
"openai/gpt-6-sol",
|
|
20
21
|
"openai/gpt-6-luna",
|
|
@@ -28,6 +29,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
28
29
|
"google/gemini-3.1-pro-preview",
|
|
29
30
|
"google/gemini-3.5-flash",
|
|
30
31
|
"google/gemini-3.1-flash-lite",
|
|
32
|
+
"anthropic/claude-sonnet-5.5",
|
|
31
33
|
"anthropic/claude-sonnet-5",
|
|
32
34
|
"anthropic/claude-opus-5",
|
|
33
35
|
"anthropic/claude-opus-4.8",
|
|
@@ -36,6 +38,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
36
38
|
"openai/gpt-5.4-mini"
|
|
37
39
|
],
|
|
38
40
|
openai: [
|
|
41
|
+
"gpt-6.1-sol",
|
|
39
42
|
"gpt-6-astra",
|
|
40
43
|
"gpt-6-sol",
|
|
41
44
|
"gpt-6-luna",
|
|
@@ -49,6 +52,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
49
52
|
"gpt-5.2"
|
|
50
53
|
],
|
|
51
54
|
anthropic: [
|
|
55
|
+
"claude-sonnet-5-5",
|
|
52
56
|
"claude-sonnet-5",
|
|
53
57
|
"claude-fable-5-1",
|
|
54
58
|
"claude-fable-5",
|
|
@@ -114,6 +118,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
114
118
|
"medium",
|
|
115
119
|
"high"
|
|
116
120
|
],
|
|
121
|
+
"openai/gpt-6.1-sol": [
|
|
122
|
+
"low",
|
|
123
|
+
"medium",
|
|
124
|
+
"high",
|
|
125
|
+
"xhigh",
|
|
126
|
+
"max"
|
|
127
|
+
],
|
|
117
128
|
"openai/gpt-6-astra": [
|
|
118
129
|
"low",
|
|
119
130
|
"medium",
|
|
@@ -201,6 +212,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
201
212
|
"medium",
|
|
202
213
|
"high"
|
|
203
214
|
],
|
|
215
|
+
"anthropic/claude-sonnet-5.5": [
|
|
216
|
+
"low",
|
|
217
|
+
"medium",
|
|
218
|
+
"high",
|
|
219
|
+
"xhigh",
|
|
220
|
+
"max"
|
|
221
|
+
],
|
|
204
222
|
"anthropic/claude-sonnet-5": [
|
|
205
223
|
"none",
|
|
206
224
|
"low",
|
|
@@ -246,6 +264,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
246
264
|
"high",
|
|
247
265
|
"xhigh"
|
|
248
266
|
],
|
|
267
|
+
"gpt-6.1-sol": [
|
|
268
|
+
"low",
|
|
269
|
+
"medium",
|
|
270
|
+
"high",
|
|
271
|
+
"xhigh",
|
|
272
|
+
"max"
|
|
273
|
+
],
|
|
249
274
|
"gpt-6-astra": [
|
|
250
275
|
"low",
|
|
251
276
|
"medium",
|
|
@@ -328,6 +353,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
328
353
|
"high",
|
|
329
354
|
"xhigh"
|
|
330
355
|
],
|
|
356
|
+
"claude-sonnet-5-5": [
|
|
357
|
+
"low",
|
|
358
|
+
"medium",
|
|
359
|
+
"high",
|
|
360
|
+
"xhigh",
|
|
361
|
+
"max"
|
|
362
|
+
],
|
|
331
363
|
"claude-sonnet-5": [
|
|
332
364
|
"none",
|
|
333
365
|
"low",
|
|
@@ -423,6 +455,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
423
455
|
"gemini-3.1-pro-preview": null,
|
|
424
456
|
"gemini-3.5-flash": null,
|
|
425
457
|
"gemini-3.1-flash-lite": null,
|
|
458
|
+
"openai/gpt-6.1-sol": "medium",
|
|
426
459
|
"openai/gpt-6-astra": "medium",
|
|
427
460
|
"openai/gpt-6-sol": "medium",
|
|
428
461
|
"openai/gpt-6-luna": "medium",
|
|
@@ -436,12 +469,14 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
436
469
|
"google/gemini-3.1-pro-preview": "medium",
|
|
437
470
|
"google/gemini-3.5-flash": "medium",
|
|
438
471
|
"google/gemini-3.1-flash-lite": "minimal",
|
|
472
|
+
"anthropic/claude-sonnet-5.5": "high",
|
|
439
473
|
"anthropic/claude-sonnet-5": "high",
|
|
440
474
|
"anthropic/claude-opus-5": "high",
|
|
441
475
|
"anthropic/claude-opus-4.8": "high",
|
|
442
476
|
"anthropic/claude-sonnet-4.6": "medium",
|
|
443
477
|
"openai/gpt-5.5": "medium",
|
|
444
478
|
"openai/gpt-5.4-mini": "medium",
|
|
479
|
+
"gpt-6.1-sol": null,
|
|
445
480
|
"gpt-6-astra": null,
|
|
446
481
|
"gpt-6-sol": null,
|
|
447
482
|
"gpt-6-luna": null,
|
|
@@ -453,6 +488,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
453
488
|
"gpt-5.4-mini": null,
|
|
454
489
|
"gpt-5.4-nano": null,
|
|
455
490
|
"gpt-5.2": null,
|
|
491
|
+
"claude-sonnet-5-5": null,
|
|
456
492
|
"claude-sonnet-5": null,
|
|
457
493
|
"claude-fable-5-1": null,
|
|
458
494
|
"claude-fable-5": null,
|
|
@@ -487,6 +523,7 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
487
523
|
"gemini-3.1-pro-preview": "emit",
|
|
488
524
|
"gemini-3.5-flash": "emit",
|
|
489
525
|
"gemini-3.1-flash-lite": "emit",
|
|
526
|
+
"openai/gpt-6.1-sol": "omit",
|
|
490
527
|
"openai/gpt-6-astra": "omit",
|
|
491
528
|
"openai/gpt-6-sol": "omit",
|
|
492
529
|
"openai/gpt-6-luna": "omit",
|
|
@@ -500,12 +537,14 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
500
537
|
"google/gemini-3.1-pro-preview": "emit",
|
|
501
538
|
"google/gemini-3.5-flash": "emit",
|
|
502
539
|
"google/gemini-3.1-flash-lite": "emit",
|
|
540
|
+
"anthropic/claude-sonnet-5.5": "emit",
|
|
503
541
|
"anthropic/claude-sonnet-5": "omit",
|
|
504
542
|
"anthropic/claude-opus-5": "emit",
|
|
505
543
|
"anthropic/claude-opus-4.8": "emit",
|
|
506
544
|
"anthropic/claude-sonnet-4.6": "emit",
|
|
507
545
|
"openai/gpt-5.5": "omit",
|
|
508
546
|
"openai/gpt-5.4-mini": "omit",
|
|
547
|
+
"gpt-6.1-sol": "omit",
|
|
509
548
|
"gpt-6-astra": "omit",
|
|
510
549
|
"gpt-6-sol": "omit",
|
|
511
550
|
"gpt-6-luna": "omit",
|
|
@@ -517,6 +556,7 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
517
556
|
"gpt-5.4-mini": "emit",
|
|
518
557
|
"gpt-5.4-nano": "emit",
|
|
519
558
|
"gpt-5.2": "emit",
|
|
559
|
+
"claude-sonnet-5-5": "omit",
|
|
520
560
|
"claude-sonnet-5": "omit",
|
|
521
561
|
"claude-fable-5-1": "omit",
|
|
522
562
|
"claude-fable-5": "omit",
|
|
@@ -551,6 +591,7 @@ const MODEL_OUTPUT_TOKEN_LIMITS = {
|
|
|
551
591
|
"gemini-3.1-pro-preview": 65536,
|
|
552
592
|
"gemini-3.5-flash": 65536,
|
|
553
593
|
"gemini-3.1-flash-lite": 65536,
|
|
594
|
+
"openai/gpt-6.1-sol": 128e3,
|
|
554
595
|
"openai/gpt-6-astra": 128e3,
|
|
555
596
|
"openai/gpt-6-sol": 128e3,
|
|
556
597
|
"openai/gpt-6-luna": 128e3,
|
|
@@ -564,12 +605,14 @@ const MODEL_OUTPUT_TOKEN_LIMITS = {
|
|
|
564
605
|
"google/gemini-3.1-pro-preview": 65536,
|
|
565
606
|
"google/gemini-3.5-flash": 65536,
|
|
566
607
|
"google/gemini-3.1-flash-lite": 65536,
|
|
608
|
+
"anthropic/claude-sonnet-5.5": 128e3,
|
|
567
609
|
"anthropic/claude-sonnet-5": 128e3,
|
|
568
610
|
"anthropic/claude-opus-5": 128e3,
|
|
569
611
|
"anthropic/claude-opus-4.8": 128e3,
|
|
570
612
|
"anthropic/claude-sonnet-4.6": 128e3,
|
|
571
613
|
"openai/gpt-5.5": 128e3,
|
|
572
614
|
"openai/gpt-5.4-mini": 128e3,
|
|
615
|
+
"gpt-6.1-sol": 128e3,
|
|
573
616
|
"gpt-6-astra": 128e3,
|
|
574
617
|
"gpt-6-sol": 128e3,
|
|
575
618
|
"gpt-6-luna": 128e3,
|
|
@@ -581,6 +624,7 @@ const MODEL_OUTPUT_TOKEN_LIMITS = {
|
|
|
581
624
|
"gpt-5.4-mini": 128e3,
|
|
582
625
|
"gpt-5.4-nano": 128e3,
|
|
583
626
|
"gpt-5.2": 128e3,
|
|
627
|
+
"claude-sonnet-5-5": 128e3,
|
|
584
628
|
"claude-sonnet-5": 128e3,
|
|
585
629
|
"claude-fable-5-1": 128e3,
|
|
586
630
|
"claude-fable-5": 128e3,
|
|
@@ -655,6 +699,22 @@ const MODEL_RATES = {
|
|
|
655
699
|
outputPerMTok: 15e4,
|
|
656
700
|
cachedInputPerMTok: 2500
|
|
657
701
|
},
|
|
702
|
+
"gpt-6.1-sol": {
|
|
703
|
+
kind: "input-token-tiered",
|
|
704
|
+
inputTokenThreshold: 272e3,
|
|
705
|
+
standard: {
|
|
706
|
+
inputPerMTok: 2e5,
|
|
707
|
+
outputPerMTok: 1e6,
|
|
708
|
+
cachedInputPerMTok: 1e4,
|
|
709
|
+
cachedWriteInputPerMTok: 25e4
|
|
710
|
+
},
|
|
711
|
+
aboveThreshold: {
|
|
712
|
+
inputPerMTok: 4e5,
|
|
713
|
+
outputPerMTok: 15e5,
|
|
714
|
+
cachedInputPerMTok: 2e4,
|
|
715
|
+
cachedWriteInputPerMTok: 5e5
|
|
716
|
+
}
|
|
717
|
+
},
|
|
658
718
|
"gpt-6-astra": {
|
|
659
719
|
kind: "input-token-tiered",
|
|
660
720
|
inputTokenThreshold: 272e3,
|
|
@@ -797,6 +857,13 @@ const MODEL_RATES = {
|
|
|
797
857
|
outputPerMTok: 14e5,
|
|
798
858
|
cachedInputPerMTok: 17500
|
|
799
859
|
},
|
|
860
|
+
"claude-sonnet-5-5": {
|
|
861
|
+
kind: "flat",
|
|
862
|
+
inputPerMTok: 2e5,
|
|
863
|
+
outputPerMTok: 1e6,
|
|
864
|
+
cachedInputPerMTok: 2e4,
|
|
865
|
+
cachedWriteInputPerMTok: 25e4
|
|
866
|
+
},
|
|
800
867
|
"claude-sonnet-5": {
|
|
801
868
|
kind: "flat",
|
|
802
869
|
inputPerMTok: 2e5,
|
|
@@ -915,17 +982,20 @@ const MODEL_RATES = {
|
|
|
915
982
|
"mistral-large-latest": {
|
|
916
983
|
kind: "flat",
|
|
917
984
|
inputPerMTok: 5e4,
|
|
918
|
-
outputPerMTok: 15e4
|
|
985
|
+
outputPerMTok: 15e4,
|
|
986
|
+
cachedInputPerMTok: 5e3
|
|
919
987
|
},
|
|
920
988
|
"mistral-medium-latest": {
|
|
921
989
|
kind: "flat",
|
|
922
990
|
inputPerMTok: 15e4,
|
|
923
|
-
outputPerMTok: 75e4
|
|
991
|
+
outputPerMTok: 75e4,
|
|
992
|
+
cachedInputPerMTok: 15e3
|
|
924
993
|
},
|
|
925
994
|
"mistral-small-latest": {
|
|
926
995
|
kind: "flat",
|
|
927
996
|
inputPerMTok: 15e3,
|
|
928
|
-
outputPerMTok: 6e4
|
|
997
|
+
outputPerMTok: 6e4,
|
|
998
|
+
cachedInputPerMTok: 1500
|
|
929
999
|
},
|
|
930
1000
|
"gemini-2.5-flash": {
|
|
931
1001
|
kind: "flat",
|
|
@@ -1122,6 +1192,16 @@ const FIRST_PARTY_MODEL_PROVIDERS = [
|
|
|
1122
1192
|
"mistral"
|
|
1123
1193
|
];
|
|
1124
1194
|
/**
|
|
1195
|
+
* Provider IDs for the GPT-6.1 family, kept in one row per member like GPT-6
|
|
1196
|
+
* below.
|
|
1197
|
+
*/
|
|
1198
|
+
const GPT_61_MODEL_IDS = { sol: {
|
|
1199
|
+
openai: "gpt-6.1-sol",
|
|
1200
|
+
openrouter: "openai/gpt-6.1-sol"
|
|
1201
|
+
} };
|
|
1202
|
+
const GPT_61_OPENAI_MODEL_IDS = Object.values(GPT_61_MODEL_IDS).map(({ openai }) => openai);
|
|
1203
|
+
const GPT_61_OPENROUTER_MODEL_IDS = Object.values(GPT_61_MODEL_IDS).map(({ openrouter }) => openrouter);
|
|
1204
|
+
/**
|
|
1125
1205
|
* Provider IDs for the GPT-6 family. Like GPT-5.6 below, one row feeds both
|
|
1126
1206
|
* the OpenAI and the OpenRouter picker.
|
|
1127
1207
|
*/
|
|
@@ -1253,6 +1333,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1253
1333
|
"gemini-3.1-flash-lite"
|
|
1254
1334
|
],
|
|
1255
1335
|
anthropic: [
|
|
1336
|
+
"claude-sonnet-5-5",
|
|
1256
1337
|
"claude-sonnet-5",
|
|
1257
1338
|
"claude-fable-5-1",
|
|
1258
1339
|
"claude-fable-5",
|
|
@@ -1265,6 +1346,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1265
1346
|
"claude-haiku-4-5-20251001"
|
|
1266
1347
|
],
|
|
1267
1348
|
openai: [
|
|
1349
|
+
...GPT_61_OPENAI_MODEL_IDS,
|
|
1268
1350
|
...GPT_6_OPENAI_MODEL_IDS,
|
|
1269
1351
|
...GPT_56_OPENAI_MODEL_IDS,
|
|
1270
1352
|
"gpt-5.5",
|
|
@@ -1274,6 +1356,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1274
1356
|
"gpt-5.2"
|
|
1275
1357
|
],
|
|
1276
1358
|
openrouter: [
|
|
1359
|
+
...GPT_61_OPENROUTER_MODEL_IDS,
|
|
1277
1360
|
...GPT_6_OPENROUTER_MODEL_IDS,
|
|
1278
1361
|
...GPT_56_OPENROUTER_MODEL_IDS,
|
|
1279
1362
|
"google/gemini-3.8-flash",
|
|
@@ -1283,6 +1366,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1283
1366
|
"google/gemini-3.1-pro-preview",
|
|
1284
1367
|
"google/gemini-3.5-flash",
|
|
1285
1368
|
"google/gemini-3.1-flash-lite",
|
|
1369
|
+
"anthropic/claude-sonnet-5.5",
|
|
1286
1370
|
"anthropic/claude-sonnet-5",
|
|
1287
1371
|
"anthropic/claude-opus-5",
|
|
1288
1372
|
"anthropic/claude-opus-4.8",
|
|
@@ -1340,6 +1424,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1340
1424
|
displayName: "Gemini 3.1 Flash Lite",
|
|
1341
1425
|
iconProvider: "google"
|
|
1342
1426
|
},
|
|
1427
|
+
"claude-sonnet-5-5": {
|
|
1428
|
+
displayName: "Claude Sonnet 5.5",
|
|
1429
|
+
iconProvider: "anthropic"
|
|
1430
|
+
},
|
|
1343
1431
|
"claude-sonnet-5": {
|
|
1344
1432
|
displayName: "Claude Sonnet 5",
|
|
1345
1433
|
iconProvider: "anthropic"
|
|
@@ -1380,6 +1468,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1380
1468
|
displayName: "Claude Haiku 4.5",
|
|
1381
1469
|
iconProvider: "anthropic"
|
|
1382
1470
|
},
|
|
1471
|
+
[GPT_61_MODEL_IDS.sol.openai]: {
|
|
1472
|
+
displayName: "GPT-6.1 Sol",
|
|
1473
|
+
iconProvider: "openai"
|
|
1474
|
+
},
|
|
1383
1475
|
[GPT_6_MODEL_IDS.astra.openai]: {
|
|
1384
1476
|
displayName: "GPT-6 Astra",
|
|
1385
1477
|
iconProvider: "openai"
|
|
@@ -1424,6 +1516,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1424
1516
|
displayName: "GPT-5.2",
|
|
1425
1517
|
iconProvider: "openai"
|
|
1426
1518
|
},
|
|
1519
|
+
[GPT_61_MODEL_IDS.sol.openrouter]: {
|
|
1520
|
+
displayName: "GPT-6.1 Sol",
|
|
1521
|
+
iconProvider: "openai"
|
|
1522
|
+
},
|
|
1427
1523
|
[GPT_6_MODEL_IDS.astra.openrouter]: {
|
|
1428
1524
|
displayName: "GPT-6 Astra",
|
|
1429
1525
|
iconProvider: "openai"
|
|
@@ -1476,6 +1572,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1476
1572
|
displayName: "Gemini 3.1 Flash Lite",
|
|
1477
1573
|
iconProvider: "google"
|
|
1478
1574
|
},
|
|
1575
|
+
"anthropic/claude-sonnet-5.5": {
|
|
1576
|
+
displayName: "Claude Sonnet 5.5",
|
|
1577
|
+
iconProvider: "anthropic"
|
|
1578
|
+
},
|
|
1479
1579
|
"anthropic/claude-sonnet-5": {
|
|
1480
1580
|
displayName: "Claude Sonnet 5",
|
|
1481
1581
|
iconProvider: "anthropic"
|
|
@@ -1623,6 +1723,7 @@ const resolveWorkingBYOKModelForRole = ({ provider, modelId, role }) => {
|
|
|
1623
1723
|
* offered above must appear here or it will 400 on the reasoning role.
|
|
1624
1724
|
*/
|
|
1625
1725
|
const ANTHROPIC_ADAPTIVE_THINKING_MODELS = [
|
|
1726
|
+
"claude-sonnet-5-5",
|
|
1626
1727
|
"claude-sonnet-5",
|
|
1627
1728
|
"claude-opus-5",
|
|
1628
1729
|
"claude-sonnet-4-6",
|
|
@@ -1675,6 +1776,7 @@ const FALLBACK_CHAT_MODEL_BY_PROVIDER = {
|
|
|
1675
1776
|
const MODEL_CATALOG_ID_ALIASES = {
|
|
1676
1777
|
"gpt-5.6-sol": "gpt-5.6",
|
|
1677
1778
|
"claude-opus-4.8": "claude-opus-4-8",
|
|
1779
|
+
"claude-sonnet-5.5": "claude-sonnet-5-5",
|
|
1678
1780
|
"claude-sonnet-4.6": "claude-sonnet-4-6"
|
|
1679
1781
|
};
|
|
1680
1782
|
const MODEL_CATALOG_ID_ALIAS_TARGET_BY_ID = MODEL_CATALOG_ID_ALIASES;
|
|
@@ -1718,6 +1820,7 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1718
1820
|
"gemini-3.1-pro-preview": "supported",
|
|
1719
1821
|
"gemini-3.5-flash": "supported",
|
|
1720
1822
|
"gemini-3.1-flash-lite": "supported",
|
|
1823
|
+
"openai/gpt-6.1-sol": "supported",
|
|
1721
1824
|
"openai/gpt-6-astra": "supported",
|
|
1722
1825
|
"openai/gpt-6-sol": "supported",
|
|
1723
1826
|
"openai/gpt-6-luna": "supported",
|
|
@@ -1731,12 +1834,14 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1731
1834
|
"google/gemini-3.1-pro-preview": "supported",
|
|
1732
1835
|
"google/gemini-3.5-flash": "supported",
|
|
1733
1836
|
"google/gemini-3.1-flash-lite": "supported",
|
|
1837
|
+
"anthropic/claude-sonnet-5.5": "supported",
|
|
1734
1838
|
"anthropic/claude-sonnet-5": "supported",
|
|
1735
1839
|
"anthropic/claude-opus-5": "supported",
|
|
1736
1840
|
"anthropic/claude-opus-4.8": "supported",
|
|
1737
1841
|
"anthropic/claude-sonnet-4.6": "supported",
|
|
1738
1842
|
"openai/gpt-5.5": "supported",
|
|
1739
1843
|
"openai/gpt-5.4-mini": "supported",
|
|
1844
|
+
"gpt-6.1-sol": "supported",
|
|
1740
1845
|
"gpt-6-astra": "supported",
|
|
1741
1846
|
"gpt-6-sol": "supported",
|
|
1742
1847
|
"gpt-6-luna": "supported",
|
|
@@ -1748,6 +1853,7 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1748
1853
|
"gpt-5.4-mini": "supported",
|
|
1749
1854
|
"gpt-5.4-nano": "supported",
|
|
1750
1855
|
"gpt-5.2": "supported",
|
|
1856
|
+
"claude-sonnet-5-5": "supported",
|
|
1751
1857
|
"claude-sonnet-5": "supported",
|
|
1752
1858
|
"claude-fable-5-1": "supported",
|
|
1753
1859
|
"claude-fable-5": "supported",
|
|
@@ -1872,6 +1978,7 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1872
1978
|
"gpt-5.4-mini": 4e5,
|
|
1873
1979
|
"gpt-5.4": 4e5,
|
|
1874
1980
|
"gpt-5.5": 4e5,
|
|
1981
|
+
"gpt-6.1-sol": 922e3,
|
|
1875
1982
|
"gpt-6-astra": 922e3,
|
|
1876
1983
|
"gpt-6-sol": 922e3,
|
|
1877
1984
|
"gpt-6-luna": 922e3,
|
|
@@ -1881,6 +1988,7 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1881
1988
|
"claude-haiku-4-5-20251001": 2e5,
|
|
1882
1989
|
"claude-sonnet-4-6": 2e5,
|
|
1883
1990
|
"claude-sonnet-5": 1e6,
|
|
1991
|
+
"claude-sonnet-5-5": 1e6,
|
|
1884
1992
|
"claude-opus-4-6": 2e5,
|
|
1885
1993
|
"claude-opus-4-7": 2e5,
|
|
1886
1994
|
"claude-opus-4-8": 2e5,
|
|
@@ -1900,10 +2008,12 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1900
2008
|
"google/gemini-3.1-pro-preview": 1048576,
|
|
1901
2009
|
"google/gemini-3.5-flash": 1048576,
|
|
1902
2010
|
"google/gemini-3.1-flash-lite": 1048576,
|
|
2011
|
+
"anthropic/claude-sonnet-5.5": 1e6,
|
|
1903
2012
|
"anthropic/claude-sonnet-5": 1e6,
|
|
1904
2013
|
"anthropic/claude-opus-5": 1e6,
|
|
1905
2014
|
"anthropic/claude-opus-4.8": 2e5,
|
|
1906
2015
|
"anthropic/claude-sonnet-4.6": 2e5,
|
|
2016
|
+
"openai/gpt-6.1-sol": 922e3,
|
|
1907
2017
|
"openai/gpt-6-astra": 922e3,
|
|
1908
2018
|
"openai/gpt-6-sol": 922e3,
|
|
1909
2019
|
"openai/gpt-6-luna": 922e3,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/ai-catalog",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Provider-neutral AI model roles, capabilities, and curated model metadata.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"pack:dry-run": "bun pm pack --dry-run",
|
|
42
42
|
"test": "bun test src",
|
|
43
43
|
"typecheck": "bun ../../packages/scripts/src/tsc-native.ts --noEmit",
|
|
44
|
-
"lint": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --report-unused-disable-directives-severity=error --type-aware packages/ai-catalog",
|
|
44
|
+
"lint": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --report-unused-disable-directives-severity=error --type-aware --type-check packages/ai-catalog",
|
|
45
45
|
"lint:fix": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --type-aware --fix packages/ai-catalog",
|
|
46
46
|
"format": "bun ../../scripts/run-oxfmt.ts .",
|
|
47
47
|
"prepack": "bun run build"
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@stll/typescript-config": "0.0.0",
|
|
54
|
-
"@tanstack/ai-anthropic": "0.
|
|
55
|
-
"@tanstack/ai-bedrock": "0.3.
|
|
56
|
-
"@tanstack/ai-gemini": "0.
|
|
57
|
-
"@tanstack/ai-mistral": "0.6.
|
|
58
|
-
"@tanstack/ai-openrouter": "0.19.
|
|
54
|
+
"@tanstack/ai-anthropic": "0.19.1",
|
|
55
|
+
"@tanstack/ai-bedrock": "0.3.15",
|
|
56
|
+
"@tanstack/ai-gemini": "0.33.1",
|
|
57
|
+
"@tanstack/ai-mistral": "0.6.10",
|
|
58
|
+
"@tanstack/ai-openrouter": "0.19.20",
|
|
59
59
|
"bun-types": "1.4.2",
|
|
60
60
|
"tsdown": "0.23.0"
|
|
61
61
|
},
|