@mate-academy/llm-gateway 6.0.0 → 6.2.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.
Files changed (103) hide show
  1. package/dist/LLMError.d.ts +12 -0
  2. package/dist/LLMError.js +36 -0
  3. package/dist/LLMError.js.map +1 -0
  4. package/dist/LLMService.constants.d.ts +792 -2
  5. package/dist/LLMService.constants.js +5 -1
  6. package/dist/LLMService.constants.js.map +1 -1
  7. package/dist/LLMService.typedefs.d.ts +24 -2
  8. package/dist/LLMService.typedefs.js +1 -0
  9. package/dist/LLMService.typedefs.js.map +1 -1
  10. package/dist/index.d.ts +1 -0
  11. package/dist/index.js +1 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.d.ts +72 -0
  14. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js +6 -0
  15. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js.map +1 -1
  16. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.d.ts +8 -7
  17. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.js +217 -31
  18. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAIAssistance.service.js.map +1 -1
  19. package/dist/providers/LLMAPI/LLMAPI.constants.d.ts +884 -0
  20. package/dist/providers/LLMAPI/LLMAPI.constants.js +282 -0
  21. package/dist/providers/LLMAPI/LLMAPI.constants.js.map +1 -0
  22. package/dist/providers/LLMAPI/LLMAPI.entity.d.ts +6 -0
  23. package/dist/providers/LLMAPI/LLMAPI.entity.js +49 -0
  24. package/dist/providers/LLMAPI/LLMAPI.entity.js.map +1 -0
  25. package/dist/providers/LLMAPI/LLMAPI.typedefs.d.ts +48 -0
  26. package/dist/providers/LLMAPI/LLMAPI.typedefs.js +46 -0
  27. package/dist/providers/LLMAPI/LLMAPI.typedefs.js.map +1 -0
  28. package/dist/providers/LLMAPI/LLMAPIService.factory.d.ts +6 -0
  29. package/dist/providers/LLMAPI/LLMAPIService.factory.js +19 -0
  30. package/dist/providers/LLMAPI/LLMAPIService.factory.js.map +1 -0
  31. package/dist/providers/LLMAPI/index.d.ts +6 -0
  32. package/dist/providers/LLMAPI/index.js +23 -0
  33. package/dist/providers/LLMAPI/index.js.map +1 -0
  34. package/dist/providers/LLMAPI/schemas/LLMAPISchemaAdapter.d.ts +3 -0
  35. package/dist/providers/LLMAPI/schemas/LLMAPISchemaAdapter.js +8 -0
  36. package/dist/providers/LLMAPI/schemas/LLMAPISchemaAdapter.js.map +1 -0
  37. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.d.ts +34 -0
  38. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js +497 -0
  39. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js.map +1 -0
  40. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.d.ts +18 -0
  41. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js +138 -0
  42. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js.map +1 -0
  43. package/dist/providers/LLMAPI/services/index.d.ts +2 -0
  44. package/dist/providers/LLMAPI/services/index.js +19 -0
  45. package/dist/providers/LLMAPI/services/index.js.map +1 -0
  46. package/dist/providers/LLMAPI/utilities/LLMAPIJsonFixer.d.ts +22 -0
  47. package/dist/providers/LLMAPI/utilities/LLMAPIJsonFixer.js +228 -0
  48. package/dist/providers/LLMAPI/utilities/LLMAPIJsonFixer.js.map +1 -0
  49. package/dist/providers/LLMAPI/utilities/index.d.ts +1 -0
  50. package/dist/providers/LLMAPI/utilities/index.js +7 -0
  51. package/dist/providers/LLMAPI/utilities/index.js.map +1 -0
  52. package/dist/providers/OpenAI/OpenAI.constants.d.ts +165 -0
  53. package/dist/providers/OpenAI/OpenAI.constants.js +11 -0
  54. package/dist/providers/OpenAI/OpenAI.constants.js.map +1 -1
  55. package/dist/providers/OpenAI/OpenAI.typedefs.d.ts +6 -0
  56. package/dist/providers/OpenAI/OpenAI.typedefs.js +9 -1
  57. package/dist/providers/OpenAI/OpenAI.typedefs.js.map +1 -1
  58. package/dist/providers/OpenAI/services/OpenAIAssistance.service.d.ts +9 -7
  59. package/dist/providers/OpenAI/services/OpenAIAssistance.service.js +209 -40
  60. package/dist/providers/OpenAI/services/OpenAIAssistance.service.js.map +1 -1
  61. package/dist/providers/OpenAI/services/OpenAICompletion.service.d.ts +3 -13
  62. package/dist/providers/OpenAI/services/OpenAICompletion.service.js +2 -181
  63. package/dist/providers/OpenAI/services/OpenAICompletion.service.js.map +1 -1
  64. package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.d.ts +21 -0
  65. package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.js +204 -0
  66. package/dist/providers/OpenAICompatible/OpenAICompatibleCompletion.service.js.map +1 -0
  67. package/dist/providers/index.d.ts +1 -0
  68. package/dist/providers/index.js +1 -0
  69. package/dist/providers/index.js.map +1 -1
  70. package/dist/services/LLMAssistanceService.abstract.d.ts +8 -6
  71. package/dist/services/LLMAssistanceService.abstract.js +20 -0
  72. package/dist/services/LLMAssistanceService.abstract.js.map +1 -1
  73. package/dist/services/chatState/CompletionsChatState.d.ts +19 -0
  74. package/dist/services/chatState/CompletionsChatState.js +80 -0
  75. package/dist/services/chatState/CompletionsChatState.js.map +1 -0
  76. package/dist/services/chatState/index.d.ts +1 -0
  77. package/dist/services/chatState/index.js +6 -0
  78. package/dist/services/chatState/index.js.map +1 -0
  79. package/dist/services/fileStorage/FileStorageToolExecutor.d.ts +15 -0
  80. package/dist/services/fileStorage/FileStorageToolExecutor.js +172 -0
  81. package/dist/services/fileStorage/FileStorageToolExecutor.js.map +1 -0
  82. package/dist/services/fileStorage/InMemoryFileStorage.d.ts +20 -0
  83. package/dist/services/fileStorage/InMemoryFileStorage.js +67 -0
  84. package/dist/services/fileStorage/InMemoryFileStorage.js.map +1 -0
  85. package/dist/services/fileStorage/fileStorageTools.d.ts +26 -0
  86. package/dist/services/fileStorage/fileStorageTools.js +67 -0
  87. package/dist/services/fileStorage/fileStorageTools.js.map +1 -0
  88. package/dist/services/fileStorage/index.d.ts +4 -0
  89. package/dist/services/fileStorage/index.js +11 -0
  90. package/dist/services/fileStorage/index.js.map +1 -0
  91. package/dist/utilities/index.d.ts +1 -0
  92. package/dist/utilities/index.js +1 -0
  93. package/dist/utilities/index.js.map +1 -1
  94. package/dist/utilities/schema/SchemaAdapterRegistry.d.ts +2 -0
  95. package/dist/utilities/schema/SchemaAdapterRegistry.js +2 -0
  96. package/dist/utilities/schema/SchemaAdapterRegistry.js.map +1 -1
  97. package/dist/utilities/tools/LLMTool.d.ts +10 -0
  98. package/dist/utilities/tools/LLMTool.js +10 -0
  99. package/dist/utilities/tools/LLMTool.js.map +1 -0
  100. package/dist/utilities/tools/index.d.ts +1 -0
  101. package/dist/utilities/tools/index.js +6 -0
  102. package/dist/utilities/tools/index.js.map +1 -0
  103. package/package.json +1 -1
