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