@node-llm/core 1.14.0 → 1.14.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/aliases.d.ts +91 -46
- package/dist/aliases.d.ts.map +1 -1
- package/dist/aliases.js +91 -46
- package/dist/llm.d.ts.map +1 -1
- package/dist/llm.js +5 -2
- package/dist/models/ModelRegistry.d.ts.map +1 -1
- package/dist/models/ModelRegistry.js +1 -2
- package/dist/models/models.json +1356 -995
- package/package.json +2 -2
package/dist/aliases.d.ts
CHANGED
|
@@ -2,12 +2,6 @@ declare const _default: {
|
|
|
2
2
|
readonly "aurora-alpha": {
|
|
3
3
|
readonly openrouter: "openrouter/aurora-alpha";
|
|
4
4
|
};
|
|
5
|
-
readonly "claude-2": {
|
|
6
|
-
readonly bedrock: "anthropic.claude-v2";
|
|
7
|
-
};
|
|
8
|
-
readonly "claude-2.1": {
|
|
9
|
-
readonly bedrock: "anthropic.claude-v2:1";
|
|
10
|
-
};
|
|
11
5
|
readonly "claude-3-5-haiku": {
|
|
12
6
|
readonly anthropic: "claude-3-5-haiku-20241022";
|
|
13
7
|
readonly openrouter: "anthropic/claude-3.5-haiku";
|
|
@@ -70,11 +64,7 @@ declare const _default: {
|
|
|
70
64
|
readonly "claude-haiku-4.5-us": {
|
|
71
65
|
readonly bedrock: "us.anthropic.claude-haiku-4-5-20251001-v1:0";
|
|
72
66
|
};
|
|
73
|
-
readonly "claude-instant": {
|
|
74
|
-
readonly bedrock: "anthropic.claude-instant-v1";
|
|
75
|
-
};
|
|
76
67
|
readonly "claude-opus-3": {
|
|
77
|
-
readonly bedrock: "anthropic.claude-3-opus-20240229-v1:0";
|
|
78
68
|
readonly anthropic: "claude-3-opus-20240229";
|
|
79
69
|
};
|
|
80
70
|
readonly "claude-opus-4": {
|
|
@@ -131,7 +121,6 @@ declare const _default: {
|
|
|
131
121
|
readonly bedrock: "us.anthropic.claude-opus-4-6-v1";
|
|
132
122
|
};
|
|
133
123
|
readonly "claude-sonnet-3": {
|
|
134
|
-
readonly bedrock: "anthropic.claude-3-sonnet-20240229-v1:0";
|
|
135
124
|
readonly anthropic: "claude-3-sonnet-20240229";
|
|
136
125
|
};
|
|
137
126
|
readonly "claude-sonnet-3.5": {
|
|
@@ -201,18 +190,12 @@ declare const _default: {
|
|
|
201
190
|
readonly "codestral-2508": {
|
|
202
191
|
readonly openrouter: "mistralai/codestral-2508";
|
|
203
192
|
};
|
|
193
|
+
readonly "codestral-latest": {
|
|
194
|
+
readonly mistral: "codestral-latest";
|
|
195
|
+
};
|
|
204
196
|
readonly "codex-mini": {
|
|
205
197
|
readonly openai: "codex-mini-latest";
|
|
206
198
|
};
|
|
207
|
-
readonly command: {
|
|
208
|
-
readonly bedrock: "cohere.command-text-v14";
|
|
209
|
-
};
|
|
210
|
-
readonly "command-light": {
|
|
211
|
-
readonly bedrock: "cohere.command-light-text-v14";
|
|
212
|
-
};
|
|
213
|
-
readonly "command-r": {
|
|
214
|
-
readonly bedrock: "cohere.command-r-plus-v1:0";
|
|
215
|
-
};
|
|
216
199
|
readonly "deephermes-3-llama-3-8b-preview": {
|
|
217
200
|
readonly openrouter: "nousresearch/deephermes-3-llama-3-8b-preview";
|
|
218
201
|
};
|
|
@@ -259,7 +242,7 @@ declare const _default: {
|
|
|
259
242
|
readonly openrouter: "deepseek/deepseek-v3.1-terminus:exacto";
|
|
260
243
|
};
|
|
261
244
|
readonly "deepseek-v3.2": {
|
|
262
|
-
readonly bedrock: "deepseek.v3.2
|
|
245
|
+
readonly bedrock: "deepseek.v3.2";
|
|
263
246
|
readonly openrouter: "deepseek/deepseek-v3.2";
|
|
264
247
|
};
|
|
265
248
|
readonly "deepseek-v3.2-speciale": {
|
|
@@ -268,12 +251,18 @@ declare const _default: {
|
|
|
268
251
|
readonly "devstral-2": {
|
|
269
252
|
readonly mistral: "devstral-2512";
|
|
270
253
|
};
|
|
254
|
+
readonly "devstral-2-123b": {
|
|
255
|
+
readonly bedrock: "mistral.devstral-2-123b";
|
|
256
|
+
};
|
|
271
257
|
readonly "devstral-2-2512": {
|
|
272
258
|
readonly openrouter: "mistralai/devstral-2512";
|
|
273
259
|
};
|
|
274
260
|
readonly "devstral-2-2512-free": {
|
|
275
261
|
readonly openrouter: "mistralai/devstral-2512:free";
|
|
276
262
|
};
|
|
263
|
+
readonly "devstral-2-latest": {
|
|
264
|
+
readonly mistral: "devstral-medium-latest";
|
|
265
|
+
};
|
|
277
266
|
readonly "devstral-medium": {
|
|
278
267
|
readonly mistral: "devstral-medium-2507";
|
|
279
268
|
readonly openrouter: "mistralai/devstral-medium-2507";
|
|
@@ -312,6 +301,9 @@ declare const _default: {
|
|
|
312
301
|
readonly "flux.2-pro": {
|
|
313
302
|
readonly openrouter: "black-forest-labs/flux.2-pro";
|
|
314
303
|
};
|
|
304
|
+
readonly "free-models-router": {
|
|
305
|
+
readonly openrouter: "openrouter/free";
|
|
306
|
+
};
|
|
315
307
|
readonly "gemini-1.5-flash": {
|
|
316
308
|
readonly gemini: "gemini-1.5-flash";
|
|
317
309
|
};
|
|
@@ -389,6 +381,13 @@ declare const _default: {
|
|
|
389
381
|
readonly openrouter: "google/gemini-3-pro-preview";
|
|
390
382
|
readonly gemini: "gemini-3-pro-preview";
|
|
391
383
|
};
|
|
384
|
+
readonly "gemini-3.1-flash-image-preview": {
|
|
385
|
+
readonly gemini: "gemini-3.1-flash-image-preview";
|
|
386
|
+
};
|
|
387
|
+
readonly "gemini-3.1-flash-lite-preview": {
|
|
388
|
+
readonly openrouter: "google/gemini-3.1-flash-lite-preview";
|
|
389
|
+
readonly gemini: "gemini-3.1-flash-lite-preview";
|
|
390
|
+
};
|
|
392
391
|
readonly "gemini-3.1-pro-preview": {
|
|
393
392
|
readonly openrouter: "google/gemini-3.1-pro-preview";
|
|
394
393
|
readonly gemini: "gemini-3.1-pro-preview";
|
|
@@ -586,11 +585,20 @@ declare const _default: {
|
|
|
586
585
|
readonly openai: "gpt-5.2-pro";
|
|
587
586
|
};
|
|
588
587
|
readonly "gpt-5.3-codex": {
|
|
588
|
+
readonly openrouter: "openai/gpt-5.3-codex";
|
|
589
589
|
readonly openai: "gpt-5.3-codex";
|
|
590
590
|
};
|
|
591
591
|
readonly "gpt-5.3-codex-spark": {
|
|
592
592
|
readonly openai: "gpt-5.3-codex-spark";
|
|
593
593
|
};
|
|
594
|
+
readonly "gpt-5.4": {
|
|
595
|
+
readonly openrouter: "openai/gpt-5.4";
|
|
596
|
+
readonly openai: "gpt-5.4";
|
|
597
|
+
};
|
|
598
|
+
readonly "gpt-5.4-pro": {
|
|
599
|
+
readonly openrouter: "openai/gpt-5.4-pro";
|
|
600
|
+
readonly openai: "gpt-5.4-pro";
|
|
601
|
+
};
|
|
594
602
|
readonly "gpt-oss-120b": {
|
|
595
603
|
readonly bedrock: "openai.gpt-oss-120b-1:0";
|
|
596
604
|
readonly openrouter: "openai/gpt-oss-120b";
|
|
@@ -686,6 +694,21 @@ declare const _default: {
|
|
|
686
694
|
readonly "grok-4.1-fast-non-reasoning": {
|
|
687
695
|
readonly xai: "grok-4-1-fast-non-reasoning";
|
|
688
696
|
};
|
|
697
|
+
readonly "grok-4.20-beta": {
|
|
698
|
+
readonly openrouter: "x-ai/grok-4.20-beta";
|
|
699
|
+
};
|
|
700
|
+
readonly "grok-4.20-beta-non-reasoning": {
|
|
701
|
+
readonly xai: "grok-4.20-beta-latest-non-reasoning";
|
|
702
|
+
};
|
|
703
|
+
readonly "grok-4.20-beta-reasoning": {
|
|
704
|
+
readonly xai: "grok-4.20-beta-latest-reasoning";
|
|
705
|
+
};
|
|
706
|
+
readonly "grok-4.20-multi---agent-beta": {
|
|
707
|
+
readonly openrouter: "x-ai/grok-4.20-multi-agent-beta";
|
|
708
|
+
};
|
|
709
|
+
readonly "grok-4.20-multi-agent-beta": {
|
|
710
|
+
readonly xai: "grok-4.20-multi-agent-beta-latest";
|
|
711
|
+
};
|
|
689
712
|
readonly "grok-beta": {
|
|
690
713
|
readonly xai: "grok-beta";
|
|
691
714
|
};
|
|
@@ -696,6 +719,9 @@ declare const _default: {
|
|
|
696
719
|
readonly "grok-vision-beta": {
|
|
697
720
|
readonly xai: "grok-vision-beta";
|
|
698
721
|
};
|
|
722
|
+
readonly "healer-alpha": {
|
|
723
|
+
readonly openrouter: "openrouter/healer-alpha";
|
|
724
|
+
};
|
|
699
725
|
readonly "hermes-3-405b-instruct-free": {
|
|
700
726
|
readonly openrouter: "nousresearch/hermes-3-llama-3.1-405b:free";
|
|
701
727
|
};
|
|
@@ -705,15 +731,12 @@ declare const _default: {
|
|
|
705
731
|
readonly "hermes-4-70b": {
|
|
706
732
|
readonly openrouter: "nousresearch/hermes-4-70b";
|
|
707
733
|
};
|
|
734
|
+
readonly "hunter-alpha": {
|
|
735
|
+
readonly openrouter: "openrouter/hunter-alpha";
|
|
736
|
+
};
|
|
708
737
|
readonly "intellect-3": {
|
|
709
738
|
readonly openrouter: "prime-intellect/intellect-3";
|
|
710
739
|
};
|
|
711
|
-
readonly "jamba-1.5-large": {
|
|
712
|
-
readonly bedrock: "ai21.jamba-1-5-large-v1:0";
|
|
713
|
-
};
|
|
714
|
-
readonly "jamba-1.5-mini": {
|
|
715
|
-
readonly bedrock: "ai21.jamba-1-5-mini-v1:0";
|
|
716
|
-
};
|
|
717
740
|
readonly "kat-coder-pro-free": {
|
|
718
741
|
readonly openrouter: "kwaipilot/kat-coder-pro:free";
|
|
719
742
|
};
|
|
@@ -774,11 +797,8 @@ declare const _default: {
|
|
|
774
797
|
readonly bedrock: "meta.llama3-3-70b-instruct-v1:0";
|
|
775
798
|
readonly openrouter: "meta-llama/llama-3.3-70b-instruct";
|
|
776
799
|
};
|
|
777
|
-
readonly "llama-3-
|
|
778
|
-
readonly bedrock: "meta.llama3-
|
|
779
|
-
};
|
|
780
|
-
readonly "llama-3-8b-instruct": {
|
|
781
|
-
readonly bedrock: "meta.llama3-8b-instruct-v1:0";
|
|
800
|
+
readonly "llama-3.1-405b-instruct": {
|
|
801
|
+
readonly bedrock: "meta.llama3-1-405b-instruct-v1:0";
|
|
782
802
|
};
|
|
783
803
|
readonly "llama-3.1-405b-instruct-free": {
|
|
784
804
|
readonly openrouter: "meta-llama/llama-3.1-405b-instruct:free";
|
|
@@ -835,12 +855,27 @@ declare const _default: {
|
|
|
835
855
|
readonly "magistral-medium": {
|
|
836
856
|
readonly mistral: "magistral-medium-latest";
|
|
837
857
|
};
|
|
858
|
+
readonly "magistral-medium-latest": {
|
|
859
|
+
readonly mistral: "magistral-medium-latest";
|
|
860
|
+
};
|
|
838
861
|
readonly "magistral-small": {
|
|
839
862
|
readonly mistral: "magistral-small";
|
|
840
863
|
};
|
|
864
|
+
readonly "magistral-small-1.2": {
|
|
865
|
+
readonly bedrock: "mistral.magistral-small-2509";
|
|
866
|
+
};
|
|
841
867
|
readonly "mai-ds-r1-free": {
|
|
842
868
|
readonly openrouter: "microsoft/mai-ds-r1:free";
|
|
843
869
|
};
|
|
870
|
+
readonly mercury: {
|
|
871
|
+
readonly openrouter: "inception/mercury";
|
|
872
|
+
};
|
|
873
|
+
readonly "mercury-2": {
|
|
874
|
+
readonly openrouter: "inception/mercury-2";
|
|
875
|
+
};
|
|
876
|
+
readonly "mercury-coder": {
|
|
877
|
+
readonly openrouter: "inception/mercury-coder";
|
|
878
|
+
};
|
|
844
879
|
readonly "mimo-v2-flash": {
|
|
845
880
|
readonly openrouter: "xiaomi/mimo-v2-flash";
|
|
846
881
|
};
|
|
@@ -864,13 +899,16 @@ declare const _default: {
|
|
|
864
899
|
readonly "ministral-14b-3.0": {
|
|
865
900
|
readonly bedrock: "mistral.ministral-3-14b-instruct";
|
|
866
901
|
};
|
|
902
|
+
readonly "ministral-3-3b": {
|
|
903
|
+
readonly bedrock: "mistral.ministral-3-3b-instruct";
|
|
904
|
+
};
|
|
867
905
|
readonly "ministral-3-8b": {
|
|
868
906
|
readonly bedrock: "mistral.ministral-3-8b-instruct";
|
|
869
907
|
};
|
|
870
|
-
readonly "ministral-3b": {
|
|
908
|
+
readonly "ministral-3b-latest": {
|
|
871
909
|
readonly mistral: "ministral-3b-latest";
|
|
872
910
|
};
|
|
873
|
-
readonly "ministral-8b": {
|
|
911
|
+
readonly "ministral-8b-latest": {
|
|
874
912
|
readonly mistral: "ministral-8b-latest";
|
|
875
913
|
};
|
|
876
914
|
readonly "mistral-7b": {
|
|
@@ -879,9 +917,6 @@ declare const _default: {
|
|
|
879
917
|
readonly "mistral-7b-instruct-free": {
|
|
880
918
|
readonly openrouter: "mistralai/mistral-7b-instruct:free";
|
|
881
919
|
};
|
|
882
|
-
readonly "mistral-7b-instruct-v0.3": {
|
|
883
|
-
readonly bedrock: "mistral.mistral-7b-instruct-v0:2";
|
|
884
|
-
};
|
|
885
920
|
readonly "mistral-embed": {
|
|
886
921
|
readonly mistral: "mistral-embed";
|
|
887
922
|
};
|
|
@@ -893,12 +928,13 @@ declare const _default: {
|
|
|
893
928
|
readonly "mistral-large-2.1": {
|
|
894
929
|
readonly mistral: "mistral-large-2411";
|
|
895
930
|
};
|
|
896
|
-
readonly "mistral-large-24.02": {
|
|
897
|
-
readonly bedrock: "mistral.mistral-large-2402-v1:0";
|
|
898
|
-
};
|
|
899
931
|
readonly "mistral-large-3": {
|
|
932
|
+
readonly bedrock: "mistral.mistral-large-3-675b-instruct";
|
|
900
933
|
readonly mistral: "mistral-large-2512";
|
|
901
934
|
};
|
|
935
|
+
readonly "mistral-large-latest": {
|
|
936
|
+
readonly mistral: "mistral-large-latest";
|
|
937
|
+
};
|
|
902
938
|
readonly "mistral-medium": {
|
|
903
939
|
readonly mistral: "mistral-medium-latest";
|
|
904
940
|
};
|
|
@@ -910,6 +946,9 @@ declare const _default: {
|
|
|
910
946
|
readonly mistral: "mistral-medium-2508";
|
|
911
947
|
readonly openrouter: "mistralai/mistral-medium-3.1";
|
|
912
948
|
};
|
|
949
|
+
readonly "mistral-medium-latest": {
|
|
950
|
+
readonly mistral: "mistral-medium-latest";
|
|
951
|
+
};
|
|
913
952
|
readonly "mistral-nemo": {
|
|
914
953
|
readonly mistral: "mistral-nemo";
|
|
915
954
|
};
|
|
@@ -932,15 +971,15 @@ declare const _default: {
|
|
|
932
971
|
readonly "mistral-small-3.2-24b-instruct": {
|
|
933
972
|
readonly openrouter: "mistralai/mistral-small-3.2-24b-instruct";
|
|
934
973
|
};
|
|
974
|
+
readonly "mistral-small-latest": {
|
|
975
|
+
readonly mistral: "mistral-small-latest";
|
|
976
|
+
};
|
|
935
977
|
readonly "mixtral-8x22b": {
|
|
936
978
|
readonly mistral: "open-mixtral-8x22b";
|
|
937
979
|
};
|
|
938
980
|
readonly "mixtral-8x7b": {
|
|
939
981
|
readonly mistral: "open-mixtral-8x7b";
|
|
940
982
|
};
|
|
941
|
-
readonly "mixtral-8x7b-instruct-v0.1": {
|
|
942
|
-
readonly bedrock: "mistral.mixtral-8x7b-instruct-v0:1";
|
|
943
|
-
};
|
|
944
983
|
readonly "molmo2-8b-free": {
|
|
945
984
|
readonly openrouter: "allenai/molmo-2-8b:free";
|
|
946
985
|
};
|
|
@@ -971,6 +1010,9 @@ declare const _default: {
|
|
|
971
1010
|
readonly "nvidia-nemotron-nano-12b-v2-vl-bf16": {
|
|
972
1011
|
readonly bedrock: "nvidia.nemotron-nano-12b-v2";
|
|
973
1012
|
};
|
|
1013
|
+
readonly "nvidia-nemotron-nano-3-30b": {
|
|
1014
|
+
readonly bedrock: "nvidia.nemotron-nano-3-30b";
|
|
1015
|
+
};
|
|
974
1016
|
readonly "nvidia-nemotron-nano-9b": {
|
|
975
1017
|
readonly bedrock: "nvidia.nemotron-nano-9b-v2";
|
|
976
1018
|
readonly openrouter: "nvidia/nemotron-nano-9b-v2";
|
|
@@ -1018,6 +1060,12 @@ declare const _default: {
|
|
|
1018
1060
|
readonly mistral: "pixtral-large-latest";
|
|
1019
1061
|
readonly openrouter: "mistralai/pixtral-large-latest";
|
|
1020
1062
|
};
|
|
1063
|
+
readonly "pixtral-large-25.02": {
|
|
1064
|
+
readonly bedrock: "mistral.pixtral-large-2502-v1:0";
|
|
1065
|
+
};
|
|
1066
|
+
readonly "pixtral-large-latest": {
|
|
1067
|
+
readonly mistral: "pixtral-large-latest";
|
|
1068
|
+
};
|
|
1021
1069
|
readonly "qwen2.5-coder-32b-instruct": {
|
|
1022
1070
|
readonly openrouter: "qwen/qwen-2.5-coder-32b-instruct";
|
|
1023
1071
|
};
|
|
@@ -1172,9 +1220,6 @@ declare const _default: {
|
|
|
1172
1220
|
readonly "text-embedding-ada-002": {
|
|
1173
1221
|
readonly openai: "text-embedding-ada-002";
|
|
1174
1222
|
};
|
|
1175
|
-
readonly "titan-text-g1---express": {
|
|
1176
|
-
readonly bedrock: "amazon.titan-text-express-v1:0:8k";
|
|
1177
|
-
};
|
|
1178
1223
|
readonly "trinity-large-preview": {
|
|
1179
1224
|
readonly openrouter: "arcee-ai/trinity-large-preview:free";
|
|
1180
1225
|
};
|
package/dist/aliases.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../src/aliases.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../src/aliases.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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|
-
"claude-2.1": {
|
|
9
|
-
"bedrock": "anthropic.claude-v2:1"
|
|
10
|
-
},
|
|
11
5
|
"claude-3-5-haiku": {
|
|
12
6
|
"anthropic": "claude-3-5-haiku-20241022",
|
|
13
7
|
"openrouter": "anthropic/claude-3.5-haiku",
|
|
@@ -70,11 +64,7 @@ export default {
|
|
|
70
64
|
"claude-haiku-4.5-us": {
|
|
71
65
|
"bedrock": "us.anthropic.claude-haiku-4-5-20251001-v1:0"
|
|
72
66
|
},
|
|
73
|
-
"claude-instant": {
|
|
74
|
-
"bedrock": "anthropic.claude-instant-v1"
|
|
75
|
-
},
|
|
76
67
|
"claude-opus-3": {
|
|
77
|
-
"bedrock": "anthropic.claude-3-opus-20240229-v1:0",
|
|
78
68
|
"anthropic": "claude-3-opus-20240229"
|
|
79
69
|
},
|
|
80
70
|
"claude-opus-4": {
|
|
@@ -131,7 +121,6 @@ export default {
|
|
|
131
121
|
"bedrock": "us.anthropic.claude-opus-4-6-v1"
|
|
132
122
|
},
|
|
133
123
|
"claude-sonnet-3": {
|
|
134
|
-
"bedrock": "anthropic.claude-3-sonnet-20240229-v1:0",
|
|
135
124
|
"anthropic": "claude-3-sonnet-20240229"
|
|
136
125
|
},
|
|
137
126
|
"claude-sonnet-3.5": {
|
|
@@ -201,18 +190,12 @@ export default {
|
|
|
201
190
|
"codestral-2508": {
|
|
202
191
|
"openrouter": "mistralai/codestral-2508"
|
|
203
192
|
},
|
|
193
|
+
"codestral-latest": {
|
|
194
|
+
"mistral": "codestral-latest"
|
|
195
|
+
},
|
|
204
196
|
"codex-mini": {
|
|
205
197
|
"openai": "codex-mini-latest"
|
|
206
198
|
},
|
|
207
|
-
"command": {
|
|
208
|
-
"bedrock": "cohere.command-text-v14"
|
|
209
|
-
},
|
|
210
|
-
"command-light": {
|
|
211
|
-
"bedrock": "cohere.command-light-text-v14"
|
|
212
|
-
},
|
|
213
|
-
"command-r": {
|
|
214
|
-
"bedrock": "cohere.command-r-plus-v1:0"
|
|
215
|
-
},
|
|
216
199
|
"deephermes-3-llama-3-8b-preview": {
|
|
217
200
|
"openrouter": "nousresearch/deephermes-3-llama-3-8b-preview"
|
|
218
201
|
},
|
|
@@ -259,7 +242,7 @@ export default {
|
|
|
259
242
|
"openrouter": "deepseek/deepseek-v3.1-terminus:exacto"
|
|
260
243
|
},
|
|
261
244
|
"deepseek-v3.2": {
|
|
262
|
-
"bedrock": "deepseek.v3.2
|
|
245
|
+
"bedrock": "deepseek.v3.2",
|
|
263
246
|
"openrouter": "deepseek/deepseek-v3.2"
|
|
264
247
|
},
|
|
265
248
|
"deepseek-v3.2-speciale": {
|
|
@@ -268,12 +251,18 @@ export default {
|
|
|
268
251
|
"devstral-2": {
|
|
269
252
|
"mistral": "devstral-2512"
|
|
270
253
|
},
|
|
254
|
+
"devstral-2-123b": {
|
|
255
|
+
"bedrock": "mistral.devstral-2-123b"
|
|
256
|
+
},
|
|
271
257
|
"devstral-2-2512": {
|
|
272
258
|
"openrouter": "mistralai/devstral-2512"
|
|
273
259
|
},
|
|
274
260
|
"devstral-2-2512-free": {
|
|
275
261
|
"openrouter": "mistralai/devstral-2512:free"
|
|
276
262
|
},
|
|
263
|
+
"devstral-2-latest": {
|
|
264
|
+
"mistral": "devstral-medium-latest"
|
|
265
|
+
},
|
|
277
266
|
"devstral-medium": {
|
|
278
267
|
"mistral": "devstral-medium-2507",
|
|
279
268
|
"openrouter": "mistralai/devstral-medium-2507"
|
|
@@ -312,6 +301,9 @@ export default {
|
|
|
312
301
|
"flux.2-pro": {
|
|
313
302
|
"openrouter": "black-forest-labs/flux.2-pro"
|
|
314
303
|
},
|
|
304
|
+
"free-models-router": {
|
|
305
|
+
"openrouter": "openrouter/free"
|
|
306
|
+
},
|
|
315
307
|
"gemini-1.5-flash": {
|
|
316
308
|
"gemini": "gemini-1.5-flash"
|
|
317
309
|
},
|
|
@@ -389,6 +381,13 @@ export default {
|
|
|
389
381
|
"openrouter": "google/gemini-3-pro-preview",
|
|
390
382
|
"gemini": "gemini-3-pro-preview"
|
|
391
383
|
},
|
|
384
|
+
"gemini-3.1-flash-image-preview": {
|
|
385
|
+
"gemini": "gemini-3.1-flash-image-preview"
|
|
386
|
+
},
|
|
387
|
+
"gemini-3.1-flash-lite-preview": {
|
|
388
|
+
"openrouter": "google/gemini-3.1-flash-lite-preview",
|
|
389
|
+
"gemini": "gemini-3.1-flash-lite-preview"
|
|
390
|
+
},
|
|
392
391
|
"gemini-3.1-pro-preview": {
|
|
393
392
|
"openrouter": "google/gemini-3.1-pro-preview",
|
|
394
393
|
"gemini": "gemini-3.1-pro-preview"
|
|
@@ -586,11 +585,20 @@ export default {
|
|
|
586
585
|
"openai": "gpt-5.2-pro"
|
|
587
586
|
},
|
|
588
587
|
"gpt-5.3-codex": {
|
|
588
|
+
"openrouter": "openai/gpt-5.3-codex",
|
|
589
589
|
"openai": "gpt-5.3-codex"
|
|
590
590
|
},
|
|
591
591
|
"gpt-5.3-codex-spark": {
|
|
592
592
|
"openai": "gpt-5.3-codex-spark"
|
|
593
593
|
},
|
|
594
|
+
"gpt-5.4": {
|
|
595
|
+
"openrouter": "openai/gpt-5.4",
|
|
596
|
+
"openai": "gpt-5.4"
|
|
597
|
+
},
|
|
598
|
+
"gpt-5.4-pro": {
|
|
599
|
+
"openrouter": "openai/gpt-5.4-pro",
|
|
600
|
+
"openai": "gpt-5.4-pro"
|
|
601
|
+
},
|
|
594
602
|
"gpt-oss-120b": {
|
|
595
603
|
"bedrock": "openai.gpt-oss-120b-1:0",
|
|
596
604
|
"openrouter": "openai/gpt-oss-120b",
|
|
@@ -686,6 +694,21 @@ export default {
|
|
|
686
694
|
"grok-4.1-fast-non-reasoning": {
|
|
687
695
|
"xai": "grok-4-1-fast-non-reasoning"
|
|
688
696
|
},
|
|
697
|
+
"grok-4.20-beta": {
|
|
698
|
+
"openrouter": "x-ai/grok-4.20-beta"
|
|
699
|
+
},
|
|
700
|
+
"grok-4.20-beta-non-reasoning": {
|
|
701
|
+
"xai": "grok-4.20-beta-latest-non-reasoning"
|
|
702
|
+
},
|
|
703
|
+
"grok-4.20-beta-reasoning": {
|
|
704
|
+
"xai": "grok-4.20-beta-latest-reasoning"
|
|
705
|
+
},
|
|
706
|
+
"grok-4.20-multi---agent-beta": {
|
|
707
|
+
"openrouter": "x-ai/grok-4.20-multi-agent-beta"
|
|
708
|
+
},
|
|
709
|
+
"grok-4.20-multi-agent-beta": {
|
|
710
|
+
"xai": "grok-4.20-multi-agent-beta-latest"
|
|
711
|
+
},
|
|
689
712
|
"grok-beta": {
|
|
690
713
|
"xai": "grok-beta"
|
|
691
714
|
},
|
|
@@ -696,6 +719,9 @@ export default {
|
|
|
696
719
|
"grok-vision-beta": {
|
|
697
720
|
"xai": "grok-vision-beta"
|
|
698
721
|
},
|
|
722
|
+
"healer-alpha": {
|
|
723
|
+
"openrouter": "openrouter/healer-alpha"
|
|
724
|
+
},
|
|
699
725
|
"hermes-3-405b-instruct-free": {
|
|
700
726
|
"openrouter": "nousresearch/hermes-3-llama-3.1-405b:free"
|
|
701
727
|
},
|
|
@@ -705,15 +731,12 @@ export default {
|
|
|
705
731
|
"hermes-4-70b": {
|
|
706
732
|
"openrouter": "nousresearch/hermes-4-70b"
|
|
707
733
|
},
|
|
734
|
+
"hunter-alpha": {
|
|
735
|
+
"openrouter": "openrouter/hunter-alpha"
|
|
736
|
+
},
|
|
708
737
|
"intellect-3": {
|
|
709
738
|
"openrouter": "prime-intellect/intellect-3"
|
|
710
739
|
},
|
|
711
|
-
"jamba-1.5-large": {
|
|
712
|
-
"bedrock": "ai21.jamba-1-5-large-v1:0"
|
|
713
|
-
},
|
|
714
|
-
"jamba-1.5-mini": {
|
|
715
|
-
"bedrock": "ai21.jamba-1-5-mini-v1:0"
|
|
716
|
-
},
|
|
717
740
|
"kat-coder-pro-free": {
|
|
718
741
|
"openrouter": "kwaipilot/kat-coder-pro:free"
|
|
719
742
|
},
|
|
@@ -774,11 +797,8 @@ export default {
|
|
|
774
797
|
"bedrock": "meta.llama3-3-70b-instruct-v1:0",
|
|
775
798
|
"openrouter": "meta-llama/llama-3.3-70b-instruct"
|
|
776
799
|
},
|
|
777
|
-
"llama-3-
|
|
778
|
-
"bedrock": "meta.llama3-
|
|
779
|
-
},
|
|
780
|
-
"llama-3-8b-instruct": {
|
|
781
|
-
"bedrock": "meta.llama3-8b-instruct-v1:0"
|
|
800
|
+
"llama-3.1-405b-instruct": {
|
|
801
|
+
"bedrock": "meta.llama3-1-405b-instruct-v1:0"
|
|
782
802
|
},
|
|
783
803
|
"llama-3.1-405b-instruct-free": {
|
|
784
804
|
"openrouter": "meta-llama/llama-3.1-405b-instruct:free"
|
|
@@ -835,12 +855,27 @@ export default {
|
|
|
835
855
|
"magistral-medium": {
|
|
836
856
|
"mistral": "magistral-medium-latest"
|
|
837
857
|
},
|
|
858
|
+
"magistral-medium-latest": {
|
|
859
|
+
"mistral": "magistral-medium-latest"
|
|
860
|
+
},
|
|
838
861
|
"magistral-small": {
|
|
839
862
|
"mistral": "magistral-small"
|
|
840
863
|
},
|
|
864
|
+
"magistral-small-1.2": {
|
|
865
|
+
"bedrock": "mistral.magistral-small-2509"
|
|
866
|
+
},
|
|
841
867
|
"mai-ds-r1-free": {
|
|
842
868
|
"openrouter": "microsoft/mai-ds-r1:free"
|
|
843
869
|
},
|
|
870
|
+
"mercury": {
|
|
871
|
+
"openrouter": "inception/mercury"
|
|
872
|
+
},
|
|
873
|
+
"mercury-2": {
|
|
874
|
+
"openrouter": "inception/mercury-2"
|
|
875
|
+
},
|
|
876
|
+
"mercury-coder": {
|
|
877
|
+
"openrouter": "inception/mercury-coder"
|
|
878
|
+
},
|
|
844
879
|
"mimo-v2-flash": {
|
|
845
880
|
"openrouter": "xiaomi/mimo-v2-flash"
|
|
846
881
|
},
|
|
@@ -864,13 +899,16 @@ export default {
|
|
|
864
899
|
"ministral-14b-3.0": {
|
|
865
900
|
"bedrock": "mistral.ministral-3-14b-instruct"
|
|
866
901
|
},
|
|
902
|
+
"ministral-3-3b": {
|
|
903
|
+
"bedrock": "mistral.ministral-3-3b-instruct"
|
|
904
|
+
},
|
|
867
905
|
"ministral-3-8b": {
|
|
868
906
|
"bedrock": "mistral.ministral-3-8b-instruct"
|
|
869
907
|
},
|
|
870
|
-
"ministral-3b": {
|
|
908
|
+
"ministral-3b-latest": {
|
|
871
909
|
"mistral": "ministral-3b-latest"
|
|
872
910
|
},
|
|
873
|
-
"ministral-8b": {
|
|
911
|
+
"ministral-8b-latest": {
|
|
874
912
|
"mistral": "ministral-8b-latest"
|
|
875
913
|
},
|
|
876
914
|
"mistral-7b": {
|
|
@@ -879,9 +917,6 @@ export default {
|
|
|
879
917
|
"mistral-7b-instruct-free": {
|
|
880
918
|
"openrouter": "mistralai/mistral-7b-instruct:free"
|
|
881
919
|
},
|
|
882
|
-
"mistral-7b-instruct-v0.3": {
|
|
883
|
-
"bedrock": "mistral.mistral-7b-instruct-v0:2"
|
|
884
|
-
},
|
|
885
920
|
"mistral-embed": {
|
|
886
921
|
"mistral": "mistral-embed"
|
|
887
922
|
},
|
|
@@ -893,12 +928,13 @@ export default {
|
|
|
893
928
|
"mistral-large-2.1": {
|
|
894
929
|
"mistral": "mistral-large-2411"
|
|
895
930
|
},
|
|
896
|
-
"mistral-large-24.02": {
|
|
897
|
-
"bedrock": "mistral.mistral-large-2402-v1:0"
|
|
898
|
-
},
|
|
899
931
|
"mistral-large-3": {
|
|
932
|
+
"bedrock": "mistral.mistral-large-3-675b-instruct",
|
|
900
933
|
"mistral": "mistral-large-2512"
|
|
901
934
|
},
|
|
935
|
+
"mistral-large-latest": {
|
|
936
|
+
"mistral": "mistral-large-latest"
|
|
937
|
+
},
|
|
902
938
|
"mistral-medium": {
|
|
903
939
|
"mistral": "mistral-medium-latest"
|
|
904
940
|
},
|
|
@@ -910,6 +946,9 @@ export default {
|
|
|
910
946
|
"mistral": "mistral-medium-2508",
|
|
911
947
|
"openrouter": "mistralai/mistral-medium-3.1"
|
|
912
948
|
},
|
|
949
|
+
"mistral-medium-latest": {
|
|
950
|
+
"mistral": "mistral-medium-latest"
|
|
951
|
+
},
|
|
913
952
|
"mistral-nemo": {
|
|
914
953
|
"mistral": "mistral-nemo"
|
|
915
954
|
},
|
|
@@ -932,15 +971,15 @@ export default {
|
|
|
932
971
|
"mistral-small-3.2-24b-instruct": {
|
|
933
972
|
"openrouter": "mistralai/mistral-small-3.2-24b-instruct"
|
|
934
973
|
},
|
|
974
|
+
"mistral-small-latest": {
|
|
975
|
+
"mistral": "mistral-small-latest"
|
|
976
|
+
},
|
|
935
977
|
"mixtral-8x22b": {
|
|
936
978
|
"mistral": "open-mixtral-8x22b"
|
|
937
979
|
},
|
|
938
980
|
"mixtral-8x7b": {
|
|
939
981
|
"mistral": "open-mixtral-8x7b"
|
|
940
982
|
},
|
|
941
|
-
"mixtral-8x7b-instruct-v0.1": {
|
|
942
|
-
"bedrock": "mistral.mixtral-8x7b-instruct-v0:1"
|
|
943
|
-
},
|
|
944
983
|
"molmo2-8b-free": {
|
|
945
984
|
"openrouter": "allenai/molmo-2-8b:free"
|
|
946
985
|
},
|
|
@@ -971,6 +1010,9 @@ export default {
|
|
|
971
1010
|
"nvidia-nemotron-nano-12b-v2-vl-bf16": {
|
|
972
1011
|
"bedrock": "nvidia.nemotron-nano-12b-v2"
|
|
973
1012
|
},
|
|
1013
|
+
"nvidia-nemotron-nano-3-30b": {
|
|
1014
|
+
"bedrock": "nvidia.nemotron-nano-3-30b"
|
|
1015
|
+
},
|
|
974
1016
|
"nvidia-nemotron-nano-9b": {
|
|
975
1017
|
"bedrock": "nvidia.nemotron-nano-9b-v2",
|
|
976
1018
|
"openrouter": "nvidia/nemotron-nano-9b-v2"
|
|
@@ -1018,6 +1060,12 @@ export default {
|
|
|
1018
1060
|
"mistral": "pixtral-large-latest",
|
|
1019
1061
|
"openrouter": "mistralai/pixtral-large-latest"
|
|
1020
1062
|
},
|
|
1063
|
+
"pixtral-large-25.02": {
|
|
1064
|
+
"bedrock": "mistral.pixtral-large-2502-v1:0"
|
|
1065
|
+
},
|
|
1066
|
+
"pixtral-large-latest": {
|
|
1067
|
+
"mistral": "pixtral-large-latest"
|
|
1068
|
+
},
|
|
1021
1069
|
"qwen2.5-coder-32b-instruct": {
|
|
1022
1070
|
"openrouter": "qwen/qwen-2.5-coder-32b-instruct"
|
|
1023
1071
|
},
|
|
@@ -1172,9 +1220,6 @@ export default {
|
|
|
1172
1220
|
"text-embedding-ada-002": {
|
|
1173
1221
|
"openai": "text-embedding-ada-002"
|
|
1174
1222
|
},
|
|
1175
|
-
"titan-text-g1---express": {
|
|
1176
|
-
"bedrock": "amazon.titan-text-express-v1:0:8k"
|
|
1177
|
-
},
|
|
1178
1223
|
"trinity-large-preview": {
|
|
1179
1224
|
"openrouter": "arcee-ai/trinity-large-preview:free"
|
|
1180
1225
|
},
|
package/dist/llm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../src/llm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAa9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAUrD,OAAO,EAAU,aAAa,EAAiB,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,UAAU,EAAqB,MAAM,uBAAuB,CAAC;AAItE,MAAM,WAAW,YAAY;I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f,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;KAC5B,GACA,OAAO,CAAC,SAAS,CAAC;CAsDtB;AAED,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC;AAEhF;;GAEG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,SAAc,GAAG,WAAW,CAkD9D;AAuCD;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,EAAE,WA6BpB,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,aAAa;wBACJ,SAAS,GAAG,CAAC,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;CAOlE,CAAC"}
|
package/dist/llm.js
CHANGED
|
@@ -98,10 +98,13 @@ export class NodeLLMCore {
|
|
|
98
98
|
}
|
|
99
99
|
const rawModel = model || this.defaults.chat || this.provider.defaultModel("chat");
|
|
100
100
|
const resolvedModel = resolveModelAlias(rawModel, this.provider.id);
|
|
101
|
-
// Merge global middlewares with local ones
|
|
101
|
+
// Merge global middlewares with local ones, and pass instance config values
|
|
102
102
|
const combinedOptions = {
|
|
103
103
|
...options,
|
|
104
|
-
middlewares: [...this.middlewares, ...(options.middlewares || [])]
|
|
104
|
+
middlewares: [...this.middlewares, ...(options.middlewares || [])],
|
|
105
|
+
requestTimeout: options.requestTimeout ?? this.config.requestTimeout,
|
|
106
|
+
maxTokens: options.maxTokens ?? this.config.maxTokens,
|
|
107
|
+
maxToolCalls: options.maxToolCalls ?? this.config.maxToolCalls
|
|
105
108
|
};
|
|
106
109
|
return new Chat(this.provider, resolvedModel, combinedOptions, this.retry);
|
|
107
110
|
}
|