@@ -0,0 +1,884 @@
1
+ import { type LLMProviderAvailableModels, type LLMProviders } from '../../LLMService.typedefs';
2
+ import { type LLMReporterInterface } from '../../utilities/reporter';
3
+ import { LLMAPIModelNames } from '../../providers/LLMAPI/LLMAPI.typedefs';
4
+ import { LLMAPICompletionService, LLMAPIAssistanceService } from './services';
5
+ export declare const LLMAPI_AVAILABLE_MODELS: {
6
+ readonly "gpt-4.1": {
7
+ readonly name: LLMAPIModelNames.GPT_4_1;
8
+ readonly limits: {
9
+ readonly maxInputTokens: 1047576;
10
+ readonly maxOutputTokens: 32768;
11
+ };
12
+ readonly config: {
13
+ readonly temperature: 0.2;
14
+ };
15
+ readonly pricing: {
16
+ readonly getPriceForTextInput: (tokens: number) => number;
17
+ readonly getPriceForTextOutput: (tokens: number) => number;
18
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
19
+ readonly getPriceForAudioInput: () => number;
20
+ readonly getPriceForAudioOutput: () => number;
21
+ readonly currency: "USD";
22
+ };
23
+ readonly capabilities: {
24
+ readonly vision: true;
25
+ };
26
+ };
27
+ readonly "gpt-4.1-mini": {
28
+ readonly name: LLMAPIModelNames.GPT_4_1_MINI;
29
+ readonly limits: {
30
+ readonly maxInputTokens: 1047576;
31
+ readonly maxOutputTokens: 32768;
32
+ };
33
+ readonly config: {
34
+ readonly temperature: 0.2;
35
+ };
36
+ readonly pricing: {
37
+ readonly getPriceForTextInput: (tokens: number) => number;
38
+ readonly getPriceForTextOutput: (tokens: number) => number;
39
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
40
+ readonly getPriceForAudioInput: () => number;
41
+ readonly getPriceForAudioOutput: () => number;
42
+ readonly currency: "USD";
43
+ };
44
+ readonly capabilities: {
45
+ readonly vision: true;
46
+ };
47
+ };
48
+ readonly "gpt-5": {
49
+ readonly name: LLMAPIModelNames.GPT_5;
50
+ readonly limits: {
51
+ readonly maxInputTokens: 400000;
52
+ readonly maxOutputTokens: 128000;
53
+ };
54
+ readonly config: {
55
+ readonly temperature: 0.2;
56
+ };
57
+ readonly pricing: {
58
+ readonly getPriceForTextInput: (tokens: number) => number;
59
+ readonly getPriceForTextOutput: (tokens: number) => number;
60
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
61
+ readonly getPriceForAudioInput: () => number;
62
+ readonly getPriceForAudioOutput: () => number;
63
+ readonly currency: "USD";
64
+ };
65
+ readonly capabilities: {
66
+ readonly vision: true;
67
+ };
68
+ };
69
+ readonly "gpt-5.1": {
70
+ readonly name: LLMAPIModelNames.GPT_5_1;
71
+ readonly limits: {
72
+ readonly maxInputTokens: 400000;
73
+ readonly maxOutputTokens: 128000;
74
+ };
75
+ readonly config: {
76
+ readonly temperature: 0.2;
77
+ };
78
+ readonly pricing: {
79
+ readonly getPriceForTextInput: (tokens: number) => number;
80
+ readonly getPriceForTextOutput: (tokens: number) => number;
81
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
82
+ readonly getPriceForAudioInput: () => number;
83
+ readonly getPriceForAudioOutput: () => number;
84
+ readonly currency: "USD";
85
+ };
86
+ readonly capabilities: {
87
+ readonly vision: true;
88
+ };
89
+ };
90
+ readonly "gpt-5-mini": {
91
+ readonly name: LLMAPIModelNames.GPT_5_MINI;
92
+ readonly limits: {
93
+ readonly maxInputTokens: 400000;
94
+ readonly maxOutputTokens: 128000;
95
+ };
96
+ readonly config: {
97
+ readonly temperature: 0.2;
98
+ };
99
+ readonly pricing: {
100
+ readonly getPriceForTextInput: (tokens: number) => number;
101
+ readonly getPriceForTextOutput: (tokens: number) => number;
102
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
103
+ readonly getPriceForAudioInput: () => number;
104
+ readonly getPriceForAudioOutput: () => number;
105
+ readonly currency: "USD";
106
+ };
107
+ readonly capabilities: {
108
+ readonly vision: true;
109
+ };
110
+ };
111
+ readonly "gpt-5-nano": {
112
+ readonly name: LLMAPIModelNames.GPT_5_NANO;
113
+ readonly limits: {
114
+ readonly maxInputTokens: 400000;
115
+ readonly maxOutputTokens: 128000;
116
+ };
117
+ readonly config: {
118
+ readonly temperature: 0.2;
119
+ };
120
+ readonly pricing: {
121
+ readonly getPriceForTextInput: (tokens: number) => number;
122
+ readonly getPriceForTextOutput: (tokens: number) => number;
123
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
124
+ readonly getPriceForAudioInput: () => number;
125
+ readonly getPriceForAudioOutput: () => number;
126
+ readonly currency: "USD";
127
+ };
128
+ readonly capabilities: {
129
+ readonly vision: true;
130
+ };
131
+ };
132
+ readonly "gemini-2.5-flash": {
133
+ readonly name: LLMAPIModelNames.GEMINI_2_5_FLASH;
134
+ readonly limits: {
135
+ readonly maxInputTokens: 1048576;
136
+ readonly maxOutputTokens: 65536;
137
+ };
138
+ readonly config: {
139
+ readonly temperature: 0.2;
140
+ };
141
+ readonly pricing: {
142
+ readonly getPriceForTextInput: (tokens: number) => number;
143
+ readonly getPriceForTextOutput: (tokens: number) => number;
144
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
145
+ readonly getPriceForAudioInput: () => number;
146
+ readonly getPriceForAudioOutput: () => number;
147
+ readonly currency: "USD";
148
+ };
149
+ readonly capabilities: {
150
+ readonly vision: true;
151
+ };
152
+ };
153
+ readonly "gemini-2.5-pro": {
154
+ readonly name: LLMAPIModelNames.GEMINI_2_5_PRO;
155
+ readonly limits: {
156
+ readonly maxInputTokens: 1048576;
157
+ readonly maxOutputTokens: 65536;
158
+ };
159
+ readonly config: {
160
+ readonly temperature: 0.2;
161
+ };
162
+ readonly pricing: {
163
+ readonly getPriceForTextInput: (tokens: number) => number;
164
+ readonly getPriceForTextOutput: (tokens: number) => number;
165
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
166
+ readonly getPriceForAudioInput: () => number;
167
+ readonly getPriceForAudioOutput: () => number;
168
+ readonly currency: "USD";
169
+ };
170
+ readonly capabilities: {
171
+ readonly vision: true;
172
+ };
173
+ };
174
+ readonly "minimax-m2.5": {
175
+ readonly name: LLMAPIModelNames.MINIMAX_M2_5;
176
+ readonly limits: {
177
+ readonly maxInputTokens: 196000;
178
+ readonly maxOutputTokens: 16000;
179
+ };
180
+ readonly config: {
181
+ readonly temperature: 0.2;
182
+ };
183
+ readonly pricing: {
184
+ readonly getPriceForTextInput: (tokens: number) => number;
185
+ readonly getPriceForTextOutput: (tokens: number) => number;
186
+ readonly getPriceForAudioInput: () => number;
187
+ readonly getPriceForAudioOutput: () => number;
188
+ readonly currency: "USD";
189
+ };
190
+ readonly capabilities: {
191
+ readonly vision: false;
192
+ };
193
+ };
194
+ readonly "qwen-plus": {
195
+ readonly name: LLMAPIModelNames.QWEN_PLUS;
196
+ readonly limits: {
197
+ readonly maxInputTokens: 128000;
198
+ readonly maxOutputTokens: 16000;
199
+ };
200
+ readonly config: {
201
+ readonly temperature: 0.2;
202
+ };
203
+ readonly pricing: {
204
+ readonly getPriceForTextInput: (tokens: number) => number;
205
+ readonly getPriceForTextOutput: (tokens: number) => number;
206
+ readonly getPriceForAudioInput: () => number;
207
+ readonly getPriceForAudioOutput: () => number;
208
+ readonly currency: "USD";
209
+ };
210
+ readonly capabilities: {
211
+ readonly vision: false;
212
+ };
213
+ };
214
+ readonly "qwen-vl-plus": {
215
+ readonly name: LLMAPIModelNames.QWEN_VL_PLUS;
216
+ readonly limits: {
217
+ readonly maxInputTokens: 128000;
218
+ readonly maxOutputTokens: 16000;
219
+ };
220
+ readonly config: {
221
+ readonly temperature: 0.2;
222
+ };
223
+ readonly pricing: {
224
+ readonly getPriceForTextInput: (tokens: number) => number;
225
+ readonly getPriceForTextOutput: (tokens: number) => number;
226
+ readonly getPriceForAudioInput: () => number;
227
+ readonly getPriceForAudioOutput: () => number;
228
+ readonly currency: "USD";
229
+ };
230
+ readonly capabilities: {
231
+ readonly vision: true;
232
+ };
233
+ };
234
+ readonly "kimi-k2.5": {
235
+ readonly name: LLMAPIModelNames.KIMI_K2_5;
236
+ readonly limits: {
237
+ readonly maxInputTokens: 128000;
238
+ readonly maxOutputTokens: 16000;
239
+ };
240
+ readonly config: {
241
+ readonly temperature: 0.2;
242
+ };
243
+ readonly pricing: {
244
+ readonly getPriceForTextInput: (tokens: number) => number;
245
+ readonly getPriceForTextOutput: (tokens: number) => number;
246
+ readonly getPriceForAudioInput: () => number;
247
+ readonly getPriceForAudioOutput: () => number;
248
+ readonly currency: "USD";
249
+ };
250
+ readonly capabilities: {
251
+ readonly vision: false;
252
+ };
253
+ };
254
+ readonly "qwen-flash": {
255
+ readonly name: LLMAPIModelNames.QWEN_FLASH;
256
+ readonly limits: {
257
+ readonly maxInputTokens: 128000;
258
+ readonly maxOutputTokens: 16000;
259
+ };
260
+ readonly config: {
261
+ readonly temperature: 0.2;
262
+ };
263
+ readonly pricing: {
264
+ readonly getPriceForTextInput: (tokens: number) => number;
265
+ readonly getPriceForTextOutput: (tokens: number) => number;
266
+ readonly getPriceForAudioInput: () => number;
267
+ readonly getPriceForAudioOutput: () => number;
268
+ readonly currency: "USD";
269
+ };
270
+ readonly capabilities: {
271
+ readonly vision: false;
272
+ };
273
+ };
274
+ readonly "deepseek-v3.2": {
275
+ readonly name: LLMAPIModelNames.DEEPSEEK_V3_2;
276
+ readonly limits: {
277
+ readonly maxInputTokens: 128000;
278
+ readonly maxOutputTokens: 16000;
279
+ };
280
+ readonly config: {
281
+ readonly temperature: 0.2;
282
+ };
283
+ readonly pricing: {
284
+ readonly getPriceForTextInput: (tokens: number) => number;
285
+ readonly getPriceForTextOutput: (tokens: number) => number;
286
+ readonly getPriceForAudioInput: () => number;
287
+ readonly getPriceForAudioOutput: () => number;
288
+ readonly currency: "USD";
289
+ };
290
+ readonly capabilities: {
291
+ readonly vision: false;
292
+ };
293
+ };
294
+ };
295
+ export declare const LLMAPI_MODELS: {
296
+ readonly completion: {
297
+ readonly "gpt-4.1": {
298
+ readonly name: LLMAPIModelNames.GPT_4_1;
299
+ readonly limits: {
300
+ readonly maxInputTokens: 1047576;
301
+ readonly maxOutputTokens: 32768;
302
+ };
303
+ readonly config: {
304
+ readonly temperature: 0.2;
305
+ };
306
+ readonly pricing: {
307
+ readonly getPriceForTextInput: (tokens: number) => number;
308
+ readonly getPriceForTextOutput: (tokens: number) => number;
309
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
310
+ readonly getPriceForAudioInput: () => number;
311
+ readonly getPriceForAudioOutput: () => number;
312
+ readonly currency: "USD";
313
+ };
314
+ readonly capabilities: {
315
+ readonly vision: true;
316
+ };
317
+ };
318
+ readonly "gpt-4.1-mini": {
319
+ readonly name: LLMAPIModelNames.GPT_4_1_MINI;
320
+ readonly limits: {
321
+ readonly maxInputTokens: 1047576;
322
+ readonly maxOutputTokens: 32768;
323
+ };
324
+ readonly config: {
325
+ readonly temperature: 0.2;
326
+ };
327
+ readonly pricing: {
328
+ readonly getPriceForTextInput: (tokens: number) => number;
329
+ readonly getPriceForTextOutput: (tokens: number) => number;
330
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
331
+ readonly getPriceForAudioInput: () => number;
332
+ readonly getPriceForAudioOutput: () => number;
333
+ readonly currency: "USD";
334
+ };
335
+ readonly capabilities: {
336
+ readonly vision: true;
337
+ };
338
+ };
339
+ readonly "gpt-5": {
340
+ readonly name: LLMAPIModelNames.GPT_5;
341
+ readonly limits: {
342
+ readonly maxInputTokens: 400000;
343
+ readonly maxOutputTokens: 128000;
344
+ };
345
+ readonly config: {
346
+ readonly temperature: 0.2;
347
+ };
348
+ readonly pricing: {
349
+ readonly getPriceForTextInput: (tokens: number) => number;
350
+ readonly getPriceForTextOutput: (tokens: number) => number;
351
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
352
+ readonly getPriceForAudioInput: () => number;
353
+ readonly getPriceForAudioOutput: () => number;
354
+ readonly currency: "USD";
355
+ };
356
+ readonly capabilities: {
357
+ readonly vision: true;
358
+ };
359
+ };
360
+ readonly "gpt-5.1": {
361
+ readonly name: LLMAPIModelNames.GPT_5_1;
362
+ readonly limits: {
363
+ readonly maxInputTokens: 400000;
364
+ readonly maxOutputTokens: 128000;
365
+ };
366
+ readonly config: {
367
+ readonly temperature: 0.2;
368
+ };
369
+ readonly pricing: {
370
+ readonly getPriceForTextInput: (tokens: number) => number;
371
+ readonly getPriceForTextOutput: (tokens: number) => number;
372
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
373
+ readonly getPriceForAudioInput: () => number;
374
+ readonly getPriceForAudioOutput: () => number;
375
+ readonly currency: "USD";
376
+ };
377
+ readonly capabilities: {
378
+ readonly vision: true;
379
+ };
380
+ };
381
+ readonly "gpt-5-mini": {
382
+ readonly name: LLMAPIModelNames.GPT_5_MINI;
383
+ readonly limits: {
384
+ readonly maxInputTokens: 400000;
385
+ readonly maxOutputTokens: 128000;
386
+ };
387
+ readonly config: {
388
+ readonly temperature: 0.2;
389
+ };
390
+ readonly pricing: {
391
+ readonly getPriceForTextInput: (tokens: number) => number;
392
+ readonly getPriceForTextOutput: (tokens: number) => number;
393
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
394
+ readonly getPriceForAudioInput: () => number;
395
+ readonly getPriceForAudioOutput: () => number;
396
+ readonly currency: "USD";
397
+ };
398
+ readonly capabilities: {
399
+ readonly vision: true;
400
+ };
401
+ };
402
+ readonly "gpt-5-nano": {
403
+ readonly name: LLMAPIModelNames.GPT_5_NANO;
404
+ readonly limits: {
405
+ readonly maxInputTokens: 400000;
406
+ readonly maxOutputTokens: 128000;
407
+ };
408
+ readonly config: {
409
+ readonly temperature: 0.2;
410
+ };
411
+ readonly pricing: {
412
+ readonly getPriceForTextInput: (tokens: number) => number;
413
+ readonly getPriceForTextOutput: (tokens: number) => number;
414
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
415
+ readonly getPriceForAudioInput: () => number;
416
+ readonly getPriceForAudioOutput: () => number;
417
+ readonly currency: "USD";
418
+ };
419
+ readonly capabilities: {
420
+ readonly vision: true;
421
+ };
422
+ };
423
+ readonly "gemini-2.5-flash": {
424
+ readonly name: LLMAPIModelNames.GEMINI_2_5_FLASH;
425
+ readonly limits: {
426
+ readonly maxInputTokens: 1048576;
427
+ readonly maxOutputTokens: 65536;
428
+ };
429
+ readonly config: {
430
+ readonly temperature: 0.2;
431
+ };
432
+ readonly pricing: {
433
+ readonly getPriceForTextInput: (tokens: number) => number;
434
+ readonly getPriceForTextOutput: (tokens: number) => number;
435
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
436
+ readonly getPriceForAudioInput: () => number;
437
+ readonly getPriceForAudioOutput: () => number;
438
+ readonly currency: "USD";
439
+ };
440
+ readonly capabilities: {
441
+ readonly vision: true;
442
+ };
443
+ };
444
+ readonly "gemini-2.5-pro": {
445
+ readonly name: LLMAPIModelNames.GEMINI_2_5_PRO;
446
+ readonly limits: {
447
+ readonly maxInputTokens: 1048576;
448
+ readonly maxOutputTokens: 65536;
449
+ };
450
+ readonly config: {
451
+ readonly temperature: 0.2;
452
+ };
453
+ readonly pricing: {
454
+ readonly getPriceForTextInput: (tokens: number) => number;
455
+ readonly getPriceForTextOutput: (tokens: number) => number;
456
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
457
+ readonly getPriceForAudioInput: () => number;
458
+ readonly getPriceForAudioOutput: () => number;
459
+ readonly currency: "USD";
460
+ };
461
+ readonly capabilities: {
462
+ readonly vision: true;
463
+ };
464
+ };
465
+ readonly "minimax-m2.5": {
466
+ readonly name: LLMAPIModelNames.MINIMAX_M2_5;
467
+ readonly limits: {
468
+ readonly maxInputTokens: 196000;
469
+ readonly maxOutputTokens: 16000;
470
+ };
471
+ readonly config: {
472
+ readonly temperature: 0.2;
473
+ };
474
+ readonly pricing: {
475
+ readonly getPriceForTextInput: (tokens: number) => number;
476
+ readonly getPriceForTextOutput: (tokens: number) => number;
477
+ readonly getPriceForAudioInput: () => number;
478
+ readonly getPriceForAudioOutput: () => number;
479
+ readonly currency: "USD";
480
+ };
481
+ readonly capabilities: {
482
+ readonly vision: false;
483
+ };
484
+ };
485
+ readonly "qwen-plus": {
486
+ readonly name: LLMAPIModelNames.QWEN_PLUS;
487
+ readonly limits: {
488
+ readonly maxInputTokens: 128000;
489
+ readonly maxOutputTokens: 16000;
490
+ };
491
+ readonly config: {
492
+ readonly temperature: 0.2;
493
+ };
494
+ readonly pricing: {
495
+ readonly getPriceForTextInput: (tokens: number) => number;
496
+ readonly getPriceForTextOutput: (tokens: number) => number;
497
+ readonly getPriceForAudioInput: () => number;
498
+ readonly getPriceForAudioOutput: () => number;
499
+ readonly currency: "USD";
500
+ };
501
+ readonly capabilities: {
502
+ readonly vision: false;
503
+ };
504
+ };
505
+ readonly "qwen-vl-plus": {
506
+ readonly name: LLMAPIModelNames.QWEN_VL_PLUS;
507
+ readonly limits: {
508
+ readonly maxInputTokens: 128000;
509
+ readonly maxOutputTokens: 16000;
510
+ };
511
+ readonly config: {
512
+ readonly temperature: 0.2;
513
+ };
514
+ readonly pricing: {
515
+ readonly getPriceForTextInput: (tokens: number) => number;
516
+ readonly getPriceForTextOutput: (tokens: number) => number;
517
+ readonly getPriceForAudioInput: () => number;
518
+ readonly getPriceForAudioOutput: () => number;
519
+ readonly currency: "USD";
520
+ };
521
+ readonly capabilities: {
522
+ readonly vision: true;
523
+ };
524
+ };
525
+ readonly "kimi-k2.5": {
526
+ readonly name: LLMAPIModelNames.KIMI_K2_5;
527
+ readonly limits: {
528
+ readonly maxInputTokens: 128000;
529
+ readonly maxOutputTokens: 16000;
530
+ };
531
+ readonly config: {
532
+ readonly temperature: 0.2;
533
+ };
534
+ readonly pricing: {
535
+ readonly getPriceForTextInput: (tokens: number) => number;
536
+ readonly getPriceForTextOutput: (tokens: number) => number;
537
+ readonly getPriceForAudioInput: () => number;
538
+ readonly getPriceForAudioOutput: () => number;
539
+ readonly currency: "USD";
540
+ };
541
+ readonly capabilities: {
542
+ readonly vision: false;
543
+ };
544
+ };
545
+ readonly "qwen-flash": {
546
+ readonly name: LLMAPIModelNames.QWEN_FLASH;
547
+ readonly limits: {
548
+ readonly maxInputTokens: 128000;
549
+ readonly maxOutputTokens: 16000;
550
+ };
551
+ readonly config: {
552
+ readonly temperature: 0.2;
553
+ };
554
+ readonly pricing: {
555
+ readonly getPriceForTextInput: (tokens: number) => number;
556
+ readonly getPriceForTextOutput: (tokens: number) => number;
557
+ readonly getPriceForAudioInput: () => number;
558
+ readonly getPriceForAudioOutput: () => number;
559
+ readonly currency: "USD";
560
+ };
561
+ readonly capabilities: {
562
+ readonly vision: false;
563
+ };
564
+ };
565
+ readonly "deepseek-v3.2": {
566
+ readonly name: LLMAPIModelNames.DEEPSEEK_V3_2;
567
+ readonly limits: {
568
+ readonly maxInputTokens: 128000;
569
+ readonly maxOutputTokens: 16000;
570
+ };
571
+ readonly config: {
572
+ readonly temperature: 0.2;
573
+ };
574
+ readonly pricing: {
575
+ readonly getPriceForTextInput: (tokens: number) => number;
576
+ readonly getPriceForTextOutput: (tokens: number) => number;
577
+ readonly getPriceForAudioInput: () => number;
578
+ readonly getPriceForAudioOutput: () => number;
579
+ readonly currency: "USD";
580
+ };
581
+ readonly capabilities: {
582
+ readonly vision: false;
583
+ };
584
+ };
585
+ };
586
+ readonly assistance: {
587
+ readonly "gpt-4.1": {
588
+ readonly name: LLMAPIModelNames.GPT_4_1;
589
+ readonly limits: {
590
+ readonly maxInputTokens: 1047576;
591
+ readonly maxOutputTokens: 32768;
592
+ };
593
+ readonly config: {
594
+ readonly temperature: 0.2;
595
+ };
596
+ readonly pricing: {
597
+ readonly getPriceForTextInput: (tokens: number) => number;
598
+ readonly getPriceForTextOutput: (tokens: number) => number;
599
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
600
+ readonly getPriceForAudioInput: () => number;
601
+ readonly getPriceForAudioOutput: () => number;
602
+ readonly currency: "USD";
603
+ };
604
+ readonly capabilities: {
605
+ readonly vision: true;
606
+ };
607
+ };
608
+ readonly "gpt-4.1-mini": {
609
+ readonly name: LLMAPIModelNames.GPT_4_1_MINI;
610
+ readonly limits: {
611
+ readonly maxInputTokens: 1047576;
612
+ readonly maxOutputTokens: 32768;
613
+ };
614
+ readonly config: {
615
+ readonly temperature: 0.2;
616
+ };
617
+ readonly pricing: {
618
+ readonly getPriceForTextInput: (tokens: number) => number;
619
+ readonly getPriceForTextOutput: (tokens: number) => number;
620
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
621
+ readonly getPriceForAudioInput: () => number;
622
+ readonly getPriceForAudioOutput: () => number;
623
+ readonly currency: "USD";
624
+ };
625
+ readonly capabilities: {
626
+ readonly vision: true;
627
+ };
628
+ };
629
+ readonly "gpt-5": {
630
+ readonly name: LLMAPIModelNames.GPT_5;
631
+ readonly limits: {
632
+ readonly maxInputTokens: 400000;
633
+ readonly maxOutputTokens: 128000;
634
+ };
635
+ readonly config: {
636
+ readonly temperature: 0.2;
637
+ };
638
+ readonly pricing: {
639
+ readonly getPriceForTextInput: (tokens: number) => number;
640
+ readonly getPriceForTextOutput: (tokens: number) => number;
641
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
642
+ readonly getPriceForAudioInput: () => number;
643
+ readonly getPriceForAudioOutput: () => number;
644
+ readonly currency: "USD";
645
+ };
646
+ readonly capabilities: {
647
+ readonly vision: true;
648
+ };
649
+ };
650
+ readonly "gpt-5.1": {
651
+ readonly name: LLMAPIModelNames.GPT_5_1;
652
+ readonly limits: {
653
+ readonly maxInputTokens: 400000;
654
+ readonly maxOutputTokens: 128000;
655
+ };
656
+ readonly config: {
657
+ readonly temperature: 0.2;
658
+ };
659
+ readonly pricing: {
660
+ readonly getPriceForTextInput: (tokens: number) => number;
661
+ readonly getPriceForTextOutput: (tokens: number) => number;
662
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
663
+ readonly getPriceForAudioInput: () => number;
664
+ readonly getPriceForAudioOutput: () => number;
665
+ readonly currency: "USD";
666
+ };
667
+ readonly capabilities: {
668
+ readonly vision: true;
669
+ };
670
+ };
671
+ readonly "gpt-5-mini": {
672
+ readonly name: LLMAPIModelNames.GPT_5_MINI;
673
+ readonly limits: {
674
+ readonly maxInputTokens: 400000;
675
+ readonly maxOutputTokens: 128000;
676
+ };
677
+ readonly config: {
678
+ readonly temperature: 0.2;
679
+ };
680
+ readonly pricing: {
681
+ readonly getPriceForTextInput: (tokens: number) => number;
682
+ readonly getPriceForTextOutput: (tokens: number) => number;
683
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
684
+ readonly getPriceForAudioInput: () => number;
685
+ readonly getPriceForAudioOutput: () => number;
686
+ readonly currency: "USD";
687
+ };
688
+ readonly capabilities: {
689
+ readonly vision: true;
690
+ };
691
+ };
692
+ readonly "gpt-5-nano": {
693
+ readonly name: LLMAPIModelNames.GPT_5_NANO;
694
+ readonly limits: {
695
+ readonly maxInputTokens: 400000;
696
+ readonly maxOutputTokens: 128000;
697
+ };
698
+ readonly config: {
699
+ readonly temperature: 0.2;
700
+ };
701
+ readonly pricing: {
702
+ readonly getPriceForTextInput: (tokens: number) => number;
703
+ readonly getPriceForTextOutput: (tokens: number) => number;
704
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
705
+ readonly getPriceForAudioInput: () => number;
706
+ readonly getPriceForAudioOutput: () => number;
707
+ readonly currency: "USD";
708
+ };
709
+ readonly capabilities: {
710
+ readonly vision: true;
711
+ };
712
+ };
713
+ readonly "gemini-2.5-flash": {
714
+ readonly name: LLMAPIModelNames.GEMINI_2_5_FLASH;
715
+ readonly limits: {
716
+ readonly maxInputTokens: 1048576;
717
+ readonly maxOutputTokens: 65536;
718
+ };
719
+ readonly config: {
720
+ readonly temperature: 0.2;
721
+ };
722
+ readonly pricing: {
723
+ readonly getPriceForTextInput: (tokens: number) => number;
724
+ readonly getPriceForTextOutput: (tokens: number) => number;
725
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
726
+ readonly getPriceForAudioInput: () => number;
727
+ readonly getPriceForAudioOutput: () => number;
728
+ readonly currency: "USD";
729
+ };
730
+ readonly capabilities: {
731
+ readonly vision: true;
732
+ };
733
+ };
734
+ readonly "gemini-2.5-pro": {
735
+ readonly name: LLMAPIModelNames.GEMINI_2_5_PRO;
736
+ readonly limits: {
737
+ readonly maxInputTokens: 1048576;
738
+ readonly maxOutputTokens: 65536;
739
+ };
740
+ readonly config: {
741
+ readonly temperature: 0.2;
742
+ };
743
+ readonly pricing: {
744
+ readonly getPriceForTextInput: (tokens: number) => number;
745
+ readonly getPriceForTextOutput: (tokens: number) => number;
746
+ readonly getPriceForCachedTextInput: (tokens: number) => number;
747
+ readonly getPriceForAudioInput: () => number;
748
+ readonly getPriceForAudioOutput: () => number;
749
+ readonly currency: "USD";
750
+ };
751
+ readonly capabilities: {
752
+ readonly vision: true;
753
+ };
754
+ };
755
+ readonly "minimax-m2.5": {
756
+ readonly name: LLMAPIModelNames.MINIMAX_M2_5;
757
+ readonly limits: {
758
+ readonly maxInputTokens: 196000;
759
+ readonly maxOutputTokens: 16000;
760
+ };
761
+ readonly config: {
762
+ readonly temperature: 0.2;
763
+ };
764
+ readonly pricing: {
765
+ readonly getPriceForTextInput: (tokens: number) => number;
766
+ readonly getPriceForTextOutput: (tokens: number) => number;
767
+ readonly getPriceForAudioInput: () => number;
768
+ readonly getPriceForAudioOutput: () => number;
769
+ readonly currency: "USD";
770
+ };
771
+ readonly capabilities: {
772
+ readonly vision: false;
773
+ };
774
+ };
775
+ readonly "qwen-plus": {
776
+ readonly name: LLMAPIModelNames.QWEN_PLUS;
777
+ readonly limits: {
778
+ readonly maxInputTokens: 128000;
779
+ readonly maxOutputTokens: 16000;
780
+ };
781
+ readonly config: {
782
+ readonly temperature: 0.2;
783
+ };
784
+ readonly pricing: {
785
+ readonly getPriceForTextInput: (tokens: number) => number;
786
+ readonly getPriceForTextOutput: (tokens: number) => number;
787
+ readonly getPriceForAudioInput: () => number;
788
+ readonly getPriceForAudioOutput: () => number;
789
+ readonly currency: "USD";
790
+ };
791
+ readonly capabilities: {
792
+ readonly vision: false;
793
+ };
794
+ };
795
+ readonly "qwen-vl-plus": {
796
+ readonly name: LLMAPIModelNames.QWEN_VL_PLUS;
797
+ readonly limits: {
798
+ readonly maxInputTokens: 128000;
799
+ readonly maxOutputTokens: 16000;
800
+ };
801
+ readonly config: {
802
+ readonly temperature: 0.2;
803
+ };
804
+ readonly pricing: {
805
+ readonly getPriceForTextInput: (tokens: number) => number;
806
+ readonly getPriceForTextOutput: (tokens: number) => number;
807
+ readonly getPriceForAudioInput: () => number;
808
+ readonly getPriceForAudioOutput: () => number;
809
+ readonly currency: "USD";
810
+ };
811
+ readonly capabilities: {
812
+ readonly vision: true;
813
+ };
814
+ };
815
+ readonly "kimi-k2.5": {
816
+ readonly name: LLMAPIModelNames.KIMI_K2_5;
817
+ readonly limits: {
818
+ readonly maxInputTokens: 128000;
819
+ readonly maxOutputTokens: 16000;
820
+ };
821
+ readonly config: {
822
+ readonly temperature: 0.2;
823
+ };
824
+ readonly pricing: {
825
+ readonly getPriceForTextInput: (tokens: number) => number;
826
+ readonly getPriceForTextOutput: (tokens: number) => number;
827
+ readonly getPriceForAudioInput: () => number;
828
+ readonly getPriceForAudioOutput: () => number;
829
+ readonly currency: "USD";
830
+ };
831
+ readonly capabilities: {
832
+ readonly vision: false;
833
+ };
834
+ };
835
+ readonly "qwen-flash": {
836
+ readonly name: LLMAPIModelNames.QWEN_FLASH;
837
+ readonly limits: {
838
+ readonly maxInputTokens: 128000;
839
+ readonly maxOutputTokens: 16000;
840
+ };
841
+ readonly config: {
842
+ readonly temperature: 0.2;
843
+ };
844
+ readonly pricing: {
845
+ readonly getPriceForTextInput: (tokens: number) => number;
846
+ readonly getPriceForTextOutput: (tokens: number) => number;
847
+ readonly getPriceForAudioInput: () => number;
848
+ readonly getPriceForAudioOutput: () => number;
849
+ readonly currency: "USD";
850
+ };
851
+ readonly capabilities: {
852
+ readonly vision: false;
853
+ };
854
+ };
855
+ readonly "deepseek-v3.2": {
856
+ readonly name: LLMAPIModelNames.DEEPSEEK_V3_2;
857
+ readonly limits: {
858
+ readonly maxInputTokens: 128000;
859
+ readonly maxOutputTokens: 16000;
860
+ };
861
+ readonly config: {
862
+ readonly temperature: 0.2;
863
+ };
864
+ readonly pricing: {
865
+ readonly getPriceForTextInput: (tokens: number) => number;
866
+ readonly getPriceForTextOutput: (tokens: number) => number;
867
+ readonly getPriceForAudioInput: () => number;
868
+ readonly getPriceForAudioOutput: () => number;
869
+ readonly currency: "USD";
870
+ };
871
+ readonly capabilities: {
872
+ readonly vision: false;
873
+ };
874
+ };
875
+ };
876
+ readonly text_to_speech: Partial<LLMProviderAvailableModels<LLMProviders.LLMAPI>>;
877
+ readonly speech_to_text: Partial<LLMProviderAvailableModels<LLMProviders.LLMAPI>>;
878
+ };
879
+ export declare const LLMAPI_SERVICE_BUILDERS: {
880
+ readonly completion: (logger: import("../..").LLMLoggerInterface | undefined, reporter: LLMReporterInterface<any> | undefined, options: import("openai").ClientOptions | undefined) => LLMAPICompletionService<LLMReporterInterface<any> | undefined>;
881
+ readonly assistance: (logger: import("../..").LLMLoggerInterface | undefined, reporter: LLMReporterInterface<any> | undefined, options: import("openai").ClientOptions | undefined) => LLMAPIAssistanceService<LLMReporterInterface<any> | undefined>;
882
+ readonly speech_to_text: null;
883
+ readonly text_to_speech: null;
884
+ };