@stll/ai-catalog 0.2.0 → 0.2.1
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 +134 -50
- package/dist/index.js +172 -27
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -108,6 +108,38 @@ export declare const MODEL_RATES: {
|
|
|
108
108
|
readonly cachedWriteInputPerMTok: 2500000;
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
+
readonly "gpt-6-sol": {
|
|
112
|
+
readonly kind: "input-token-tiered";
|
|
113
|
+
readonly inputTokenThreshold: 272000;
|
|
114
|
+
readonly standard: {
|
|
115
|
+
readonly inputPerMTok: 200000;
|
|
116
|
+
readonly outputPerMTok: 1000000;
|
|
117
|
+
readonly cachedInputPerMTok: 20000;
|
|
118
|
+
readonly cachedWriteInputPerMTok: 250000;
|
|
119
|
+
};
|
|
120
|
+
readonly aboveThreshold: {
|
|
121
|
+
readonly inputPerMTok: 400000;
|
|
122
|
+
readonly outputPerMTok: 1500000;
|
|
123
|
+
readonly cachedInputPerMTok: 40000;
|
|
124
|
+
readonly cachedWriteInputPerMTok: 500000;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
readonly "gpt-6-luna": {
|
|
128
|
+
readonly kind: "input-token-tiered";
|
|
129
|
+
readonly inputTokenThreshold: 272000;
|
|
130
|
+
readonly standard: {
|
|
131
|
+
readonly inputPerMTok: 10000;
|
|
132
|
+
readonly outputPerMTok: 50000;
|
|
133
|
+
readonly cachedInputPerMTok: 1000;
|
|
134
|
+
readonly cachedWriteInputPerMTok: 12500;
|
|
135
|
+
};
|
|
136
|
+
readonly aboveThreshold: {
|
|
137
|
+
readonly inputPerMTok: 20000;
|
|
138
|
+
readonly outputPerMTok: 75000;
|
|
139
|
+
readonly cachedInputPerMTok: 2000;
|
|
140
|
+
readonly cachedWriteInputPerMTok: 25000;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
111
143
|
readonly "gpt-5.6": {
|
|
112
144
|
readonly kind: "input-token-tiered";
|
|
113
145
|
readonly inputTokenThreshold: 272000;
|
|
@@ -223,6 +255,13 @@ export declare const MODEL_RATES: {
|
|
|
223
255
|
readonly cachedInputPerMTok: 100000;
|
|
224
256
|
readonly cachedWriteInputPerMTok: 1250000;
|
|
225
257
|
};
|
|
258
|
+
readonly "claude-opus-5-5": {
|
|
259
|
+
readonly kind: "flat";
|
|
260
|
+
readonly inputPerMTok: 400000;
|
|
261
|
+
readonly outputPerMTok: 2000000;
|
|
262
|
+
readonly cachedInputPerMTok: 20000;
|
|
263
|
+
readonly cachedWriteInputPerMTok: 500000;
|
|
264
|
+
};
|
|
226
265
|
readonly "claude-opus-5": {
|
|
227
266
|
readonly kind: "flat";
|
|
228
267
|
readonly inputPerMTok: 500000;
|
|
@@ -453,6 +492,8 @@ export declare const MODEL_REASONING_EFFORTS: {
|
|
|
453
492
|
readonly "gemini-3.5-flash": readonly ["minimal", "low", "medium", "high"];
|
|
454
493
|
readonly "gemini-3.1-flash-lite": readonly ["minimal", "low", "medium", "high"];
|
|
455
494
|
readonly "openai/gpt-6-astra": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
495
|
+
readonly "openai/gpt-6-sol": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
496
|
+
readonly "openai/gpt-6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
456
497
|
readonly "openai/gpt-5.6-sol": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
457
498
|
readonly "openai/gpt-5.6-terra": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
458
499
|
readonly "openai/gpt-5.6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
@@ -470,6 +511,8 @@ export declare const MODEL_REASONING_EFFORTS: {
|
|
|
470
511
|
readonly "openai/gpt-5.5": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
471
512
|
readonly "openai/gpt-5.4-mini": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
472
513
|
readonly "gpt-6-astra": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
514
|
+
readonly "gpt-6-sol": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
515
|
+
readonly "gpt-6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
473
516
|
readonly "gpt-5.6": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
474
517
|
readonly "gpt-5.6-terra": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
475
518
|
readonly "gpt-5.6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
@@ -481,6 +524,7 @@ export declare const MODEL_REASONING_EFFORTS: {
|
|
|
481
524
|
readonly "claude-sonnet-5": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
482
525
|
readonly "claude-fable-5-1": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
483
526
|
readonly "claude-fable-5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
527
|
+
readonly "claude-opus-5-5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
484
528
|
readonly "claude-opus-5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
485
529
|
readonly "claude-opus-4-8": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
486
530
|
readonly "claude-opus-4-7": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
@@ -513,6 +557,8 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
513
557
|
readonly "gemini-3.5-flash": null;
|
|
514
558
|
readonly "gemini-3.1-flash-lite": null;
|
|
515
559
|
readonly "openai/gpt-6-astra": "medium";
|
|
560
|
+
readonly "openai/gpt-6-sol": "medium";
|
|
561
|
+
readonly "openai/gpt-6-luna": "medium";
|
|
516
562
|
readonly "openai/gpt-5.6-sol": "medium";
|
|
517
563
|
readonly "openai/gpt-5.6-terra": "medium";
|
|
518
564
|
readonly "openai/gpt-5.6-luna": "medium";
|
|
@@ -530,6 +576,8 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
530
576
|
readonly "openai/gpt-5.5": "medium";
|
|
531
577
|
readonly "openai/gpt-5.4-mini": "medium";
|
|
532
578
|
readonly "gpt-6-astra": null;
|
|
579
|
+
readonly "gpt-6-sol": null;
|
|
580
|
+
readonly "gpt-6-luna": null;
|
|
533
581
|
readonly "gpt-5.6": null;
|
|
534
582
|
readonly "gpt-5.6-terra": null;
|
|
535
583
|
readonly "gpt-5.6-luna": null;
|
|
@@ -541,6 +589,7 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
541
589
|
readonly "claude-sonnet-5": null;
|
|
542
590
|
readonly "claude-fable-5-1": null;
|
|
543
591
|
readonly "claude-fable-5": null;
|
|
592
|
+
readonly "claude-opus-5-5": null;
|
|
544
593
|
readonly "claude-opus-5": null;
|
|
545
594
|
readonly "claude-opus-4-8": null;
|
|
546
595
|
readonly "claude-opus-4-7": null;
|
|
@@ -573,6 +622,8 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
573
622
|
readonly "gemini-3.5-flash": "emit";
|
|
574
623
|
readonly "gemini-3.1-flash-lite": "emit";
|
|
575
624
|
readonly "openai/gpt-6-astra": "omit";
|
|
625
|
+
readonly "openai/gpt-6-sol": "omit";
|
|
626
|
+
readonly "openai/gpt-6-luna": "omit";
|
|
576
627
|
readonly "openai/gpt-5.6-sol": "omit";
|
|
577
628
|
readonly "openai/gpt-5.6-terra": "omit";
|
|
578
629
|
readonly "openai/gpt-5.6-luna": "omit";
|
|
@@ -590,6 +641,8 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
590
641
|
readonly "openai/gpt-5.5": "omit";
|
|
591
642
|
readonly "openai/gpt-5.4-mini": "omit";
|
|
592
643
|
readonly "gpt-6-astra": "omit";
|
|
644
|
+
readonly "gpt-6-sol": "omit";
|
|
645
|
+
readonly "gpt-6-luna": "omit";
|
|
593
646
|
readonly "gpt-5.6": "omit";
|
|
594
647
|
readonly "gpt-5.6-terra": "omit";
|
|
595
648
|
readonly "gpt-5.6-luna": "omit";
|
|
@@ -601,6 +654,7 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
601
654
|
readonly "claude-sonnet-5": "omit";
|
|
602
655
|
readonly "claude-fable-5-1": "omit";
|
|
603
656
|
readonly "claude-fable-5": "omit";
|
|
657
|
+
readonly "claude-opus-5-5": "omit";
|
|
604
658
|
readonly "claude-opus-5": "omit";
|
|
605
659
|
readonly "claude-opus-4-8": "omit";
|
|
606
660
|
readonly "claude-opus-4-7": "omit";
|
|
@@ -675,28 +729,28 @@ export declare const FIRST_PARTY_MODEL_PROVIDERS: Exclude<FirstPartyModelProvide
|
|
|
675
729
|
*/
|
|
676
730
|
export declare const BYOK_DEFAULT_MODELS: {
|
|
677
731
|
readonly google: {
|
|
678
|
-
readonly fast: "gemini-3.
|
|
679
|
-
readonly chat: "gemini-3.
|
|
680
|
-
readonly reasoning: "gemini-3.
|
|
681
|
-
readonly pdf: "gemini-3.
|
|
732
|
+
readonly fast: "gemini-3.8-flash";
|
|
733
|
+
readonly chat: "gemini-3.8-flash";
|
|
734
|
+
readonly reasoning: "gemini-3.8-flash";
|
|
735
|
+
readonly pdf: "gemini-3.8-flash";
|
|
682
736
|
};
|
|
683
737
|
readonly openrouter: {
|
|
684
|
-
readonly fast: "openai/gpt-
|
|
685
|
-
readonly chat: "openai/gpt-
|
|
686
|
-
readonly reasoning: "openai/gpt-
|
|
687
|
-
readonly pdf: "openai/gpt-
|
|
738
|
+
readonly fast: "openai/gpt-6-luna";
|
|
739
|
+
readonly chat: "openai/gpt-6-sol";
|
|
740
|
+
readonly reasoning: "openai/gpt-6-sol";
|
|
741
|
+
readonly pdf: "openai/gpt-6-sol";
|
|
688
742
|
};
|
|
689
743
|
readonly openai: {
|
|
690
|
-
readonly fast: "gpt-
|
|
691
|
-
readonly chat: "gpt-
|
|
692
|
-
readonly reasoning: "gpt-
|
|
693
|
-
readonly pdf: "gpt-
|
|
744
|
+
readonly fast: "gpt-6-luna";
|
|
745
|
+
readonly chat: "gpt-6-sol";
|
|
746
|
+
readonly reasoning: "gpt-6-sol";
|
|
747
|
+
readonly pdf: "gpt-6-sol";
|
|
694
748
|
};
|
|
695
749
|
readonly anthropic: {
|
|
696
|
-
readonly fast: "claude-opus-5";
|
|
697
|
-
readonly chat: "claude-opus-
|
|
698
|
-
readonly reasoning: "claude-opus-5";
|
|
699
|
-
readonly pdf: "claude-opus-
|
|
750
|
+
readonly fast: "claude-opus-5-5";
|
|
751
|
+
readonly chat: "claude-opus-5-5";
|
|
752
|
+
readonly reasoning: "claude-opus-5-5";
|
|
753
|
+
readonly pdf: "claude-opus-5-5";
|
|
700
754
|
};
|
|
701
755
|
readonly bedrock: {
|
|
702
756
|
readonly fast: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
@@ -718,10 +772,10 @@ export declare const BYOK_DEFAULT_MODELS: {
|
|
|
718
772
|
*/
|
|
719
773
|
export declare const DEFAULT_MODELS: {
|
|
720
774
|
readonly azure_foundry: {
|
|
721
|
-
readonly fast: "gpt-5.
|
|
722
|
-
readonly chat: "gpt-5.
|
|
723
|
-
readonly reasoning: "gpt-5.
|
|
724
|
-
readonly pdf: "gpt-5.
|
|
775
|
+
readonly fast: "gpt-5.6-luna";
|
|
776
|
+
readonly chat: "gpt-5.6-terra";
|
|
777
|
+
readonly reasoning: "gpt-5.6-terra";
|
|
778
|
+
readonly pdf: "gpt-5.6-terra";
|
|
725
779
|
};
|
|
726
780
|
readonly openai_compatible: {
|
|
727
781
|
readonly fast: "default";
|
|
@@ -736,28 +790,28 @@ export declare const DEFAULT_MODELS: {
|
|
|
736
790
|
readonly pdf: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
737
791
|
};
|
|
738
792
|
readonly google: {
|
|
739
|
-
readonly fast: "gemini-3.
|
|
740
|
-
readonly chat: "gemini-3.
|
|
741
|
-
readonly reasoning: "gemini-3.
|
|
742
|
-
readonly pdf: "gemini-3.
|
|
793
|
+
readonly fast: "gemini-3.8-flash";
|
|
794
|
+
readonly chat: "gemini-3.8-flash";
|
|
795
|
+
readonly reasoning: "gemini-3.8-flash";
|
|
796
|
+
readonly pdf: "gemini-3.8-flash";
|
|
743
797
|
};
|
|
744
798
|
readonly openrouter: {
|
|
745
|
-
readonly fast: "openai/gpt-
|
|
746
|
-
readonly chat: "openai/gpt-
|
|
747
|
-
readonly reasoning: "openai/gpt-
|
|
748
|
-
readonly pdf: "openai/gpt-
|
|
799
|
+
readonly fast: "openai/gpt-6-luna";
|
|
800
|
+
readonly chat: "openai/gpt-6-sol";
|
|
801
|
+
readonly reasoning: "openai/gpt-6-sol";
|
|
802
|
+
readonly pdf: "openai/gpt-6-sol";
|
|
749
803
|
};
|
|
750
804
|
readonly openai: {
|
|
751
|
-
readonly fast: "gpt-
|
|
752
|
-
readonly chat: "gpt-
|
|
753
|
-
readonly reasoning: "gpt-
|
|
754
|
-
readonly pdf: "gpt-
|
|
805
|
+
readonly fast: "gpt-6-luna";
|
|
806
|
+
readonly chat: "gpt-6-sol";
|
|
807
|
+
readonly reasoning: "gpt-6-sol";
|
|
808
|
+
readonly pdf: "gpt-6-sol";
|
|
755
809
|
};
|
|
756
810
|
readonly anthropic: {
|
|
757
|
-
readonly fast: "claude-opus-5";
|
|
758
|
-
readonly chat: "claude-opus-
|
|
759
|
-
readonly reasoning: "claude-opus-5";
|
|
760
|
-
readonly pdf: "claude-opus-
|
|
811
|
+
readonly fast: "claude-opus-5-5";
|
|
812
|
+
readonly chat: "claude-opus-5-5";
|
|
813
|
+
readonly reasoning: "claude-opus-5-5";
|
|
814
|
+
readonly pdf: "claude-opus-5-5";
|
|
761
815
|
};
|
|
762
816
|
readonly bedrock: {
|
|
763
817
|
readonly fast: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
@@ -784,9 +838,9 @@ export declare const DEFAULT_MODELS: {
|
|
|
784
838
|
*/
|
|
785
839
|
export declare const BYOK_MODEL_OPTIONS: {
|
|
786
840
|
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"];
|
|
787
|
-
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"];
|
|
788
|
-
readonly openai: readonly ["gpt-6-astra"
|
|
789
|
-
readonly openrouter: readonly ["openai/gpt-6-astra"
|
|
841
|
+
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"];
|
|
842
|
+
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"];
|
|
843
|
+
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"];
|
|
790
844
|
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"];
|
|
791
845
|
readonly mistral: readonly ["mistral-large-latest", "mistral-medium-latest", "mistral-small-latest"];
|
|
792
846
|
};
|
|
@@ -846,6 +900,10 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
846
900
|
readonly displayName: "Claude Fable 5";
|
|
847
901
|
readonly iconProvider: "anthropic";
|
|
848
902
|
};
|
|
903
|
+
readonly "claude-opus-5-5": {
|
|
904
|
+
readonly displayName: "Claude Opus 5.5";
|
|
905
|
+
readonly iconProvider: "anthropic";
|
|
906
|
+
};
|
|
849
907
|
readonly "claude-opus-5": {
|
|
850
908
|
readonly displayName: "Claude Opus 5";
|
|
851
909
|
readonly iconProvider: "anthropic";
|
|
@@ -874,6 +932,14 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
874
932
|
readonly displayName: "GPT-6 Astra";
|
|
875
933
|
readonly iconProvider: "openai";
|
|
876
934
|
};
|
|
935
|
+
readonly "gpt-6-sol": {
|
|
936
|
+
readonly displayName: "GPT-6 Sol";
|
|
937
|
+
readonly iconProvider: "openai";
|
|
938
|
+
};
|
|
939
|
+
readonly "gpt-6-luna": {
|
|
940
|
+
readonly displayName: "GPT-6 Luna";
|
|
941
|
+
readonly iconProvider: "openai";
|
|
942
|
+
};
|
|
877
943
|
readonly "gpt-5.6": {
|
|
878
944
|
readonly displayName: "GPT-5.6 Sol";
|
|
879
945
|
readonly iconProvider: "openai";
|
|
@@ -910,6 +976,14 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
910
976
|
readonly displayName: "GPT-6 Astra";
|
|
911
977
|
readonly iconProvider: "openai";
|
|
912
978
|
};
|
|
979
|
+
readonly "openai/gpt-6-sol": {
|
|
980
|
+
readonly displayName: "GPT-6 Sol";
|
|
981
|
+
readonly iconProvider: "openai";
|
|
982
|
+
};
|
|
983
|
+
readonly "openai/gpt-6-luna": {
|
|
984
|
+
readonly displayName: "GPT-6 Luna";
|
|
985
|
+
readonly iconProvider: "openai";
|
|
986
|
+
};
|
|
913
987
|
readonly "openai/gpt-5.6-sol": {
|
|
914
988
|
readonly displayName: "GPT-5.6 Sol";
|
|
915
989
|
readonly iconProvider: "openai";
|
|
@@ -1027,9 +1101,9 @@ export declare const getModelDisplayMetadata: (modelId: string) => ModelDisplayM
|
|
|
1027
1101
|
*/
|
|
1028
1102
|
export declare const BYOK_DOCUMENT_INPUT_MODEL_OPTIONS: {
|
|
1029
1103
|
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"];
|
|
1030
|
-
readonly openrouter: readonly ["openai/gpt-6-astra", "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"];
|
|
1031
|
-
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"];
|
|
1032
|
-
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"];
|
|
1104
|
+
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"];
|
|
1105
|
+
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"];
|
|
1106
|
+
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"];
|
|
1033
1107
|
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"];
|
|
1034
1108
|
readonly mistral: readonly [];
|
|
1035
1109
|
};
|
|
@@ -1058,9 +1132,9 @@ export declare const isBYOKModelRoleSupported: ({ provider, modelId, role }: {
|
|
|
1058
1132
|
export declare const CHAT_PDF_ATTACHMENT_MODEL_OPTIONS: {
|
|
1059
1133
|
readonly mistral: readonly ["mistral-medium-latest", "mistral-small-latest"];
|
|
1060
1134
|
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"];
|
|
1061
|
-
readonly openrouter: readonly ["openai/gpt-6-astra", "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"];
|
|
1062
|
-
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"];
|
|
1063
|
-
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"];
|
|
1135
|
+
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"];
|
|
1136
|
+
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"];
|
|
1137
|
+
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"];
|
|
1064
1138
|
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"];
|
|
1065
1139
|
};
|
|
1066
1140
|
export declare const isChatPdfAttachmentModelSupported: ({ provider, modelId }: {
|
|
@@ -1092,7 +1166,7 @@ export declare const resolveWorkingBYOKModelForRole: ({ provider, modelId, role
|
|
|
1092
1166
|
* legacy budget-based form, so every Opus 4.6+/Sonnet 4.6/Fable entry
|
|
1093
1167
|
* offered above must appear here or it will 400 on the reasoning role.
|
|
1094
1168
|
*/
|
|
1095
|
-
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"];
|
|
1169
|
+
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"];
|
|
1096
1170
|
/**
|
|
1097
1171
|
* Canonical reasoning-effort ladder, ordered weakest to strongest.
|
|
1098
1172
|
* Union of every effort keyword the offered providers accept; no
|
|
@@ -1118,10 +1192,10 @@ export type ResolvedReasoningEffort = v.InferOutput<typeof resolvedReasoningEffo
|
|
|
1118
1192
|
* provider lands with an explicit decision.
|
|
1119
1193
|
*/
|
|
1120
1194
|
export declare const FALLBACK_CHAT_MODEL_BY_PROVIDER: {
|
|
1121
|
-
readonly google: "gemini-3.
|
|
1122
|
-
readonly openrouter: "openai/gpt-
|
|
1123
|
-
readonly openai: "gpt-
|
|
1124
|
-
readonly anthropic: "claude-opus-5";
|
|
1195
|
+
readonly google: "gemini-3.8-flash";
|
|
1196
|
+
readonly openrouter: "openai/gpt-6-luna";
|
|
1197
|
+
readonly openai: "gpt-6-luna";
|
|
1198
|
+
readonly anthropic: "claude-opus-5-5";
|
|
1125
1199
|
readonly bedrock: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
1126
1200
|
readonly mistral: "mistral-small-latest";
|
|
1127
1201
|
readonly azure_foundry: null;
|
|
@@ -1169,6 +1243,8 @@ export declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1169
1243
|
readonly "gemini-3.5-flash": "supported";
|
|
1170
1244
|
readonly "gemini-3.1-flash-lite": "supported";
|
|
1171
1245
|
readonly "openai/gpt-6-astra": "supported";
|
|
1246
|
+
readonly "openai/gpt-6-sol": "supported";
|
|
1247
|
+
readonly "openai/gpt-6-luna": "supported";
|
|
1172
1248
|
readonly "openai/gpt-5.6-sol": "supported";
|
|
1173
1249
|
readonly "openai/gpt-5.6-terra": "supported";
|
|
1174
1250
|
readonly "openai/gpt-5.6-luna": "supported";
|
|
@@ -1186,6 +1262,8 @@ export declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1186
1262
|
readonly "openai/gpt-5.5": "supported";
|
|
1187
1263
|
readonly "openai/gpt-5.4-mini": "supported";
|
|
1188
1264
|
readonly "gpt-6-astra": "supported";
|
|
1265
|
+
readonly "gpt-6-sol": "supported";
|
|
1266
|
+
readonly "gpt-6-luna": "supported";
|
|
1189
1267
|
readonly "gpt-5.6": "supported";
|
|
1190
1268
|
readonly "gpt-5.6-terra": "supported";
|
|
1191
1269
|
readonly "gpt-5.6-luna": "supported";
|
|
@@ -1197,6 +1275,7 @@ export declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1197
1275
|
readonly "claude-sonnet-5": "supported";
|
|
1198
1276
|
readonly "claude-fable-5-1": "supported";
|
|
1199
1277
|
readonly "claude-fable-5": "supported";
|
|
1278
|
+
readonly "claude-opus-5-5": "supported";
|
|
1200
1279
|
readonly "claude-opus-5": "supported";
|
|
1201
1280
|
readonly "claude-opus-4-8": "supported";
|
|
1202
1281
|
readonly "claude-opus-4-7": "supported";
|
|
@@ -1288,6 +1367,8 @@ export declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1288
1367
|
readonly "gpt-5.4": 400000;
|
|
1289
1368
|
readonly "gpt-5.5": 400000;
|
|
1290
1369
|
readonly "gpt-6-astra": 922000;
|
|
1370
|
+
readonly "gpt-6-sol": 922000;
|
|
1371
|
+
readonly "gpt-6-luna": 922000;
|
|
1291
1372
|
readonly "gpt-5.6": 922000;
|
|
1292
1373
|
readonly "gpt-5.6-luna": 922000;
|
|
1293
1374
|
readonly "gpt-5.6-terra": 922000;
|
|
@@ -1298,6 +1379,7 @@ export declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1298
1379
|
readonly "claude-opus-4-7": 200000;
|
|
1299
1380
|
readonly "claude-opus-4-8": 200000;
|
|
1300
1381
|
readonly "claude-opus-5": 1000000;
|
|
1382
|
+
readonly "claude-opus-5-5": 1000000;
|
|
1301
1383
|
readonly "claude-fable-5": 200000;
|
|
1302
1384
|
readonly "claude-fable-5-1": 1000000;
|
|
1303
1385
|
readonly "mistral-small-latest": 128000;
|
|
@@ -1317,6 +1399,8 @@ export declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1317
1399
|
readonly "anthropic/claude-opus-4.8": 200000;
|
|
1318
1400
|
readonly "anthropic/claude-sonnet-4.6": 200000;
|
|
1319
1401
|
readonly "openai/gpt-6-astra": 922000;
|
|
1402
|
+
readonly "openai/gpt-6-sol": 922000;
|
|
1403
|
+
readonly "openai/gpt-6-luna": 922000;
|
|
1320
1404
|
readonly "openai/gpt-5.6-sol": 922000;
|
|
1321
1405
|
readonly "openai/gpt-5.6-luna": 922000;
|
|
1322
1406
|
readonly "openai/gpt-5.6-terra": 922000;
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,8 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
16
16
|
],
|
|
17
17
|
openrouter: [
|
|
18
18
|
"openai/gpt-6-astra",
|
|
19
|
+
"openai/gpt-6-sol",
|
|
20
|
+
"openai/gpt-6-luna",
|
|
19
21
|
"openai/gpt-5.6-sol",
|
|
20
22
|
"openai/gpt-5.6-terra",
|
|
21
23
|
"openai/gpt-5.6-luna",
|
|
@@ -35,6 +37,8 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
35
37
|
],
|
|
36
38
|
openai: [
|
|
37
39
|
"gpt-6-astra",
|
|
40
|
+
"gpt-6-sol",
|
|
41
|
+
"gpt-6-luna",
|
|
38
42
|
"gpt-5.6",
|
|
39
43
|
"gpt-5.6-terra",
|
|
40
44
|
"gpt-5.6-luna",
|
|
@@ -48,6 +52,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
48
52
|
"claude-sonnet-5",
|
|
49
53
|
"claude-fable-5-1",
|
|
50
54
|
"claude-fable-5",
|
|
55
|
+
"claude-opus-5-5",
|
|
51
56
|
"claude-opus-5",
|
|
52
57
|
"claude-opus-4-8",
|
|
53
58
|
"claude-opus-4-7",
|
|
@@ -116,6 +121,22 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
116
121
|
"xhigh",
|
|
117
122
|
"max"
|
|
118
123
|
],
|
|
124
|
+
"openai/gpt-6-sol": [
|
|
125
|
+
"none",
|
|
126
|
+
"low",
|
|
127
|
+
"medium",
|
|
128
|
+
"high",
|
|
129
|
+
"xhigh",
|
|
130
|
+
"max"
|
|
131
|
+
],
|
|
132
|
+
"openai/gpt-6-luna": [
|
|
133
|
+
"none",
|
|
134
|
+
"low",
|
|
135
|
+
"medium",
|
|
136
|
+
"high",
|
|
137
|
+
"xhigh",
|
|
138
|
+
"max"
|
|
139
|
+
],
|
|
119
140
|
"openai/gpt-5.6-sol": [
|
|
120
141
|
"none",
|
|
121
142
|
"low",
|
|
@@ -232,6 +253,22 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
232
253
|
"xhigh",
|
|
233
254
|
"max"
|
|
234
255
|
],
|
|
256
|
+
"gpt-6-sol": [
|
|
257
|
+
"none",
|
|
258
|
+
"low",
|
|
259
|
+
"medium",
|
|
260
|
+
"high",
|
|
261
|
+
"xhigh",
|
|
262
|
+
"max"
|
|
263
|
+
],
|
|
264
|
+
"gpt-6-luna": [
|
|
265
|
+
"none",
|
|
266
|
+
"low",
|
|
267
|
+
"medium",
|
|
268
|
+
"high",
|
|
269
|
+
"xhigh",
|
|
270
|
+
"max"
|
|
271
|
+
],
|
|
235
272
|
"gpt-5.6": [
|
|
236
273
|
"none",
|
|
237
274
|
"low",
|
|
@@ -313,6 +350,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
313
350
|
"xhigh",
|
|
314
351
|
"max"
|
|
315
352
|
],
|
|
353
|
+
"claude-opus-5-5": [
|
|
354
|
+
"low",
|
|
355
|
+
"medium",
|
|
356
|
+
"high",
|
|
357
|
+
"xhigh",
|
|
358
|
+
"max"
|
|
359
|
+
],
|
|
316
360
|
"claude-opus-5": [
|
|
317
361
|
"low",
|
|
318
362
|
"medium",
|
|
@@ -381,6 +425,8 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
381
425
|
"gemini-3.5-flash": null,
|
|
382
426
|
"gemini-3.1-flash-lite": null,
|
|
383
427
|
"openai/gpt-6-astra": "medium",
|
|
428
|
+
"openai/gpt-6-sol": "medium",
|
|
429
|
+
"openai/gpt-6-luna": "medium",
|
|
384
430
|
"openai/gpt-5.6-sol": "medium",
|
|
385
431
|
"openai/gpt-5.6-terra": "medium",
|
|
386
432
|
"openai/gpt-5.6-luna": "medium",
|
|
@@ -398,6 +444,8 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
398
444
|
"openai/gpt-5.5": "medium",
|
|
399
445
|
"openai/gpt-5.4-mini": "medium",
|
|
400
446
|
"gpt-6-astra": null,
|
|
447
|
+
"gpt-6-sol": null,
|
|
448
|
+
"gpt-6-luna": null,
|
|
401
449
|
"gpt-5.6": null,
|
|
402
450
|
"gpt-5.6-terra": null,
|
|
403
451
|
"gpt-5.6-luna": null,
|
|
@@ -409,6 +457,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
409
457
|
"claude-sonnet-5": null,
|
|
410
458
|
"claude-fable-5-1": null,
|
|
411
459
|
"claude-fable-5": null,
|
|
460
|
+
"claude-opus-5-5": null,
|
|
412
461
|
"claude-opus-5": null,
|
|
413
462
|
"claude-opus-4-8": null,
|
|
414
463
|
"claude-opus-4-7": null,
|
|
@@ -441,6 +490,8 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
441
490
|
"gemini-3.5-flash": "emit",
|
|
442
491
|
"gemini-3.1-flash-lite": "emit",
|
|
443
492
|
"openai/gpt-6-astra": "omit",
|
|
493
|
+
"openai/gpt-6-sol": "omit",
|
|
494
|
+
"openai/gpt-6-luna": "omit",
|
|
444
495
|
"openai/gpt-5.6-sol": "omit",
|
|
445
496
|
"openai/gpt-5.6-terra": "omit",
|
|
446
497
|
"openai/gpt-5.6-luna": "omit",
|
|
@@ -458,6 +509,8 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
458
509
|
"openai/gpt-5.5": "omit",
|
|
459
510
|
"openai/gpt-5.4-mini": "omit",
|
|
460
511
|
"gpt-6-astra": "omit",
|
|
512
|
+
"gpt-6-sol": "omit",
|
|
513
|
+
"gpt-6-luna": "omit",
|
|
461
514
|
"gpt-5.6": "omit",
|
|
462
515
|
"gpt-5.6-terra": "omit",
|
|
463
516
|
"gpt-5.6-luna": "omit",
|
|
@@ -469,6 +522,7 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
469
522
|
"claude-sonnet-5": "omit",
|
|
470
523
|
"claude-fable-5-1": "omit",
|
|
471
524
|
"claude-fable-5": "omit",
|
|
525
|
+
"claude-opus-5-5": "omit",
|
|
472
526
|
"claude-opus-5": "omit",
|
|
473
527
|
"claude-opus-4-8": "omit",
|
|
474
528
|
"claude-opus-4-7": "omit",
|
|
@@ -556,6 +610,38 @@ const MODEL_RATES = {
|
|
|
556
610
|
cachedWriteInputPerMTok: 25e5
|
|
557
611
|
}
|
|
558
612
|
},
|
|
613
|
+
"gpt-6-sol": {
|
|
614
|
+
kind: "input-token-tiered",
|
|
615
|
+
inputTokenThreshold: 272e3,
|
|
616
|
+
standard: {
|
|
617
|
+
inputPerMTok: 2e5,
|
|
618
|
+
outputPerMTok: 1e6,
|
|
619
|
+
cachedInputPerMTok: 2e4,
|
|
620
|
+
cachedWriteInputPerMTok: 25e4
|
|
621
|
+
},
|
|
622
|
+
aboveThreshold: {
|
|
623
|
+
inputPerMTok: 4e5,
|
|
624
|
+
outputPerMTok: 15e5,
|
|
625
|
+
cachedInputPerMTok: 4e4,
|
|
626
|
+
cachedWriteInputPerMTok: 5e5
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"gpt-6-luna": {
|
|
630
|
+
kind: "input-token-tiered",
|
|
631
|
+
inputTokenThreshold: 272e3,
|
|
632
|
+
standard: {
|
|
633
|
+
inputPerMTok: 1e4,
|
|
634
|
+
outputPerMTok: 5e4,
|
|
635
|
+
cachedInputPerMTok: 1e3,
|
|
636
|
+
cachedWriteInputPerMTok: 12500
|
|
637
|
+
},
|
|
638
|
+
aboveThreshold: {
|
|
639
|
+
inputPerMTok: 2e4,
|
|
640
|
+
outputPerMTok: 75e3,
|
|
641
|
+
cachedInputPerMTok: 2e3,
|
|
642
|
+
cachedWriteInputPerMTok: 25e3
|
|
643
|
+
}
|
|
644
|
+
},
|
|
559
645
|
"gpt-5.6": {
|
|
560
646
|
kind: "input-token-tiered",
|
|
561
647
|
inputTokenThreshold: 272e3,
|
|
@@ -671,6 +757,13 @@ const MODEL_RATES = {
|
|
|
671
757
|
cachedInputPerMTok: 1e5,
|
|
672
758
|
cachedWriteInputPerMTok: 125e4
|
|
673
759
|
},
|
|
760
|
+
"claude-opus-5-5": {
|
|
761
|
+
kind: "flat",
|
|
762
|
+
inputPerMTok: 4e5,
|
|
763
|
+
outputPerMTok: 2e6,
|
|
764
|
+
cachedInputPerMTok: 2e4,
|
|
765
|
+
cachedWriteInputPerMTok: 5e5
|
|
766
|
+
},
|
|
674
767
|
"claude-opus-5": {
|
|
675
768
|
kind: "flat",
|
|
676
769
|
inputPerMTok: 5e5,
|
|
@@ -964,6 +1057,26 @@ const FIRST_PARTY_MODEL_PROVIDERS = [
|
|
|
964
1057
|
"mistral"
|
|
965
1058
|
];
|
|
966
1059
|
/**
|
|
1060
|
+
* Provider IDs for the GPT-6 family. Like GPT-5.6 below, one row feeds both
|
|
1061
|
+
* the OpenAI and the OpenRouter picker.
|
|
1062
|
+
*/
|
|
1063
|
+
const GPT_6_MODEL_IDS = {
|
|
1064
|
+
astra: {
|
|
1065
|
+
openai: "gpt-6-astra",
|
|
1066
|
+
openrouter: "openai/gpt-6-astra"
|
|
1067
|
+
},
|
|
1068
|
+
sol: {
|
|
1069
|
+
openai: "gpt-6-sol",
|
|
1070
|
+
openrouter: "openai/gpt-6-sol"
|
|
1071
|
+
},
|
|
1072
|
+
luna: {
|
|
1073
|
+
openai: "gpt-6-luna",
|
|
1074
|
+
openrouter: "openai/gpt-6-luna"
|
|
1075
|
+
}
|
|
1076
|
+
};
|
|
1077
|
+
const GPT_6_OPENAI_MODEL_IDS = Object.values(GPT_6_MODEL_IDS).map(({ openai }) => openai);
|
|
1078
|
+
const GPT_6_OPENROUTER_MODEL_IDS = Object.values(GPT_6_MODEL_IDS).map(({ openrouter }) => openrouter);
|
|
1079
|
+
/**
|
|
967
1080
|
* Provider IDs for the GPT-5.6 family. OpenAI exposes Sol through the
|
|
968
1081
|
* `gpt-5.6` alias while OpenRouter uses the explicit `gpt-5.6-sol` ID. Keep
|
|
969
1082
|
* both routes in one row so adding a family member cannot update one picker
|
|
@@ -992,28 +1105,28 @@ const GPT_56_OPENROUTER_MODEL_IDS = Object.values(GPT_56_MODEL_IDS).map(({ openr
|
|
|
992
1105
|
*/
|
|
993
1106
|
const BYOK_DEFAULT_MODELS = {
|
|
994
1107
|
google: {
|
|
995
|
-
fast: "gemini-3.
|
|
996
|
-
chat: "gemini-3.
|
|
997
|
-
reasoning: "gemini-3.
|
|
998
|
-
pdf: "gemini-3.
|
|
1108
|
+
fast: "gemini-3.8-flash",
|
|
1109
|
+
chat: "gemini-3.8-flash",
|
|
1110
|
+
reasoning: "gemini-3.8-flash",
|
|
1111
|
+
pdf: "gemini-3.8-flash"
|
|
999
1112
|
},
|
|
1000
1113
|
openrouter: {
|
|
1001
|
-
fast:
|
|
1002
|
-
chat:
|
|
1003
|
-
reasoning:
|
|
1004
|
-
pdf:
|
|
1114
|
+
fast: GPT_6_MODEL_IDS.luna.openrouter,
|
|
1115
|
+
chat: GPT_6_MODEL_IDS.sol.openrouter,
|
|
1116
|
+
reasoning: GPT_6_MODEL_IDS.sol.openrouter,
|
|
1117
|
+
pdf: GPT_6_MODEL_IDS.sol.openrouter
|
|
1005
1118
|
},
|
|
1006
1119
|
openai: {
|
|
1007
|
-
fast:
|
|
1008
|
-
chat:
|
|
1009
|
-
reasoning:
|
|
1010
|
-
pdf:
|
|
1120
|
+
fast: GPT_6_MODEL_IDS.luna.openai,
|
|
1121
|
+
chat: GPT_6_MODEL_IDS.sol.openai,
|
|
1122
|
+
reasoning: GPT_6_MODEL_IDS.sol.openai,
|
|
1123
|
+
pdf: GPT_6_MODEL_IDS.sol.openai
|
|
1011
1124
|
},
|
|
1012
1125
|
anthropic: {
|
|
1013
|
-
fast: "claude-opus-5",
|
|
1014
|
-
chat: "claude-opus-
|
|
1015
|
-
reasoning: "claude-opus-5",
|
|
1016
|
-
pdf: "claude-opus-
|
|
1126
|
+
fast: "claude-opus-5-5",
|
|
1127
|
+
chat: "claude-opus-5-5",
|
|
1128
|
+
reasoning: "claude-opus-5-5",
|
|
1129
|
+
pdf: "claude-opus-5-5"
|
|
1017
1130
|
},
|
|
1018
1131
|
bedrock: {
|
|
1019
1132
|
fast: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
@@ -1036,10 +1149,10 @@ const BYOK_DEFAULT_MODELS = {
|
|
|
1036
1149
|
const DEFAULT_MODELS = {
|
|
1037
1150
|
...BYOK_DEFAULT_MODELS,
|
|
1038
1151
|
azure_foundry: {
|
|
1039
|
-
fast:
|
|
1040
|
-
chat:
|
|
1041
|
-
reasoning:
|
|
1042
|
-
pdf:
|
|
1152
|
+
fast: GPT_56_MODEL_IDS.luna.openai,
|
|
1153
|
+
chat: GPT_56_MODEL_IDS.terra.openai,
|
|
1154
|
+
reasoning: GPT_56_MODEL_IDS.terra.openai,
|
|
1155
|
+
pdf: GPT_56_MODEL_IDS.terra.openai
|
|
1043
1156
|
},
|
|
1044
1157
|
openai_compatible: {
|
|
1045
1158
|
fast: "default",
|
|
@@ -1078,6 +1191,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1078
1191
|
"claude-sonnet-5",
|
|
1079
1192
|
"claude-fable-5-1",
|
|
1080
1193
|
"claude-fable-5",
|
|
1194
|
+
"claude-opus-5-5",
|
|
1081
1195
|
"claude-opus-5",
|
|
1082
1196
|
"claude-opus-4-8",
|
|
1083
1197
|
"claude-opus-4-7",
|
|
@@ -1086,7 +1200,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1086
1200
|
"claude-haiku-4-5-20251001"
|
|
1087
1201
|
],
|
|
1088
1202
|
openai: [
|
|
1089
|
-
|
|
1203
|
+
...GPT_6_OPENAI_MODEL_IDS,
|
|
1090
1204
|
...GPT_56_OPENAI_MODEL_IDS,
|
|
1091
1205
|
"gpt-5.5",
|
|
1092
1206
|
"gpt-5.4",
|
|
@@ -1095,7 +1209,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1095
1209
|
"gpt-5.2"
|
|
1096
1210
|
],
|
|
1097
1211
|
openrouter: [
|
|
1098
|
-
|
|
1212
|
+
...GPT_6_OPENROUTER_MODEL_IDS,
|
|
1099
1213
|
...GPT_56_OPENROUTER_MODEL_IDS,
|
|
1100
1214
|
"google/gemini-3.8-flash",
|
|
1101
1215
|
"google/gemini-3.7-flash",
|
|
@@ -1174,6 +1288,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1174
1288
|
displayName: "Claude Fable 5",
|
|
1175
1289
|
iconProvider: "anthropic"
|
|
1176
1290
|
},
|
|
1291
|
+
"claude-opus-5-5": {
|
|
1292
|
+
displayName: "Claude Opus 5.5",
|
|
1293
|
+
iconProvider: "anthropic"
|
|
1294
|
+
},
|
|
1177
1295
|
"claude-opus-5": {
|
|
1178
1296
|
displayName: "Claude Opus 5",
|
|
1179
1297
|
iconProvider: "anthropic"
|
|
@@ -1198,10 +1316,18 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1198
1316
|
displayName: "Claude Haiku 4.5",
|
|
1199
1317
|
iconProvider: "anthropic"
|
|
1200
1318
|
},
|
|
1201
|
-
|
|
1319
|
+
[GPT_6_MODEL_IDS.astra.openai]: {
|
|
1202
1320
|
displayName: "GPT-6 Astra",
|
|
1203
1321
|
iconProvider: "openai"
|
|
1204
1322
|
},
|
|
1323
|
+
[GPT_6_MODEL_IDS.sol.openai]: {
|
|
1324
|
+
displayName: "GPT-6 Sol",
|
|
1325
|
+
iconProvider: "openai"
|
|
1326
|
+
},
|
|
1327
|
+
[GPT_6_MODEL_IDS.luna.openai]: {
|
|
1328
|
+
displayName: "GPT-6 Luna",
|
|
1329
|
+
iconProvider: "openai"
|
|
1330
|
+
},
|
|
1205
1331
|
[GPT_56_MODEL_IDS.sol.openai]: {
|
|
1206
1332
|
displayName: "GPT-5.6 Sol",
|
|
1207
1333
|
iconProvider: "openai"
|
|
@@ -1234,10 +1360,18 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1234
1360
|
displayName: "GPT-5.2",
|
|
1235
1361
|
iconProvider: "openai"
|
|
1236
1362
|
},
|
|
1237
|
-
|
|
1363
|
+
[GPT_6_MODEL_IDS.astra.openrouter]: {
|
|
1238
1364
|
displayName: "GPT-6 Astra",
|
|
1239
1365
|
iconProvider: "openai"
|
|
1240
1366
|
},
|
|
1367
|
+
[GPT_6_MODEL_IDS.sol.openrouter]: {
|
|
1368
|
+
displayName: "GPT-6 Sol",
|
|
1369
|
+
iconProvider: "openai"
|
|
1370
|
+
},
|
|
1371
|
+
[GPT_6_MODEL_IDS.luna.openrouter]: {
|
|
1372
|
+
displayName: "GPT-6 Luna",
|
|
1373
|
+
iconProvider: "openai"
|
|
1374
|
+
},
|
|
1241
1375
|
[GPT_56_MODEL_IDS.sol.openrouter]: {
|
|
1242
1376
|
displayName: "GPT-5.6 Sol",
|
|
1243
1377
|
iconProvider: "openai"
|
|
@@ -1436,7 +1570,8 @@ const ANTHROPIC_ADAPTIVE_THINKING_MODELS = [
|
|
|
1436
1570
|
"claude-opus-4-7",
|
|
1437
1571
|
"claude-opus-4-8",
|
|
1438
1572
|
"claude-fable-5",
|
|
1439
|
-
"claude-fable-5-1"
|
|
1573
|
+
"claude-fable-5-1",
|
|
1574
|
+
"claude-opus-5-5"
|
|
1440
1575
|
];
|
|
1441
1576
|
/**
|
|
1442
1577
|
* Canonical reasoning-effort ladder, ordered weakest to strongest.
|
|
@@ -1463,8 +1598,8 @@ const resolvedReasoningEffortSchema = v.pipe(v.picklist(REASONING_EFFORTS), v.br
|
|
|
1463
1598
|
*/
|
|
1464
1599
|
const FALLBACK_CHAT_MODEL_BY_PROVIDER = {
|
|
1465
1600
|
google: DEFAULT_MODELS.google.fast,
|
|
1466
|
-
openrouter:
|
|
1467
|
-
openai:
|
|
1601
|
+
openrouter: DEFAULT_MODELS.openrouter.fast,
|
|
1602
|
+
openai: DEFAULT_MODELS.openai.fast,
|
|
1468
1603
|
anthropic: DEFAULT_MODELS.anthropic.fast,
|
|
1469
1604
|
bedrock: DEFAULT_MODELS.bedrock.fast,
|
|
1470
1605
|
mistral: DEFAULT_MODELS.mistral.fast,
|
|
@@ -1515,6 +1650,8 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1515
1650
|
"gemini-3.5-flash": "supported",
|
|
1516
1651
|
"gemini-3.1-flash-lite": "supported",
|
|
1517
1652
|
"openai/gpt-6-astra": "supported",
|
|
1653
|
+
"openai/gpt-6-sol": "supported",
|
|
1654
|
+
"openai/gpt-6-luna": "supported",
|
|
1518
1655
|
"openai/gpt-5.6-sol": "supported",
|
|
1519
1656
|
"openai/gpt-5.6-terra": "supported",
|
|
1520
1657
|
"openai/gpt-5.6-luna": "supported",
|
|
@@ -1532,6 +1669,8 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1532
1669
|
"openai/gpt-5.5": "supported",
|
|
1533
1670
|
"openai/gpt-5.4-mini": "supported",
|
|
1534
1671
|
"gpt-6-astra": "supported",
|
|
1672
|
+
"gpt-6-sol": "supported",
|
|
1673
|
+
"gpt-6-luna": "supported",
|
|
1535
1674
|
"gpt-5.6": "supported",
|
|
1536
1675
|
"gpt-5.6-terra": "supported",
|
|
1537
1676
|
"gpt-5.6-luna": "supported",
|
|
@@ -1543,6 +1682,7 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1543
1682
|
"claude-sonnet-5": "supported",
|
|
1544
1683
|
"claude-fable-5-1": "supported",
|
|
1545
1684
|
"claude-fable-5": "supported",
|
|
1685
|
+
"claude-opus-5-5": "supported",
|
|
1546
1686
|
"claude-opus-5": "supported",
|
|
1547
1687
|
"claude-opus-4-8": "supported",
|
|
1548
1688
|
"claude-opus-4-7": "supported",
|
|
@@ -1658,6 +1798,8 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1658
1798
|
"gpt-5.4": 4e5,
|
|
1659
1799
|
"gpt-5.5": 4e5,
|
|
1660
1800
|
"gpt-6-astra": 922e3,
|
|
1801
|
+
"gpt-6-sol": 922e3,
|
|
1802
|
+
"gpt-6-luna": 922e3,
|
|
1661
1803
|
"gpt-5.6": 922e3,
|
|
1662
1804
|
"gpt-5.6-luna": 922e3,
|
|
1663
1805
|
"gpt-5.6-terra": 922e3,
|
|
@@ -1668,6 +1810,7 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1668
1810
|
"claude-opus-4-7": 2e5,
|
|
1669
1811
|
"claude-opus-4-8": 2e5,
|
|
1670
1812
|
"claude-opus-5": 1e6,
|
|
1813
|
+
"claude-opus-5-5": 1e6,
|
|
1671
1814
|
"claude-fable-5": 2e5,
|
|
1672
1815
|
"claude-fable-5-1": 1e6,
|
|
1673
1816
|
"mistral-small-latest": 128e3,
|
|
@@ -1687,6 +1830,8 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1687
1830
|
"anthropic/claude-opus-4.8": 2e5,
|
|
1688
1831
|
"anthropic/claude-sonnet-4.6": 2e5,
|
|
1689
1832
|
"openai/gpt-6-astra": 922e3,
|
|
1833
|
+
"openai/gpt-6-sol": 922e3,
|
|
1834
|
+
"openai/gpt-6-luna": 922e3,
|
|
1690
1835
|
"openai/gpt-5.6-sol": 922e3,
|
|
1691
1836
|
"openai/gpt-5.6-luna": 922e3,
|
|
1692
1837
|
"openai/gpt-5.6-terra": 922e3,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/ai-catalog",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Provider-neutral AI model roles, capabilities, and curated model metadata.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"prepack": "bun run build"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"valibot": "1.
|
|
50
|
+
"valibot": "1.5.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@stll/typescript-config": "0.0.0",
|
|
54
|
-
"@tanstack/ai-anthropic": "0.18.
|
|
55
|
-
"@tanstack/ai-bedrock": "0.3.
|
|
56
|
-
"@tanstack/ai-gemini": "0.29.
|
|
57
|
-
"@tanstack/ai-mistral": "0.6.
|
|
58
|
-
"@tanstack/ai-openrouter": "0.19.
|
|
54
|
+
"@tanstack/ai-anthropic": "0.18.6",
|
|
55
|
+
"@tanstack/ai-bedrock": "0.3.8",
|
|
56
|
+
"@tanstack/ai-gemini": "0.29.2",
|
|
57
|
+
"@tanstack/ai-mistral": "0.6.2",
|
|
58
|
+
"@tanstack/ai-openrouter": "0.19.9",
|
|
59
59
|
"bun-types": "1.4.2",
|
|
60
60
|
"tsdown": "0.23.0"
|
|
61
61
|
},
|