@eum-agent/llm-provider-google 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +920 -166
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//#endregion
|
|
2
2
|
//#region src/catalog.ts
|
|
3
|
-
/** Supplier-owned offline catalogue, supplemented by authenticated Google model listing. */
|
|
4
3
|
const catalog = {
|
|
5
4
|
vendors: [{
|
|
6
5
|
id: "google",
|
|
@@ -19,110 +18,500 @@ const catalog = {
|
|
|
19
18
|
}]
|
|
20
19
|
}],
|
|
21
20
|
snapshot: { "google": {
|
|
22
|
-
"
|
|
23
|
-
"id": "
|
|
24
|
-
"
|
|
21
|
+
"deep-research-max-preview-04-2026": {
|
|
22
|
+
"id": "deep-research-max-preview-04-2026",
|
|
23
|
+
"name": "Deep Research Max Preview (Apr-21-2026)",
|
|
24
|
+
"family": "gemini-pro",
|
|
25
25
|
"reasoning": true,
|
|
26
|
+
"reasoning_options": [],
|
|
27
|
+
"temperature": true,
|
|
26
28
|
"tool_call": true,
|
|
27
29
|
"attachment": true,
|
|
28
|
-
"
|
|
30
|
+
"modalities": {
|
|
31
|
+
"input": [
|
|
32
|
+
"text",
|
|
33
|
+
"image",
|
|
34
|
+
"video",
|
|
35
|
+
"audio",
|
|
36
|
+
"pdf"
|
|
37
|
+
],
|
|
38
|
+
"output": ["text", "image"]
|
|
39
|
+
},
|
|
40
|
+
"limit": {
|
|
41
|
+
"context": 1048576,
|
|
42
|
+
"output": 65536
|
|
43
|
+
},
|
|
44
|
+
"release_date": "2026-04-21"
|
|
45
|
+
},
|
|
46
|
+
"deep-research-preview-04-2026": {
|
|
47
|
+
"id": "deep-research-preview-04-2026",
|
|
48
|
+
"name": "Deep Research Preview (Apr-21-2026)",
|
|
49
|
+
"family": "gemini-pro",
|
|
50
|
+
"reasoning": true,
|
|
51
|
+
"reasoning_options": [],
|
|
52
|
+
"temperature": true,
|
|
53
|
+
"tool_call": true,
|
|
54
|
+
"attachment": true,
|
|
55
|
+
"modalities": {
|
|
56
|
+
"input": [
|
|
57
|
+
"text",
|
|
58
|
+
"image",
|
|
59
|
+
"video",
|
|
60
|
+
"audio",
|
|
61
|
+
"pdf"
|
|
62
|
+
],
|
|
63
|
+
"output": ["text", "image"]
|
|
64
|
+
},
|
|
65
|
+
"limit": {
|
|
66
|
+
"context": 1048576,
|
|
67
|
+
"output": 65536
|
|
68
|
+
},
|
|
69
|
+
"release_date": "2026-04-21"
|
|
70
|
+
},
|
|
71
|
+
"gemini-2.5-computer-use-preview-10-2025": {
|
|
72
|
+
"id": "gemini-2.5-computer-use-preview-10-2025",
|
|
73
|
+
"name": "Gemini 2.5 Computer Use Preview 10-2025",
|
|
74
|
+
"family": "gemini-pro",
|
|
75
|
+
"reasoning": true,
|
|
76
|
+
"reasoning_options": [],
|
|
77
|
+
"temperature": true,
|
|
78
|
+
"tool_call": true,
|
|
79
|
+
"attachment": true,
|
|
80
|
+
"modalities": {
|
|
81
|
+
"input": ["text", "image"],
|
|
82
|
+
"output": ["text"]
|
|
83
|
+
},
|
|
84
|
+
"limit": {
|
|
85
|
+
"context": 128e3,
|
|
86
|
+
"output": 64e3
|
|
87
|
+
},
|
|
88
|
+
"release_date": "2025-10-07"
|
|
89
|
+
},
|
|
90
|
+
"gemini-2.5-flash": {
|
|
91
|
+
"id": "gemini-2.5-flash",
|
|
92
|
+
"name": "Gemini 2.5 Flash",
|
|
93
|
+
"family": "gemini-flash",
|
|
94
|
+
"reasoning": true,
|
|
95
|
+
"reasoning_options": [{ "type": "toggle" }, { "type": "budget_tokens" }],
|
|
96
|
+
"temperature": true,
|
|
97
|
+
"tool_call": true,
|
|
98
|
+
"attachment": true,
|
|
99
|
+
"modalities": {
|
|
100
|
+
"input": [
|
|
101
|
+
"text",
|
|
102
|
+
"image",
|
|
103
|
+
"audio",
|
|
104
|
+
"video",
|
|
105
|
+
"pdf"
|
|
106
|
+
],
|
|
107
|
+
"output": ["text"]
|
|
108
|
+
},
|
|
109
|
+
"limit": {
|
|
110
|
+
"context": 1048576,
|
|
111
|
+
"output": 65536
|
|
112
|
+
},
|
|
113
|
+
"release_date": "2025-06-17"
|
|
114
|
+
},
|
|
115
|
+
"gemini-2.5-flash-image": {
|
|
116
|
+
"id": "gemini-2.5-flash-image",
|
|
117
|
+
"name": "Nano Banana",
|
|
118
|
+
"family": "gemini-flash",
|
|
119
|
+
"reasoning": false,
|
|
120
|
+
"temperature": true,
|
|
121
|
+
"tool_call": false,
|
|
122
|
+
"attachment": true,
|
|
123
|
+
"modalities": {
|
|
124
|
+
"input": ["text", "image"],
|
|
125
|
+
"output": ["text", "image"]
|
|
126
|
+
},
|
|
127
|
+
"limit": {
|
|
128
|
+
"context": 32768,
|
|
129
|
+
"output": 32768
|
|
130
|
+
},
|
|
131
|
+
"release_date": "2025-08-26"
|
|
132
|
+
},
|
|
133
|
+
"gemini-2.5-flash-lite": {
|
|
134
|
+
"id": "gemini-2.5-flash-lite",
|
|
135
|
+
"name": "Gemini 2.5 Flash-Lite",
|
|
136
|
+
"family": "gemini-flash-lite",
|
|
137
|
+
"reasoning": true,
|
|
138
|
+
"reasoning_options": [{ "type": "toggle" }, {
|
|
139
|
+
"type": "budget_tokens",
|
|
140
|
+
"min": 512
|
|
141
|
+
}],
|
|
142
|
+
"temperature": true,
|
|
143
|
+
"tool_call": true,
|
|
144
|
+
"attachment": true,
|
|
145
|
+
"modalities": {
|
|
146
|
+
"input": [
|
|
147
|
+
"text",
|
|
148
|
+
"image",
|
|
149
|
+
"audio",
|
|
150
|
+
"video",
|
|
151
|
+
"pdf"
|
|
152
|
+
],
|
|
153
|
+
"output": ["text"]
|
|
154
|
+
},
|
|
155
|
+
"limit": {
|
|
156
|
+
"context": 1048576,
|
|
157
|
+
"output": 65536
|
|
158
|
+
},
|
|
159
|
+
"release_date": "2025-06-17"
|
|
160
|
+
},
|
|
161
|
+
"gemini-2.5-flash-preview-tts": {
|
|
162
|
+
"id": "gemini-2.5-flash-preview-tts",
|
|
163
|
+
"name": "Gemini 2.5 Flash Preview TTS",
|
|
164
|
+
"family": "gemini-flash",
|
|
165
|
+
"reasoning": false,
|
|
166
|
+
"temperature": true,
|
|
167
|
+
"tool_call": false,
|
|
168
|
+
"attachment": false,
|
|
169
|
+
"modalities": {
|
|
170
|
+
"input": ["text"],
|
|
171
|
+
"output": ["audio"]
|
|
172
|
+
},
|
|
173
|
+
"limit": {
|
|
174
|
+
"context": 8192,
|
|
175
|
+
"output": 16384
|
|
176
|
+
},
|
|
177
|
+
"release_date": "2025-05-01"
|
|
178
|
+
},
|
|
179
|
+
"gemini-2.5-pro": {
|
|
180
|
+
"id": "gemini-2.5-pro",
|
|
181
|
+
"name": "Gemini 2.5 Pro",
|
|
182
|
+
"family": "gemini-pro",
|
|
183
|
+
"reasoning": true,
|
|
184
|
+
"reasoning_options": [{
|
|
185
|
+
"type": "budget_tokens",
|
|
186
|
+
"min": 128
|
|
187
|
+
}],
|
|
188
|
+
"temperature": true,
|
|
189
|
+
"tool_call": true,
|
|
190
|
+
"attachment": true,
|
|
191
|
+
"modalities": {
|
|
192
|
+
"input": [
|
|
193
|
+
"text",
|
|
194
|
+
"image",
|
|
195
|
+
"audio",
|
|
196
|
+
"video",
|
|
197
|
+
"pdf"
|
|
198
|
+
],
|
|
199
|
+
"output": ["text"]
|
|
200
|
+
},
|
|
201
|
+
"limit": {
|
|
202
|
+
"context": 1048576,
|
|
203
|
+
"output": 65536
|
|
204
|
+
},
|
|
205
|
+
"release_date": "2025-06-17"
|
|
206
|
+
},
|
|
207
|
+
"gemini-2.5-pro-preview-tts": {
|
|
208
|
+
"id": "gemini-2.5-pro-preview-tts",
|
|
209
|
+
"name": "Gemini 2.5 Pro Preview TTS",
|
|
210
|
+
"family": "gemini-flash",
|
|
211
|
+
"reasoning": false,
|
|
212
|
+
"temperature": true,
|
|
213
|
+
"tool_call": false,
|
|
214
|
+
"attachment": false,
|
|
215
|
+
"modalities": {
|
|
216
|
+
"input": ["text"],
|
|
217
|
+
"output": ["audio"]
|
|
218
|
+
},
|
|
219
|
+
"limit": {
|
|
220
|
+
"context": 8192,
|
|
221
|
+
"output": 16384
|
|
222
|
+
},
|
|
223
|
+
"release_date": "2025-05-01"
|
|
224
|
+
},
|
|
225
|
+
"gemini-3-flash-preview": {
|
|
226
|
+
"id": "gemini-3-flash-preview",
|
|
227
|
+
"name": "Gemini 3 Flash Preview",
|
|
228
|
+
"family": "gemini-flash",
|
|
229
|
+
"reasoning": true,
|
|
29
230
|
"reasoning_options": [{
|
|
30
231
|
"type": "effort",
|
|
31
232
|
"values": [
|
|
233
|
+
"minimal",
|
|
32
234
|
"low",
|
|
33
235
|
"medium",
|
|
34
236
|
"high"
|
|
35
237
|
]
|
|
36
238
|
}],
|
|
239
|
+
"temperature": true,
|
|
240
|
+
"tool_call": true,
|
|
241
|
+
"attachment": true,
|
|
37
242
|
"modalities": {
|
|
38
|
-
"input": [
|
|
243
|
+
"input": [
|
|
244
|
+
"text",
|
|
245
|
+
"image",
|
|
246
|
+
"video",
|
|
247
|
+
"audio",
|
|
248
|
+
"pdf"
|
|
249
|
+
],
|
|
39
250
|
"output": ["text"]
|
|
40
251
|
},
|
|
41
252
|
"limit": {
|
|
42
253
|
"context": 1048576,
|
|
43
254
|
"output": 65536
|
|
44
|
-
}
|
|
255
|
+
},
|
|
256
|
+
"release_date": "2025-12-17"
|
|
45
257
|
},
|
|
46
|
-
"gemini-3
|
|
47
|
-
"id": "gemini-3
|
|
48
|
-
"
|
|
258
|
+
"gemini-3-pro-image": {
|
|
259
|
+
"id": "gemini-3-pro-image",
|
|
260
|
+
"name": "Nano Banana Pro",
|
|
261
|
+
"family": "gemini-pro",
|
|
49
262
|
"reasoning": true,
|
|
50
|
-
"
|
|
263
|
+
"reasoning_options": [{
|
|
264
|
+
"type": "effort",
|
|
265
|
+
"values": ["low", "high"]
|
|
266
|
+
}],
|
|
267
|
+
"temperature": true,
|
|
268
|
+
"tool_call": false,
|
|
51
269
|
"attachment": true,
|
|
52
|
-
"
|
|
270
|
+
"modalities": {
|
|
271
|
+
"input": ["text", "image"],
|
|
272
|
+
"output": ["text", "image"]
|
|
273
|
+
},
|
|
274
|
+
"limit": {
|
|
275
|
+
"context": 65536,
|
|
276
|
+
"output": 32768
|
|
277
|
+
},
|
|
278
|
+
"release_date": "2026-05-28"
|
|
279
|
+
},
|
|
280
|
+
"gemini-3.1-flash-image": {
|
|
281
|
+
"id": "gemini-3.1-flash-image",
|
|
282
|
+
"name": "Nano Banana 2",
|
|
283
|
+
"family": "gemini-flash",
|
|
284
|
+
"reasoning": true,
|
|
285
|
+
"reasoning_options": [{
|
|
286
|
+
"type": "effort",
|
|
287
|
+
"values": ["minimal", "high"]
|
|
288
|
+
}],
|
|
289
|
+
"temperature": true,
|
|
290
|
+
"tool_call": false,
|
|
291
|
+
"attachment": true,
|
|
292
|
+
"modalities": {
|
|
293
|
+
"input": [
|
|
294
|
+
"text",
|
|
295
|
+
"image",
|
|
296
|
+
"video",
|
|
297
|
+
"pdf"
|
|
298
|
+
],
|
|
299
|
+
"output": ["text", "image"]
|
|
300
|
+
},
|
|
301
|
+
"limit": {
|
|
302
|
+
"context": 131072,
|
|
303
|
+
"output": 32768
|
|
304
|
+
},
|
|
305
|
+
"release_date": "2026-05-28"
|
|
306
|
+
},
|
|
307
|
+
"gemini-3.1-flash-lite": {
|
|
308
|
+
"id": "gemini-3.1-flash-lite",
|
|
309
|
+
"name": "Gemini 3.1 Flash Lite",
|
|
310
|
+
"family": "gemini-flash-lite",
|
|
311
|
+
"reasoning": true,
|
|
53
312
|
"reasoning_options": [{
|
|
54
313
|
"type": "effort",
|
|
55
314
|
"values": [
|
|
315
|
+
"minimal",
|
|
56
316
|
"low",
|
|
57
317
|
"medium",
|
|
58
318
|
"high"
|
|
59
319
|
]
|
|
60
320
|
}],
|
|
321
|
+
"temperature": true,
|
|
322
|
+
"tool_call": true,
|
|
323
|
+
"attachment": true,
|
|
61
324
|
"modalities": {
|
|
62
|
-
"input": [
|
|
325
|
+
"input": [
|
|
326
|
+
"text",
|
|
327
|
+
"image",
|
|
328
|
+
"video",
|
|
329
|
+
"audio",
|
|
330
|
+
"pdf"
|
|
331
|
+
],
|
|
63
332
|
"output": ["text"]
|
|
64
333
|
},
|
|
65
334
|
"limit": {
|
|
66
|
-
"
|
|
335
|
+
"context": 1048576,
|
|
67
336
|
"output": 65536
|
|
68
|
-
}
|
|
337
|
+
},
|
|
338
|
+
"release_date": "2026-05-07"
|
|
69
339
|
},
|
|
70
|
-
"gemini-3.
|
|
71
|
-
"id": "gemini-3.
|
|
72
|
-
"
|
|
340
|
+
"gemini-3.1-flash-lite-image": {
|
|
341
|
+
"id": "gemini-3.1-flash-lite-image",
|
|
342
|
+
"name": "Nano Banana 2 Lite",
|
|
343
|
+
"family": "gemini-flash-lite",
|
|
73
344
|
"reasoning": true,
|
|
345
|
+
"reasoning_options": [{
|
|
346
|
+
"type": "effort",
|
|
347
|
+
"values": ["minimal", "high"]
|
|
348
|
+
}],
|
|
349
|
+
"temperature": true,
|
|
74
350
|
"tool_call": true,
|
|
75
351
|
"attachment": true,
|
|
76
|
-
"
|
|
352
|
+
"modalities": {
|
|
353
|
+
"input": ["text", "image"],
|
|
354
|
+
"output": ["text", "image"]
|
|
355
|
+
},
|
|
356
|
+
"limit": {
|
|
357
|
+
"context": 65536,
|
|
358
|
+
"output": 4096
|
|
359
|
+
},
|
|
360
|
+
"release_date": "2026-06-30"
|
|
361
|
+
},
|
|
362
|
+
"gemini-3.1-flash-lite-preview": {
|
|
363
|
+
"id": "gemini-3.1-flash-lite-preview",
|
|
364
|
+
"name": "Gemini 3.1 Flash Lite Preview",
|
|
365
|
+
"family": "gemini-flash-lite",
|
|
366
|
+
"reasoning": true,
|
|
77
367
|
"reasoning_options": [{
|
|
78
368
|
"type": "effort",
|
|
79
369
|
"values": [
|
|
370
|
+
"minimal",
|
|
80
371
|
"low",
|
|
81
372
|
"medium",
|
|
82
373
|
"high"
|
|
83
374
|
]
|
|
84
375
|
}],
|
|
376
|
+
"temperature": true,
|
|
377
|
+
"tool_call": true,
|
|
378
|
+
"attachment": true,
|
|
85
379
|
"modalities": {
|
|
86
|
-
"input": [
|
|
380
|
+
"input": [
|
|
381
|
+
"text",
|
|
382
|
+
"image",
|
|
383
|
+
"video",
|
|
384
|
+
"audio",
|
|
385
|
+
"pdf"
|
|
386
|
+
],
|
|
87
387
|
"output": ["text"]
|
|
88
388
|
},
|
|
89
389
|
"limit": {
|
|
90
|
-
"
|
|
390
|
+
"context": 1048576,
|
|
91
391
|
"output": 65536
|
|
92
|
-
}
|
|
392
|
+
},
|
|
393
|
+
"release_date": "2026-03-03"
|
|
93
394
|
},
|
|
94
|
-
"gemini-3.
|
|
95
|
-
"id": "gemini-3.
|
|
96
|
-
"
|
|
395
|
+
"gemini-3.1-flash-live-preview": {
|
|
396
|
+
"id": "gemini-3.1-flash-live-preview",
|
|
397
|
+
"name": "Gemini 3.1 Flash Live Preview",
|
|
398
|
+
"family": "gemini-flash",
|
|
97
399
|
"reasoning": true,
|
|
400
|
+
"reasoning_options": [{
|
|
401
|
+
"type": "effort",
|
|
402
|
+
"values": [
|
|
403
|
+
"minimal",
|
|
404
|
+
"low",
|
|
405
|
+
"medium",
|
|
406
|
+
"high"
|
|
407
|
+
]
|
|
408
|
+
}],
|
|
409
|
+
"temperature": true,
|
|
98
410
|
"tool_call": true,
|
|
99
411
|
"attachment": true,
|
|
100
|
-
"
|
|
412
|
+
"modalities": {
|
|
413
|
+
"input": [
|
|
414
|
+
"text",
|
|
415
|
+
"image",
|
|
416
|
+
"video",
|
|
417
|
+
"audio"
|
|
418
|
+
],
|
|
419
|
+
"output": ["text", "audio"]
|
|
420
|
+
},
|
|
421
|
+
"limit": {
|
|
422
|
+
"context": 131072,
|
|
423
|
+
"output": 65536
|
|
424
|
+
},
|
|
425
|
+
"release_date": "2026-03-26"
|
|
426
|
+
},
|
|
427
|
+
"gemini-3.1-flash-tts-preview": {
|
|
428
|
+
"id": "gemini-3.1-flash-tts-preview",
|
|
429
|
+
"name": "Gemini 3.1 Flash TTS Preview",
|
|
430
|
+
"family": "gemini-flash",
|
|
431
|
+
"reasoning": true,
|
|
432
|
+
"reasoning_options": [],
|
|
433
|
+
"temperature": true,
|
|
434
|
+
"tool_call": false,
|
|
435
|
+
"attachment": false,
|
|
436
|
+
"modalities": {
|
|
437
|
+
"input": ["text"],
|
|
438
|
+
"output": ["audio"]
|
|
439
|
+
},
|
|
440
|
+
"limit": {
|
|
441
|
+
"context": 8192,
|
|
442
|
+
"output": 16384
|
|
443
|
+
},
|
|
444
|
+
"release_date": "2026-04-15"
|
|
445
|
+
},
|
|
446
|
+
"gemini-3.1-pro-preview": {
|
|
447
|
+
"id": "gemini-3.1-pro-preview",
|
|
448
|
+
"name": "Gemini 3.1 Pro Preview",
|
|
449
|
+
"family": "gemini-pro",
|
|
450
|
+
"reasoning": true,
|
|
101
451
|
"reasoning_options": [{
|
|
102
452
|
"type": "effort",
|
|
103
453
|
"values": [
|
|
104
|
-
"minimal",
|
|
105
454
|
"low",
|
|
106
455
|
"medium",
|
|
107
456
|
"high"
|
|
108
457
|
]
|
|
109
458
|
}],
|
|
459
|
+
"temperature": true,
|
|
460
|
+
"tool_call": true,
|
|
461
|
+
"attachment": true,
|
|
110
462
|
"modalities": {
|
|
111
|
-
"input": [
|
|
463
|
+
"input": [
|
|
464
|
+
"text",
|
|
465
|
+
"image",
|
|
466
|
+
"video",
|
|
467
|
+
"audio",
|
|
468
|
+
"pdf"
|
|
469
|
+
],
|
|
112
470
|
"output": ["text"]
|
|
113
471
|
},
|
|
114
472
|
"limit": {
|
|
115
|
-
"
|
|
473
|
+
"context": 1048576,
|
|
116
474
|
"output": 65536
|
|
117
|
-
}
|
|
475
|
+
},
|
|
476
|
+
"release_date": "2026-02-19"
|
|
118
477
|
},
|
|
119
|
-
"gemini-3.
|
|
120
|
-
"id": "gemini-3.
|
|
121
|
-
"
|
|
478
|
+
"gemini-3.1-pro-preview-customtools": {
|
|
479
|
+
"id": "gemini-3.1-pro-preview-customtools",
|
|
480
|
+
"name": "Gemini 3.1 Pro Preview Custom Tools",
|
|
481
|
+
"family": "gemini-pro",
|
|
122
482
|
"reasoning": true,
|
|
483
|
+
"reasoning_options": [{
|
|
484
|
+
"type": "effort",
|
|
485
|
+
"values": [
|
|
486
|
+
"low",
|
|
487
|
+
"medium",
|
|
488
|
+
"high"
|
|
489
|
+
]
|
|
490
|
+
}],
|
|
491
|
+
"temperature": true,
|
|
123
492
|
"tool_call": true,
|
|
124
493
|
"attachment": true,
|
|
125
|
-
"
|
|
494
|
+
"modalities": {
|
|
495
|
+
"input": [
|
|
496
|
+
"text",
|
|
497
|
+
"image",
|
|
498
|
+
"video",
|
|
499
|
+
"audio",
|
|
500
|
+
"pdf"
|
|
501
|
+
],
|
|
502
|
+
"output": ["text"]
|
|
503
|
+
},
|
|
504
|
+
"limit": {
|
|
505
|
+
"context": 1048576,
|
|
506
|
+
"output": 65536
|
|
507
|
+
},
|
|
508
|
+
"release_date": "2026-02-19"
|
|
509
|
+
},
|
|
510
|
+
"gemini-3.5-flash": {
|
|
511
|
+
"id": "gemini-3.5-flash",
|
|
512
|
+
"name": "Gemini 3.5 Flash",
|
|
513
|
+
"family": "gemini-flash",
|
|
514
|
+
"reasoning": true,
|
|
126
515
|
"reasoning_options": [{
|
|
127
516
|
"type": "effort",
|
|
128
517
|
"values": [
|
|
@@ -132,22 +521,30 @@ const catalog = {
|
|
|
132
521
|
"high"
|
|
133
522
|
]
|
|
134
523
|
}],
|
|
524
|
+
"temperature": true,
|
|
525
|
+
"tool_call": true,
|
|
526
|
+
"attachment": true,
|
|
135
527
|
"modalities": {
|
|
136
|
-
"input": [
|
|
528
|
+
"input": [
|
|
529
|
+
"text",
|
|
530
|
+
"image",
|
|
531
|
+
"video",
|
|
532
|
+
"audio",
|
|
533
|
+
"pdf"
|
|
534
|
+
],
|
|
137
535
|
"output": ["text"]
|
|
138
536
|
},
|
|
139
537
|
"limit": {
|
|
140
|
-
"
|
|
538
|
+
"context": 1048576,
|
|
141
539
|
"output": 65536
|
|
142
|
-
}
|
|
540
|
+
},
|
|
541
|
+
"release_date": "2026-05-19"
|
|
143
542
|
},
|
|
144
543
|
"gemini-3.5-flash-lite": {
|
|
145
544
|
"id": "gemini-3.5-flash-lite",
|
|
146
|
-
"
|
|
545
|
+
"name": "Gemini 3.5 Flash Lite",
|
|
546
|
+
"family": "gemini-flash-lite",
|
|
147
547
|
"reasoning": true,
|
|
148
|
-
"tool_call": true,
|
|
149
|
-
"attachment": true,
|
|
150
|
-
"temperature": false,
|
|
151
548
|
"reasoning_options": [{
|
|
152
549
|
"type": "effort",
|
|
153
550
|
"values": [
|
|
@@ -157,42 +554,81 @@ const catalog = {
|
|
|
157
554
|
"high"
|
|
158
555
|
]
|
|
159
556
|
}],
|
|
557
|
+
"temperature": true,
|
|
558
|
+
"tool_call": true,
|
|
559
|
+
"attachment": true,
|
|
160
560
|
"modalities": {
|
|
161
|
-
"input": [
|
|
561
|
+
"input": [
|
|
562
|
+
"text",
|
|
563
|
+
"image",
|
|
564
|
+
"video",
|
|
565
|
+
"audio",
|
|
566
|
+
"pdf"
|
|
567
|
+
],
|
|
162
568
|
"output": ["text"]
|
|
163
569
|
},
|
|
164
570
|
"limit": {
|
|
165
|
-
"
|
|
571
|
+
"context": 1048576,
|
|
166
572
|
"output": 65536
|
|
167
|
-
}
|
|
573
|
+
},
|
|
574
|
+
"release_date": "2026-07-21"
|
|
168
575
|
},
|
|
169
|
-
"gemini-3.
|
|
170
|
-
"id": "gemini-3.
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
576
|
+
"gemini-3.5-live-translate-preview": {
|
|
577
|
+
"id": "gemini-3.5-live-translate-preview",
|
|
578
|
+
"name": "Gemini 3.5 Live Translate Preview",
|
|
579
|
+
"family": "gemini-pro",
|
|
580
|
+
"reasoning": false,
|
|
581
|
+
"temperature": true,
|
|
582
|
+
"tool_call": false,
|
|
174
583
|
"attachment": true,
|
|
175
|
-
"
|
|
584
|
+
"modalities": {
|
|
585
|
+
"input": ["audio"],
|
|
586
|
+
"output": ["audio", "text"]
|
|
587
|
+
},
|
|
588
|
+
"limit": {
|
|
589
|
+
"context": 16384,
|
|
590
|
+
"output": 16384
|
|
591
|
+
},
|
|
592
|
+
"release_date": "2026-06-09"
|
|
593
|
+
},
|
|
594
|
+
"gemini-3.6-flash": {
|
|
595
|
+
"id": "gemini-3.6-flash",
|
|
596
|
+
"name": "Gemini 3.6 Flash",
|
|
597
|
+
"family": "gemini-flash",
|
|
598
|
+
"reasoning": true,
|
|
176
599
|
"reasoning_options": [{
|
|
177
600
|
"type": "effort",
|
|
178
|
-
"values": [
|
|
601
|
+
"values": [
|
|
602
|
+
"minimal",
|
|
603
|
+
"low",
|
|
604
|
+
"medium",
|
|
605
|
+
"high"
|
|
606
|
+
]
|
|
179
607
|
}],
|
|
608
|
+
"temperature": true,
|
|
609
|
+
"tool_call": true,
|
|
610
|
+
"attachment": true,
|
|
180
611
|
"modalities": {
|
|
181
|
-
"input": [
|
|
612
|
+
"input": [
|
|
613
|
+
"text",
|
|
614
|
+
"image",
|
|
615
|
+
"video",
|
|
616
|
+
"audio",
|
|
617
|
+
"pdf"
|
|
618
|
+
],
|
|
182
619
|
"output": ["text"]
|
|
183
620
|
},
|
|
184
621
|
"limit": {
|
|
185
|
-
"
|
|
622
|
+
"context": 1048576,
|
|
186
623
|
"output": 65536
|
|
187
|
-
}
|
|
624
|
+
},
|
|
625
|
+
"release_date": "2026-07-21"
|
|
188
626
|
},
|
|
189
|
-
"gemini-3.
|
|
190
|
-
"id": "gemini-3.
|
|
191
|
-
"
|
|
627
|
+
"gemini-3.7-flash": {
|
|
628
|
+
"id": "gemini-3.7-flash",
|
|
629
|
+
"name": "Gemini 3.7 Flash",
|
|
630
|
+
"family": "gemini-flash",
|
|
192
631
|
"reasoning": true,
|
|
193
|
-
"tool_call": true,
|
|
194
|
-
"attachment": true,
|
|
195
|
-
"temperature": false,
|
|
196
632
|
"reasoning_options": [{
|
|
197
633
|
"type": "effort",
|
|
198
634
|
"values": [
|
|
@@ -201,22 +637,30 @@ const catalog = {
|
|
|
201
637
|
"high"
|
|
202
638
|
]
|
|
203
639
|
}],
|
|
640
|
+
"temperature": true,
|
|
641
|
+
"tool_call": true,
|
|
642
|
+
"attachment": true,
|
|
204
643
|
"modalities": {
|
|
205
|
-
"input": [
|
|
644
|
+
"input": [
|
|
645
|
+
"text",
|
|
646
|
+
"image",
|
|
647
|
+
"video",
|
|
648
|
+
"audio",
|
|
649
|
+
"pdf"
|
|
650
|
+
],
|
|
206
651
|
"output": ["text"]
|
|
207
652
|
},
|
|
208
653
|
"limit": {
|
|
209
|
-
"
|
|
654
|
+
"context": 1048576,
|
|
210
655
|
"output": 65536
|
|
211
|
-
}
|
|
656
|
+
},
|
|
657
|
+
"release_date": "2026-08-13"
|
|
212
658
|
},
|
|
213
|
-
"gemini-3.
|
|
214
|
-
"id": "gemini-3.
|
|
215
|
-
"
|
|
659
|
+
"gemini-3.8-flash": {
|
|
660
|
+
"id": "gemini-3.8-flash",
|
|
661
|
+
"name": "Gemini 3.8 Flash",
|
|
662
|
+
"family": "gemini-flash",
|
|
216
663
|
"reasoning": true,
|
|
217
|
-
"tool_call": true,
|
|
218
|
-
"attachment": true,
|
|
219
|
-
"temperature": false,
|
|
220
664
|
"reasoning_options": [{
|
|
221
665
|
"type": "effort",
|
|
222
666
|
"values": [
|
|
@@ -225,47 +669,62 @@ const catalog = {
|
|
|
225
669
|
"high"
|
|
226
670
|
]
|
|
227
671
|
}],
|
|
672
|
+
"temperature": true,
|
|
673
|
+
"tool_call": true,
|
|
674
|
+
"attachment": true,
|
|
228
675
|
"modalities": {
|
|
229
|
-
"input": [
|
|
676
|
+
"input": [
|
|
677
|
+
"text",
|
|
678
|
+
"image",
|
|
679
|
+
"video",
|
|
680
|
+
"audio",
|
|
681
|
+
"pdf"
|
|
682
|
+
],
|
|
230
683
|
"output": ["text"]
|
|
231
684
|
},
|
|
232
685
|
"limit": {
|
|
233
|
-
"
|
|
686
|
+
"context": 1048576,
|
|
234
687
|
"output": 65536
|
|
235
|
-
}
|
|
688
|
+
},
|
|
689
|
+
"release_date": "2026-09-02"
|
|
236
690
|
},
|
|
237
|
-
"gemini-
|
|
238
|
-
"id": "gemini-
|
|
239
|
-
"
|
|
691
|
+
"gemini-4-argon": {
|
|
692
|
+
"id": "gemini-4-argon",
|
|
693
|
+
"name": "Gemini 4 Argon",
|
|
694
|
+
"family": "gemini",
|
|
240
695
|
"reasoning": true,
|
|
241
|
-
"tool_call": true,
|
|
242
|
-
"attachment": true,
|
|
243
|
-
"temperature": false,
|
|
244
696
|
"reasoning_options": [{
|
|
245
697
|
"type": "effort",
|
|
246
698
|
"values": [
|
|
247
|
-
"minimal",
|
|
248
699
|
"low",
|
|
249
700
|
"medium",
|
|
250
701
|
"high"
|
|
251
702
|
]
|
|
252
703
|
}],
|
|
704
|
+
"temperature": true,
|
|
705
|
+
"tool_call": true,
|
|
706
|
+
"attachment": true,
|
|
253
707
|
"modalities": {
|
|
254
|
-
"input": [
|
|
708
|
+
"input": [
|
|
709
|
+
"text",
|
|
710
|
+
"image",
|
|
711
|
+
"video",
|
|
712
|
+
"audio",
|
|
713
|
+
"pdf"
|
|
714
|
+
],
|
|
255
715
|
"output": ["text"]
|
|
256
716
|
},
|
|
257
717
|
"limit": {
|
|
258
|
-
"
|
|
259
|
-
"output":
|
|
260
|
-
}
|
|
718
|
+
"context": 1048576,
|
|
719
|
+
"output": 32768
|
|
720
|
+
},
|
|
721
|
+
"release_date": "2026-10-13"
|
|
261
722
|
},
|
|
262
|
-
"gemini-
|
|
263
|
-
"id": "gemini-
|
|
264
|
-
"
|
|
723
|
+
"gemini-4-carbon": {
|
|
724
|
+
"id": "gemini-4-carbon",
|
|
725
|
+
"name": "Gemini 4 Carbon",
|
|
726
|
+
"family": "gemini",
|
|
265
727
|
"reasoning": true,
|
|
266
|
-
"tool_call": true,
|
|
267
|
-
"attachment": true,
|
|
268
|
-
"temperature": false,
|
|
269
728
|
"reasoning_options": [{
|
|
270
729
|
"type": "effort",
|
|
271
730
|
"values": [
|
|
@@ -274,47 +733,106 @@ const catalog = {
|
|
|
274
733
|
"high"
|
|
275
734
|
]
|
|
276
735
|
}],
|
|
736
|
+
"temperature": true,
|
|
737
|
+
"tool_call": true,
|
|
738
|
+
"attachment": true,
|
|
277
739
|
"modalities": {
|
|
278
|
-
"input": [
|
|
740
|
+
"input": [
|
|
741
|
+
"text",
|
|
742
|
+
"image",
|
|
743
|
+
"video",
|
|
744
|
+
"audio",
|
|
745
|
+
"pdf"
|
|
746
|
+
],
|
|
279
747
|
"output": ["text"]
|
|
280
748
|
},
|
|
281
749
|
"limit": {
|
|
282
|
-
"
|
|
283
|
-
"output":
|
|
284
|
-
}
|
|
750
|
+
"context": 1048576,
|
|
751
|
+
"output": 32768
|
|
752
|
+
},
|
|
753
|
+
"release_date": "2026-11-10"
|
|
285
754
|
},
|
|
286
|
-
"gemini-
|
|
287
|
-
"id": "gemini-
|
|
288
|
-
"
|
|
755
|
+
"gemini-4-hydrogen": {
|
|
756
|
+
"id": "gemini-4-hydrogen",
|
|
757
|
+
"name": "Gemini 4 Hydrogen",
|
|
758
|
+
"family": "gemini",
|
|
289
759
|
"reasoning": true,
|
|
290
|
-
"tool_call": true,
|
|
291
|
-
"attachment": true,
|
|
292
|
-
"temperature": false,
|
|
293
760
|
"reasoning_options": [{
|
|
294
761
|
"type": "effort",
|
|
295
762
|
"values": [
|
|
296
763
|
"low",
|
|
297
764
|
"medium",
|
|
298
|
-
"high"
|
|
765
|
+
"high",
|
|
766
|
+
"xhigh"
|
|
299
767
|
]
|
|
300
768
|
}],
|
|
769
|
+
"temperature": true,
|
|
770
|
+
"tool_call": true,
|
|
771
|
+
"attachment": true,
|
|
301
772
|
"modalities": {
|
|
302
|
-
"input": [
|
|
773
|
+
"input": [
|
|
774
|
+
"text",
|
|
775
|
+
"image",
|
|
776
|
+
"video",
|
|
777
|
+
"audio",
|
|
778
|
+
"pdf"
|
|
779
|
+
],
|
|
303
780
|
"output": ["text"]
|
|
304
781
|
},
|
|
305
782
|
"limit": {
|
|
306
|
-
"
|
|
783
|
+
"context": 1048576,
|
|
307
784
|
"output": 65536
|
|
308
|
-
}
|
|
785
|
+
},
|
|
786
|
+
"release_date": "2026-11-12"
|
|
309
787
|
},
|
|
310
|
-
"gemini-
|
|
311
|
-
"id": "gemini-
|
|
312
|
-
"
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"attachment": true,
|
|
788
|
+
"gemini-embedding-001": {
|
|
789
|
+
"id": "gemini-embedding-001",
|
|
790
|
+
"name": "Gemini Embedding 001",
|
|
791
|
+
"family": "gemini",
|
|
792
|
+
"reasoning": false,
|
|
316
793
|
"temperature": false,
|
|
317
|
-
"
|
|
794
|
+
"tool_call": false,
|
|
795
|
+
"attachment": false,
|
|
796
|
+
"modalities": {
|
|
797
|
+
"input": ["text"],
|
|
798
|
+
"output": ["text"]
|
|
799
|
+
},
|
|
800
|
+
"limit": {
|
|
801
|
+
"context": 2048,
|
|
802
|
+
"output": 1
|
|
803
|
+
},
|
|
804
|
+
"release_date": "2025-05-20"
|
|
805
|
+
},
|
|
806
|
+
"gemini-embedding-2": {
|
|
807
|
+
"id": "gemini-embedding-2",
|
|
808
|
+
"name": "Gemini Embedding 2",
|
|
809
|
+
"family": "gemini",
|
|
810
|
+
"reasoning": false,
|
|
811
|
+
"temperature": false,
|
|
812
|
+
"tool_call": false,
|
|
813
|
+
"attachment": true,
|
|
814
|
+
"modalities": {
|
|
815
|
+
"input": [
|
|
816
|
+
"text",
|
|
817
|
+
"image",
|
|
818
|
+
"audio",
|
|
819
|
+
"video",
|
|
820
|
+
"pdf"
|
|
821
|
+
],
|
|
822
|
+
"output": ["text"]
|
|
823
|
+
},
|
|
824
|
+
"limit": {
|
|
825
|
+
"context": 8192,
|
|
826
|
+
"output": 1
|
|
827
|
+
},
|
|
828
|
+
"release_date": "2026-04-22"
|
|
829
|
+
},
|
|
830
|
+
"gemini-flash-latest": {
|
|
831
|
+
"id": "gemini-flash-latest",
|
|
832
|
+
"name": "Gemini Flash Latest",
|
|
833
|
+
"family": "gemini-flash",
|
|
834
|
+
"reasoning": true,
|
|
835
|
+
"reasoning_options": [{
|
|
318
836
|
"type": "effort",
|
|
319
837
|
"values": [
|
|
320
838
|
"low",
|
|
@@ -322,100 +840,328 @@ const catalog = {
|
|
|
322
840
|
"high"
|
|
323
841
|
]
|
|
324
842
|
}],
|
|
843
|
+
"temperature": true,
|
|
844
|
+
"tool_call": true,
|
|
845
|
+
"attachment": true,
|
|
325
846
|
"modalities": {
|
|
326
|
-
"input": [
|
|
847
|
+
"input": [
|
|
848
|
+
"text",
|
|
849
|
+
"image",
|
|
850
|
+
"video",
|
|
851
|
+
"audio",
|
|
852
|
+
"pdf"
|
|
853
|
+
],
|
|
327
854
|
"output": ["text"]
|
|
328
855
|
},
|
|
329
856
|
"limit": {
|
|
330
|
-
"
|
|
857
|
+
"context": 1048576,
|
|
331
858
|
"output": 65536
|
|
332
|
-
}
|
|
859
|
+
},
|
|
860
|
+
"release_date": "2026-08-13"
|
|
333
861
|
},
|
|
334
|
-
"gemini-
|
|
335
|
-
"id": "gemini-
|
|
336
|
-
"
|
|
862
|
+
"gemini-flash-lite-latest": {
|
|
863
|
+
"id": "gemini-flash-lite-latest",
|
|
864
|
+
"name": "Gemini Flash-Lite Latest",
|
|
865
|
+
"family": "gemini-flash-lite",
|
|
337
866
|
"reasoning": true,
|
|
338
867
|
"reasoning_options": [{
|
|
339
868
|
"type": "effort",
|
|
340
869
|
"values": [
|
|
341
870
|
"minimal",
|
|
871
|
+
"low",
|
|
342
872
|
"medium",
|
|
343
873
|
"high"
|
|
344
874
|
]
|
|
345
875
|
}],
|
|
876
|
+
"temperature": true,
|
|
877
|
+
"tool_call": true,
|
|
878
|
+
"attachment": true,
|
|
879
|
+
"modalities": {
|
|
880
|
+
"input": [
|
|
881
|
+
"text",
|
|
882
|
+
"image",
|
|
883
|
+
"video",
|
|
884
|
+
"audio",
|
|
885
|
+
"pdf"
|
|
886
|
+
],
|
|
887
|
+
"output": ["text"]
|
|
888
|
+
},
|
|
346
889
|
"limit": {
|
|
347
|
-
"
|
|
348
|
-
"output":
|
|
890
|
+
"context": 1048576,
|
|
891
|
+
"output": 65536
|
|
349
892
|
},
|
|
893
|
+
"release_date": "2026-07-21"
|
|
894
|
+
},
|
|
895
|
+
"gemini-omni-flash-preview": {
|
|
896
|
+
"id": "gemini-omni-flash-preview",
|
|
897
|
+
"name": "Gemini Omni Flash Preview",
|
|
898
|
+
"family": "gemini",
|
|
899
|
+
"reasoning": true,
|
|
900
|
+
"reasoning_options": [],
|
|
901
|
+
"temperature": true,
|
|
350
902
|
"tool_call": false,
|
|
351
903
|
"attachment": true,
|
|
352
|
-
"temperature": false,
|
|
353
904
|
"modalities": {
|
|
354
|
-
"input": [
|
|
355
|
-
|
|
356
|
-
|
|
905
|
+
"input": [
|
|
906
|
+
"text",
|
|
907
|
+
"image",
|
|
908
|
+
"video"
|
|
909
|
+
],
|
|
910
|
+
"output": ["video"]
|
|
911
|
+
},
|
|
912
|
+
"limit": {
|
|
913
|
+
"context": 131072,
|
|
914
|
+
"output": 65536
|
|
915
|
+
},
|
|
916
|
+
"release_date": "2026-06-30"
|
|
357
917
|
},
|
|
358
|
-
"gemini-
|
|
359
|
-
"id": "gemini-
|
|
360
|
-
"
|
|
361
|
-
"
|
|
918
|
+
"gemini-pro-latest": {
|
|
919
|
+
"id": "gemini-pro-latest",
|
|
920
|
+
"name": "Gemini Pro Latest",
|
|
921
|
+
"family": "gemini-pro",
|
|
922
|
+
"reasoning": true,
|
|
923
|
+
"reasoning_options": [{
|
|
924
|
+
"type": "effort",
|
|
925
|
+
"values": [
|
|
926
|
+
"low",
|
|
927
|
+
"medium",
|
|
928
|
+
"high"
|
|
929
|
+
]
|
|
930
|
+
}],
|
|
931
|
+
"temperature": true,
|
|
932
|
+
"tool_call": true,
|
|
362
933
|
"attachment": true,
|
|
363
|
-
"temperature": false,
|
|
364
934
|
"modalities": {
|
|
365
|
-
"input": [
|
|
366
|
-
|
|
367
|
-
|
|
935
|
+
"input": [
|
|
936
|
+
"text",
|
|
937
|
+
"image",
|
|
938
|
+
"video",
|
|
939
|
+
"audio",
|
|
940
|
+
"pdf"
|
|
941
|
+
],
|
|
942
|
+
"output": ["text"]
|
|
943
|
+
},
|
|
944
|
+
"limit": {
|
|
945
|
+
"context": 1048576,
|
|
946
|
+
"output": 65536
|
|
947
|
+
},
|
|
948
|
+
"release_date": "2026-02-19"
|
|
368
949
|
},
|
|
369
|
-
"
|
|
370
|
-
"id": "
|
|
371
|
-
"
|
|
372
|
-
"
|
|
950
|
+
"gemma-4-26b-a4b-it": {
|
|
951
|
+
"id": "gemma-4-26b-a4b-it",
|
|
952
|
+
"name": "Gemma 4 26B A4B IT",
|
|
953
|
+
"family": "gemma",
|
|
954
|
+
"reasoning": true,
|
|
955
|
+
"reasoning_options": [{ "type": "toggle" }],
|
|
956
|
+
"temperature": true,
|
|
957
|
+
"tool_call": true,
|
|
373
958
|
"attachment": true,
|
|
374
|
-
"temperature": false,
|
|
375
959
|
"modalities": {
|
|
376
960
|
"input": ["text", "image"],
|
|
377
|
-
"output": ["text"
|
|
378
|
-
}
|
|
961
|
+
"output": ["text"]
|
|
962
|
+
},
|
|
963
|
+
"limit": {
|
|
964
|
+
"context": 262144,
|
|
965
|
+
"output": 32768
|
|
966
|
+
},
|
|
967
|
+
"release_date": "2026-04-02"
|
|
379
968
|
},
|
|
380
|
-
"
|
|
381
|
-
"id": "
|
|
382
|
-
"
|
|
383
|
-
"
|
|
969
|
+
"gemma-4-31b-it": {
|
|
970
|
+
"id": "gemma-4-31b-it",
|
|
971
|
+
"name": "Gemma 4 31B IT",
|
|
972
|
+
"family": "gemma",
|
|
973
|
+
"reasoning": true,
|
|
974
|
+
"reasoning_options": [{ "type": "toggle" }],
|
|
975
|
+
"temperature": true,
|
|
976
|
+
"tool_call": true,
|
|
384
977
|
"attachment": true,
|
|
385
|
-
"temperature": false,
|
|
386
978
|
"modalities": {
|
|
387
979
|
"input": ["text", "image"],
|
|
388
|
-
"output": ["text"
|
|
389
|
-
}
|
|
980
|
+
"output": ["text"]
|
|
981
|
+
},
|
|
982
|
+
"limit": {
|
|
983
|
+
"context": 262144,
|
|
984
|
+
"output": 32768
|
|
985
|
+
},
|
|
986
|
+
"release_date": "2026-04-02"
|
|
390
987
|
},
|
|
391
|
-
"
|
|
392
|
-
"id": "
|
|
393
|
-
"
|
|
988
|
+
"lyria-3-clip-preview": {
|
|
989
|
+
"id": "lyria-3-clip-preview",
|
|
990
|
+
"name": "Lyria 3 Clip Preview",
|
|
991
|
+
"family": "lyria",
|
|
992
|
+
"reasoning": false,
|
|
993
|
+
"temperature": true,
|
|
394
994
|
"tool_call": false,
|
|
395
995
|
"attachment": true,
|
|
396
|
-
"temperature": false,
|
|
397
996
|
"modalities": {
|
|
398
997
|
"input": ["text", "image"],
|
|
399
|
-
"output": ["text", "
|
|
400
|
-
}
|
|
998
|
+
"output": ["text", "audio"]
|
|
999
|
+
},
|
|
1000
|
+
"limit": {
|
|
1001
|
+
"context": 1048576,
|
|
1002
|
+
"output": 65536
|
|
1003
|
+
},
|
|
1004
|
+
"release_date": "2026-03-25"
|
|
401
1005
|
},
|
|
402
|
-
"
|
|
403
|
-
"id": "
|
|
404
|
-
"
|
|
1006
|
+
"lyria-3-pro-preview": {
|
|
1007
|
+
"id": "lyria-3-pro-preview",
|
|
1008
|
+
"name": "Lyria 3 Pro Preview",
|
|
1009
|
+
"family": "lyria",
|
|
1010
|
+
"reasoning": false,
|
|
1011
|
+
"temperature": true,
|
|
405
1012
|
"tool_call": false,
|
|
406
1013
|
"attachment": true,
|
|
407
|
-
"temperature": false,
|
|
408
1014
|
"modalities": {
|
|
409
1015
|
"input": ["text", "image"],
|
|
410
|
-
"output": ["text", "
|
|
411
|
-
}
|
|
1016
|
+
"output": ["text", "audio"]
|
|
1017
|
+
},
|
|
1018
|
+
"limit": {
|
|
1019
|
+
"context": 1048576,
|
|
1020
|
+
"output": 65536
|
|
1021
|
+
},
|
|
1022
|
+
"release_date": "2026-03-25"
|
|
412
1023
|
}
|
|
413
1024
|
} },
|
|
414
|
-
snapshotAt: Date.parse("2026-
|
|
1025
|
+
snapshotAt: Date.parse("2026-11-18")
|
|
415
1026
|
};
|
|
416
1027
|
//#endregion
|
|
1028
|
+
//#region src/facts.ts
|
|
1029
|
+
const NATIVE = "gemini-interactions";
|
|
1030
|
+
const VERIFIED = "2026-10-29";
|
|
1031
|
+
const page = (model) => `https://ai.google.dev/gemini-api/docs/models/${model}`;
|
|
1032
|
+
const ADAPTER = "The native Interactions adapter accepts only these reasoning controls for this model.";
|
|
1033
|
+
const TEXT_INPUT_MODELS = [
|
|
1034
|
+
"gemini-3.8-flash",
|
|
1035
|
+
"gemini-3.7-flash",
|
|
1036
|
+
"gemini-3.6-flash",
|
|
1037
|
+
"gemini-3.5-flash",
|
|
1038
|
+
"gemini-3.5-flash-lite",
|
|
1039
|
+
"gemini-3.1-flash-lite",
|
|
1040
|
+
"gemini-3.1-pro-preview",
|
|
1041
|
+
"gemini-3.1-pro-preview-customtools",
|
|
1042
|
+
"gemini-3-flash-preview",
|
|
1043
|
+
"gemini-2.5-pro",
|
|
1044
|
+
"gemini-2.5-flash",
|
|
1045
|
+
"gemini-2.5-flash-lite"
|
|
1046
|
+
];
|
|
1047
|
+
const IMAGE_INPUT = {
|
|
1048
|
+
"gemini-3.1-flash-image": 131072,
|
|
1049
|
+
"gemini-3.1-flash-lite-image": 65536,
|
|
1050
|
+
"gemini-3-pro-image": 65536,
|
|
1051
|
+
"gemini-2.5-flash-image": 65536
|
|
1052
|
+
};
|
|
1053
|
+
const UNKNOWN = { unknown: true };
|
|
1054
|
+
function native(model, field, value, source = model) {
|
|
1055
|
+
return {
|
|
1056
|
+
model,
|
|
1057
|
+
protocolId: NATIVE,
|
|
1058
|
+
field,
|
|
1059
|
+
value,
|
|
1060
|
+
corrects: { structural: ADAPTER },
|
|
1061
|
+
source: page(source),
|
|
1062
|
+
verifiedAt: VERIFIED
|
|
1063
|
+
};
|
|
1064
|
+
}
|
|
1065
|
+
const threeEfforts = {
|
|
1066
|
+
type: "effort",
|
|
1067
|
+
values: [
|
|
1068
|
+
"low",
|
|
1069
|
+
"medium",
|
|
1070
|
+
"high"
|
|
1071
|
+
]
|
|
1072
|
+
};
|
|
1073
|
+
const modelFacts = {
|
|
1074
|
+
revisions: [
|
|
1075
|
+
{
|
|
1076
|
+
model: "gemini-4-argon",
|
|
1077
|
+
field: "limit.output",
|
|
1078
|
+
value: 65536,
|
|
1079
|
+
corrects: { catalogue: 32768 },
|
|
1080
|
+
source: page("gemini-4-argon"),
|
|
1081
|
+
verifiedAt: VERIFIED
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
model: "gemini-2.5-flash-image",
|
|
1085
|
+
field: "limit.context",
|
|
1086
|
+
value: UNKNOWN,
|
|
1087
|
+
corrects: { catalogue: 32768 },
|
|
1088
|
+
source: page("gemini-2.5-flash-image"),
|
|
1089
|
+
verifiedAt: VERIFIED
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
model: "gemini-3.1-flash-lite-image",
|
|
1093
|
+
field: "tool_call",
|
|
1094
|
+
value: false,
|
|
1095
|
+
corrects: { catalogue: true },
|
|
1096
|
+
source: page("gemini-3.1-flash-lite-image"),
|
|
1097
|
+
verifiedAt: VERIFIED
|
|
1098
|
+
},
|
|
1099
|
+
...[
|
|
1100
|
+
"gemini-2.5-pro",
|
|
1101
|
+
"gemini-2.5-flash",
|
|
1102
|
+
"gemini-2.5-flash-lite"
|
|
1103
|
+
].flatMap((model) => [native(model, "reasoning_options.effort", threeEfforts), native(model, "reasoning_options.budget_tokens", UNKNOWN)]),
|
|
1104
|
+
native("gemini-2.5-flash", "reasoning_options.toggle", UNKNOWN),
|
|
1105
|
+
native("gemini-3.1-flash-lite", "reasoning_options.effort", {
|
|
1106
|
+
type: "effort",
|
|
1107
|
+
values: ["high"]
|
|
1108
|
+
}),
|
|
1109
|
+
...[
|
|
1110
|
+
"gemini-3.1-flash-image",
|
|
1111
|
+
"gemini-3.1-flash-lite-image",
|
|
1112
|
+
"gemini-3-pro-image"
|
|
1113
|
+
].map((model) => native(model, "reasoning_options.effort", UNKNOWN))
|
|
1114
|
+
],
|
|
1115
|
+
presets: [
|
|
1116
|
+
...TEXT_INPUT_MODELS.map((model) => ({
|
|
1117
|
+
model,
|
|
1118
|
+
entry: { limit: { input: 1048576 } }
|
|
1119
|
+
})),
|
|
1120
|
+
...Object.entries(IMAGE_INPUT).map(([model, input]) => ({
|
|
1121
|
+
model,
|
|
1122
|
+
protocolId: NATIVE,
|
|
1123
|
+
entry: { limit: { input } }
|
|
1124
|
+
})),
|
|
1125
|
+
{
|
|
1126
|
+
model: "gemini-nano-banana-2.1",
|
|
1127
|
+
protocolId: NATIVE,
|
|
1128
|
+
entry: {
|
|
1129
|
+
...imageEntry(),
|
|
1130
|
+
reasoning: true,
|
|
1131
|
+
reasoning_options: [{
|
|
1132
|
+
type: "effort",
|
|
1133
|
+
values: [
|
|
1134
|
+
"minimal",
|
|
1135
|
+
"medium",
|
|
1136
|
+
"high"
|
|
1137
|
+
]
|
|
1138
|
+
}],
|
|
1139
|
+
limit: {
|
|
1140
|
+
input: 131072,
|
|
1141
|
+
output: 32768
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
model: "nano-banana-pro-preview",
|
|
1147
|
+
protocolId: NATIVE,
|
|
1148
|
+
entry: imageEntry()
|
|
1149
|
+
}
|
|
1150
|
+
]
|
|
1151
|
+
};
|
|
1152
|
+
function imageEntry() {
|
|
1153
|
+
return {
|
|
1154
|
+
chat: true,
|
|
1155
|
+
tool_call: false,
|
|
1156
|
+
attachment: true,
|
|
1157
|
+
modalities: {
|
|
1158
|
+
input: ["text", "image"],
|
|
1159
|
+
output: ["text", "image"]
|
|
1160
|
+
}
|
|
1161
|
+
};
|
|
1162
|
+
}
|
|
1163
|
+
//#endregion
|
|
417
1164
|
//#region src/routing.ts
|
|
418
|
-
/** Maps only declared official roots; protocol implementations own the remaining resource URI. */
|
|
419
1165
|
function connectionConfig(endpoint, protocolId, config, aliases = []) {
|
|
420
1166
|
const defaults = Object.values(endpoint.capabilities).find((one) => one.protocolIds.includes(protocolId))?.protocolDefaults?.[protocolId] ?? {};
|
|
421
1167
|
const configured = config.baseUrl;
|
|
@@ -435,10 +1181,15 @@ function connectionConfig(endpoint, protocolId, config, aliases = []) {
|
|
|
435
1181
|
}
|
|
436
1182
|
//#endregion
|
|
437
1183
|
//#region src/type.ts
|
|
438
|
-
/** Stable official Google supplier identity. */
|
|
439
1184
|
const TYPE = "google";
|
|
440
1185
|
const endpoints = [{
|
|
441
1186
|
id: "google",
|
|
1187
|
+
resourceCapability: {
|
|
1188
|
+
support: "unsupported",
|
|
1189
|
+
reason: "unsupported",
|
|
1190
|
+
sources: [],
|
|
1191
|
+
presets: []
|
|
1192
|
+
},
|
|
442
1193
|
label: "Google AI Studio",
|
|
443
1194
|
capabilities: {
|
|
444
1195
|
chat: {
|
|
@@ -453,10 +1204,11 @@ const endpoints = [{
|
|
|
453
1204
|
},
|
|
454
1205
|
defaults: { baseUrl: "https://generativelanguage.googleapis.com/v1beta" }
|
|
455
1206
|
}];
|
|
456
|
-
|
|
457
|
-
function googleProviderType() {
|
|
1207
|
+
function googleProviderType(support) {
|
|
458
1208
|
return {
|
|
459
1209
|
type: TYPE,
|
|
1210
|
+
listingContractVersion: "capacity-listing-v2",
|
|
1211
|
+
modelFacts,
|
|
460
1212
|
label: "Google Gemini",
|
|
461
1213
|
fields: [{
|
|
462
1214
|
key: "apiKey",
|
|
@@ -465,10 +1217,10 @@ function googleProviderType() {
|
|
|
465
1217
|
required: true
|
|
466
1218
|
}],
|
|
467
1219
|
endpoints,
|
|
468
|
-
catalog
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
},
|
|
1220
|
+
catalog: support ? {
|
|
1221
|
+
...catalog,
|
|
1222
|
+
source: support.catalogueSource("https://models.dev/api.json", "models")
|
|
1223
|
+
} : catalog,
|
|
472
1224
|
prepareConnection(input) {
|
|
473
1225
|
if (input.endpointId !== "google" || !Object.values(endpoints[0].capabilities).some((one) => one.protocolIds.includes(input.protocolId))) throw new Error("Unsupported Google endpoint or protocol");
|
|
474
1226
|
return {
|
|
@@ -482,8 +1234,10 @@ function googleProviderType() {
|
|
|
482
1234
|
//#region src/index.ts
|
|
483
1235
|
const plugin = {
|
|
484
1236
|
name: "@eum-agent/llm-provider-google",
|
|
1237
|
+
requires: ["model-catalogue-sources"],
|
|
485
1238
|
apply(ctx) {
|
|
486
|
-
ctx.
|
|
1239
|
+
const support = ctx.services.get("model-catalogue-sources");
|
|
1240
|
+
ctx.modelProviders.register(googleProviderType(support));
|
|
487
1241
|
}
|
|
488
1242
|
};
|
|
489
1243
|
//#endregion
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"en-US": "Google Gemini Models",
|
|
5
5
|
"zh-CN": "模型接入 · Google"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.2.0",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"description": "Native Google Gemini Interactions provider",
|
|
10
10
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"assets"
|
|
19
19
|
],
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@eum-agent/plugin": "1.
|
|
21
|
+
"@eum-agent/plugin": "1.2.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"zod": "^4.4.3"
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"zh-CN": "模型接入 · Google"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@eum-agent/llm-management": "1.
|
|
32
|
+
"@eum-agent/llm-management": "1.2.0"
|
|
33
33
|
},
|
|
34
34
|
"kind": "extension",
|
|
35
35
|
"foundationDependencies": {
|
|
36
|
-
"@eum-agent/infra-local": "1.0
|
|
36
|
+
"@eum-agent/infra-local": "1.2.0"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|