@mate-academy/llm-gateway 6.2.0 → 6.3.0
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/README.md +18 -12
- package/dist/LLMService.constants.d.ts +471 -7
- package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.d.ts +295 -3
- package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js +101 -0
- package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js.map +1 -1
- package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.typedefs.d.ts +6 -2
- package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.typedefs.js +4 -0
- package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.typedefs.js.map +1 -1
- package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.d.ts +4 -0
- package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.js +145 -163
- package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.js.map +1 -1
- package/dist/providers/LLMAPI/LLMAPI.constants.d.ts +3 -3
- package/dist/providers/LLMAPI/LLMAPI.constants.js +1 -1
- package/dist/providers/LLMAPI/LLMAPI.constants.js.map +1 -1
- package/dist/providers/LLMAPI/LLMAPI.entity.js +1 -2
- package/dist/providers/LLMAPI/LLMAPI.entity.js.map +1 -1
- package/dist/providers/LLMAPI/LLMAPI.typedefs.js.map +1 -1
- package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.d.ts +5 -2
- package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js +145 -142
- package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js.map +1 -1
- package/dist/providers/LLMAPI/services/LLMAPICompletion.service.d.ts +0 -1
- package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js +10 -16
- package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js.map +1 -1
- package/dist/providers/LLMAPI/utilities/LLMAPIJsonFixer.js +2 -4
- package/dist/providers/LLMAPI/utilities/LLMAPIJsonFixer.js.map +1 -1
- package/dist/providers/LLMAPI/utilities/index.d.ts +2 -0
- package/dist/providers/LLMAPI/utilities/index.js +5 -1
- package/dist/providers/LLMAPI/utilities/index.js.map +1 -1
- package/dist/providers/LLMAPI/utilities/parseXmlToolCalls.d.ts +7 -0
- package/dist/providers/LLMAPI/utilities/parseXmlToolCalls.js +35 -0
- package/dist/providers/LLMAPI/utilities/parseXmlToolCalls.js.map +1 -0
- package/dist/providers/LLMAPI/utilities/stripThinkingTags.d.ts +1 -0
- package/dist/providers/LLMAPI/utilities/stripThinkingTags.js +7 -0
- package/dist/providers/LLMAPI/utilities/stripThinkingTags.js.map +1 -0
- package/dist/providers/OpenAI/OpenAI.constants.d.ts +222 -2
- package/dist/providers/OpenAI/OpenAI.constants.js +44 -0
- package/dist/providers/OpenAI/OpenAI.constants.js.map +1 -1
- package/dist/providers/OpenAI/OpenAI.typedefs.d.ts +3 -1
- package/dist/providers/OpenAI/OpenAI.typedefs.js +2 -0
- package/dist/providers/OpenAI/OpenAI.typedefs.js.map +1 -1
- package/dist/providers/OpenAI/services/OpenAIAssistance.service.d.ts +3 -0
- package/dist/providers/OpenAI/services/OpenAIAssistance.service.js +100 -156
- package/dist/providers/OpenAI/services/OpenAIAssistance.service.js.map +1 -1
- package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.d.ts +2 -0
- package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.js +60 -76
- package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.js.map +1 -1
- package/dist/services/chatState/CompletionsChatState.js.map +1 -1
- package/dist/services/fileStorage/fileStorageTools.js +2 -1
- package/dist/services/fileStorage/fileStorageTools.js.map +1 -1
- package/package.json +3 -3
|
@@ -50,6 +50,27 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
50
50
|
readonly vision: true;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
+
readonly "gpt-4.1-nano": {
|
|
54
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_4_1_NANO;
|
|
55
|
+
readonly limits: {
|
|
56
|
+
readonly maxInputTokens: 1047576;
|
|
57
|
+
readonly maxOutputTokens: 32768;
|
|
58
|
+
};
|
|
59
|
+
readonly config: {
|
|
60
|
+
readonly temperature: 0.2;
|
|
61
|
+
};
|
|
62
|
+
readonly pricing: {
|
|
63
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
64
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
65
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
66
|
+
readonly getPriceForAudioInput: () => number;
|
|
67
|
+
readonly getPriceForAudioOutput: () => number;
|
|
68
|
+
readonly currency: "USD";
|
|
69
|
+
};
|
|
70
|
+
readonly capabilities: {
|
|
71
|
+
readonly vision: true;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
53
74
|
readonly "gpt-5": {
|
|
54
75
|
readonly name: import("./providers").OpenAIModelNames.GPT_5;
|
|
55
76
|
readonly limits: {
|
|
@@ -119,6 +140,29 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
119
140
|
readonly vision: true;
|
|
120
141
|
};
|
|
121
142
|
};
|
|
143
|
+
readonly "gpt-5.4": {
|
|
144
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_5_4;
|
|
145
|
+
readonly limits: {
|
|
146
|
+
readonly maxInputTokens: 1050000;
|
|
147
|
+
readonly maxOutputTokens: 128000;
|
|
148
|
+
};
|
|
149
|
+
readonly config: {
|
|
150
|
+
readonly temperature: 1;
|
|
151
|
+
readonly reasoning_effort: "none";
|
|
152
|
+
readonly verbosity: "medium";
|
|
153
|
+
};
|
|
154
|
+
readonly pricing: {
|
|
155
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
156
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
157
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
158
|
+
readonly getPriceForAudioInput: () => number;
|
|
159
|
+
readonly getPriceForAudioOutput: () => number;
|
|
160
|
+
readonly currency: "USD";
|
|
161
|
+
};
|
|
162
|
+
readonly capabilities: {
|
|
163
|
+
readonly vision: true;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
122
166
|
readonly "gpt-5-mini": {
|
|
123
167
|
readonly name: import("./providers").OpenAIModelNames.GPT_5_MINI;
|
|
124
168
|
readonly limits: {
|
|
@@ -249,7 +293,7 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
249
293
|
readonly vision: false;
|
|
250
294
|
};
|
|
251
295
|
};
|
|
252
|
-
}, import("./providers").OpenAIModelNames.GPT_4_1 | import("./providers").OpenAIModelNames.GPT_4_1_MINI | import("./providers").OpenAIModelNames.GPT_5 | import("./providers").OpenAIModelNames.GPT_5_1 | import("./providers").OpenAIModelNames.GPT_5_2 | import("./providers").OpenAIModelNames.GPT_5_MINI | import("./providers").OpenAIModelNames.GPT_5_NANO>;
|
|
296
|
+
}, import("./providers").OpenAIModelNames.GPT_4_1 | import("./providers").OpenAIModelNames.GPT_4_1_MINI | import("./providers").OpenAIModelNames.GPT_4_1_NANO | import("./providers").OpenAIModelNames.GPT_5 | import("./providers").OpenAIModelNames.GPT_5_1 | import("./providers").OpenAIModelNames.GPT_5_2 | import("./providers").OpenAIModelNames.GPT_5_4 | import("./providers").OpenAIModelNames.GPT_5_MINI | import("./providers").OpenAIModelNames.GPT_5_NANO>;
|
|
253
297
|
readonly assistance: Pick<{
|
|
254
298
|
readonly "gpt-4.1": {
|
|
255
299
|
readonly name: import("./providers").OpenAIModelNames.GPT_4_1;
|
|
@@ -293,6 +337,27 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
293
337
|
readonly vision: true;
|
|
294
338
|
};
|
|
295
339
|
};
|
|
340
|
+
readonly "gpt-4.1-nano": {
|
|
341
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_4_1_NANO;
|
|
342
|
+
readonly limits: {
|
|
343
|
+
readonly maxInputTokens: 1047576;
|
|
344
|
+
readonly maxOutputTokens: 32768;
|
|
345
|
+
};
|
|
346
|
+
readonly config: {
|
|
347
|
+
readonly temperature: 0.2;
|
|
348
|
+
};
|
|
349
|
+
readonly pricing: {
|
|
350
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
351
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
352
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
353
|
+
readonly getPriceForAudioInput: () => number;
|
|
354
|
+
readonly getPriceForAudioOutput: () => number;
|
|
355
|
+
readonly currency: "USD";
|
|
356
|
+
};
|
|
357
|
+
readonly capabilities: {
|
|
358
|
+
readonly vision: true;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
296
361
|
readonly "gpt-5": {
|
|
297
362
|
readonly name: import("./providers").OpenAIModelNames.GPT_5;
|
|
298
363
|
readonly limits: {
|
|
@@ -362,6 +427,29 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
362
427
|
readonly vision: true;
|
|
363
428
|
};
|
|
364
429
|
};
|
|
430
|
+
readonly "gpt-5.4": {
|
|
431
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_5_4;
|
|
432
|
+
readonly limits: {
|
|
433
|
+
readonly maxInputTokens: 1050000;
|
|
434
|
+
readonly maxOutputTokens: 128000;
|
|
435
|
+
};
|
|
436
|
+
readonly config: {
|
|
437
|
+
readonly temperature: 1;
|
|
438
|
+
readonly reasoning_effort: "none";
|
|
439
|
+
readonly verbosity: "medium";
|
|
440
|
+
};
|
|
441
|
+
readonly pricing: {
|
|
442
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
443
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
444
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
445
|
+
readonly getPriceForAudioInput: () => number;
|
|
446
|
+
readonly getPriceForAudioOutput: () => number;
|
|
447
|
+
readonly currency: "USD";
|
|
448
|
+
};
|
|
449
|
+
readonly capabilities: {
|
|
450
|
+
readonly vision: true;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
365
453
|
readonly "gpt-5-mini": {
|
|
366
454
|
readonly name: import("./providers").OpenAIModelNames.GPT_5_MINI;
|
|
367
455
|
readonly limits: {
|
|
@@ -492,7 +580,7 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
492
580
|
readonly vision: false;
|
|
493
581
|
};
|
|
494
582
|
};
|
|
495
|
-
}, import("./providers").OpenAIModelNames.GPT_4_1 | import("./providers").OpenAIModelNames.GPT_4_1_MINI | import("./providers").OpenAIModelNames.GPT_5 | import("./providers").OpenAIModelNames.GPT_5_1 | import("./providers").OpenAIModelNames.GPT_5_2 | import("./providers").OpenAIModelNames.GPT_5_MINI | import("./providers").OpenAIModelNames.GPT_5_NANO>;
|
|
583
|
+
}, import("./providers").OpenAIModelNames.GPT_4_1 | import("./providers").OpenAIModelNames.GPT_4_1_MINI | import("./providers").OpenAIModelNames.GPT_4_1_NANO | import("./providers").OpenAIModelNames.GPT_5 | import("./providers").OpenAIModelNames.GPT_5_1 | import("./providers").OpenAIModelNames.GPT_5_2 | import("./providers").OpenAIModelNames.GPT_5_4 | import("./providers").OpenAIModelNames.GPT_5_MINI | import("./providers").OpenAIModelNames.GPT_5_NANO>;
|
|
496
584
|
readonly text_to_speech: Pick<{
|
|
497
585
|
readonly "gpt-4.1": {
|
|
498
586
|
readonly name: import("./providers").OpenAIModelNames.GPT_4_1;
|
|
@@ -536,6 +624,27 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
536
624
|
readonly vision: true;
|
|
537
625
|
};
|
|
538
626
|
};
|
|
627
|
+
readonly "gpt-4.1-nano": {
|
|
628
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_4_1_NANO;
|
|
629
|
+
readonly limits: {
|
|
630
|
+
readonly maxInputTokens: 1047576;
|
|
631
|
+
readonly maxOutputTokens: 32768;
|
|
632
|
+
};
|
|
633
|
+
readonly config: {
|
|
634
|
+
readonly temperature: 0.2;
|
|
635
|
+
};
|
|
636
|
+
readonly pricing: {
|
|
637
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
638
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
639
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
640
|
+
readonly getPriceForAudioInput: () => number;
|
|
641
|
+
readonly getPriceForAudioOutput: () => number;
|
|
642
|
+
readonly currency: "USD";
|
|
643
|
+
};
|
|
644
|
+
readonly capabilities: {
|
|
645
|
+
readonly vision: true;
|
|
646
|
+
};
|
|
647
|
+
};
|
|
539
648
|
readonly "gpt-5": {
|
|
540
649
|
readonly name: import("./providers").OpenAIModelNames.GPT_5;
|
|
541
650
|
readonly limits: {
|
|
@@ -605,6 +714,29 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
605
714
|
readonly vision: true;
|
|
606
715
|
};
|
|
607
716
|
};
|
|
717
|
+
readonly "gpt-5.4": {
|
|
718
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_5_4;
|
|
719
|
+
readonly limits: {
|
|
720
|
+
readonly maxInputTokens: 1050000;
|
|
721
|
+
readonly maxOutputTokens: 128000;
|
|
722
|
+
};
|
|
723
|
+
readonly config: {
|
|
724
|
+
readonly temperature: 1;
|
|
725
|
+
readonly reasoning_effort: "none";
|
|
726
|
+
readonly verbosity: "medium";
|
|
727
|
+
};
|
|
728
|
+
readonly pricing: {
|
|
729
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
730
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
731
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
732
|
+
readonly getPriceForAudioInput: () => number;
|
|
733
|
+
readonly getPriceForAudioOutput: () => number;
|
|
734
|
+
readonly currency: "USD";
|
|
735
|
+
};
|
|
736
|
+
readonly capabilities: {
|
|
737
|
+
readonly vision: true;
|
|
738
|
+
};
|
|
739
|
+
};
|
|
608
740
|
readonly "gpt-5-mini": {
|
|
609
741
|
readonly name: import("./providers").OpenAIModelNames.GPT_5_MINI;
|
|
610
742
|
readonly limits: {
|
|
@@ -779,6 +911,27 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
779
911
|
readonly vision: true;
|
|
780
912
|
};
|
|
781
913
|
};
|
|
914
|
+
readonly "gpt-4.1-nano": {
|
|
915
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_4_1_NANO;
|
|
916
|
+
readonly limits: {
|
|
917
|
+
readonly maxInputTokens: 1047576;
|
|
918
|
+
readonly maxOutputTokens: 32768;
|
|
919
|
+
};
|
|
920
|
+
readonly config: {
|
|
921
|
+
readonly temperature: 0.2;
|
|
922
|
+
};
|
|
923
|
+
readonly pricing: {
|
|
924
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
925
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
926
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
927
|
+
readonly getPriceForAudioInput: () => number;
|
|
928
|
+
readonly getPriceForAudioOutput: () => number;
|
|
929
|
+
readonly currency: "USD";
|
|
930
|
+
};
|
|
931
|
+
readonly capabilities: {
|
|
932
|
+
readonly vision: true;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
782
935
|
readonly "gpt-5": {
|
|
783
936
|
readonly name: import("./providers").OpenAIModelNames.GPT_5;
|
|
784
937
|
readonly limits: {
|
|
@@ -848,6 +1001,29 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
848
1001
|
readonly vision: true;
|
|
849
1002
|
};
|
|
850
1003
|
};
|
|
1004
|
+
readonly "gpt-5.4": {
|
|
1005
|
+
readonly name: import("./providers").OpenAIModelNames.GPT_5_4;
|
|
1006
|
+
readonly limits: {
|
|
1007
|
+
readonly maxInputTokens: 1050000;
|
|
1008
|
+
readonly maxOutputTokens: 128000;
|
|
1009
|
+
};
|
|
1010
|
+
readonly config: {
|
|
1011
|
+
readonly temperature: 1;
|
|
1012
|
+
readonly reasoning_effort: "none";
|
|
1013
|
+
readonly verbosity: "medium";
|
|
1014
|
+
};
|
|
1015
|
+
readonly pricing: {
|
|
1016
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1017
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1018
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1019
|
+
readonly getPriceForAudioInput: () => number;
|
|
1020
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1021
|
+
readonly currency: "USD";
|
|
1022
|
+
};
|
|
1023
|
+
readonly capabilities: {
|
|
1024
|
+
readonly vision: true;
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
851
1027
|
readonly "gpt-5-mini": {
|
|
852
1028
|
readonly name: import("./providers").OpenAIModelNames.GPT_5_MINI;
|
|
853
1029
|
readonly limits: {
|
|
@@ -1088,6 +1264,53 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1088
1264
|
readonly vision: false;
|
|
1089
1265
|
};
|
|
1090
1266
|
};
|
|
1267
|
+
readonly "gemini-3-flash-preview": {
|
|
1268
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
|
|
1269
|
+
readonly limits: {
|
|
1270
|
+
readonly maxInputTokens: 1048576;
|
|
1271
|
+
readonly maxOutputTokens: 65536;
|
|
1272
|
+
};
|
|
1273
|
+
readonly config: {
|
|
1274
|
+
readonly temperature: 1;
|
|
1275
|
+
readonly thinkingConfig: {
|
|
1276
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1277
|
+
};
|
|
1278
|
+
};
|
|
1279
|
+
readonly pricing: {
|
|
1280
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1281
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1282
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1283
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1284
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1285
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1286
|
+
readonly currency: "USD";
|
|
1287
|
+
};
|
|
1288
|
+
readonly capabilities: {
|
|
1289
|
+
readonly vision: true;
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
readonly "gemini-3.1-flash-lite-preview": {
|
|
1293
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
|
|
1294
|
+
readonly limits: {
|
|
1295
|
+
readonly maxInputTokens: 1048576;
|
|
1296
|
+
readonly maxOutputTokens: 65536;
|
|
1297
|
+
};
|
|
1298
|
+
readonly config: {
|
|
1299
|
+
readonly temperature: 0.2;
|
|
1300
|
+
};
|
|
1301
|
+
readonly pricing: {
|
|
1302
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1303
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1304
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1305
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1306
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1307
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1308
|
+
readonly currency: "USD";
|
|
1309
|
+
};
|
|
1310
|
+
readonly capabilities: {
|
|
1311
|
+
readonly vision: true;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1091
1314
|
readonly "gemini-3-pro-preview": {
|
|
1092
1315
|
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_PRO_PREVIEW;
|
|
1093
1316
|
readonly limits: {
|
|
@@ -1113,7 +1336,32 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1113
1336
|
readonly vision: true;
|
|
1114
1337
|
};
|
|
1115
1338
|
};
|
|
1116
|
-
|
|
1339
|
+
readonly "gemini-3.1-pro-preview": {
|
|
1340
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
|
|
1341
|
+
readonly limits: {
|
|
1342
|
+
readonly maxInputTokens: 1048576;
|
|
1343
|
+
readonly maxOutputTokens: 65536;
|
|
1344
|
+
};
|
|
1345
|
+
readonly config: {
|
|
1346
|
+
readonly temperature: 1;
|
|
1347
|
+
readonly thinkingConfig: {
|
|
1348
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
readonly pricing: {
|
|
1352
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1353
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1354
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1355
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1356
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1357
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1358
|
+
readonly currency: "USD";
|
|
1359
|
+
};
|
|
1360
|
+
readonly capabilities: {
|
|
1361
|
+
readonly vision: true;
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
}, import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH | import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE | import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_PRO | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_PRO_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW>;
|
|
1117
1365
|
readonly assistance: Pick<{
|
|
1118
1366
|
readonly "gemini-2.5-flash": {
|
|
1119
1367
|
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH;
|
|
@@ -1221,6 +1469,53 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1221
1469
|
readonly vision: false;
|
|
1222
1470
|
};
|
|
1223
1471
|
};
|
|
1472
|
+
readonly "gemini-3-flash-preview": {
|
|
1473
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
|
|
1474
|
+
readonly limits: {
|
|
1475
|
+
readonly maxInputTokens: 1048576;
|
|
1476
|
+
readonly maxOutputTokens: 65536;
|
|
1477
|
+
};
|
|
1478
|
+
readonly config: {
|
|
1479
|
+
readonly temperature: 1;
|
|
1480
|
+
readonly thinkingConfig: {
|
|
1481
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
readonly pricing: {
|
|
1485
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1486
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1487
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1488
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1489
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1490
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1491
|
+
readonly currency: "USD";
|
|
1492
|
+
};
|
|
1493
|
+
readonly capabilities: {
|
|
1494
|
+
readonly vision: true;
|
|
1495
|
+
};
|
|
1496
|
+
};
|
|
1497
|
+
readonly "gemini-3.1-flash-lite-preview": {
|
|
1498
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
|
|
1499
|
+
readonly limits: {
|
|
1500
|
+
readonly maxInputTokens: 1048576;
|
|
1501
|
+
readonly maxOutputTokens: 65536;
|
|
1502
|
+
};
|
|
1503
|
+
readonly config: {
|
|
1504
|
+
readonly temperature: 0.2;
|
|
1505
|
+
};
|
|
1506
|
+
readonly pricing: {
|
|
1507
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1508
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1509
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1510
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1511
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1512
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1513
|
+
readonly currency: "USD";
|
|
1514
|
+
};
|
|
1515
|
+
readonly capabilities: {
|
|
1516
|
+
readonly vision: true;
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1224
1519
|
readonly "gemini-3-pro-preview": {
|
|
1225
1520
|
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_PRO_PREVIEW;
|
|
1226
1521
|
readonly limits: {
|
|
@@ -1246,7 +1541,32 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1246
1541
|
readonly vision: true;
|
|
1247
1542
|
};
|
|
1248
1543
|
};
|
|
1249
|
-
|
|
1544
|
+
readonly "gemini-3.1-pro-preview": {
|
|
1545
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
|
|
1546
|
+
readonly limits: {
|
|
1547
|
+
readonly maxInputTokens: 1048576;
|
|
1548
|
+
readonly maxOutputTokens: 65536;
|
|
1549
|
+
};
|
|
1550
|
+
readonly config: {
|
|
1551
|
+
readonly temperature: 1;
|
|
1552
|
+
readonly thinkingConfig: {
|
|
1553
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1554
|
+
};
|
|
1555
|
+
};
|
|
1556
|
+
readonly pricing: {
|
|
1557
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1558
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1559
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1560
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1561
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1562
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1563
|
+
readonly currency: "USD";
|
|
1564
|
+
};
|
|
1565
|
+
readonly capabilities: {
|
|
1566
|
+
readonly vision: true;
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
}, import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH | import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE | import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_PRO | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_PRO_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW>;
|
|
1250
1570
|
readonly speech_to_text: Pick<{
|
|
1251
1571
|
readonly "gemini-2.5-flash": {
|
|
1252
1572
|
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH;
|
|
@@ -1354,6 +1674,53 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1354
1674
|
readonly vision: false;
|
|
1355
1675
|
};
|
|
1356
1676
|
};
|
|
1677
|
+
readonly "gemini-3-flash-preview": {
|
|
1678
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
|
|
1679
|
+
readonly limits: {
|
|
1680
|
+
readonly maxInputTokens: 1048576;
|
|
1681
|
+
readonly maxOutputTokens: 65536;
|
|
1682
|
+
};
|
|
1683
|
+
readonly config: {
|
|
1684
|
+
readonly temperature: 1;
|
|
1685
|
+
readonly thinkingConfig: {
|
|
1686
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1689
|
+
readonly pricing: {
|
|
1690
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1691
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1692
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1693
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1694
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1695
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1696
|
+
readonly currency: "USD";
|
|
1697
|
+
};
|
|
1698
|
+
readonly capabilities: {
|
|
1699
|
+
readonly vision: true;
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
readonly "gemini-3.1-flash-lite-preview": {
|
|
1703
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
|
|
1704
|
+
readonly limits: {
|
|
1705
|
+
readonly maxInputTokens: 1048576;
|
|
1706
|
+
readonly maxOutputTokens: 65536;
|
|
1707
|
+
};
|
|
1708
|
+
readonly config: {
|
|
1709
|
+
readonly temperature: 0.2;
|
|
1710
|
+
};
|
|
1711
|
+
readonly pricing: {
|
|
1712
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1713
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1714
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1715
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1716
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1717
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1718
|
+
readonly currency: "USD";
|
|
1719
|
+
};
|
|
1720
|
+
readonly capabilities: {
|
|
1721
|
+
readonly vision: true;
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1357
1724
|
readonly "gemini-3-pro-preview": {
|
|
1358
1725
|
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_PRO_PREVIEW;
|
|
1359
1726
|
readonly limits: {
|
|
@@ -1379,7 +1746,32 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1379
1746
|
readonly vision: true;
|
|
1380
1747
|
};
|
|
1381
1748
|
};
|
|
1382
|
-
|
|
1749
|
+
readonly "gemini-3.1-pro-preview": {
|
|
1750
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
|
|
1751
|
+
readonly limits: {
|
|
1752
|
+
readonly maxInputTokens: 1048576;
|
|
1753
|
+
readonly maxOutputTokens: 65536;
|
|
1754
|
+
};
|
|
1755
|
+
readonly config: {
|
|
1756
|
+
readonly temperature: 1;
|
|
1757
|
+
readonly thinkingConfig: {
|
|
1758
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1759
|
+
};
|
|
1760
|
+
};
|
|
1761
|
+
readonly pricing: {
|
|
1762
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1763
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1764
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1765
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1766
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1767
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1768
|
+
readonly currency: "USD";
|
|
1769
|
+
};
|
|
1770
|
+
readonly capabilities: {
|
|
1771
|
+
readonly vision: true;
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
}, import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH | import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_LITE | import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_PRO | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_PRO_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW | import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW>;
|
|
1383
1775
|
readonly text_to_speech: Pick<{
|
|
1384
1776
|
readonly "gemini-2.5-flash": {
|
|
1385
1777
|
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH;
|
|
@@ -1487,6 +1879,53 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1487
1879
|
readonly vision: false;
|
|
1488
1880
|
};
|
|
1489
1881
|
};
|
|
1882
|
+
readonly "gemini-3-flash-preview": {
|
|
1883
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_FLASH_PREVIEW;
|
|
1884
|
+
readonly limits: {
|
|
1885
|
+
readonly maxInputTokens: 1048576;
|
|
1886
|
+
readonly maxOutputTokens: 65536;
|
|
1887
|
+
};
|
|
1888
|
+
readonly config: {
|
|
1889
|
+
readonly temperature: 1;
|
|
1890
|
+
readonly thinkingConfig: {
|
|
1891
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
readonly pricing: {
|
|
1895
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1896
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1897
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1898
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1899
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1900
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1901
|
+
readonly currency: "USD";
|
|
1902
|
+
};
|
|
1903
|
+
readonly capabilities: {
|
|
1904
|
+
readonly vision: true;
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
readonly "gemini-3.1-flash-lite-preview": {
|
|
1908
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_FLASH_LITE_PREVIEW;
|
|
1909
|
+
readonly limits: {
|
|
1910
|
+
readonly maxInputTokens: 1048576;
|
|
1911
|
+
readonly maxOutputTokens: 65536;
|
|
1912
|
+
};
|
|
1913
|
+
readonly config: {
|
|
1914
|
+
readonly temperature: 0.2;
|
|
1915
|
+
};
|
|
1916
|
+
readonly pricing: {
|
|
1917
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1918
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1919
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1920
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1921
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1922
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1923
|
+
readonly currency: "USD";
|
|
1924
|
+
};
|
|
1925
|
+
readonly capabilities: {
|
|
1926
|
+
readonly vision: true;
|
|
1927
|
+
};
|
|
1928
|
+
};
|
|
1490
1929
|
readonly "gemini-3-pro-preview": {
|
|
1491
1930
|
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_PRO_PREVIEW;
|
|
1492
1931
|
readonly limits: {
|
|
@@ -1512,6 +1951,31 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1512
1951
|
readonly vision: true;
|
|
1513
1952
|
};
|
|
1514
1953
|
};
|
|
1954
|
+
readonly "gemini-3.1-pro-preview": {
|
|
1955
|
+
readonly name: import("./providers").GoogleGenerativeAIModelNames.GEMINI_3_1_PRO_PREVIEW;
|
|
1956
|
+
readonly limits: {
|
|
1957
|
+
readonly maxInputTokens: 1048576;
|
|
1958
|
+
readonly maxOutputTokens: 65536;
|
|
1959
|
+
};
|
|
1960
|
+
readonly config: {
|
|
1961
|
+
readonly temperature: 1;
|
|
1962
|
+
readonly thinkingConfig: {
|
|
1963
|
+
readonly thinkingLevel: import("@google/genai").ThinkingLevel.LOW;
|
|
1964
|
+
};
|
|
1965
|
+
};
|
|
1966
|
+
readonly pricing: {
|
|
1967
|
+
readonly getPriceForTextInput: (tokens: number) => number;
|
|
1968
|
+
readonly getPriceForTextOutput: (tokens: number) => number;
|
|
1969
|
+
readonly getPriceForCachedTextInput: (tokens: number) => number;
|
|
1970
|
+
readonly getPriceForAudioInput: (audio_tokens: number) => number;
|
|
1971
|
+
readonly getPriceForCachedAudioInput: (audio_tokens: number) => number;
|
|
1972
|
+
readonly getPriceForAudioOutput: () => number;
|
|
1973
|
+
readonly currency: "USD";
|
|
1974
|
+
};
|
|
1975
|
+
readonly capabilities: {
|
|
1976
|
+
readonly vision: true;
|
|
1977
|
+
};
|
|
1978
|
+
};
|
|
1515
1979
|
}, import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_FLASH_PREVIEW_TTS | import("./providers").GoogleGenerativeAIModelNames.GEMINI_2_5_PRO_PREVIEW_TTS>;
|
|
1516
1980
|
};
|
|
1517
1981
|
readonly LLMAPI: {
|
|
@@ -1639,7 +2103,7 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1639
2103
|
readonly currency: "USD";
|
|
1640
2104
|
};
|
|
1641
2105
|
readonly capabilities: {
|
|
1642
|
-
readonly vision:
|
|
2106
|
+
readonly vision: false;
|
|
1643
2107
|
};
|
|
1644
2108
|
};
|
|
1645
2109
|
readonly "gemini-2.5-flash": {
|
|
@@ -1929,7 +2393,7 @@ export declare const LLM_SERVICE_MODELS: {
|
|
|
1929
2393
|
readonly currency: "USD";
|
|
1930
2394
|
};
|
|
1931
2395
|
readonly capabilities: {
|
|
1932
|
-
readonly vision:
|
|
2396
|
+
readonly vision: false;
|
|
1933
2397
|
};
|
|
1934
2398
|
};
|
|
1935
2399
|
readonly "gemini-2.5-flash": {
|