@mate-academy/llm-gateway 7.0.4 → 7.1.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.
@@ -5,10 +5,137 @@ const LLMService_typedefs_1 = require("../../LLMService.typedefs");
5
5
  const LLMAPI_typedefs_1 = require("../../providers/LLMAPI/LLMAPI.typedefs");
6
6
  const services_1 = require("./services");
7
7
  exports.LLMAPI_AVAILABLE_MODELS = {
8
+ // ─── OpenAI ────────────────────────────────────────────────────
9
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_3_5_TURBO]: {
10
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_3_5_TURBO,
11
+ limits: {
12
+ maxInputTokens: 16_385,
13
+ maxOutputTokens: 4_096,
14
+ },
15
+ config: {
16
+ temperature: 0.2,
17
+ },
18
+ pricing: {
19
+ getPriceForTextInput: (tokens) => 0.5 * tokens / 1_000_000,
20
+ getPriceForTextOutput: (tokens) => 1.5 * tokens / 1_000_000,
21
+ getPriceForAudioInput: () => 0,
22
+ getPriceForAudioOutput: () => 0,
23
+ currency: 'USD',
24
+ },
25
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
26
+ },
27
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4]: {
28
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4,
29
+ limits: {
30
+ maxInputTokens: 8_192,
31
+ maxOutputTokens: 8_192,
32
+ },
33
+ config: {
34
+ temperature: 0.2,
35
+ },
36
+ pricing: {
37
+ getPriceForTextInput: (tokens) => 30 * tokens / 1_000_000,
38
+ getPriceForTextOutput: (tokens) => 60 * tokens / 1_000_000,
39
+ getPriceForAudioInput: () => 0,
40
+ getPriceForAudioOutput: () => 0,
41
+ currency: 'USD',
42
+ },
43
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
44
+ },
45
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_TURBO]: {
46
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_TURBO,
47
+ limits: {
48
+ maxInputTokens: 128_000,
49
+ maxOutputTokens: 16_384,
50
+ },
51
+ config: {
52
+ temperature: 0.2,
53
+ },
54
+ pricing: {
55
+ getPriceForTextInput: (tokens) => 10 * tokens / 1_000_000,
56
+ getPriceForTextOutput: (tokens) => 30 * tokens / 1_000_000,
57
+ getPriceForAudioInput: () => 0,
58
+ getPriceForAudioOutput: () => 0,
59
+ currency: 'USD',
60
+ },
61
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
62
+ },
63
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O]: {
64
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O,
65
+ limits: {
66
+ maxInputTokens: 128_000,
67
+ maxOutputTokens: 16_384,
68
+ },
69
+ config: {
70
+ temperature: 0.2,
71
+ },
72
+ pricing: {
73
+ getPriceForTextInput: (tokens) => 2.5 * tokens / 1_000_000,
74
+ getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
75
+ getPriceForAudioInput: () => 0,
76
+ getPriceForAudioOutput: () => 0,
77
+ currency: 'USD',
78
+ },
79
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: true },
80
+ },
81
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O_MINI]: {
82
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O_MINI,
83
+ limits: {
84
+ maxInputTokens: 128_000,
85
+ maxOutputTokens: 16_384,
86
+ },
87
+ config: {
88
+ temperature: 0.2,
89
+ },
90
+ pricing: {
91
+ getPriceForTextInput: (tokens) => 0.15 * tokens / 1_000_000,
92
+ getPriceForTextOutput: (tokens) => 0.6 * tokens / 1_000_000,
93
+ getPriceForAudioInput: () => 0,
94
+ getPriceForAudioOutput: () => 0,
95
+ currency: 'USD',
96
+ },
97
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
98
+ },
99
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O_SEARCH_PREVIEW]: {
100
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O_SEARCH_PREVIEW,
101
+ limits: {
102
+ maxInputTokens: 128_000,
103
+ maxOutputTokens: 16_384,
104
+ },
105
+ config: {
106
+ temperature: 0.2,
107
+ },
108
+ pricing: {
109
+ getPriceForTextInput: (tokens) => 2.5 * tokens / 1_000_000,
110
+ getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
111
+ getPriceForAudioInput: () => 0,
112
+ getPriceForAudioOutput: () => 0,
113
+ currency: 'USD',
114
+ },
115
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: true },
116
+ },
117
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O_MINI_SEARCH_PREVIEW]: {
118
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4O_MINI_SEARCH_PREVIEW,
119
+ limits: {
120
+ maxInputTokens: 128_000,
121
+ maxOutputTokens: 16_384,
122
+ },
123
+ config: {
124
+ temperature: 0.2,
125
+ },
126
+ pricing: {
127
+ getPriceForTextInput: (tokens) => 0.15 * tokens / 1_000_000,
128
+ getPriceForTextOutput: (tokens) => 0.6 * tokens / 1_000_000,
129
+ getPriceForAudioInput: () => 0,
130
+ getPriceForAudioOutput: () => 0,
131
+ currency: 'USD',
132
+ },
133
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: true },
134
+ },
8
135
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_1]: {
9
136
  name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_1,
10
137
  limits: {
11
- maxInputTokens: 1_047_576,
138
+ maxInputTokens: 1_000_000,
12
139
  maxOutputTokens: 32_768,
13
140
  },
14
141
  config: {
@@ -17,17 +144,16 @@ exports.LLMAPI_AVAILABLE_MODELS = {
17
144
  pricing: {
18
145
  getPriceForTextInput: (tokens) => 2 * tokens / 1_000_000,
19
146
  getPriceForTextOutput: (tokens) => 8 * tokens / 1_000_000,
20
- getPriceForCachedTextInput: (tokens) => 0.5 * tokens / 1_000_000,
21
147
  getPriceForAudioInput: () => 0,
22
148
  getPriceForAudioOutput: () => 0,
23
149
  currency: 'USD',
24
150
  },
25
- capabilities: { vision: true },
151
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
26
152
  },
27
153
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_1_MINI]: {
28
154
  name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_1_MINI,
29
155
  limits: {
30
- maxInputTokens: 1_047_576,
156
+ maxInputTokens: 1_000_000,
31
157
  maxOutputTokens: 32_768,
32
158
  },
33
159
  config: {
@@ -36,50 +162,119 @@ exports.LLMAPI_AVAILABLE_MODELS = {
36
162
  pricing: {
37
163
  getPriceForTextInput: (tokens) => 0.4 * tokens / 1_000_000,
38
164
  getPriceForTextOutput: (tokens) => 1.6 * tokens / 1_000_000,
39
- getPriceForCachedTextInput: (tokens) => 0.1 * tokens / 1_000_000,
40
165
  getPriceForAudioInput: () => 0,
41
166
  getPriceForAudioOutput: () => 0,
42
167
  currency: 'USD',
43
168
  },
44
- capabilities: { vision: true },
169
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
45
170
  },
46
- [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5]: {
47
- name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5,
171
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_1_NANO]: {
172
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_4_1_NANO,
48
173
  limits: {
49
- maxInputTokens: 400_000,
50
- maxOutputTokens: 128_000,
174
+ maxInputTokens: 1_000_000,
175
+ maxOutputTokens: 32_768,
51
176
  },
52
177
  config: {
53
178
  temperature: 0.2,
54
179
  },
55
180
  pricing: {
56
- getPriceForTextInput: (tokens) => 1.25 * tokens / 1_000_000,
57
- getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
58
- getPriceForCachedTextInput: (tokens) => 0.125 * tokens / 1_000_000,
181
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
182
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
59
183
  getPriceForAudioInput: () => 0,
60
184
  getPriceForAudioOutput: () => 0,
61
185
  currency: 'USD',
62
186
  },
63
- capabilities: { vision: true },
187
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
64
188
  },
65
- [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1]: {
66
- name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1,
189
+ [LLMAPI_typedefs_1.LLMAPIModelNames.O1]: {
190
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.O1,
191
+ limits: {
192
+ maxInputTokens: 200_000,
193
+ maxOutputTokens: 100_000,
194
+ },
195
+ config: {
196
+ temperature: 0.2,
197
+ },
198
+ pricing: {
199
+ getPriceForTextInput: (tokens) => 15 * tokens / 1_000_000,
200
+ getPriceForTextOutput: (tokens) => 60 * tokens / 1_000_000,
201
+ getPriceForAudioInput: () => 0,
202
+ getPriceForAudioOutput: () => 0,
203
+ currency: 'USD',
204
+ },
205
+ capabilities: { vision: true, tools: false, reasoning: true, webSearch: false },
206
+ },
207
+ [LLMAPI_typedefs_1.LLMAPIModelNames.O3]: {
208
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.O3,
209
+ limits: {
210
+ maxInputTokens: 200_000,
211
+ maxOutputTokens: 100_000,
212
+ },
213
+ config: {
214
+ temperature: 0.2,
215
+ },
216
+ pricing: {
217
+ getPriceForTextInput: (tokens) => 2 * tokens / 1_000_000,
218
+ getPriceForTextOutput: (tokens) => 8 * tokens / 1_000_000,
219
+ getPriceForAudioInput: () => 0,
220
+ getPriceForAudioOutput: () => 0,
221
+ currency: 'USD',
222
+ },
223
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
224
+ },
225
+ [LLMAPI_typedefs_1.LLMAPIModelNames.O3_MINI]: {
226
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.O3_MINI,
227
+ limits: {
228
+ maxInputTokens: 200_000,
229
+ maxOutputTokens: 65_536,
230
+ },
231
+ config: {
232
+ temperature: 0.2,
233
+ },
234
+ pricing: {
235
+ getPriceForTextInput: (tokens) => 1.1 * tokens / 1_000_000,
236
+ getPriceForTextOutput: (tokens) => 4.4 * tokens / 1_000_000,
237
+ getPriceForAudioInput: () => 0,
238
+ getPriceForAudioOutput: () => 0,
239
+ currency: 'USD',
240
+ },
241
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
242
+ },
243
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_OSS_20B]: {
244
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_OSS_20B,
245
+ limits: {
246
+ maxInputTokens: 131_072,
247
+ maxOutputTokens: 32_768,
248
+ },
249
+ config: {
250
+ temperature: 0.2,
251
+ },
252
+ pricing: {
253
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
254
+ getPriceForTextOutput: (tokens) => 0.5 * tokens / 1_000_000,
255
+ getPriceForAudioInput: () => 0,
256
+ getPriceForAudioOutput: () => 0,
257
+ currency: 'USD',
258
+ },
259
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
260
+ },
261
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5]: {
262
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5,
67
263
  limits: {
68
264
  maxInputTokens: 400_000,
69
265
  maxOutputTokens: 128_000,
70
266
  },
71
267
  config: {
72
- temperature: 0.2,
268
+ temperature: 1,
73
269
  },
74
270
  pricing: {
75
271
  getPriceForTextInput: (tokens) => 1.25 * tokens / 1_000_000,
76
272
  getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
77
- getPriceForCachedTextInput: (tokens) => 0.125 * tokens / 1_000_000,
78
273
  getPriceForAudioInput: () => 0,
79
274
  getPriceForAudioOutput: () => 0,
80
275
  currency: 'USD',
81
276
  },
82
- capabilities: { vision: true },
277
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
83
278
  },
84
279
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_MINI]: {
85
280
  name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_MINI,
@@ -88,17 +283,16 @@ exports.LLMAPI_AVAILABLE_MODELS = {
88
283
  maxOutputTokens: 128_000,
89
284
  },
90
285
  config: {
91
- temperature: 0.2,
286
+ temperature: 1,
92
287
  },
93
288
  pricing: {
94
289
  getPriceForTextInput: (tokens) => 0.25 * tokens / 1_000_000,
95
290
  getPriceForTextOutput: (tokens) => 2 * tokens / 1_000_000,
96
- getPriceForCachedTextInput: (tokens) => 0.025 * tokens / 1_000_000,
97
291
  getPriceForAudioInput: () => 0,
98
292
  getPriceForAudioOutput: () => 0,
99
293
  currency: 'USD',
100
294
  },
101
- capabilities: { vision: true },
295
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
102
296
  },
103
297
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_NANO]: {
104
298
  name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_NANO,
@@ -107,163 +301,2259 @@ exports.LLMAPI_AVAILABLE_MODELS = {
107
301
  maxOutputTokens: 128_000,
108
302
  },
109
303
  config: {
110
- temperature: 0.2,
304
+ temperature: 1,
111
305
  },
112
306
  pricing: {
113
307
  getPriceForTextInput: (tokens) => 0.05 * tokens / 1_000_000,
114
308
  getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
115
- getPriceForCachedTextInput: (tokens) => 0.005 * tokens / 1_000_000,
116
309
  getPriceForAudioInput: () => 0,
117
310
  getPriceForAudioOutput: () => 0,
118
311
  currency: 'USD',
119
312
  },
120
- capabilities: { vision: false },
313
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
121
314
  },
