modelpedia 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/index.cjs +60 -35560
  2. package/dist/index.d.cts +3 -156
  3. package/dist/index.d.mts +3 -156
  4. package/dist/index.mjs +60 -35560
  5. package/dist/providers/alibaba.cjs +835 -0
  6. package/dist/providers/alibaba.d.cts +7 -0
  7. package/dist/providers/alibaba.d.mts +7 -0
  8. package/dist/providers/alibaba.mjs +833 -0
  9. package/dist/providers/amazon.cjs +1484 -0
  10. package/dist/providers/amazon.d.cts +7 -0
  11. package/dist/providers/amazon.d.mts +7 -0
  12. package/dist/providers/amazon.mjs +1482 -0
  13. package/dist/providers/anthropic.cjs +698 -0
  14. package/dist/providers/anthropic.d.cts +7 -0
  15. package/dist/providers/anthropic.d.mts +7 -0
  16. package/dist/providers/anthropic.mjs +696 -0
  17. package/dist/providers/azure.cjs +1491 -0
  18. package/dist/providers/azure.d.cts +7 -0
  19. package/dist/providers/azure.d.mts +7 -0
  20. package/dist/providers/azure.mjs +1489 -0
  21. package/dist/providers/baseten.cjs +279 -0
  22. package/dist/providers/baseten.d.cts +7 -0
  23. package/dist/providers/baseten.d.mts +7 -0
  24. package/dist/providers/baseten.mjs +277 -0
  25. package/dist/providers/cerebras.cjs +145 -0
  26. package/dist/providers/cerebras.d.cts +7 -0
  27. package/dist/providers/cerebras.d.mts +7 -0
  28. package/dist/providers/cerebras.mjs +143 -0
  29. package/dist/providers/cloudflare.cjs +826 -0
  30. package/dist/providers/cloudflare.d.cts +7 -0
  31. package/dist/providers/cloudflare.d.mts +7 -0
  32. package/dist/providers/cloudflare.mjs +824 -0
  33. package/dist/providers/cohere.cjs +525 -0
  34. package/dist/providers/cohere.d.cts +7 -0
  35. package/dist/providers/cohere.d.mts +7 -0
  36. package/dist/providers/cohere.mjs +523 -0
  37. package/dist/providers/cursor.cjs +856 -0
  38. package/dist/providers/cursor.d.cts +7 -0
  39. package/dist/providers/cursor.d.mts +7 -0
  40. package/dist/providers/cursor.mjs +854 -0
  41. package/dist/providers/deepseek.cjs +64 -0
  42. package/dist/providers/deepseek.d.cts +7 -0
  43. package/dist/providers/deepseek.d.mts +7 -0
  44. package/dist/providers/deepseek.mjs +62 -0
  45. package/dist/providers/fireworks.cjs +3794 -0
  46. package/dist/providers/fireworks.d.cts +7 -0
  47. package/dist/providers/fireworks.d.mts +7 -0
  48. package/dist/providers/fireworks.mjs +3792 -0
  49. package/dist/providers/google.cjs +972 -0
  50. package/dist/providers/google.d.cts +7 -0
  51. package/dist/providers/google.d.mts +7 -0
  52. package/dist/providers/google.mjs +970 -0
  53. package/dist/providers/groq.cjs +353 -0
  54. package/dist/providers/groq.d.cts +7 -0
  55. package/dist/providers/groq.d.mts +7 -0
  56. package/dist/providers/groq.mjs +351 -0
  57. package/dist/providers/huggingface.cjs +1022 -0
  58. package/dist/providers/huggingface.d.cts +7 -0
  59. package/dist/providers/huggingface.d.mts +7 -0
  60. package/dist/providers/huggingface.mjs +1020 -0
  61. package/dist/providers/meta.cjs +481 -0
  62. package/dist/providers/meta.d.cts +7 -0
  63. package/dist/providers/meta.d.mts +7 -0
  64. package/dist/providers/meta.mjs +479 -0
  65. package/dist/providers/minimax.cjs +156 -0
  66. package/dist/providers/minimax.d.cts +7 -0
  67. package/dist/providers/minimax.d.mts +7 -0
  68. package/dist/providers/minimax.mjs +154 -0
  69. package/dist/providers/mistral.cjs +1594 -0
  70. package/dist/providers/mistral.d.cts +7 -0
  71. package/dist/providers/mistral.d.mts +7 -0
  72. package/dist/providers/mistral.mjs +1592 -0
  73. package/dist/providers/moonshot.cjs +138 -0
  74. package/dist/providers/moonshot.d.cts +7 -0
  75. package/dist/providers/moonshot.d.mts +7 -0
  76. package/dist/providers/moonshot.mjs +136 -0
  77. package/dist/providers/nvidia.cjs +2040 -0
  78. package/dist/providers/nvidia.d.cts +7 -0
  79. package/dist/providers/nvidia.d.mts +7 -0
  80. package/dist/providers/nvidia.mjs +2038 -0
  81. package/dist/providers/ollama.cjs +326 -0
  82. package/dist/providers/ollama.d.cts +7 -0
  83. package/dist/providers/ollama.d.mts +7 -0
  84. package/dist/providers/ollama.mjs +324 -0
  85. package/dist/providers/openai.cjs +9079 -0
  86. package/dist/providers/openai.d.cts +7 -0
  87. package/dist/providers/openai.d.mts +7 -0
  88. package/dist/providers/openai.mjs +9077 -0
  89. package/dist/providers/opencode.cjs +367 -0
  90. package/dist/providers/opencode.d.cts +7 -0
  91. package/dist/providers/opencode.d.mts +7 -0
  92. package/dist/providers/opencode.mjs +365 -0
  93. package/dist/providers/openrouter.cjs +7835 -0
  94. package/dist/providers/openrouter.d.cts +7 -0
  95. package/dist/providers/openrouter.d.mts +7 -0
  96. package/dist/providers/openrouter.mjs +7833 -0
  97. package/dist/providers/perplexity.cjs +311 -0
  98. package/dist/providers/perplexity.d.cts +7 -0
  99. package/dist/providers/perplexity.d.mts +7 -0
  100. package/dist/providers/perplexity.mjs +309 -0
  101. package/dist/providers/qwen.cjs +835 -0
  102. package/dist/providers/qwen.d.cts +7 -0
  103. package/dist/providers/qwen.d.mts +7 -0
  104. package/dist/providers/qwen.mjs +833 -0
  105. package/dist/providers/together.cjs +360 -0
  106. package/dist/providers/together.d.cts +7 -0
  107. package/dist/providers/together.d.mts +7 -0
  108. package/dist/providers/together.mjs +358 -0
  109. package/dist/providers/vercel.cjs +4037 -0
  110. package/dist/providers/vercel.d.cts +7 -0
  111. package/dist/providers/vercel.d.mts +7 -0
  112. package/dist/providers/vercel.mjs +4035 -0
  113. package/dist/providers/vertex.cjs +1072 -0
  114. package/dist/providers/vertex.d.cts +7 -0
  115. package/dist/providers/vertex.d.mts +7 -0
  116. package/dist/providers/vertex.mjs +1070 -0
  117. package/dist/providers/xai.cjs +301 -0
  118. package/dist/providers/xai.d.cts +7 -0
  119. package/dist/providers/xai.d.mts +7 -0
  120. package/dist/providers/xai.mjs +299 -0
  121. package/dist/providers/zai.cjs +243 -0
  122. package/dist/providers/zai.d.cts +7 -0
  123. package/dist/providers/zai.d.mts +7 -0
  124. package/dist/providers/zai.mjs +241 -0
  125. package/dist/types.d.cts +186 -0
  126. package/dist/types.d.mts +186 -0
  127. package/package.json +14 -38
  128. package/README.md +0 -100
