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