122
- [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH]: {
123
- name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH,
315
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_CODEX]: {
316
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_CODEX,
124
317
  limits: {
125
- maxInputTokens: 1_048_576,
126
- maxOutputTokens: 65_536,
318
+ maxInputTokens: 400_000,
319
+ maxOutputTokens: 128_000,
127
320
  },
128
321
  config: {
129
- temperature: 0.2,
322
+ temperature: 1,
130
323
  },
131
324
  pricing: {
132
- getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
133
- getPriceForTextOutput: (tokens) => 2.5 * tokens / 1_000_000,
134
- getPriceForCachedTextInput: (tokens) => 0.03 * tokens / 1_000_000,
325
+ getPriceForTextInput: (tokens) => 1.25 * tokens / 1_000_000,
326
+ getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
135
327
  getPriceForAudioInput: () => 0,
136
328
  getPriceForAudioOutput: () => 0,
137
329
  currency: 'USD',
138
330
  },
139
- capabilities: { vision: true },
331
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
140
332
  },
141
- [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_PRO]: {
142
- name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_PRO,
333
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_PRO]: {
334
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_PRO,
143
335
  limits: {
144
- maxInputTokens: 1_048_576,
145
- maxOutputTokens: 65_536,
336
+ maxInputTokens: 400_000,
337
+ maxOutputTokens: 128_000,
146
338
  },
147
339
  config: {
148
- temperature: 0.2,
340
+ temperature: 1,
341
+ },
342
+ pricing: {
343
+ getPriceForTextInput: (tokens) => 15 * tokens / 1_000_000,
344
+ getPriceForTextOutput: (tokens) => 120 * tokens / 1_000_000,
345
+ getPriceForAudioInput: () => 0,
346
+ getPriceForAudioOutput: () => 0,
347
+ currency: 'USD',
348
+ },
349
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
350
+ },
351
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1]: {
352
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1,
353
+ limits: {
354
+ maxInputTokens: 400_000,
355
+ maxOutputTokens: 128_000,
356
+ },
357
+ config: {
358
+ temperature: 1,
149
359
  },
150
360
  pricing: {
151
361
  getPriceForTextInput: (tokens) => 1.25 * tokens / 1_000_000,
152
362
  getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
153
- getPriceForCachedTextInput: (tokens) => 0.125 * tokens / 1_000_000,
154
363
  getPriceForAudioInput: () => 0,
155
364
  getPriceForAudioOutput: () => 0,
156
365
  currency: 'USD',
157
366
  },
158
- capabilities: { vision: true },
367
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
159
368
  },
160
- [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5]: {
161
- name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5,
369
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1_CHAT]: {
370
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1_CHAT,
162
371
  limits: {
163
- maxInputTokens: 196_000,
164
- maxOutputTokens: 16_000,
372
+ maxInputTokens: 128_000,
373
+ maxOutputTokens: 128_000,
165
374
  },
166
375
  config: {
167
- temperature: 0.2,
376
+ temperature: 1,
168
377
  },
169
378
  pricing: {
170
- getPriceForTextInput: (tokens) => 0.15 * tokens / 1_000_000,
171
- getPriceForTextOutput: (tokens) => 1.2 * tokens / 1_000_000,
379
+ getPriceForTextInput: (tokens) => 1.25 * tokens / 1_000_000,
380
+ getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
172
381
  getPriceForAudioInput: () => 0,
173
382
  getPriceForAudioOutput: () => 0,
174
383
  currency: 'USD',
175
384
  },
176
- capabilities: { vision: false },
385
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
177
386
  },
178
- [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_PLUS]: {
179
- name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_PLUS,
387
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1_CODEX]: {
388
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1_CODEX,
180
389
  limits: {
181
- maxInputTokens: 128_000,
182
- maxOutputTokens: 16_000,
390
+ maxInputTokens: 400_000,
391
+ maxOutputTokens: 128_000,
183
392
  },
184
393
  config: {
185
- temperature: 0.2,
394
+ temperature: 1,
186
395
  },
187
396
  pricing: {
188
- getPriceForTextInput: (tokens) => 0.4 * tokens / 1_000_000,
189
- getPriceForTextOutput: (tokens) => 1.2 * tokens / 1_000_000,
397
+ getPriceForTextInput: (tokens) => 1.25 * tokens / 1_000_000,
398
+ getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
190
399
  getPriceForAudioInput: () => 0,
191
400
  getPriceForAudioOutput: () => 0,
192
401
  currency: 'USD',
193
402
  },
194
- capabilities: { vision: false },
403
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
195
404
  },
196
- [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_VL_PLUS]: {
197
- name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_VL_PLUS,
405
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1_CODEX_MINI]: {
406
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_1_CODEX_MINI,
198
407
  limits: {
199
- maxInputTokens: 128_000,
200
- maxOutputTokens: 16_000,
408
+ maxInputTokens: 400_000,
409
+ maxOutputTokens: 128_000,
201
410
  },
202
411
  config: {
203
- temperature: 0.2,
412
+ temperature: 1,
204
413
  },
205
414
  pricing: {
206
- getPriceForTextInput: (tokens) => 0.21 * tokens / 1_000_000,
207
- getPriceForTextOutput: (tokens) => 0.64 * tokens / 1_000_000,
415
+ getPriceForTextInput: (tokens) => 0.25 * tokens / 1_000_000,
416
+ getPriceForTextOutput: (tokens) => 2 * tokens / 1_000_000,
208
417
  getPriceForAudioInput: () => 0,
209
418
  getPriceForAudioOutput: () => 0,
210
419
  currency: 'USD',
211
420
  },
212
- capabilities: { vision: true },
421
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
213
422
  },
214
- [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_5]: {
215
- name: LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_5,
423
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2]: {
424
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2,
216
425
  limits: {
217
- maxInputTokens: 128_000,
218
- maxOutputTokens: 16_000,
426
+ maxInputTokens: 400_000,
427
+ maxOutputTokens: 128_000,
219
428
  },
220
429
  config: {
221
- temperature: 0.2,
430
+ temperature: 1,
222
431
  },
223
432
  pricing: {
224
- getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
225
- getPriceForTextOutput: (tokens) => 2.5 * tokens / 1_000_000,
433
+ getPriceForTextInput: (tokens) => 1.75 * tokens / 1_000_000,
434
+ getPriceForTextOutput: (tokens) => 14 * tokens / 1_000_000,
226
435
  getPriceForAudioInput: () => 0,
227
436
  getPriceForAudioOutput: () => 0,
228
437
  currency: 'USD',
229
438
  },
230
- capabilities: { vision: false },
439
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
231
440
  },
232
- [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_FLASH]: {
233
- name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_FLASH,
441
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2_PRO]: {
442
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2_PRO,
234
443
  limits: {
235
- maxInputTokens: 128_000,
236
- maxOutputTokens: 16_000,
444
+ maxInputTokens: 400_000,
445
+ maxOutputTokens: 128_000,
237
446
  },
238
447
  config: {
239
- temperature: 0.2,
448
+ temperature: 1,
240
449
  },
241
450
  pricing: {
242
- getPriceForTextInput: (tokens) => 0.05 * tokens / 1_000_000,
243
- getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
451
+ getPriceForTextInput: (tokens) => 21 * tokens / 1_000_000,
452
+ getPriceForTextOutput: (tokens) => 168 * tokens / 1_000_000,
244
453
  getPriceForAudioInput: () => 0,
245
454
  getPriceForAudioOutput: () => 0,
246
455
  currency: 'USD',
247
456
  },
248
- capabilities: { vision: false },
457
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
249
458
  },