@@ -0,0 +1,972 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region src/providers/google.ts
3
+ const provider = {
4
+ "id": "google",
5
+ "name": "Google",
6
+ "region": "US",
7
+ "url": "https://ai.google.dev",
8
+ "api_url": "https://generativelanguage.googleapis.com/v1beta",
9
+ "docs_url": "https://ai.google.dev/docs",
10
+ "pricing_url": "https://ai.google.dev/pricing",
11
+ "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M23 12.245c0-.905-.075-1.565-.236-2.25h-10.54v4.083h6.186c-.124 1.014-.797 2.542-2.294 3.569l-.021.136 3.332 2.53.23.022C21.779 18.417 23 15.593 23 12.245z\"/>\n <path d=\"M12.225 23c3.03 0 5.574-.978 7.433-2.665l-3.542-2.688c-.948.648-2.22 1.1-3.891 1.1a6.745 6.745 0 01-6.386-4.572l-.132.011-3.465 2.628-.045.124C4.043 20.531 7.835 23 12.225 23z\"/>\n <path d=\"M5.84 14.175A6.65 6.65 0 015.463 12c0-.758.138-1.491.361-2.175l-.006-.147-3.508-2.67-.115.054A10.831 10.831 0 001 12c0 1.772.436 3.447 1.197 4.938l3.642-2.763z\"/>\n <path d=\"M12.225 5.253c2.108 0 3.529.892 4.34 1.638l3.167-3.031C17.787 2.088 15.255 1 12.225 1 7.834 1 4.043 3.469 2.197 7.062l3.63 2.763a6.77 6.77 0 016.398-4.572z\"/>\n</svg>",
12
+ "models": [
13
+ {
14
+ "id": "gemini-2.0-flash-001",
15
+ "name": "gemini-2.0-flash-001",
16
+ "created_by": "google",
17
+ "source": "official",
18
+ "last_updated": "2026-03-21",
19
+ "family": "gemini-2.0",
20
+ "status": "active",
21
+ "deprecation_date": "2026-06-01",
22
+ "capabilities": {
23
+ "streaming": true,
24
+ "vision": true
25
+ },
26
+ "modalities": {
27
+ "input": ["text", "image"],
28
+ "output": ["text"]
29
+ },
30
+ "successor": "gemini-2.5-flash"
31
+ },
32
+ {
33
+ "id": "gemini-2.0-flash-lite-001",
34
+ "name": "gemini-2.0-flash-lite-001",
35
+ "created_by": "google",
36
+ "source": "official",
37
+ "last_updated": "2026-03-21",
38
+ "family": "gemini-2.0",
39
+ "status": "active",
40
+ "deprecation_date": "2026-06-01",
41
+ "capabilities": {
42
+ "streaming": true,
43
+ "vision": true
44
+ },
45
+ "modalities": {
46
+ "input": ["text", "image"],
47
+ "output": ["text"]
48
+ },
49
+ "successor": "gemini-2.5-flash-lite"
50
+ },
51
+ {
52
+ "id": "gemini-2.0-flash-lite-preview-02-05",
53
+ "name": "gemini-2.0-flash-lite-preview-02-05",
54
+ "created_by": "google",
55
+ "source": "official",
56
+ "last_updated": "2026-03-21",
57
+ "family": "gemini-2.0",
58
+ "status": "deprecated",
59
+ "deprecation_date": "2025-12-09",
60
+ "capabilities": {
61
+ "streaming": true,
62
+ "vision": true
63
+ },
64
+ "modalities": {
65
+ "input": ["text", "image"],
66
+ "output": ["text"]
67
+ },
68
+ "successor": "gemini-2.5-flash-lite"
69
+ },
70
+ {
71
+ "id": "gemini-2.0-flash-lite-preview",
72
+ "name": "gemini-2.0-flash-lite-preview",
73
+ "created_by": "google",
74
+ "source": "official",
75
+ "last_updated": "2026-03-21",
76
+ "family": "gemini-2.0",
77
+ "status": "deprecated",
78
+ "deprecation_date": "2025-12-09",
79
+ "capabilities": {
80
+ "streaming": true,
81
+ "vision": true
82
+ },
83
+ "modalities": {
84
+ "input": ["text", "image"],
85
+ "output": ["text"]
86
+ },
87
+ "successor": "gemini-2.5-flash-lite"
88
+ },
89
+ {
90
+ "id": "gemini-2.0-flash-lite",
91
+ "name": "gemini-2.0-flash-lite",
92
+ "created_by": "google",
93
+ "source": "official",
94
+ "last_updated": "2026-03-21",
95
+ "family": "gemini-2.0",
96
+ "status": "active",
97
+ "deprecation_date": "2026-06-01",
98
+ "knowledge_cutoff": "2024-08",
99
+ "context_window": 1048576,
100
+ "max_output_tokens": 8192,
101
+ "capabilities": {
102
+ "streaming": true,
103
+ "tool_call": true,
104
+ "structured_output": true,
105
+ "reasoning": true,
106
+ "batch": true,
107
+ "vision": true
108
+ },
109
+ "modalities": {
110
+ "input": [
111
+ "text",
112
+ "image",
113
+ "video",
114
+ "audio"
115
+ ],
116
+ "output": ["text", "image"]
117
+ },
118
+ "successor": "gemini-2.5-flash-lite",
119
+ "tools": ["function_calling"],
120
+ "endpoints": ["generateContent", "streamGenerateContent"]
121
+ },
122
+ {
123
+ "id": "gemini-2.0-flash-live-001",
124
+ "name": "gemini-2.0-flash-live-001",
125
+ "created_by": "google",
126
+ "source": "official",
127
+ "last_updated": "2026-03-21",
128
+ "family": "gemini-2.0",
129
+ "status": "deprecated",
130
+ "deprecation_date": "2025-12-09",
131
+ "capabilities": {
132
+ "streaming": true,
133
+ "vision": true
134
+ },
135
+ "modalities": {
136
+ "input": ["text", "image"],
137
+ "output": ["text"]
138
+ },
139
+ "successor": "gemini-2.5-flash-native-audio-preview-12-2025"
140
+ },
141
+ {
142
+ "id": "gemini-2.0-flash-preview-image-generation",
143
+ "name": "gemini-2.0-flash-preview-image-generation",
144
+ "created_by": "google",
145
+ "source": "official",
146
+ "last_updated": "2026-03-21",
147
+ "family": "gemini-2.0",
148
+ "status": "deprecated",
149
+ "deprecation_date": "2025-11-14",
150
+ "capabilities": {
151
+ "streaming": true,
152
+ "vision": true
153
+ },
154
+ "modalities": {
155
+ "input": ["text", "image"],
156
+ "output": ["text"]
157
+ },
158
+ "successor": "gemini-2.5-flash-image"
159
+ },
160
+ {
161
+ "id": "gemini-2.0-flash",
162
+ "name": "gemini-2.0-flash",
163
+ "created_by": "google",
164
+ "source": "official",
165
+ "last_updated": "2026-03-21",
166
+ "family": "gemini-2.0",
167
+ "status": "active",
168
+ "deprecation_date": "2026-06-01",
169
+ "knowledge_cutoff": "2024-08",
170
+ "context_window": 1048576,
171
+ "max_output_tokens": 8192,
172
+ "capabilities": {
173
+ "streaming": true,
174
+ "tool_call": true,
175
+ "structured_output": true,
176
+ "reasoning": true,
177
+ "batch": true,
178
+ "vision": true
179
+ },
180
+ "modalities": {
181
+ "input": [
182
+ "text",
183
+ "image",
184
+ "video",
185
+ "audio"
186
+ ],
187
+ "output": ["text", "image"]
188
+ },
189
+ "successor": "gemini-2.5-flash",
190
+ "tools": ["function_calling"],
191
+ "endpoints": ["generateContent", "streamGenerateContent"]
192
+ },
193
+ {
194
+ "id": "gemini-2.5-computer-use-preview-10-2025",
195
+ "name": "gemini-2.5-computer-use-preview-10-2025",
196
+ "created_by": "google",
197
+ "source": "official",
198
+ "last_updated": "2026-03-21",
199
+ "family": "gemini-2.5",
200
+ "status": "active",
201
+ "context_window": 128e3,
202
+ "max_output_tokens": 64e3,
203
+ "capabilities": {
204
+ "streaming": true,
205
+ "tool_call": true,
206
+ "structured_output": true,
207
+ "reasoning": true,
208
+ "batch": true,
209
+ "vision": true
210
+ },
211
+ "modalities": {
212
+ "input": [
213
+ "text",
214
+ "image",
215
+ "video",
216
+ "audio"
217
+ ],
218
+ "output": ["text", "image"]
219
+ },
220
+ "tools": ["function_calling"],
221
+ "endpoints": ["generateContent", "streamGenerateContent"]
222
+ },
223
+ {
224
+ "id": "gemini-2.5-flash-image-preview",
225
+ "name": "gemini-2.5-flash-image-preview",
226
+ "created_by": "google",
227
+ "source": "official",
228
+ "last_updated": "2026-03-21",
229
+ "family": "gemini-2.5",
230
+ "status": "deprecated",
231
+ "deprecation_date": "2026-01-15",
232
+ "capabilities": {
233
+ "streaming": true,
234
+ "vision": true
235
+ },
236
+ "modalities": {
237
+ "input": ["text", "image"],
238
+ "output": ["text"]
239
+ },
240
+ "successor": "gemini-2.5-flash-image"
241
+ },
242
+ {
243
+ "id": "gemini-2.5-flash-image",
244
+ "name": "gemini-2.5-flash-image",
245
+ "created_by": "google",
246
+ "source": "official",
247
+ "last_updated": "2026-03-21",
248
+ "family": "gemini-2.5",
249
+ "status": "active",
250
+ "deprecation_date": "2026-10-02",
251
+ "knowledge_cutoff": "2025-06",
252
+ "context_window": 65536,
253
+ "max_output_tokens": 32768,
254
+ "capabilities": {
255
+ "streaming": true,
256
+ "tool_call": true,
257
+ "structured_output": true,
258
+ "reasoning": true,
259
+ "batch": true,
260
+ "vision": true
261
+ },
262
+ "modalities": {
263
+ "input": [
264
+ "text",
265
+ "image",
266
+ "video",
267
+ "audio"
268
+ ],
269
+ "output": ["text", "image"]
270
+ },
271
+ "successor": "gemini-3.1-flash-image-preview",
272
+ "tools": ["function_calling"],
273
+ "endpoints": ["generateContent", "streamGenerateContent"]
274
+ },
275
+ {
276
+ "id": "gemini-2.5-flash-lite-preview-09-2025",
277
+ "name": "gemini-2.5-flash-lite-preview-09-2025",
278
+ "created_by": "google",
279
+ "source": "official",
280
+ "last_updated": "2026-03-21",
281
+ "family": "gemini-2.5",
282
+ "status": "active",
283
+ "deprecation_date": "2026-03-31",
284
+ "knowledge_cutoff": "2025-01",
285
+ "context_window": 1048576,
286
+ "max_output_tokens": 65536,
287
+ "capabilities": {
288
+ "streaming": true,
289
+ "tool_call": true,
290
+ "structured_output": true,
291
+ "reasoning": true,
292
+ "batch": true,
293
+ "vision": true
294
+ },
295
+ "modalities": {
296
+ "input": [
297
+ "text",
298
+ "image",
299
+ "video",
300
+ "audio"
301
+ ],
302
+ "output": ["text", "image"]
303
+ },
304
+ "successor": "gemini-3.1-flash-lite-preview",
305
+ "tools": ["function_calling"],
306
+ "endpoints": ["generateContent", "streamGenerateContent"]
307
+ },
308
+ {
309
+ "id": "gemini-2.5-flash-lite",
310
+ "name": "gemini-2.5-flash-lite",
311
+ "created_by": "google",
312
+ "source": "official",
313
+ "last_updated": "2026-03-21",
314
+ "family": "gemini-2.5",
315
+ "status": "active",
316
+ "deprecation_date": "2026-07-22",
317
+ "knowledge_cutoff": "2025-01",
318
+ "context_window": 1048576,
319
+ "max_output_tokens": 65536,
320
+ "capabilities": {
321
+ "streaming": true,
322
+ "tool_call": true,
323
+ "structured_output": true,
324
+ "reasoning": true,
325
+ "batch": true,
326
+ "vision": true
327
+ },
328
+ "modalities": {
329
+ "input": [
330
+ "text",
331
+ "image",
332
+ "video",
333
+ "audio"
334
+ ],
335
+ "output": ["text", "image"]
336
+ },
337
+ "successor": "gemini-3.1-flash-lite-preview",
338
+ "tools": ["function_calling"],
339
+ "endpoints": ["generateContent", "streamGenerateContent"]
340
+ },
341
+ {
342
+ "id": "gemini-2.5-flash-native-audio-preview-12-2025",
343
+ "name": "gemini-2.5-flash-native-audio-preview-12-2025",
344
+ "created_by": "google",
345
+ "source": "official",
346
+ "last_updated": "2026-03-21",
347
+ "family": "gemini-2.5",
348
+ "status": "active",
349
+ "knowledge_cutoff": "2025-01",
350
+ "context_window": 131072,
351
+ "max_output_tokens": 8192,
352
+ "capabilities": {
353
+ "streaming": true,
354
+ "tool_call": true,
355
+ "structured_output": true,
356
+ "reasoning": true,
357
+ "batch": true,
358
+ "vision": true
359
+ },
360
+ "modalities": {
361
+ "input": [
362
+ "text",
363
+ "image",
364
+ "video",
365
+ "audio"
366
+ ],
367
+ "output": ["text", "image"]
368
+ },
369
+ "tools": ["function_calling"],
370
+ "endpoints": ["generateContent", "streamGenerateContent"]
371
+ },
372
+ {
373
+ "id": "gemini-2.5-flash-preview-05-20",
374
+ "name": "gemini-2.5-flash-preview-05-20",
375
+ "created_by": "google",
376
+ "source": "official",
377
+ "last_updated": "2026-03-21",
378
+ "family": "gemini-2.5",
379
+ "status": "deprecated",
380
+ "deprecation_date": "2025-11-18",
381
+ "capabilities": {
382
+ "streaming": true,
383
+ "vision": true
384
+ },
385
+ "modalities": {
386
+ "input": ["text", "image"],
387
+ "output": ["text"]
388
+ },
389
+ "successor": "gemini-3-flash-preview"
390
+ },
391
+ {
392
+ "id": "gemini-2.5-flash-preview-09-2025",
393
+ "name": "gemini-2.5-flash-preview-09-2025",
394
+ "created_by": "google",
395
+ "source": "official",
396
+ "last_updated": "2026-03-21",
397
+ "family": "gemini-2.5",
398
+ "status": "active",
399
+ "knowledge_cutoff": "2025-01",
400
+ "context_window": 1048576,
401
+ "max_output_tokens": 65536,
402
+ "capabilities": {
403
+ "streaming": true,
404
+ "tool_call": true,
405
+ "structured_output": true,
406
+ "reasoning": true,
407
+ "batch": true,
408
+ "vision": true
409
+ },
410
+ "modalities": {
411
+ "input": [
412
+ "text",
413
+ "image",
414
+ "video",
415
+ "audio"
416
+ ],
417
+ "output": ["text", "image"]
418
+ },
419
+ "tools": ["function_calling"],
420
+ "endpoints": ["generateContent", "streamGenerateContent"]
421
+ },
422
+ {
423
+ "id": "gemini-2.5-flash-preview-09-25",
424
+ "name": "gemini-2.5-flash-preview-09-25",
425
+ "created_by": "google",
426
+ "source": "official",
427
+ "last_updated": "2026-03-21",
428
+ "family": "gemini-2.5",
429
+ "status": "deprecated",
430
+ "deprecation_date": "2026-02-17",
431
+ "capabilities": {
432
+ "streaming": true,
433
+ "vision": true
434
+ },
435
+ "modalities": {
436
+ "input": ["text", "image"],
437
+ "output": ["text"]
438
+ },
439
+ "successor": "gemini-3-flash-preview"
440
+ },
441
+ {
442
+ "id": "gemini-2.5-flash-preview-tts",
443
+ "name": "gemini-2.5-flash-preview-tts",
444
+ "created_by": "google",
445
+ "source": "official",
446
+ "last_updated": "2026-03-21",
447
+ "family": "gemini-2.5",
448
+ "status": "active",
449
+ "context_window": 8192,
450
+ "max_output_tokens": 16384,
451
+ "capabilities": {
452
+ "streaming": true,
453
+ "tool_call": true,
454
+ "structured_output": true,
455
+ "reasoning": true,
456
+ "batch": true,
457
+ "vision": true
458
+ },
459
+ "modalities": {
460
+ "input": [
461
+ "text",
462
+ "image",
463
+ "video",
464
+ "audio"
465
+ ],
466
+ "output": ["text", "image"]
467
+ },
468
+ "model_type": "tts",
469
+ "tools": ["function_calling"],
470
+ "endpoints": ["generateContent", "streamGenerateContent"]
471
+ },
472
+ {
473
+ "id": "gemini-2.5-flash",
474
+ "name": "gemini-2.5-flash",
475
+ "created_by": "google",
476
+ "source": "official",
477
+ "last_updated": "2026-03-21",
478
+ "family": "gemini-2.5",
479
+ "status": "active",
480
+ "deprecation_date": "2026-06-17",
481
+ "knowledge_cutoff": "2025-01",
482
+ "context_window": 1048576,
483
+ "max_output_tokens": 65536,
484
+ "capabilities": {
485
+ "streaming": true,
486
+ "tool_call": true,
487
+ "structured_output": true,
488
+ "reasoning": true,
489
+ "batch": true,
490
+ "vision": true
491
+ },
492
+ "modalities": {
493
+ "input": [
494
+ "text",
495
+ "image",
496
+ "video",
497
+ "audio"
498
+ ],
499
+ "output": ["text", "image"]
500
+ },
501
+ "successor": "gemini-3-flash-preview",
502
+ "tools": ["function_calling"],
503
+ "endpoints": ["generateContent", "streamGenerateContent"]
504
+ },
505
+ {
506
+ "id": "gemini-2.5-pro-preview-03-25",
507
+ "name": "gemini-2.5-pro-preview-03-25",
508
+ "created_by": "google",
509
+ "source": "official",
510
+ "last_updated": "2026-03-21",
511
+ "family": "gemini-2.5",
512
+ "status": "deprecated",
513
+ "deprecation_date": "2025-12-02",
514
+ "capabilities": {
515
+ "streaming": true,
516
+ "vision": true
517
+ },
518
+ "modalities": {
519
+ "input": ["text", "image"],
520
+ "output": ["text"]
521
+ },
522
+ "successor": "gemini-3.1-pro-preview"
523
+ },
524
+ {
525
+ "id": "gemini-2.5-pro-preview-05-06",
526
+ "name": "gemini-2.5-pro-preview-05-06",
527
+ "created_by": "google",
528
+ "source": "official",
529
+ "last_updated": "2026-03-21",
530
+ "family": "gemini-2.5",
531
+ "status": "deprecated",
532
+ "deprecation_date": "2025-12-02",
533
+ "capabilities": {
534
+ "streaming": true,
535
+ "vision": true
536
+ },
537
+ "modalities": {
538
+ "input": ["text", "image"],
539
+ "output": ["text"]
540
+ },
541
+ "successor": "gemini-3.1-pro-preview"
542
+ },
543
+ {
544
+ "id": "gemini-2.5-pro-preview-06-05",
545
+ "name": "gemini-2.5-pro-preview-06-05",
546
+ "created_by": "google",
547
+ "source": "official",
548
+ "last_updated": "2026-03-21",
549
+ "family": "gemini-2.5",
550
+ "status": "deprecated",
551
+ "deprecation_date": "2025-12-02",
552
+ "capabilities": {
553
+ "streaming": true,
554
+ "vision": true
555
+ },
556
+ "modalities": {
557
+ "input": ["text", "image"],
558
+ "output": ["text"]
559
+ },
560
+ "successor": "gemini-3.1-pro-preview"
561
+ },
562
+ {
563
+ "id": "gemini-2.5-pro-preview-tts",
564
+ "name": "gemini-2.5-pro-preview-tts",
565
+ "created_by": "google",
566
+ "source": "official",
567
+ "last_updated": "2026-03-21",
568
+ "family": "gemini-2.5",
569
+ "status": "active",
570
+ "context_window": 8192,
571
+ "max_output_tokens": 16384,
572
+ "capabilities": {
573
+ "streaming": true,
574
+ "tool_call": true,
575
+ "structured_output": true,
576
+ "reasoning": true,
577
+ "batch": true,
578
+ "vision": true
579
+ },
580
+ "modalities": {
581
+ "input": [
582
+ "text",
583
+ "image",
584
+ "video",
585
+ "audio"
586
+ ],
587
+ "output": ["text", "image"]
588
+ },
589
+ "model_type": "tts",
590
+ "tools": ["function_calling"],
591
+ "endpoints": ["generateContent", "streamGenerateContent"]
592
+ },
593
+ {
594
+ "id": "gemini-2.5-pro",
595
+ "name": "gemini-2.5-pro",
596
+ "created_by": "google",
597
+ "source": "official",
598
+ "last_updated": "2026-03-21",
599
+ "family": "gemini-2.5",
600
+ "status": "active",
601
+ "deprecation_date": "2026-06-17",
602
+ "knowledge_cutoff": "2025-01",
603
+ "context_window": 1048576,
604
+ "max_output_tokens": 65536,
605
+ "capabilities": {
606
+ "streaming": true,
607
+ "tool_call": true,
608
+ "structured_output": true,
609
+ "reasoning": true,
610
+ "batch": true,
611
+ "vision": true
612
+ },
613
+ "modalities": {
614
+ "input": [
615
+ "text",
616
+ "image",
617
+ "video",
618
+ "audio"
619
+ ],
620
+ "output": ["text", "image"]
621
+ },
622
+ "successor": "gemini-3.1-pro-preview",
623
+ "tools": ["function_calling"],
624
+ "endpoints": ["generateContent", "streamGenerateContent"]
625
+ },
626
+ {
627
+ "id": "gemini-3-flash-preview",
628
+ "name": "gemini-3-flash-preview",
629
+ "created_by": "google",
630
+ "source": "official",
631
+ "last_updated": "2026-03-21",
632
+ "family": "gemini-3",
633
+ "status": "deprecated",
634
+ "deprecation_date": "2025-12-17",
635
+ "knowledge_cutoff": "2025-01",
636
+ "context_window": 1048576,
637
+ "max_output_tokens": 65536,
638
+ "capabilities": {
639
+ "streaming": true,
640
+ "tool_call": true,
641
+ "structured_output": true,
642
+ "reasoning": true,
643
+ "batch": true,
644
+ "vision": true
645
+ },
646
+ "modalities": {
647
+ "input": [
648
+ "text",
649
+ "image",
650
+ "video",
651
+ "audio"
652
+ ],
653
+ "output": ["text", "image"]
654
+ },
655
+ "tools": ["function_calling"],
656
+ "endpoints": ["generateContent", "streamGenerateContent"]
657
+ },
658
+ {
659
+ "id": "gemini-3-pro-image-preview",
660
+ "name": "gemini-3-pro-image-preview",
661
+ "created_by": "google",
662
+ "source": "official",
663
+ "last_updated": "2026-03-21",
664
+ "family": "gemini-3",
665
+ "status": "deprecated",
666
+ "deprecation_date": "2025-11-20",
667
+ "knowledge_cutoff": "2025-01",
668
+ "context_window": 65536,
669
+ "max_output_tokens": 32768,
670
+ "capabilities": {
671
+ "streaming": true,
672
+ "tool_call": true,
673
+ "structured_output": true,
674
+ "reasoning": true,
675
+ "batch": true,
676
+ "vision": true
677
+ },
678
+ "modalities": {
679
+ "input": [
680
+ "text",
681
+ "image",
682
+ "video",
683
+ "audio"
684
+ ],
685
+ "output": ["text", "image"]
686
+ },
687
+ "tools": ["function_calling"],
688
+ "endpoints": ["generateContent", "streamGenerateContent"]
689
+ },
690
+ {
691
+ "id": "gemini-3-pro-preview",
692
+ "name": "gemini-3-pro-preview",
693
+ "created_by": "google",
694
+ "source": "official",
695
+ "last_updated": "2026-03-21",
696
+ "family": "gemini-3",
697
+ "status": "deprecated",
698
+ "deprecation_date": "2026-03-09",
699
+ "knowledge_cutoff": "2025-01",
700
+ "context_window": 1048576,
701
+ "max_output_tokens": 65536,
702
+ "capabilities": {
703
+ "streaming": true,
704
+ "tool_call": true,
705
+ "structured_output": true,
706
+ "reasoning": true,
707
+ "batch": true,
708
+ "vision": true
709
+ },
710
+ "modalities": {
711
+ "input": [
712
+ "text",
713
+ "image",
714
+ "video",
715
+ "audio"
716
+ ],
717
+ "output": ["text", "image"]
718
+ },
719
+ "successor": "gemini-3.1-pro-preview",
720
+ "tools": ["function_calling"],
721
+ "endpoints": ["generateContent", "streamGenerateContent"]
722
+ },
723
+ {
724
+ "id": "gemini-3.1-flash-image-preview",
725
+ "name": "gemini-3.1-flash-image-preview",
726
+ "created_by": "google",
727
+ "source": "official",
728
+ "last_updated": "2026-03-21",
729
+ "family": "gemini-3.1",
730
+ "status": "deprecated",
731
+ "deprecation_date": "2026-02-26",
732
+ "knowledge_cutoff": "2025-01",
733
+ "context_window": 131072,
734
+ "max_output_tokens": 32768,
735
+ "capabilities": {
736
+ "streaming": true,
737
+ "tool_call": true,
738
+ "structured_output": true,
739
+ "reasoning": true,
740
+ "batch": true,
741
+ "vision": true
742
+ },
743
+ "modalities": {
744
+ "input": [
745
+ "text",
746
+ "image",
747
+ "video",
748
+ "audio"
749
+ ],
750
+ "output": ["text", "image"]
751
+ },
752
+ "tools": ["function_calling"],
753
+ "endpoints": ["generateContent", "streamGenerateContent"]
754
+ },
755
+ {
756
+ "id": "gemini-3.1-flash-lite-preview",
757
+ "name": "gemini-3.1-flash-lite-preview",
758
+ "created_by": "google",
759
+ "source": "official",
760
+ "last_updated": "2026-03-21",
761
+ "family": "gemini-3.1",
762
+ "status": "deprecated",
763
+ "deprecation_date": "2026-03-03",
764
+ "knowledge_cutoff": "2025-01",
765
+ "context_window": 1048576,
766
+ "max_output_tokens": 65536,
767
+ "capabilities": {
768
+ "streaming": true,
769
+ "tool_call": true,
770
+ "structured_output": true,
771
+ "reasoning": true,
772
+ "batch": true,
773
+ "vision": true
774
+ },
775
+ "modalities": {
776
+ "input": [
777
+ "text",
778
+ "image",
779
+ "video",
780
+ "audio"
781
+ ],
782
+ "output": ["text", "image"]
783
+ },
784
+ "tools": ["function_calling"],
785
+ "endpoints": ["generateContent", "streamGenerateContent"]
786
+ },
787
+ {
788
+ "id": "gemini-3.1-pro-preview",
789
+ "name": "gemini-3.1-pro-preview",
790
+ "created_by": "google",
791
+ "source": "official",
792
+ "last_updated": "2026-03-21",
793
+ "family": "gemini-3.1",
794
+ "status": "deprecated",
795
+ "deprecation_date": "2026-02-19",
796
+ "knowledge_cutoff": "2025-01",
797
+ "context_window": 1048576,
798
+ "max_output_tokens": 65536,
799
+ "capabilities": {
800
+ "streaming": true,
801
+ "tool_call": true,
802
+ "structured_output": true,
803
+ "reasoning": true,
804
+ "batch": true,
805
+ "vision": true
806
+ },
807
+ "modalities": {
808
+ "input": [
809
+ "text",
810
+ "image",
811
+ "video",
812
+ "audio"
813
+ ],
814
+ "output": ["text", "image"]
815
+ },
816
+ "tools": ["function_calling"],
817
+ "endpoints": ["generateContent", "streamGenerateContent"]
818
+ },
819
+ {
820
+ "id": "gemini-embedding-001",
821
+ "name": "gemini-embedding-001",
822
+ "created_by": "google",
823
+ "source": "official",
824
+ "last_updated": "2026-03-21",
825
+ "status": "active",
826
+ "deprecation_date": "2026-07-14",
827
+ "context_window": 2048,
828
+ "capabilities": {
829
+ "streaming": true,
830
+ "tool_call": true,
831
+ "structured_output": true,
832
+ "reasoning": true,
833
+ "batch": true,
834
+ "vision": true
835
+ },
836
+ "modalities": {
837
+ "input": [
838
+ "text",
839
+ "image",
840
+ "video",
841
+ "audio"
842
+ ],
843
+ "output": ["text", "image"]
844
+ },
845
+ "model_type": "embed",
846
+ "tools": ["function_calling"],
847
+ "endpoints": ["generateContent", "streamGenerateContent"]
848
+ },
849
+ {
850
+ "id": "gemini-embedding-2-preview",
851
+ "name": "gemini-embedding-2-preview",
852
+ "created_by": "google",
853
+ "source": "official",
854
+ "last_updated": "2026-03-21",
855
+ "status": "active",
856
+ "context_window": 8192,
857
+ "capabilities": {
858
+ "streaming": true,
859
+ "tool_call": true,
860
+ "structured_output": true,
861
+ "reasoning": true,
862
+ "batch": true,
863
+ "vision": true
864
+ },
865
+ "modalities": {
866
+ "input": [
867
+ "text",
868
+ "image",
869
+ "video",
870
+ "audio"
871
+ ],
872
+ "output": ["text", "image"]
873
+ },
874
+ "model_type": "embed",
875
+ "tools": ["function_calling"],
876
+ "endpoints": ["generateContent", "streamGenerateContent"]
877
+ },
878
+ {
879
+ "id": "gemini-embedding-exp-03-07",
880
+ "name": "gemini-embedding-exp-03-07",
881
+ "created_by": "google",
882
+ "source": "official",
883
+ "last_updated": "2026-03-21",
884
+ "status": "deprecated",
885
+ "deprecation_date": "2025-10-30",
886
+ "capabilities": {
887
+ "streaming": true,
888
+ "vision": true
889
+ },
890
+ "modalities": {
891
+ "input": ["text", "image"],
892
+ "output": ["text"]
893
+ },
894
+ "successor": "gemini-embedding-001",
895
+ "model_type": "embed"
896
+ },
897
+ {
898
+ "id": "gemini-embedding-exp",
899
+ "name": "gemini-embedding-exp",
900
+ "created_by": "google",
901
+ "source": "official",
902
+ "last_updated": "2026-03-21",
903
+ "status": "deprecated",
904
+ "deprecation_date": "2025-10-30",
905
+ "capabilities": {
906
+ "streaming": true,
907
+ "vision": true
908
+ },
909
+ "modalities": {
910
+ "input": ["text", "image"],
911
+ "output": ["text"]
912
+ },
913
+ "successor": "gemini-embedding-001",
914
+ "model_type": "embed"
915
+ },
916
+ {
917
+ "id": "gemini-live-2.5-flash-preview",
918
+ "name": "gemini-live-2.5-flash-preview",
919
+ "created_by": "google",
920
+ "source": "official",
921
+ "last_updated": "2026-03-21",
922
+ "status": "deprecated",
923
+ "deprecation_date": "2025-12-09",
924
+ "capabilities": {
925
+ "streaming": true,
926
+ "vision": true
927
+ },
928
+ "modalities": {
929
+ "input": ["text", "image"],
930
+ "output": ["text"]
931
+ },
932
+ "successor": "gemini-2.5-flash-native-audio-preview-12-2025"
933
+ },
934
+ {
935
+ "id": "gemini-robotics-er-1.5-preview",
936
+ "name": "gemini-robotics-er-1.5-preview",
937
+ "created_by": "google",
938
+ "source": "official",
939
+ "last_updated": "2026-03-21",
940
+ "status": "active",
941
+ "knowledge_cutoff": "2025-01",
942
+ "context_window": 1048576,
943
+ "max_output_tokens": 65536,
944
+ "capabilities": {
945
+ "streaming": true,
946
+ "tool_call": true,
947
+ "structured_output": true,
948
+ "reasoning": true,
949
+ "batch": true,
950
+ "vision": true
951
+ },
952
+ "modalities": {
953
+ "input": [
954
+ "text",
955
+ "image",
956
+ "video",
957
+ "audio"
958
+ ],
959
+ "output": ["text", "image"]
960
+ },
961
+ "tools": ["function_calling"],
962
+ "endpoints": ["generateContent", "streamGenerateContent"]
963
+ }
964
+ ]
965
+ };
966
+ const models = provider.models.map((m) => ({
967
+ ...m,
968
+ provider: provider.id
969
+ }));
970
+ //#endregion
971
+ exports.models = models;
972
+ exports.provider = provider;