250
- [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V3_2]: {
251
- name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V3_2,
459
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2_CODEX]: {
460
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2_CODEX,
252
461
  limits: {
253
- maxInputTokens: 128_000,
254
- maxOutputTokens: 16_000,
462
+ maxInputTokens: 400_000,
463
+ maxOutputTokens: 128_000,
255
464
  },
256
465
  config: {
257
- temperature: 0.2,
466
+ temperature: 1,
258
467
  },
259
468
  pricing: {
260
- getPriceForTextInput: (tokens) => 0.28 * tokens / 1_000_000,
261
- getPriceForTextOutput: (tokens) => 0.42 * tokens / 1_000_000,
469
+ getPriceForTextInput: (tokens) => 1.75 * tokens / 1_000_000,
470
+ getPriceForTextOutput: (tokens) => 14 * tokens / 1_000_000,
471
+ getPriceForAudioInput: () => 0,
472
+ getPriceForAudioOutput: () => 0,
473
+ currency: 'USD',
474
+ },
475
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
476
+ },
477
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_3_CODEX]: {
478
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_3_CODEX,
479
+ limits: {
480
+ maxInputTokens: 400_000,
481
+ maxOutputTokens: 128_000,
482
+ },
483
+ config: {
484
+ temperature: 1,
485
+ },
486
+ pricing: {
487
+ getPriceForTextInput: (tokens) => 1.75 * tokens / 1_000_000,
488
+ getPriceForTextOutput: (tokens) => 14 * tokens / 1_000_000,
489
+ getPriceForAudioInput: () => 0,
490
+ getPriceForAudioOutput: () => 0,
491
+ currency: 'USD',
492
+ },
493
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
494
+ },
495
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_4]: {
496
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_4,
497
+ limits: {
498
+ maxInputTokens: 1_050_000,
499
+ maxOutputTokens: 128_000,
500
+ },
501
+ config: {
502
+ temperature: 1,
503
+ },
504
+ pricing: {
505
+ getPriceForTextInput: (tokens) => 2.5 * tokens / 1_000_000,
506
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
507
+ getPriceForAudioInput: () => 0,
508
+ getPriceForAudioOutput: () => 0,
509
+ currency: 'USD',
510
+ },
511
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
512
+ },
513
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_4_PRO]: {
514
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_4_PRO,
515
+ limits: {
516
+ maxInputTokens: 1_050_000,
517
+ maxOutputTokens: 128_000,
518
+ },
519
+ config: {
520
+ temperature: 1,
521
+ },
522
+ pricing: {
523
+ getPriceForTextInput: (tokens) => 30 * tokens / 1_000_000,
524
+ getPriceForTextOutput: (tokens) => 180 * tokens / 1_000_000,
525
+ getPriceForAudioInput: () => 0,
526
+ getPriceForAudioOutput: () => 0,
527
+ currency: 'USD',
528
+ },
529
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
530
+ },
531
+ // ─── Anthropic ─────────────────────────────────────────────────
532
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_20250514]: {
533
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_20250514,
534
+ limits: {
535
+ maxInputTokens: 200_000,
536
+ maxOutputTokens: 32_768,
537
+ },
538
+ config: {
539
+ temperature: 0.2,
540
+ },
541
+ pricing: {
542
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
543
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
544
+ getPriceForAudioInput: () => 0,
545
+ getPriceForAudioOutput: () => 0,
546
+ currency: 'USD',
547
+ },
548
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
549
+ },
550
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_5]: {
551
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_5,
552
+ limits: {
553
+ maxInputTokens: 200_000,
554
+ maxOutputTokens: 32_768,
555
+ },
556
+ config: {
557
+ temperature: 0.2,
558
+ },
559
+ pricing: {
560
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
561
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
562
+ getPriceForAudioInput: () => 0,
563
+ getPriceForAudioOutput: () => 0,
564
+ currency: 'USD',
565
+ },
566
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
567
+ },
568
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_5_20250929]: {
569
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_5_20250929,
570
+ limits: {
571
+ maxInputTokens: 200_000,
572
+ maxOutputTokens: 32_768,
573
+ },
574
+ config: {
575
+ temperature: 0.2,
576
+ },
577
+ pricing: {
578
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
579
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
580
+ getPriceForAudioInput: () => 0,
581
+ getPriceForAudioOutput: () => 0,
582
+ currency: 'USD',
583
+ },
584
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
585
+ },
586
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_6]: {
587
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_SONNET_4_6,
588
+ limits: {
589
+ maxInputTokens: 200_000,
590
+ maxOutputTokens: 32_768,
591
+ },
592
+ config: {
593
+ temperature: 0.2,
594
+ },
595
+ pricing: {
596
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
597
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
598
+ getPriceForAudioInput: () => 0,
599
+ getPriceForAudioOutput: () => 0,
600
+ currency: 'USD',
601
+ },
602
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
603
+ },
604
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_HAIKU_4_5]: {
605
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_HAIKU_4_5,
606
+ limits: {
607
+ maxInputTokens: 200_000,
608
+ maxOutputTokens: 32_768,
609
+ },
610
+ config: {
611
+ temperature: 0.2,
612
+ },
613
+ pricing: {
614
+ getPriceForTextInput: (tokens) => 1 * tokens / 1_000_000,
615
+ getPriceForTextOutput: (tokens) => 5 * tokens / 1_000_000,
616
+ getPriceForAudioInput: () => 0,
617
+ getPriceForAudioOutput: () => 0,
618
+ currency: 'USD',
619
+ },
620
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: true },
621
+ },
622
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_HAIKU_4_5_20251001]: {
623
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_HAIKU_4_5_20251001,
624
+ limits: {
625
+ maxInputTokens: 200_000,
626
+ maxOutputTokens: 32_768,
627
+ },
628
+ config: {
629
+ temperature: 0.2,
630
+ },
631
+ pricing: {
632
+ getPriceForTextInput: (tokens) => 1 * tokens / 1_000_000,
633
+ getPriceForTextOutput: (tokens) => 5 * tokens / 1_000_000,
634
+ getPriceForAudioInput: () => 0,
635
+ getPriceForAudioOutput: () => 0,
636
+ currency: 'USD',
637
+ },
638
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: true },
639
+ },
640
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_20250514]: {
641
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_20250514,
642
+ limits: {
643
+ maxInputTokens: 200_000,
644
+ maxOutputTokens: 32_768,
645
+ },
646
+ config: {
647
+ temperature: 0.2,
648
+ },
649
+ pricing: {
650
+ getPriceForTextInput: (tokens) => 15 * tokens / 1_000_000,
651
+ getPriceForTextOutput: (tokens) => 75 * tokens / 1_000_000,
652
+ getPriceForAudioInput: () => 0,
653
+ getPriceForAudioOutput: () => 0,
654
+ currency: 'USD',
655
+ },
656
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
657
+ },
658
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_1_20250805]: {
659
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_1_20250805,
660
+ limits: {
661
+ maxInputTokens: 200_000,
662
+ maxOutputTokens: 32_768,
663
+ },
664
+ config: {
665
+ temperature: 0.2,
666
+ },
667
+ pricing: {
668
+ getPriceForTextInput: (tokens) => 15 * tokens / 1_000_000,
669
+ getPriceForTextOutput: (tokens) => 75 * tokens / 1_000_000,
670
+ getPriceForAudioInput: () => 0,
671
+ getPriceForAudioOutput: () => 0,
672
+ currency: 'USD',
673
+ },
674
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
675
+ },
676
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_5_20251101]: {
677
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_5_20251101,
678
+ limits: {
679
+ maxInputTokens: 200_000,
680
+ maxOutputTokens: 32_768,
681
+ },
682
+ config: {
683
+ temperature: 0.2,
684
+ },
685
+ pricing: {
686
+ getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000,
687
+ getPriceForTextOutput: (tokens) => 25 * tokens / 1_000_000,
688
+ getPriceForAudioInput: () => 0,
689
+ getPriceForAudioOutput: () => 0,
690
+ currency: 'USD',
691
+ },
692
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
693
+ },
694
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_6]: {
695
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_6,
696
+ limits: {
697
+ maxInputTokens: 1_000_000,
698
+ maxOutputTokens: 32_768,
699
+ },
700
+ config: {
701
+ temperature: 1,
702
+ },
703
+ pricing: {
704
+ getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000,
705
+ getPriceForTextOutput: (tokens) => 25 * tokens / 1_000_000,
706
+ getPriceForAudioInput: () => 0,
707
+ getPriceForAudioOutput: () => 0,
708
+ currency: 'USD',
709
+ },
710
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
711
+ },
712
+ // ─── Google Gemini ─────────────────────────────────────────────
713
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_PRO]: {
714
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_PRO,
715
+ limits: {
716
+ maxInputTokens: 1_048_576,
717
+ maxOutputTokens: 65_536,
718
+ },
719
+ config: {
720
+ temperature: 0.2,
721
+ },
722
+ pricing: {
723
+ getPriceForTextInput: (tokens) => 1.25 * tokens / 1_000_000,
724
+ getPriceForTextOutput: (tokens) => 10 * tokens / 1_000_000,
725
+ getPriceForAudioInput: () => 0,
726
+ getPriceForAudioOutput: () => 0,
727
+ currency: 'USD',
728
+ },
729
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
730
+ },
731
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH]: {
732
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH,
733
+ limits: {
734
+ maxInputTokens: 1_048_576,
735
+ maxOutputTokens: 65_536,
736
+ },
737
+ config: {
738
+ temperature: 0.2,
739
+ },
740
+ pricing: {
741
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
742
+ getPriceForTextOutput: (tokens) => 2.5 * tokens / 1_000_000,
743
+ getPriceForAudioInput: () => 0,
744
+ getPriceForAudioOutput: () => 0,
745
+ currency: 'USD',
746
+ },
747
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
748
+ },
749
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_LITE]: {
750
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_LITE,
751
+ limits: {
752
+ maxInputTokens: 1_048_576,
753
+ maxOutputTokens: 65_536,
754
+ },
755
+ config: {
756
+ temperature: 0.2,
757
+ },
758
+ pricing: {
759
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
760
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
761
+ getPriceForAudioInput: () => 0,
762
+ getPriceForAudioOutput: () => 0,
763
+ currency: 'USD',
764
+ },
765
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
766
+ },
767
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_LITE_PREVIEW_09_2025]: {
768
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_LITE_PREVIEW_09_2025,
769
+ limits: {
770
+ maxInputTokens: 1_048_576,
771
+ maxOutputTokens: 65_536,
772
+ },
773
+ config: {
774
+ temperature: 0.2,
775
+ },
776
+ pricing: {
777
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
778
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
779
+ getPriceForAudioInput: () => 0,
780
+ getPriceForAudioOutput: () => 0,
781
+ currency: 'USD',
782
+ },
783
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
784
+ },
785
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_3_1_PRO_PREVIEW]: {
786
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_3_1_PRO_PREVIEW,
787
+ limits: {
788
+ maxInputTokens: 1_048_576,
789
+ maxOutputTokens: 65_536,
790
+ },
791
+ config: {
792
+ temperature: 0.2,
793
+ },
794
+ pricing: {
795
+ getPriceForTextInput: (tokens) => 2 * tokens / 1_000_000,
796
+ getPriceForTextOutput: (tokens) => 12 * tokens / 1_000_000,
797
+ getPriceForAudioInput: () => 0,
798
+ getPriceForAudioOutput: () => 0,
799
+ currency: 'USD',
800
+ },
801
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
802
+ },
803
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_3_FLASH_PREVIEW]: {
804
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_3_FLASH_PREVIEW,
805
+ limits: {
806
+ maxInputTokens: 1_048_576,
807
+ maxOutputTokens: 65_536,
808
+ },
809
+ config: {
810
+ temperature: 0.2,
811
+ },
812
+ pricing: {
813
+ getPriceForTextInput: (tokens) => 0.5 * tokens / 1_000_000,
814
+ getPriceForTextOutput: (tokens) => 3 * tokens / 1_000_000,
815
+ getPriceForAudioInput: () => 0,
816
+ getPriceForAudioOutput: () => 0,
817
+ currency: 'USD',
818
+ },
819
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
820
+ },
821
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_IMAGE]: {
822
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_IMAGE,
823
+ limits: {
824
+ maxInputTokens: 32_768,
825
+ maxOutputTokens: 65_536,
826
+ },
827
+ config: {
828
+ temperature: 0.2,
829
+ },
830
+ pricing: {
831
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
832
+ getPriceForTextOutput: (tokens) => 30 * tokens / 1_000_000,
833
+ getPriceForAudioInput: () => 0,
834
+ getPriceForAudioOutput: () => 0,
835
+ currency: 'USD',
836
+ },
837
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
838
+ },
839
+ // ─── Google Gemma ──────────────────────────────────────────────
840
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3N_E2B_IT]: {
841
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3N_E2B_IT,
842
+ limits: {
843
+ maxInputTokens: 1_000_000,
844
+ maxOutputTokens: 8_192,
845
+ },
846
+ config: {
847
+ temperature: 0.2,
848
+ },
849
+ pricing: {
850
+ getPriceForTextInput: (tokens) => 0.075 * tokens / 1_000_000,
851
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
852
+ getPriceForAudioInput: () => 0,
853
+ getPriceForAudioOutput: () => 0,
854
+ currency: 'USD',
855
+ },
856
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
857
+ },
858
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3N_E4B_IT]: {
859
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3N_E4B_IT,
860
+ limits: {
861
+ maxInputTokens: 1_000_000,
862
+ maxOutputTokens: 8_192,
863
+ },
864
+ config: {
865
+ temperature: 0.2,
866
+ },
867
+ pricing: {
868
+ getPriceForTextInput: (tokens) => 0.075 * tokens / 1_000_000,
869
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
870
+ getPriceForAudioInput: () => 0,
871
+ getPriceForAudioOutput: () => 0,
872
+ currency: 'USD',
873
+ },
874
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
875
+ },
876
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_1B_IT]: {
877
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_1B_IT,
878
+ limits: {
879
+ maxInputTokens: 1_000_000,
880
+ maxOutputTokens: 8_192,
881
+ },
882
+ config: {
883
+ temperature: 0.2,
884
+ },
885
+ pricing: {
886
+ getPriceForTextInput: (tokens) => 0.075 * tokens / 1_000_000,
887
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
888
+ getPriceForAudioInput: () => 0,
889
+ getPriceForAudioOutput: () => 0,
890
+ currency: 'USD',
891
+ },
892
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
893
+ },
894
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_4B_IT]: {
895
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_4B_IT,
896
+ limits: {
897
+ maxInputTokens: 1_000_000,
898
+ maxOutputTokens: 8_192,
899
+ },
900
+ config: {
901
+ temperature: 0.2,
902
+ },
903
+ pricing: {
904
+ getPriceForTextInput: (tokens) => 0.075 * tokens / 1_000_000,
905
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
906
+ getPriceForAudioInput: () => 0,
907
+ getPriceForAudioOutput: () => 0,
908
+ currency: 'USD',
909
+ },
910
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
911
+ },
912
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_12B_IT]: {
913
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_12B_IT,
914
+ limits: {
915
+ maxInputTokens: 1_000_000,
916
+ maxOutputTokens: 8_192,
917
+ },
918
+ config: {
919
+ temperature: 0.2,
920
+ },
921
+ pricing: {
922
+ getPriceForTextInput: (tokens) => 0.075 * tokens / 1_000_000,
923
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
924
+ getPriceForAudioInput: () => 0,
925
+ getPriceForAudioOutput: () => 0,
926
+ currency: 'USD',
927
+ },
928
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
929
+ },
930
+ // ─── xAI Grok ──────────────────────────────────────────────────
931
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_3]: {
932
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_3,
933
+ limits: {
934
+ maxInputTokens: 131_072,
935
+ maxOutputTokens: 32_768,
936
+ },
937
+ config: {
938
+ temperature: 0.2,
939
+ },
940
+ pricing: {
941
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
942
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
943
+ getPriceForAudioInput: () => 0,
944
+ getPriceForAudioOutput: () => 0,
945
+ currency: 'USD',
946
+ },
947
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
948
+ },
949
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_0709]: {
950
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_0709,
951
+ limits: {
952
+ maxInputTokens: 256_000,
953
+ maxOutputTokens: 32_768,
954
+ },
955
+ config: {
956
+ temperature: 0.2,
957
+ },
958
+ pricing: {
959
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
960
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
961
+ getPriceForAudioInput: () => 0,
962
+ getPriceForAudioOutput: () => 0,
963
+ currency: 'USD',
964
+ },
965
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
966
+ },
967
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4]: {
968
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4,
969
+ limits: {
970
+ maxInputTokens: 256_000,
971
+ maxOutputTokens: 32_768,
972
+ },
973
+ config: {
974
+ temperature: 0.2,
975
+ },
976
+ pricing: {
977
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
978
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
979
+ getPriceForAudioInput: () => 0,
980
+ getPriceForAudioOutput: () => 0,
981
+ currency: 'USD',
982
+ },
983
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
984
+ },
985
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_FAST_REASONING]: {
986
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_FAST_REASONING,
987
+ limits: {
988
+ maxInputTokens: 2_000_000,
989
+ maxOutputTokens: 32_768,
990
+ },
991
+ config: {
992
+ temperature: 0.2,
993
+ },
994
+ pricing: {
995
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
996
+ getPriceForTextOutput: (tokens) => 0.5 * tokens / 1_000_000,
997
+ getPriceForAudioInput: () => 0,
998
+ getPriceForAudioOutput: () => 0,
999
+ currency: 'USD',
1000
+ },
1001
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1002
+ },
1003
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_FAST_NON_REASONING]: {
1004
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_FAST_NON_REASONING,
1005
+ limits: {
1006
+ maxInputTokens: 2_000_000,
1007
+ maxOutputTokens: 32_768,
1008
+ },
1009
+ config: {
1010
+ temperature: 0.2,
1011
+ },
1012
+ pricing: {
1013
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1014
+ getPriceForTextOutput: (tokens) => 0.5 * tokens / 1_000_000,
1015
+ getPriceForAudioInput: () => 0,
1016
+ getPriceForAudioOutput: () => 0,
1017
+ currency: 'USD',
1018
+ },
1019
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1020
+ },
1021
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_CODE_FAST_1]: {
1022
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_CODE_FAST_1,
1023
+ limits: {
1024
+ maxInputTokens: 256_000,
1025
+ maxOutputTokens: 32_768,
1026
+ },
1027
+ config: {
1028
+ temperature: 0.2,
1029
+ },
1030
+ pricing: {
1031
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1032
+ getPriceForTextOutput: (tokens) => 1.5 * tokens / 1_000_000,
1033
+ getPriceForAudioInput: () => 0,
1034
+ getPriceForAudioOutput: () => 0,
1035
+ currency: 'USD',
1036
+ },
1037
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1038
+ },
1039
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_1_FAST_REASONING]: {
1040
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_1_FAST_REASONING,
1041
+ limits: {
1042
+ maxInputTokens: 2_000_000,
1043
+ maxOutputTokens: 32_768,
1044
+ },
1045
+ config: {
1046
+ temperature: 0.2,
1047
+ },
1048
+ pricing: {
1049
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1050
+ getPriceForTextOutput: (tokens) => 0.5 * tokens / 1_000_000,
1051
+ getPriceForAudioInput: () => 0,
1052
+ getPriceForAudioOutput: () => 0,
1053
+ currency: 'USD',
1054
+ },
1055
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1056
+ },
1057
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_1_FAST_NON_REASONING]: {
1058
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_1_FAST_NON_REASONING,
1059
+ limits: {
1060
+ maxInputTokens: 2_000_000,
1061
+ maxOutputTokens: 32_768,
1062
+ },
1063
+ config: {
1064
+ temperature: 0.2,
1065
+ },
1066
+ pricing: {
1067
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1068
+ getPriceForTextOutput: (tokens) => 0.5 * tokens / 1_000_000,
1069
+ getPriceForAudioInput: () => 0,
1070
+ getPriceForAudioOutput: () => 0,
1071
+ currency: 'USD',
1072
+ },
1073
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1074
+ },
1075
+ // ─── Meta Llama ────────────────────────────────────────────────
1076
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_8B_INSTRUCT]: {
1077
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_8B_INSTRUCT,
1078
+ limits: {
1079
+ maxInputTokens: 8_192,
1080
+ maxOutputTokens: 8_192,
1081
+ },
1082
+ config: {
1083
+ temperature: 0.2,
1084
+ },
1085
+ pricing: {
1086
+ getPriceForTextInput: (tokens) => 0.04 * tokens / 1_000_000,
1087
+ getPriceForTextOutput: (tokens) => 0.04 * tokens / 1_000_000,
1088
+ getPriceForAudioInput: () => 0,
1089
+ getPriceForAudioOutput: () => 0,
1090
+ currency: 'USD',
1091
+ },
1092
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1093
+ },
1094
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_70B_INSTRUCT]: {
1095
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_70B_INSTRUCT,
1096
+ limits: {
1097
+ maxInputTokens: 8_192,
1098
+ maxOutputTokens: 8_192,
1099
+ },
1100
+ config: {
1101
+ temperature: 0.2,
1102
+ },
1103
+ pricing: {
1104
+ getPriceForTextInput: (tokens) => 0.51 * tokens / 1_000_000,
1105
+ getPriceForTextOutput: (tokens) => 0.74 * tokens / 1_000_000,
1106
+ getPriceForAudioInput: () => 0,
1107
+ getPriceForAudioOutput: () => 0,
1108
+ currency: 'USD',
1109
+ },
1110
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1111
+ },
1112
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_1_8B_INSTRUCT]: {
1113
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_1_8B_INSTRUCT,
1114
+ limits: {
1115
+ maxInputTokens: 128_000,
1116
+ maxOutputTokens: 8_192,
1117
+ },
1118
+ config: {
1119
+ temperature: 0.2,
1120
+ },
1121
+ pricing: {
1122
+ getPriceForTextInput: (tokens) => 0.22 * tokens / 1_000_000,
1123
+ getPriceForTextOutput: (tokens) => 0.22 * tokens / 1_000_000,
1124
+ getPriceForAudioInput: () => 0,
1125
+ getPriceForAudioOutput: () => 0,
1126
+ currency: 'USD',
1127
+ },
1128
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1129
+ },
1130
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_1_70B_INSTRUCT]: {
1131
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_1_70B_INSTRUCT,
1132
+ limits: {
1133
+ maxInputTokens: 128_000,
1134
+ maxOutputTokens: 8_192,
1135
+ },
1136
+ config: {
1137
+ temperature: 0.2,
1138
+ },
1139
+ pricing: {
1140
+ getPriceForTextInput: (tokens) => 0.72 * tokens / 1_000_000,
1141
+ getPriceForTextOutput: (tokens) => 0.72 * tokens / 1_000_000,
1142
+ getPriceForAudioInput: () => 0,
1143
+ getPriceForAudioOutput: () => 0,
1144
+ currency: 'USD',
1145
+ },
1146
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1147
+ },
1148
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_1_NEMOTRON_ULTRA_253B]: {
1149
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_1_NEMOTRON_ULTRA_253B,
1150
+ limits: {
1151
+ maxInputTokens: 128_000,
1152
+ maxOutputTokens: 8_192,
1153
+ },
1154
+ config: {
1155
+ temperature: 0.2,
1156
+ },
1157
+ pricing: {
1158
+ getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
1159
+ getPriceForTextOutput: (tokens) => 1.8 * tokens / 1_000_000,
1160
+ getPriceForAudioInput: () => 0,
1161
+ getPriceForAudioOutput: () => 0,
1162
+ currency: 'USD',
1163
+ },
1164
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1165
+ },
1166
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_2_3B_INSTRUCT]: {
1167
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_2_3B_INSTRUCT,
1168
+ limits: {
1169
+ maxInputTokens: 32_768,
1170
+ maxOutputTokens: 8_192,
1171
+ },
1172
+ config: {
1173
+ temperature: 0.2,
1174
+ },
1175
+ pricing: {
1176
+ getPriceForTextInput: (tokens) => 0.03 * tokens / 1_000_000,
1177
+ getPriceForTextOutput: (tokens) => 0.05 * tokens / 1_000_000,
1178
+ getPriceForAudioInput: () => 0,
1179
+ getPriceForAudioOutput: () => 0,
1180
+ currency: 'USD',
1181
+ },
1182
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1183
+ },
1184
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_3_70B_INSTRUCT]: {
1185
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_3_3_70B_INSTRUCT,
1186
+ limits: {
1187
+ maxInputTokens: 131_072,
1188
+ maxOutputTokens: 8_192,
1189
+ },
1190
+ config: {
1191
+ temperature: 0.2,
1192
+ },
1193
+ pricing: {
1194
+ getPriceForTextInput: (tokens) => 0.13 * tokens / 1_000_000,
1195
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
1196
+ getPriceForAudioInput: () => 0,
1197
+ getPriceForAudioOutput: () => 0,
1198
+ currency: 'USD',
1199
+ },
1200
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1201
+ },
1202
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_4_SCOUT_17B_INSTRUCT]: {
1203
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_4_SCOUT_17B_INSTRUCT,
1204
+ limits: {
1205
+ maxInputTokens: 131_072,
1206
+ maxOutputTokens: 8_192,
1207
+ },
1208
+ config: {
1209
+ temperature: 0.2,
1210
+ },
1211
+ pricing: {
1212
+ getPriceForTextInput: (tokens) => 0.17 * tokens / 1_000_000,
1213
+ getPriceForTextOutput: (tokens) => 0.66 * tokens / 1_000_000,
1214
+ getPriceForAudioInput: () => 0,
1215
+ getPriceForAudioOutput: () => 0,
1216
+ currency: 'USD',
1217
+ },
1218
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1219
+ },
1220
+ [LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_4_MAVERICK_17B_INSTRUCT]: {
1221
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.LLAMA_4_MAVERICK_17B_INSTRUCT,
1222
+ limits: {
1223
+ maxInputTokens: 1_048_576,
1224
+ maxOutputTokens: 8_192,
1225
+ },
1226
+ config: {
1227
+ temperature: 0.2,
1228
+ },
1229
+ pricing: {
1230
+ getPriceForTextInput: (tokens) => 0.24 * tokens / 1_000_000,
1231
+ getPriceForTextOutput: (tokens) => 0.97 * tokens / 1_000_000,
1232
+ getPriceForAudioInput: () => 0,
1233
+ getPriceForAudioOutput: () => 0,
1234
+ currency: 'USD',
1235
+ },
1236
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1237
+ },
1238
+ // ─── DeepSeek ──────────────────────────────────────────────────
1239
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_R1_0528]: {
1240
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_R1_0528,
1241
+ limits: {
1242
+ maxInputTokens: 64_000,
1243
+ maxOutputTokens: 16_384,
1244
+ },
1245
+ config: {
1246
+ temperature: 0.2,
1247
+ },
1248
+ pricing: {
1249
+ getPriceForTextInput: (tokens) => 0.25 * tokens / 1_000_000,
1250
+ getPriceForTextOutput: (tokens) => 1 * tokens / 1_000_000,
1251
+ getPriceForAudioInput: () => 0,
1252
+ getPriceForAudioOutput: () => 0,
1253
+ currency: 'USD',
1254
+ },
1255
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1256
+ },
1257
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V3_2]: {
1258
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V3_2,
1259
+ limits: {
1260
+ maxInputTokens: 163_840,
1261
+ maxOutputTokens: 16_384,
1262
+ },
1263
+ config: {
1264
+ temperature: 0.2,
1265
+ },
1266
+ pricing: {
1267
+ getPriceForTextInput: (tokens) => 0.28 * tokens / 1_000_000,
1268
+ getPriceForTextOutput: (tokens) => 0.42 * tokens / 1_000_000,
1269
+ getPriceForAudioInput: () => 0,
1270
+ getPriceForAudioOutput: () => 0,
1271
+ currency: 'USD',
1272
+ },
1273
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1274
+ },
1275
+ // ─── Mistral ───────────────────────────────────────────────────
1276
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MISTRAL_LARGE_LATEST]: {
1277
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MISTRAL_LARGE_LATEST,
1278
+ limits: {
1279
+ maxInputTokens: 128_000,
1280
+ maxOutputTokens: 32_768,
1281
+ },
1282
+ config: {
1283
+ temperature: 0.2,
1284
+ },
1285
+ pricing: {
1286
+ getPriceForTextInput: (tokens) => 4 * tokens / 1_000_000,
1287
+ getPriceForTextOutput: (tokens) => 12 * tokens / 1_000_000,
1288
+ getPriceForAudioInput: () => 0,
1289
+ getPriceForAudioOutput: () => 0,
1290
+ currency: 'USD',
1291
+ },
1292
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1293
+ },
1294
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MISTRAL_LARGE_2512]: {
1295
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MISTRAL_LARGE_2512,
1296
+ limits: {
1297
+ maxInputTokens: 262_144,
1298
+ maxOutputTokens: 32_768,
1299
+ },
1300
+ config: {
1301
+ temperature: 0.2,
1302
+ },
1303
+ pricing: {
1304
+ getPriceForTextInput: (tokens) => 0.5 * tokens / 1_000_000,
1305
+ getPriceForTextOutput: (tokens) => 1.5 * tokens / 1_000_000,
1306
+ getPriceForAudioInput: () => 0,
1307
+ getPriceForAudioOutput: () => 0,
1308
+ currency: 'USD',
1309
+ },
1310
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1311
+ },
1312
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MISTRAL_SMALL_2506]: {
1313
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MISTRAL_SMALL_2506,
1314
+ limits: {
1315
+ maxInputTokens: 128_000,
1316
+ maxOutputTokens: 32_768,
1317
+ },
1318
+ config: {
1319
+ temperature: 0.2,
1320
+ },
1321
+ pricing: {
1322
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
1323
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
1324
+ getPriceForAudioInput: () => 0,
1325
+ getPriceForAudioOutput: () => 0,
1326
+ currency: 'USD',
1327
+ },
1328
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1329
+ },
1330
+ [LLMAPI_typedefs_1.LLMAPIModelNames.PIXTRAL_LARGE_LATEST]: {
1331
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.PIXTRAL_LARGE_LATEST,
1332
+ limits: {
1333
+ maxInputTokens: 128_000,
1334
+ maxOutputTokens: 32_768,
1335
+ },
1336
+ config: {
1337
+ temperature: 0.2,
1338
+ },
1339
+ pricing: {
1340
+ getPriceForTextInput: (tokens) => 4 * tokens / 1_000_000,
1341
+ getPriceForTextOutput: (tokens) => 12 * tokens / 1_000_000,
1342
+ getPriceForAudioInput: () => 0,
1343
+ getPriceForAudioOutput: () => 0,
1344
+ currency: 'USD',
1345
+ },
1346
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1347
+ },
1348
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINISTRAL_14B_2512]: {
1349
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINISTRAL_14B_2512,
1350
+ limits: {
1351
+ maxInputTokens: 262_144,
1352
+ maxOutputTokens: 32_768,
1353
+ },
1354
+ config: {
1355
+ temperature: 0.2,
1356
+ },
1357
+ pricing: {
1358
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1359
+ getPriceForTextOutput: (tokens) => 0.2 * tokens / 1_000_000,
1360
+ getPriceForAudioInput: () => 0,
1361
+ getPriceForAudioOutput: () => 0,
1362
+ currency: 'USD',
1363
+ },
1364
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1365
+ },
1366
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINISTRAL_8B_2512]: {
1367
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINISTRAL_8B_2512,
1368
+ limits: {
1369
+ maxInputTokens: 262_144,
1370
+ maxOutputTokens: 32_768,
1371
+ },
1372
+ config: {
1373
+ temperature: 0.2,
1374
+ },
1375
+ pricing: {
1376
+ getPriceForTextInput: (tokens) => 0.15 * tokens / 1_000_000,
1377
+ getPriceForTextOutput: (tokens) => 0.15 * tokens / 1_000_000,
1378
+ getPriceForAudioInput: () => 0,
1379
+ getPriceForAudioOutput: () => 0,
1380
+ currency: 'USD',
1381
+ },
1382
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1383
+ },
1384
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINISTRAL_3B_2512]: {
1385
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINISTRAL_3B_2512,
1386
+ limits: {
1387
+ maxInputTokens: 131_072,
1388
+ maxOutputTokens: 32_768,
1389
+ },
1390
+ config: {
1391
+ temperature: 0.2,
1392
+ },
1393
+ pricing: {
1394
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
1395
+ getPriceForTextOutput: (tokens) => 0.1 * tokens / 1_000_000,
1396
+ getPriceForAudioInput: () => 0,
1397
+ getPriceForAudioOutput: () => 0,
1398
+ currency: 'USD',
1399
+ },
1400
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1401
+ },
1402
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CODESTRAL_2508]: {
1403
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CODESTRAL_2508,
1404
+ limits: {
1405
+ maxInputTokens: 256_000,
1406
+ maxOutputTokens: 32_768,
1407
+ },
1408
+ config: {
1409
+ temperature: 0.2,
1410
+ },
1411
+ pricing: {
1412
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
1413
+ getPriceForTextOutput: (tokens) => 0.9 * tokens / 1_000_000,
1414
+ getPriceForAudioInput: () => 0,
1415
+ getPriceForAudioOutput: () => 0,
1416
+ currency: 'USD',
1417
+ },
1418
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1419
+ },
1420
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEVSTRAL_2512]: {
1421
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEVSTRAL_2512,
1422
+ limits: {
1423
+ maxInputTokens: 262_144,
1424
+ maxOutputTokens: 32_768,
1425
+ },
1426
+ config: {
1427
+ temperature: 0.2,
1428
+ },
1429
+ pricing: {
1430
+ getPriceForTextInput: (tokens) => 0.4 * tokens / 1_000_000,
1431
+ getPriceForTextOutput: (tokens) => 2 * tokens / 1_000_000,
1432
+ getPriceForAudioInput: () => 0,
1433
+ getPriceForAudioOutput: () => 0,
1434
+ currency: 'USD',
1435
+ },
1436
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1437
+ },
1438
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEVSTRAL_SMALL_2507]: {
1439
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEVSTRAL_SMALL_2507,
1440
+ limits: {
1441
+ maxInputTokens: 256_000,
1442
+ maxOutputTokens: 32_768,
1443
+ },
1444
+ config: {
1445
+ temperature: 0.2,
1446
+ },
1447
+ pricing: {
1448
+ getPriceForTextInput: (tokens) => 0.4 * tokens / 1_000_000,
1449
+ getPriceForTextOutput: (tokens) => 2 * tokens / 1_000_000,
1450
+ getPriceForAudioInput: () => 0,
1451
+ getPriceForAudioOutput: () => 0,
1452
+ currency: 'USD',
1453
+ },
1454
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1455
+ },
1456
+ // ─── MiniMax ───────────────────────────────────────────────────
1457
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5]: {
1458
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5,
1459
+ limits: {
1460
+ maxInputTokens: 204_800,
1461
+ maxOutputTokens: 16_384,
1462
+ },
1463
+ config: {
1464
+ temperature: 0.2,
1465
+ },
1466
+ pricing: {
1467
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
1468
+ getPriceForTextOutput: (tokens) => 1.2 * tokens / 1_000_000,
1469
+ getPriceForAudioInput: () => 0,
1470
+ getPriceForAudioOutput: () => 0,
1471
+ currency: 'USD',
1472
+ },
1473
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
1474
+ },
1475
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5_NATIVE]: {
1476
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5_NATIVE,
1477
+ limits: {
1478
+ maxInputTokens: 204_800,
1479
+ maxOutputTokens: 16_384,
1480
+ },
1481
+ config: {
1482
+ temperature: 0.2,
1483
+ },
1484
+ pricing: {
1485
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
1486
+ getPriceForTextOutput: (tokens) => 1.2 * tokens / 1_000_000,
1487
+ getPriceForAudioInput: () => 0,
1488
+ getPriceForAudioOutput: () => 0,
1489
+ currency: 'USD',
1490
+ },
1491
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
1492
+ },
1493
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5_NOVITA]: {
1494
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_5_NOVITA,
1495
+ limits: {
1496
+ maxInputTokens: 204_800,
1497
+ maxOutputTokens: 16_384,
1498
+ },
1499
+ config: {
1500
+ temperature: 0.2,
1501
+ },
1502
+ pricing: {
1503
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
1504
+ getPriceForTextOutput: (tokens) => 1.2 * tokens / 1_000_000,
1505
+ getPriceForAudioInput: () => 0,
1506
+ getPriceForAudioOutput: () => 0,
1507
+ currency: 'USD',
1508
+ },
1509
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
1510
+ },
1511
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2]: {
1512
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2,
1513
+ limits: {
1514
+ maxInputTokens: 196_608,
1515
+ maxOutputTokens: 16_384,
1516
+ },
1517
+ config: {
1518
+ temperature: 0.2,
1519
+ },
1520
+ pricing: {
1521
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1522
+ getPriceForTextOutput: (tokens) => 1 * tokens / 1_000_000,
1523
+ getPriceForAudioInput: () => 0,
1524
+ getPriceForAudioOutput: () => 0,
1525
+ currency: 'USD',
1526
+ },
1527
+ capabilities: { vision: false, tools: false, reasoning: true, webSearch: false },
1528
+ },
1529
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_1]: {
1530
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_1,
1531
+ limits: {
1532
+ maxInputTokens: 204_800,
1533
+ maxOutputTokens: 16_384,
1534
+ },
1535
+ config: {
1536
+ temperature: 0.2,
1537
+ },
1538
+ pricing: {
1539
+ getPriceForTextInput: (tokens) => 0.27 * tokens / 1_000_000,
1540
+ getPriceForTextOutput: (tokens) => 1.1 * tokens / 1_000_000,
1541
+ getPriceForAudioInput: () => 0,
1542
+ getPriceForAudioOutput: () => 0,
1543
+ currency: 'USD',
1544
+ },
1545
+ capabilities: { vision: false, tools: false, reasoning: true, webSearch: false },
1546
+ },
1547
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_1_LIGHTNING]: {
1548
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_M2_1_LIGHTNING,
1549
+ limits: {
1550
+ maxInputTokens: 196_608,
1551
+ maxOutputTokens: 16_384,
1552
+ },
1553
+ config: {
1554
+ temperature: 0.2,
1555
+ },
1556
+ pricing: {
1557
+ getPriceForTextInput: (tokens) => 0.12 * tokens / 1_000_000,
1558
+ getPriceForTextOutput: (tokens) => 0.48 * tokens / 1_000_000,
1559
+ getPriceForAudioInput: () => 0,
1560
+ getPriceForAudioOutput: () => 0,
1561
+ currency: 'USD',
1562
+ },
1563
+ capabilities: { vision: false, tools: false, reasoning: true, webSearch: false },
1564
+ },
1565
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_TEXT_01]: {
1566
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MINIMAX_TEXT_01,
1567
+ limits: {
1568
+ maxInputTokens: 1_000_000,
1569
+ maxOutputTokens: 16_384,
1570
+ },
1571
+ config: {
1572
+ temperature: 0.2,
1573
+ },
1574
+ pricing: {
1575
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1576
+ getPriceForTextOutput: (tokens) => 1.1 * tokens / 1_000_000,
1577
+ getPriceForAudioInput: () => 0,
1578
+ getPriceForAudioOutput: () => 0,
1579
+ currency: 'USD',
1580
+ },
1581
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1582
+ },
1583
+ // ─── Moonshot Kimi ─────────────────────────────────────────────
1584
+ [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2]: {
1585
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2,
1586
+ limits: {
1587
+ maxInputTokens: 131_072,
1588
+ maxOutputTokens: 16_384,
1589
+ },
1590
+ config: {
1591
+ temperature: 0.2,
1592
+ },
1593
+ pricing: {
1594
+ getPriceForTextInput: (tokens) => 1 * tokens / 1_000_000,
1595
+ getPriceForTextOutput: (tokens) => 3 * tokens / 1_000_000,
1596
+ getPriceForAudioInput: () => 0,
1597
+ getPriceForAudioOutput: () => 0,
1598
+ currency: 'USD',
1599
+ },
1600
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1601
+ },
1602
+ [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_THINKING_TURBO]: {
1603
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_THINKING_TURBO,
1604
+ limits: {
1605
+ maxInputTokens: 262_144,
1606
+ maxOutputTokens: 16_384,
1607
+ },
1608
+ config: {
1609
+ temperature: 0.2,
1610
+ },
1611
+ pricing: {
1612
+ getPriceForTextInput: (tokens) => 1.15 * tokens / 1_000_000,
1613
+ getPriceForTextOutput: (tokens) => 8 * tokens / 1_000_000,
1614
+ getPriceForAudioInput: () => 0,
1615
+ getPriceForAudioOutput: () => 0,
1616
+ currency: 'USD',
1617
+ },
1618
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
1619
+ },
1620
+ [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_5]: {
1621
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_5,
1622
+ limits: {
1623
+ maxInputTokens: 262_144,
1624
+ maxOutputTokens: 16_384,
1625
+ },
1626
+ config: {
1627
+ temperature: 1,
1628
+ },
1629
+ pricing: {
1630
+ getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
1631
+ getPriceForTextOutput: (tokens) => 3 * tokens / 1_000_000,
1632
+ getPriceForAudioInput: () => 0,
1633
+ getPriceForAudioOutput: () => 0,
1634
+ currency: 'USD',
1635
+ },
1636
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1637
+ },
1638
+ // ─── Alibaba Qwen ──────────────────────────────────────────────
1639
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_MAX]: {
1640
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_MAX,
1641
+ limits: {
1642
+ maxInputTokens: 131_072,
1643
+ maxOutputTokens: 16_384,
1644
+ },
1645
+ config: {
1646
+ temperature: 0.2,
1647
+ },
1648
+ pricing: {
1649
+ getPriceForTextInput: (tokens) => 1.6 * tokens / 1_000_000,
1650
+ getPriceForTextOutput: (tokens) => 6.4 * tokens / 1_000_000,
1651
+ getPriceForAudioInput: () => 0,
1652
+ getPriceForAudioOutput: () => 0,
1653
+ currency: 'USD',
1654
+ },
1655
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1656
+ },
1657
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_MAX_LATEST]: {
1658
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_MAX_LATEST,
1659
+ limits: {
1660
+ maxInputTokens: 131_072,
1661
+ maxOutputTokens: 16_384,
1662
+ },
1663
+ config: {
1664
+ temperature: 0.2,
1665
+ },
1666
+ pricing: {
1667
+ getPriceForTextInput: (tokens) => 1.6 * tokens / 1_000_000,
1668
+ getPriceForTextOutput: (tokens) => 6.4 * tokens / 1_000_000,
1669
+ getPriceForAudioInput: () => 0,
1670
+ getPriceForAudioOutput: () => 0,
1671
+ currency: 'USD',
1672
+ },
1673
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
1674
+ },
1675
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_PLUS]: {
1676
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_PLUS,
1677
+ limits: {
1678
+ maxInputTokens: 131_072,
1679
+ maxOutputTokens: 16_384,
1680
+ },
1681
+ config: {
1682
+ temperature: 0.2,
1683
+ },
1684
+ pricing: {
1685
+ getPriceForTextInput: (tokens) => 0.4 * tokens / 1_000_000,
1686
+ getPriceForTextOutput: (tokens) => 1.2 * tokens / 1_000_000,
1687
+ getPriceForAudioInput: () => 0,
1688
+ getPriceForAudioOutput: () => 0,
1689
+ currency: 'USD',
1690
+ },
1691
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1692
+ },
1693
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_PLUS_LATEST]: {
1694
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_PLUS_LATEST,
1695
+ limits: {
1696
+ maxInputTokens: 1_000_000,
1697
+ maxOutputTokens: 16_384,
1698
+ },
1699
+ config: {
1700
+ temperature: 0.2,
1701
+ },
1702
+ pricing: {
1703
+ getPriceForTextInput: (tokens) => 0.4 * tokens / 1_000_000,
1704
+ getPriceForTextOutput: (tokens) => 1.2 * tokens / 1_000_000,
1705
+ getPriceForAudioInput: () => 0,
1706
+ getPriceForAudioOutput: () => 0,
1707
+ currency: 'USD',
1708
+ },
1709
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1710
+ },
1711
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_FLASH]: {
1712
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_FLASH,
1713
+ limits: {
1714
+ maxInputTokens: 1_000_000,
1715
+ maxOutputTokens: 16_384,
1716
+ },
1717
+ config: {
1718
+ temperature: 0.2,
1719
+ },
1720
+ pricing: {
1721
+ getPriceForTextInput: (tokens) => 0.05 * tokens / 1_000_000,
1722
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
1723
+ getPriceForAudioInput: () => 0,
1724
+ getPriceForAudioOutput: () => 0,
1725
+ currency: 'USD',
1726
+ },
1727
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1728
+ },
1729
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_TURBO]: {
1730
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_TURBO,
1731
+ limits: {
1732
+ maxInputTokens: 1_000_000,
1733
+ maxOutputTokens: 16_384,
1734
+ },
1735
+ config: {
1736
+ temperature: 0.2,
1737
+ },
1738
+ pricing: {
1739
+ getPriceForTextInput: (tokens) => 0.05 * tokens / 1_000_000,
1740
+ getPriceForTextOutput: (tokens) => 0.2 * tokens / 1_000_000,
1741
+ getPriceForAudioInput: () => 0,
1742
+ getPriceForAudioOutput: () => 0,
1743
+ currency: 'USD',
1744
+ },
1745
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1746
+ },
1747
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_OMNI_TURBO]: {
1748
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_OMNI_TURBO,
1749
+ limits: {
1750
+ maxInputTokens: 32_768,
1751
+ maxOutputTokens: 16_384,
1752
+ },
1753
+ config: {
1754
+ temperature: 0.2,
1755
+ },
1756
+ pricing: {
1757
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1758
+ getPriceForTextOutput: (tokens) => 0.8 * tokens / 1_000_000,
1759
+ getPriceForAudioInput: () => 0,
1760
+ getPriceForAudioOutput: () => 0,
1761
+ currency: 'USD',
1762
+ },
1763
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1764
+ },
1765
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_VL_MAX]: {
1766
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_VL_MAX,
1767
+ limits: {
1768
+ maxInputTokens: 131_072,
1769
+ maxOutputTokens: 16_384,
1770
+ },
1771
+ config: {
1772
+ temperature: 0.2,
1773
+ },
1774
+ pricing: {
1775
+ getPriceForTextInput: (tokens) => 0.8 * tokens / 1_000_000,
1776
+ getPriceForTextOutput: (tokens) => 3.2 * tokens / 1_000_000,
1777
+ getPriceForAudioInput: () => 0,
1778
+ getPriceForAudioOutput: () => 0,
1779
+ currency: 'USD',
1780
+ },
1781
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1782
+ },
1783
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_VL_PLUS]: {
1784
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_VL_PLUS,
1785
+ limits: {
1786
+ maxInputTokens: 131_072,
1787
+ maxOutputTokens: 16_384,
1788
+ },
1789
+ config: {
1790
+ temperature: 0.2,
1791
+ },
1792
+ pricing: {
1793
+ getPriceForTextInput: (tokens) => 0.21 * tokens / 1_000_000,
1794
+ getPriceForTextOutput: (tokens) => 0.64 * tokens / 1_000_000,
1795
+ getPriceForAudioInput: () => 0,
1796
+ getPriceForAudioOutput: () => 0,
1797
+ currency: 'USD',
1798
+ },
1799
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
1800
+ },
1801
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_CODER_PLUS]: {
1802
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_CODER_PLUS,
1803
+ limits: {
1804
+ maxInputTokens: 131_072,
1805
+ maxOutputTokens: 16_384,
1806
+ },
1807
+ config: {
1808
+ temperature: 0.2,
1809
+ },
1810
+ pricing: {
1811
+ getPriceForTextInput: (tokens) => 1 * tokens / 1_000_000,
1812
+ getPriceForTextOutput: (tokens) => 5 * tokens / 1_000_000,
1813
+ getPriceForAudioInput: () => 0,
1814
+ getPriceForAudioOutput: () => 0,
1815
+ currency: 'USD',
1816
+ },
1817
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1818
+ },
1819
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWQ_PLUS]: {
1820
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWQ_PLUS,
1821
+ limits: {
1822
+ maxInputTokens: 131_072,
1823
+ maxOutputTokens: 16_384,
1824
+ },
1825
+ config: {
1826
+ temperature: 0.2,
1827
+ },
1828
+ pricing: {
1829
+ getPriceForTextInput: (tokens) => 0.8 * tokens / 1_000_000,
1830
+ getPriceForTextOutput: (tokens) => 2.4 * tokens / 1_000_000,
1831
+ getPriceForAudioInput: () => 0,
1832
+ getPriceForAudioOutput: () => 0,
1833
+ currency: 'USD',
1834
+ },
1835
+ capabilities: { vision: false, tools: false, reasoning: true, webSearch: false },
1836
+ },
1837
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_MAX]: {
1838
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_MAX,
1839
+ limits: {
1840
+ maxInputTokens: 262_144,
1841
+ maxOutputTokens: 16_384,
1842
+ },
1843
+ config: {
1844
+ temperature: 0.2,
1845
+ },
1846
+ pricing: {
1847
+ getPriceForTextInput: (tokens) => 3 * tokens / 1_000_000,
1848
+ getPriceForTextOutput: (tokens) => 15 * tokens / 1_000_000,
1849
+ getPriceForAudioInput: () => 0,
1850
+ getPriceForAudioOutput: () => 0,
1851
+ currency: 'USD',
1852
+ },
1853
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
1854
+ },
1855
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_MAX_2026_01_23]: {
1856
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_MAX_2026_01_23,
1857
+ limits: {
1858
+ maxInputTokens: 262_144,
1859
+ maxOutputTokens: 16_384,
1860
+ },
1861
+ config: {
1862
+ temperature: 0.2,
1863
+ },
1864
+ pricing: {
1865
+ getPriceForTextInput: (tokens) => 1.2 * tokens / 1_000_000,
1866
+ getPriceForTextOutput: (tokens) => 6 * tokens / 1_000_000,
1867
+ getPriceForAudioInput: () => 0,
1868
+ getPriceForAudioOutput: () => 0,
1869
+ currency: 'USD',
1870
+ },
1871
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
1872
+ },
1873
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_32B]: {
1874
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_32B,
1875
+ limits: {
1876
+ maxInputTokens: 32_768,
1877
+ maxOutputTokens: 16_384,
1878
+ },
1879
+ config: {
1880
+ temperature: 0.2,
1881
+ },
1882
+ pricing: {
1883
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
1884
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
1885
+ getPriceForAudioInput: () => 0,
1886
+ getPriceForAudioOutput: () => 0,
1887
+ currency: 'USD',
1888
+ },
1889
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1890
+ },
1891
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_32B_FP8]: {
1892
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_32B_FP8,
1893
+ limits: {
1894
+ maxInputTokens: 40_960,
1895
+ maxOutputTokens: 16_384,
1896
+ },
1897
+ config: {
1898
+ temperature: 0.2,
1899
+ },
1900
+ pricing: {
1901
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
1902
+ getPriceForTextOutput: (tokens) => 0.45 * tokens / 1_000_000,
1903
+ getPriceForAudioInput: () => 0,
1904
+ getPriceForAudioOutput: () => 0,
1905
+ currency: 'USD',
1906
+ },
1907
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1908
+ },
1909
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_235B_A22B_INSTRUCT_2507]: {
1910
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_235B_A22B_INSTRUCT_2507,
1911
+ limits: {
1912
+ maxInputTokens: 262_000,
1913
+ maxOutputTokens: 16_384,
1914
+ },
1915
+ config: {
1916
+ temperature: 0.2,
1917
+ },
1918
+ pricing: {
1919
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1920
+ getPriceForTextOutput: (tokens) => 0.6 * tokens / 1_000_000,
1921
+ getPriceForAudioInput: () => 0,
1922
+ getPriceForAudioOutput: () => 0,
1923
+ currency: 'USD',
1924
+ },
1925
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1926
+ },
1927
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_235B_A22B_THINKING_2507]: {
1928
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_235B_A22B_THINKING_2507,
1929
+ limits: {
1930
+ maxInputTokens: 262_000,
1931
+ maxOutputTokens: 16_384,
1932
+ },
1933
+ config: {
1934
+ temperature: 0.2,
1935
+ },
1936
+ pricing: {
1937
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1938
+ getPriceForTextOutput: (tokens) => 0.6 * tokens / 1_000_000,
1939
+ getPriceForAudioInput: () => 0,
1940
+ getPriceForAudioOutput: () => 0,
1941
+ currency: 'USD',
1942
+ },
1943
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
1944
+ },
1945
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_235B_A22B_FP8]: {
1946
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_235B_A22B_FP8,
1947
+ limits: {
1948
+ maxInputTokens: 40_960,
1949
+ maxOutputTokens: 16_384,
1950
+ },
1951
+ config: {
1952
+ temperature: 0.2,
1953
+ },
1954
+ pricing: {
1955
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
1956
+ getPriceForTextOutput: (tokens) => 0.8 * tokens / 1_000_000,
1957
+ getPriceForAudioInput: () => 0,
1958
+ getPriceForAudioOutput: () => 0,
1959
+ currency: 'USD',
1960
+ },
1961
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
1962
+ },
1963
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_30B_A3B_INSTRUCT_2507]: {
1964
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_30B_A3B_INSTRUCT_2507,
1965
+ limits: {
1966
+ maxInputTokens: 262_000,
1967
+ maxOutputTokens: 16_384,
1968
+ },
1969
+ config: {
1970
+ temperature: 0.2,
1971
+ },
1972
+ pricing: {
1973
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
1974
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
1975
+ getPriceForAudioInput: () => 0,
1976
+ getPriceForAudioOutput: () => 0,
1977
+ currency: 'USD',
1978
+ },
1979
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
1980
+ },
1981
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_30B_A3B_THINKING_2507]: {
1982
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_30B_A3B_THINKING_2507,
1983
+ limits: {
1984
+ maxInputTokens: 262_000,
1985
+ maxOutputTokens: 16_384,
1986
+ },
1987
+ config: {
1988
+ temperature: 0.2,
1989
+ },
1990
+ pricing: {
1991
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
1992
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
1993
+ getPriceForAudioInput: () => 0,
1994
+ getPriceForAudioOutput: () => 0,
1995
+ currency: 'USD',
1996
+ },
1997
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
1998
+ },
1999
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_30B_A3B_FP8]: {
2000
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_30B_A3B_FP8,
2001
+ limits: {
2002
+ maxInputTokens: 40_960,
2003
+ maxOutputTokens: 16_384,
2004
+ },
2005
+ config: {
2006
+ temperature: 0.2,
2007
+ },
2008
+ pricing: {
2009
+ getPriceForTextInput: (tokens) => 0.09 * tokens / 1_000_000,
2010
+ getPriceForTextOutput: (tokens) => 0.45 * tokens / 1_000_000,
2011
+ getPriceForAudioInput: () => 0,
2012
+ getPriceForAudioOutput: () => 0,
2013
+ currency: 'USD',
2014
+ },
2015
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
2016
+ },
2017
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_4B_FP8]: {
2018
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_4B_FP8,
2019
+ limits: {
2020
+ maxInputTokens: 128_000,
2021
+ maxOutputTokens: 16_384,
2022
+ },
2023
+ config: {
2024
+ temperature: 0.2,
2025
+ },
2026
+ pricing: {
2027
+ getPriceForTextInput: (tokens) => 0.03 * tokens / 1_000_000,
2028
+ getPriceForTextOutput: (tokens) => 0.03 * tokens / 1_000_000,
2029
+ getPriceForAudioInput: () => 0,
2030
+ getPriceForAudioOutput: () => 0,
2031
+ currency: 'USD',
2032
+ },
2033
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false },
2034
+ },
2035
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_5_397B]: {
2036
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_5_397B,
2037
+ limits: {
2038
+ maxInputTokens: 262_144,
2039
+ maxOutputTokens: 16_384,
2040
+ },
2041
+ config: {
2042
+ temperature: 0.2,
2043
+ },
2044
+ pricing: {
2045
+ getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
2046
+ getPriceForTextOutput: (tokens) => 3.6 * tokens / 1_000_000,
2047
+ getPriceForAudioInput: () => 0,
2048
+ getPriceForAudioOutput: () => 0,
2049
+ currency: 'USD',
2050
+ },
2051
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: true },
2052
+ },
2053
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_NEXT_80B_A3B_THINKING]: {
2054
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_NEXT_80B_A3B_THINKING,
2055
+ limits: {
2056
+ maxInputTokens: 131_072,
2057
+ maxOutputTokens: 16_384,
2058
+ },
2059
+ config: {
2060
+ temperature: 0.2,
2061
+ },
2062
+ pricing: {
2063
+ getPriceForTextInput: (tokens) => 0.5 * tokens / 1_000_000,
2064
+ getPriceForTextOutput: (tokens) => 6 * tokens / 1_000_000,
2065
+ getPriceForAudioInput: () => 0,
2066
+ getPriceForAudioOutput: () => 0,
2067
+ currency: 'USD',
2068
+ },
2069
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
2070
+ },
2071
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_NEXT_80B_A3B_INSTRUCT]: {
2072
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_NEXT_80B_A3B_INSTRUCT,
2073
+ limits: {
2074
+ maxInputTokens: 131_072,
2075
+ maxOutputTokens: 16_384,
2076
+ },
2077
+ config: {
2078
+ temperature: 0.2,
2079
+ },
2080
+ pricing: {
2081
+ getPriceForTextInput: (tokens) => 0.5 * tokens / 1_000_000,
2082
+ getPriceForTextOutput: (tokens) => 2 * tokens / 1_000_000,
2083
+ getPriceForAudioInput: () => 0,
2084
+ getPriceForAudioOutput: () => 0,
2085
+ currency: 'USD',
2086
+ },
2087
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
2088
+ },
2089
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_CODER_PLUS]: {
2090
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_CODER_PLUS,
2091
+ limits: {
2092
+ maxInputTokens: 1_000_000,
2093
+ maxOutputTokens: 16_384,
2094
+ },
2095
+ config: {
2096
+ temperature: 0.2,
2097
+ },
2098
+ pricing: {
2099
+ getPriceForTextInput: (tokens) => 6 * tokens / 1_000_000,
2100
+ getPriceForTextOutput: (tokens) => 60 * tokens / 1_000_000,
2101
+ getPriceForAudioInput: () => 0,
2102
+ getPriceForAudioOutput: () => 0,
2103
+ currency: 'USD',
2104
+ },
2105
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
2106
+ },
2107
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_CODER_FLASH]: {
2108
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_CODER_FLASH,
2109
+ limits: {
2110
+ maxInputTokens: 1_000_000,
2111
+ maxOutputTokens: 16_384,
2112
+ },
2113
+ config: {
2114
+ temperature: 0.2,
2115
+ },
2116
+ pricing: {
2117
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
2118
+ getPriceForTextOutput: (tokens) => 1.5 * tokens / 1_000_000,
2119
+ getPriceForAudioInput: () => 0,
2120
+ getPriceForAudioOutput: () => 0,
2121
+ currency: 'USD',
2122
+ },
2123
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
2124
+ },
2125
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_CODER_30B_A3B_INSTRUCT]: {
2126
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_CODER_30B_A3B_INSTRUCT,
2127
+ limits: {
2128
+ maxInputTokens: 262_000,
2129
+ maxOutputTokens: 16_384,
2130
+ },
2131
+ config: {
2132
+ temperature: 0.2,
2133
+ },
2134
+ pricing: {
2135
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
2136
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
2137
+ getPriceForAudioInput: () => 0,
2138
+ getPriceForAudioOutput: () => 0,
2139
+ currency: 'USD',
2140
+ },
2141
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
2142
+ },
2143
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_8B_INSTRUCT]: {
2144
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_8B_INSTRUCT,
2145
+ limits: {
2146
+ maxInputTokens: 131_072,
2147
+ maxOutputTokens: 16_384,
2148
+ },
2149
+ config: {
2150
+ temperature: 0.2,
2151
+ },
2152
+ pricing: {
2153
+ getPriceForTextInput: (tokens) => 0.08 * tokens / 1_000_000,
2154
+ getPriceForTextOutput: (tokens) => 0.5 * tokens / 1_000_000,
2155
+ getPriceForAudioInput: () => 0,
2156
+ getPriceForAudioOutput: () => 0,
2157
+ currency: 'USD',
2158
+ },
2159
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
2160
+ },
2161
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_PLUS]: {
2162
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_PLUS,
2163
+ limits: {
2164
+ maxInputTokens: 262_144,
2165
+ maxOutputTokens: 16_384,
2166
+ },
2167
+ config: {
2168
+ temperature: 0.2,
2169
+ },
2170
+ pricing: {
2171
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
2172
+ getPriceForTextOutput: (tokens) => 1.6 * tokens / 1_000_000,
2173
+ getPriceForAudioInput: () => 0,
2174
+ getPriceForAudioOutput: () => 0,
2175
+ currency: 'USD',
2176
+ },
2177
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
2178
+ },
2179
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_FLASH]: {
2180
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_FLASH,
2181
+ limits: {
2182
+ maxInputTokens: 262_144,
2183
+ maxOutputTokens: 16_384,
2184
+ },
2185
+ config: {
2186
+ temperature: 0.2,
2187
+ },
2188
+ pricing: {
2189
+ getPriceForTextInput: (tokens) => 0.05 * tokens / 1_000_000,
2190
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
2191
+ getPriceForAudioInput: () => 0,
2192
+ getPriceForAudioOutput: () => 0,
2193
+ currency: 'USD',
2194
+ },
2195
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
2196
+ },
2197
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_30B_A3B_INSTRUCT]: {
2198
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_30B_A3B_INSTRUCT,
2199
+ limits: {
2200
+ maxInputTokens: 131_072,
2201
+ maxOutputTokens: 16_384,
2202
+ },
2203
+ config: {
2204
+ temperature: 0.2,
2205
+ },
2206
+ pricing: {
2207
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
2208
+ getPriceForTextOutput: (tokens) => 0.7 * tokens / 1_000_000,
2209
+ getPriceForAudioInput: () => 0,
2210
+ getPriceForAudioOutput: () => 0,
2211
+ currency: 'USD',
2212
+ },
2213
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
2214
+ },
2215
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_30B_A3B_THINKING]: {
2216
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_30B_A3B_THINKING,
2217
+ limits: {
2218
+ maxInputTokens: 131_072,
2219
+ maxOutputTokens: 16_384,
2220
+ },
2221
+ config: {
2222
+ temperature: 0.2,
2223
+ },
2224
+ pricing: {
2225
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
2226
+ getPriceForTextOutput: (tokens) => 1 * tokens / 1_000_000,
2227
+ getPriceForAudioInput: () => 0,
2228
+ getPriceForAudioOutput: () => 0,
2229
+ currency: 'USD',
2230
+ },
2231
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
2232
+ },
2233
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_235B_A22B_INSTRUCT]: {
2234
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_235B_A22B_INSTRUCT,
2235
+ limits: {
2236
+ maxInputTokens: 131_072,
2237
+ maxOutputTokens: 16_384,
2238
+ },
2239
+ config: {
2240
+ temperature: 0.2,
2241
+ },
2242
+ pricing: {
2243
+ getPriceForTextInput: (tokens) => 0.5 * tokens / 1_000_000,
2244
+ getPriceForTextOutput: (tokens) => 2 * tokens / 1_000_000,
2245
+ getPriceForAudioInput: () => 0,
2246
+ getPriceForAudioOutput: () => 0,
2247
+ currency: 'USD',
2248
+ },
2249
+ capabilities: { vision: true, tools: true, reasoning: false, webSearch: false },
2250
+ },
2251
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_235B_A22B_THINKING]: {
2252
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_VL_235B_A22B_THINKING,
2253
+ limits: {
2254
+ maxInputTokens: 131_072,
2255
+ maxOutputTokens: 16_384,
2256
+ },
2257
+ config: {
2258
+ temperature: 0.2,
2259
+ },
2260
+ pricing: {
2261
+ getPriceForTextInput: (tokens) => 0.5 * tokens / 1_000_000,
2262
+ getPriceForTextOutput: (tokens) => 2 * tokens / 1_000_000,
2263
+ getPriceForAudioInput: () => 0,
2264
+ getPriceForAudioOutput: () => 0,
2265
+ currency: 'USD',
2266
+ },
2267
+ capabilities: { vision: true, tools: false, reasoning: true, webSearch: false },
2268
+ },
2269
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN2_5_VL_32B_INSTRUCT]: {
2270
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN2_5_VL_32B_INSTRUCT,
2271
+ limits: {
2272
+ maxInputTokens: 131_072,
2273
+ maxOutputTokens: 16_384,
2274
+ },
2275
+ config: {
2276
+ temperature: 0.2,
2277
+ },
2278
+ pricing: {
2279
+ getPriceForTextInput: (tokens) => 1.4 * tokens / 1_000_000,
2280
+ getPriceForTextOutput: (tokens) => 4.2 * tokens / 1_000_000,
2281
+ getPriceForAudioInput: () => 0,
2282
+ getPriceForAudioOutput: () => 0,
2283
+ currency: 'USD',
2284
+ },
2285
+ capabilities: { vision: true, tools: false, reasoning: false, webSearch: false },
2286
+ },
2287
+ // ─── Zhipu GLM ─────────────────────────────────────────────────
2288
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_5]: {
2289
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_5,
2290
+ limits: {
2291
+ maxInputTokens: 202_800,
2292
+ maxOutputTokens: 16_384,
2293
+ },
2294
+ config: {
2295
+ temperature: 0.2,
2296
+ },
2297
+ pricing: {
2298
+ getPriceForTextInput: (tokens) => 1 * tokens / 1_000_000,
2299
+ getPriceForTextOutput: (tokens) => 3.2 * tokens / 1_000_000,
2300
+ getPriceForAudioInput: () => 0,
2301
+ getPriceForAudioOutput: () => 0,
2302
+ currency: 'USD',
2303
+ },
2304
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
2305
+ },
2306
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5]: {
2307
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5,
2308
+ limits: {
2309
+ maxInputTokens: 128_000,
2310
+ maxOutputTokens: 16_384,
2311
+ },
2312
+ config: {
2313
+ temperature: 0.2,
2314
+ },
2315
+ pricing: {
2316
+ getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
2317
+ getPriceForTextOutput: (tokens) => 2.2 * tokens / 1_000_000,
2318
+ getPriceForAudioInput: () => 0,
2319
+ getPriceForAudioOutput: () => 0,
2320
+ currency: 'USD',
2321
+ },
2322
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
2323
+ },
2324
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5V]: {
2325
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5V,
2326
+ limits: {
2327
+ maxInputTokens: 128_000,
2328
+ maxOutputTokens: 16_384,
2329
+ },
2330
+ config: {
2331
+ temperature: 0.2,
2332
+ },
2333
+ pricing: {
2334
+ getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
2335
+ getPriceForTextOutput: (tokens) => 1.8 * tokens / 1_000_000,
2336
+ getPriceForAudioInput: () => 0,
2337
+ getPriceForAudioOutput: () => 0,
2338
+ currency: 'USD',
2339
+ },
2340
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
2341
+ },
2342
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_AIR]: {
2343
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_AIR,
2344
+ limits: {
2345
+ maxInputTokens: 128_000,
2346
+ maxOutputTokens: 16_384,
2347
+ },
2348
+ config: {
2349
+ temperature: 0.2,
2350
+ },
2351
+ pricing: {
2352
+ getPriceForTextInput: (tokens) => 0.2 * tokens / 1_000_000,
2353
+ getPriceForTextOutput: (tokens) => 1.1 * tokens / 1_000_000,
2354
+ getPriceForAudioInput: () => 0,
2355
+ getPriceForAudioOutput: () => 0,
2356
+ currency: 'USD',
2357
+ },
2358
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
2359
+ },
2360
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_X]: {
2361
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_X,
2362
+ limits: {
2363
+ maxInputTokens: 128_000,
2364
+ maxOutputTokens: 16_384,
2365
+ },
2366
+ config: {
2367
+ temperature: 0.2,
2368
+ },
2369
+ pricing: {
2370
+ getPriceForTextInput: (tokens) => 2.2 * tokens / 1_000_000,
2371
+ getPriceForTextOutput: (tokens) => 8.9 * tokens / 1_000_000,
2372
+ getPriceForAudioInput: () => 0,
2373
+ getPriceForAudioOutput: () => 0,
2374
+ currency: 'USD',
2375
+ },
2376
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
2377
+ },
2378
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_AIRX]: {
2379
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_AIRX,
2380
+ limits: {
2381
+ maxInputTokens: 128_000,
2382
+ maxOutputTokens: 16_384,
2383
+ },
2384
+ config: {
2385
+ temperature: 0.2,
2386
+ },
2387
+ pricing: {
2388
+ getPriceForTextInput: (tokens) => 1.1 * tokens / 1_000_000,
2389
+ getPriceForTextOutput: (tokens) => 4.5 * tokens / 1_000_000,
2390
+ getPriceForAudioInput: () => 0,
2391
+ getPriceForAudioOutput: () => 0,
2392
+ currency: 'USD',
2393
+ },
2394
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
2395
+ },
2396
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_FLASH]: {
2397
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_5_FLASH,
2398
+ limits: {
2399
+ maxInputTokens: 128_000,
2400
+ maxOutputTokens: 16_384,
2401
+ },
2402
+ config: {
2403
+ temperature: 0.2,
2404
+ },
2405
+ pricing: {
2406
+ getPriceForTextInput: (tokens) => 0 * tokens / 1_000_000,
2407
+ getPriceForTextOutput: (tokens) => 0 * tokens / 1_000_000,
2408
+ getPriceForAudioInput: () => 0,
2409
+ getPriceForAudioOutput: () => 0,
2410
+ currency: 'USD',
2411
+ },
2412
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
2413
+ },
2414
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6]: {
2415
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6,
2416
+ limits: {
2417
+ maxInputTokens: 204_800,
2418
+ maxOutputTokens: 16_384,
2419
+ },
2420
+ config: {
2421
+ temperature: 0.2,
2422
+ },
2423
+ pricing: {
2424
+ getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
2425
+ getPriceForTextOutput: (tokens) => 2.2 * tokens / 1_000_000,
2426
+ getPriceForAudioInput: () => 0,
2427
+ getPriceForAudioOutput: () => 0,
2428
+ currency: 'USD',
2429
+ },
2430
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
2431
+ },
2432
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6V]: {
2433
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6V,
2434
+ limits: {
2435
+ maxInputTokens: 131_072,
2436
+ maxOutputTokens: 16_384,
2437
+ },
2438
+ config: {
2439
+ temperature: 0.2,
2440
+ },
2441
+ pricing: {
2442
+ getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000,
2443
+ getPriceForTextOutput: (tokens) => 0.9 * tokens / 1_000_000,
2444
+ getPriceForAudioInput: () => 0,
2445
+ getPriceForAudioOutput: () => 0,
2446
+ currency: 'USD',
2447
+ },
2448
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
2449
+ },
2450
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6V_FLASHX]: {
2451
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6V_FLASHX,
2452
+ limits: {
2453
+ maxInputTokens: 128_000,
2454
+ maxOutputTokens: 16_384,
2455
+ },
2456
+ config: {
2457
+ temperature: 0.2,
2458
+ },
2459
+ pricing: {
2460
+ getPriceForTextInput: (tokens) => 0.04 * tokens / 1_000_000,
2461
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
2462
+ getPriceForAudioInput: () => 0,
2463
+ getPriceForAudioOutput: () => 0,
2464
+ currency: 'USD',
2465
+ },
2466
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
2467
+ },
2468
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6V_FLASH]: {
2469
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_6V_FLASH,
2470
+ limits: {
2471
+ maxInputTokens: 128_000,
2472
+ maxOutputTokens: 16_384,
2473
+ },
2474
+ config: {
2475
+ temperature: 0.2,
2476
+ },
2477
+ pricing: {
2478
+ getPriceForTextInput: (tokens) => 0 * tokens / 1_000_000,
2479
+ getPriceForTextOutput: (tokens) => 0 * tokens / 1_000_000,
2480
+ getPriceForAudioInput: () => 0,
2481
+ getPriceForAudioOutput: () => 0,
2482
+ currency: 'USD',
2483
+ },
2484
+ capabilities: { vision: true, tools: true, reasoning: true, webSearch: false },
2485
+ },
2486
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_7]: {
2487
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_7,
2488
+ limits: {
2489
+ maxInputTokens: 204_800,
2490
+ maxOutputTokens: 16_384,
2491
+ },
2492
+ config: {
2493
+ temperature: 0.2,
2494
+ },
2495
+ pricing: {
2496
+ getPriceForTextInput: (tokens) => 0.6 * tokens / 1_000_000,
2497
+ getPriceForTextOutput: (tokens) => 2.2 * tokens / 1_000_000,
2498
+ getPriceForAudioInput: () => 0,
2499
+ getPriceForAudioOutput: () => 0,
2500
+ currency: 'USD',
2501
+ },
2502
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: true },
2503
+ },
2504
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_7_FLASHX]: {
2505
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_7_FLASHX,
2506
+ limits: {
2507
+ maxInputTokens: 200_000,
2508
+ maxOutputTokens: 16_384,
2509
+ },
2510
+ config: {
2511
+ temperature: 0.2,
2512
+ },
2513
+ pricing: {
2514
+ getPriceForTextInput: (tokens) => 0.07 * tokens / 1_000_000,
2515
+ getPriceForTextOutput: (tokens) => 0.4 * tokens / 1_000_000,
2516
+ getPriceForAudioInput: () => 0,
2517
+ getPriceForAudioOutput: () => 0,
2518
+ currency: 'USD',
2519
+ },
2520
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
2521
+ },
2522
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_7_FLASH]: {
2523
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_7_FLASH,
2524
+ limits: {
2525
+ maxInputTokens: 200_000,
2526
+ maxOutputTokens: 16_384,
2527
+ },
2528
+ config: {
2529
+ temperature: 0.2,
2530
+ },
2531
+ pricing: {
2532
+ getPriceForTextInput: (tokens) => 0 * tokens / 1_000_000,
2533
+ getPriceForTextOutput: (tokens) => 0 * tokens / 1_000_000,
2534
+ getPriceForAudioInput: () => 0,
2535
+ getPriceForAudioOutput: () => 0,
2536
+ currency: 'USD',
2537
+ },
2538
+ capabilities: { vision: false, tools: true, reasoning: true, webSearch: false },
2539
+ },
2540
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_32B_0414_128K]: {
2541
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GLM_4_32B_0414_128K,
2542
+ limits: {
2543
+ maxInputTokens: 128_000,
2544
+ maxOutputTokens: 16_384,
2545
+ },
2546
+ config: {
2547
+ temperature: 0.2,
2548
+ },
2549
+ pricing: {
2550
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
2551
+ getPriceForTextOutput: (tokens) => 0.1 * tokens / 1_000_000,
262
2552
  getPriceForAudioInput: () => 0,
263
2553
  getPriceForAudioOutput: () => 0,
264
2554
  currency: 'USD',
265
2555
  },
266
- capabilities: { vision: false },
2556
+ capabilities: { vision: false, tools: true, reasoning: false, webSearch: false },
267
2557
  },
268
2558
  };
269
2559
  const LLMAPI_COMPLETION_MODELS = exports.LLMAPI_AVAILABLE_MODELS;