@funkai/models 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/.generated/entries.json +23 -0
  2. package/.generated/req.txt +1 -0
  3. package/.turbo/turbo-build.log +145 -0
  4. package/.turbo/turbo-typecheck.log +4 -0
  5. package/CHANGELOG.md +23 -0
  6. package/README.md +95 -0
  7. package/dist/alibaba-B6q4Ng1R.mjs +957 -0
  8. package/dist/alibaba-B6q4Ng1R.mjs.map +1 -0
  9. package/dist/amazon-bedrock-Cv9AHQBH.mjs +2070 -0
  10. package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -0
  11. package/dist/anthropic-yB7ST97_.mjs +651 -0
  12. package/dist/anthropic-yB7ST97_.mjs.map +1 -0
  13. package/dist/cerebras-COfl7XM-.mjs +95 -0
  14. package/dist/cerebras-COfl7XM-.mjs.map +1 -0
  15. package/dist/cohere-B7TgO0hT.mjs +271 -0
  16. package/dist/cohere-B7TgO0hT.mjs.map +1 -0
  17. package/dist/deepinfra-B0GxUwCG.mjs +636 -0
  18. package/dist/deepinfra-B0GxUwCG.mjs.map +1 -0
  19. package/dist/deepseek-D64ZEsvS.mjs +50 -0
  20. package/dist/deepseek-D64ZEsvS.mjs.map +1 -0
  21. package/dist/fireworks-ai-DJYvdAi_.mjs +304 -0
  22. package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -0
  23. package/dist/google-BypRl349.mjs +833 -0
  24. package/dist/google-BypRl349.mjs.map +1 -0
  25. package/dist/google-vertex-DbS-zTGD.mjs +730 -0
  26. package/dist/google-vertex-DbS-zTGD.mjs.map +1 -0
  27. package/dist/groq-ei_PerYi.mjs +381 -0
  28. package/dist/groq-ei_PerYi.mjs.map +1 -0
  29. package/dist/huggingface-DaM1EeLP.mjs +456 -0
  30. package/dist/huggingface-DaM1EeLP.mjs.map +1 -0
  31. package/dist/inception-CspEzqNV.mjs +101 -0
  32. package/dist/inception-CspEzqNV.mjs.map +1 -0
  33. package/dist/index.d.mts +30314 -0
  34. package/dist/index.d.mts.map +1 -0
  35. package/dist/index.mjs +271 -0
  36. package/dist/index.mjs.map +1 -0
  37. package/dist/llama-Cf3-koap.mjs +161 -0
  38. package/dist/llama-Cf3-koap.mjs.map +1 -0
  39. package/dist/mistral-BI9MdAO4.mjs +579 -0
  40. package/dist/mistral-BI9MdAO4.mjs.map +1 -0
  41. package/dist/nvidia-COHacuoa.mjs +1625 -0
  42. package/dist/nvidia-COHacuoa.mjs.map +1 -0
  43. package/dist/openai-C0nCfZUq.mjs +1023 -0
  44. package/dist/openai-C0nCfZUq.mjs.map +1 -0
  45. package/dist/openrouter-DSFzxKQb.mjs +4608 -0
  46. package/dist/openrouter-DSFzxKQb.mjs.map +1 -0
  47. package/dist/perplexity-zeZ2WlBU.mjs +96 -0
  48. package/dist/perplexity-zeZ2WlBU.mjs.map +1 -0
  49. package/dist/providers/alibaba.d.mts +1795 -0
  50. package/dist/providers/alibaba.d.mts.map +1 -0
  51. package/dist/providers/alibaba.mjs +39 -0
  52. package/dist/providers/alibaba.mjs.map +1 -0
  53. package/dist/providers/amazon-bedrock.d.mts +3713 -0
  54. package/dist/providers/amazon-bedrock.d.mts.map +1 -0
  55. package/dist/providers/amazon-bedrock.mjs +39 -0
  56. package/dist/providers/amazon-bedrock.mjs.map +1 -0
  57. package/dist/providers/anthropic.d.mts +1109 -0
  58. package/dist/providers/anthropic.d.mts.map +1 -0
  59. package/dist/providers/anthropic.mjs +39 -0
  60. package/dist/providers/anthropic.mjs.map +1 -0
  61. package/dist/providers/cerebras.d.mts +219 -0
  62. package/dist/providers/cerebras.d.mts.map +1 -0
  63. package/dist/providers/cerebras.mjs +39 -0
  64. package/dist/providers/cerebras.mjs.map +1 -0
  65. package/dist/providers/cohere.d.mts +555 -0
  66. package/dist/providers/cohere.d.mts.map +1 -0
  67. package/dist/providers/cohere.mjs +39 -0
  68. package/dist/providers/cohere.mjs.map +1 -0
  69. package/dist/providers/deepinfra.d.mts +1245 -0
  70. package/dist/providers/deepinfra.d.mts.map +1 -0
  71. package/dist/providers/deepinfra.mjs +39 -0
  72. package/dist/providers/deepinfra.mjs.map +1 -0
  73. package/dist/providers/deepseek.d.mts +139 -0
  74. package/dist/providers/deepseek.d.mts.map +1 -0
  75. package/dist/providers/deepseek.mjs +39 -0
  76. package/dist/providers/deepseek.mjs.map +1 -0
  77. package/dist/providers/fireworks-ai.d.mts +611 -0
  78. package/dist/providers/fireworks-ai.d.mts.map +1 -0
  79. package/dist/providers/fireworks-ai.mjs +39 -0
  80. package/dist/providers/fireworks-ai.mjs.map +1 -0
  81. package/dist/providers/google-vertex.d.mts +1227 -0
  82. package/dist/providers/google-vertex.d.mts.map +1 -0
  83. package/dist/providers/google-vertex.mjs +39 -0
  84. package/dist/providers/google-vertex.mjs.map +1 -0
  85. package/dist/providers/google.d.mts +1359 -0
  86. package/dist/providers/google.d.mts.map +1 -0
  87. package/dist/providers/google.mjs +39 -0
  88. package/dist/providers/google.mjs.map +1 -0
  89. package/dist/providers/groq.d.mts +765 -0
  90. package/dist/providers/groq.d.mts.map +1 -0
  91. package/dist/providers/groq.mjs +39 -0
  92. package/dist/providers/groq.mjs.map +1 -0
  93. package/dist/providers/huggingface.d.mts +901 -0
  94. package/dist/providers/huggingface.d.mts.map +1 -0
  95. package/dist/providers/huggingface.mjs +39 -0
  96. package/dist/providers/huggingface.mjs.map +1 -0
  97. package/dist/providers/inception.d.mts +231 -0
  98. package/dist/providers/inception.d.mts.map +1 -0
  99. package/dist/providers/inception.mjs +39 -0
  100. package/dist/providers/inception.mjs.map +1 -0
  101. package/dist/providers/llama.d.mts +345 -0
  102. package/dist/providers/llama.d.mts.map +1 -0
  103. package/dist/providers/llama.mjs +39 -0
  104. package/dist/providers/llama.mjs.map +1 -0
  105. package/dist/providers/mistral.d.mts +1143 -0
  106. package/dist/providers/mistral.d.mts.map +1 -0
  107. package/dist/providers/mistral.mjs +39 -0
  108. package/dist/providers/mistral.mjs.map +1 -0
  109. package/dist/providers/nvidia.d.mts +3117 -0
  110. package/dist/providers/nvidia.d.mts.map +1 -0
  111. package/dist/providers/nvidia.mjs +39 -0
  112. package/dist/providers/nvidia.mjs.map +1 -0
  113. package/dist/providers/openai.d.mts +1963 -0
  114. package/dist/providers/openai.d.mts.map +1 -0
  115. package/dist/providers/openai.mjs +39 -0
  116. package/dist/providers/openai.mjs.map +1 -0
  117. package/dist/providers/openrouter.d.mts +8531 -0
  118. package/dist/providers/openrouter.d.mts.map +1 -0
  119. package/dist/providers/openrouter.mjs +39 -0
  120. package/dist/providers/openrouter.mjs.map +1 -0
  121. package/dist/providers/perplexity.d.mts +221 -0
  122. package/dist/providers/perplexity.d.mts.map +1 -0
  123. package/dist/providers/perplexity.mjs +39 -0
  124. package/dist/providers/perplexity.mjs.map +1 -0
  125. package/dist/providers/togetherai.d.mts +767 -0
  126. package/dist/providers/togetherai.d.mts.map +1 -0
  127. package/dist/providers/togetherai.mjs +39 -0
  128. package/dist/providers/togetherai.mjs.map +1 -0
  129. package/dist/providers/xai.d.mts +1161 -0
  130. package/dist/providers/xai.d.mts.map +1 -0
  131. package/dist/providers/xai.mjs +39 -0
  132. package/dist/providers/xai.mjs.map +1 -0
  133. package/dist/togetherai-BvcxUfPE.mjs +382 -0
  134. package/dist/togetherai-BvcxUfPE.mjs.map +1 -0
  135. package/dist/types-DjdaZckF.d.mts +71 -0
  136. package/dist/types-DjdaZckF.d.mts.map +1 -0
  137. package/dist/xai-fSuAkQJo.mjs +587 -0
  138. package/dist/xai-fSuAkQJo.mjs.map +1 -0
  139. package/docs/catalog/filtering.md +102 -0
  140. package/docs/catalog/overview.md +168 -0
  141. package/docs/catalog/providers.md +73 -0
  142. package/docs/cost/overview.md +125 -0
  143. package/docs/guides/filter-models.md +113 -0
  144. package/docs/guides/setup-resolver.md +106 -0
  145. package/docs/guides/track-costs.md +133 -0
  146. package/docs/overview.md +139 -0
  147. package/docs/provider/configuration.md +100 -0
  148. package/docs/provider/openrouter.md +105 -0
  149. package/docs/provider/overview.md +131 -0
  150. package/docs/troubleshooting.md +100 -0
  151. package/package.json +142 -0
  152. package/providers.json +39 -0
  153. package/scripts/generate-models.ts +392 -0
  154. package/src/catalog/index.test.ts +124 -0
  155. package/src/catalog/index.ts +65 -0
  156. package/src/catalog/providers/alibaba.ts +468 -0
  157. package/src/catalog/providers/amazon-bedrock.ts +941 -0
  158. package/src/catalog/providers/anthropic.ts +270 -0
  159. package/src/catalog/providers/cerebras.ts +61 -0
  160. package/src/catalog/providers/cohere.ts +149 -0
  161. package/src/catalog/providers/deepinfra.ts +325 -0
  162. package/src/catalog/providers/deepseek.ts +39 -0
  163. package/src/catalog/providers/fireworks-ai.ts +160 -0
  164. package/src/catalog/providers/google-vertex.ts +314 -0
  165. package/src/catalog/providers/google.ts +347 -0
  166. package/src/catalog/providers/groq.ts +204 -0
  167. package/src/catalog/providers/huggingface.ts +237 -0
  168. package/src/catalog/providers/inception.ts +61 -0
  169. package/src/catalog/providers/index.ts +59 -0
  170. package/src/catalog/providers/llama.ts +94 -0
  171. package/src/catalog/providers/mistral.ts +303 -0
  172. package/src/catalog/providers/nvidia.ts +820 -0
  173. package/src/catalog/providers/openai.ts +501 -0
  174. package/src/catalog/providers/openrouter.ts +2201 -0
  175. package/src/catalog/providers/perplexity.ts +61 -0
  176. package/src/catalog/providers/togetherai.ts +204 -0
  177. package/src/catalog/providers/xai.ts +292 -0
  178. package/src/catalog/types.ts +86 -0
  179. package/src/cost/calculate.test.ts +157 -0
  180. package/src/cost/calculate.ts +43 -0
  181. package/src/cost/index.ts +2 -0
  182. package/src/cost/types.ts +25 -0
  183. package/src/index.ts +25 -0
  184. package/src/provider/index.ts +9 -0
  185. package/src/provider/openrouter.test.ts +125 -0
  186. package/src/provider/openrouter.ts +110 -0
  187. package/src/provider/resolver.test.ts +138 -0
  188. package/src/provider/resolver.ts +125 -0
  189. package/src/provider/types.ts +39 -0
  190. package/src/providers/alibaba.ts +65 -0
  191. package/src/providers/amazon-bedrock.ts +67 -0
  192. package/src/providers/anthropic.ts +65 -0
  193. package/src/providers/cerebras.ts +65 -0
  194. package/src/providers/cohere.ts +65 -0
  195. package/src/providers/deepinfra.ts +65 -0
  196. package/src/providers/deepseek.ts +65 -0
  197. package/src/providers/fireworks-ai.ts +65 -0
  198. package/src/providers/google-vertex.ts +67 -0
  199. package/src/providers/google.ts +65 -0
  200. package/src/providers/groq.ts +65 -0
  201. package/src/providers/huggingface.ts +67 -0
  202. package/src/providers/inception.ts +65 -0
  203. package/src/providers/llama.ts +65 -0
  204. package/src/providers/mistral.ts +65 -0
  205. package/src/providers/nvidia.ts +65 -0
  206. package/src/providers/openai.ts +65 -0
  207. package/src/providers/openrouter.ts +67 -0
  208. package/src/providers/perplexity.ts +67 -0
  209. package/src/providers/togetherai.ts +65 -0
  210. package/src/providers/xai.ts +65 -0
  211. package/tsconfig.json +25 -0
  212. package/tsdown.config.ts +23 -0
  213. package/vitest.config.ts +29 -0
@@ -0,0 +1,833 @@
1
+ //#region src/catalog/providers/google.ts
2
+ const GOOGLE_MODELS = [
3
+ {
4
+ id: "gemini-embedding-001",
5
+ name: "Gemini Embedding 001",
6
+ provider: "google",
7
+ family: "gemini",
8
+ pricing: {
9
+ input: 15e-8,
10
+ output: 0
11
+ },
12
+ contextWindow: 2048,
13
+ maxOutput: 3072,
14
+ modalities: {
15
+ input: ["text"],
16
+ output: ["text"]
17
+ },
18
+ capabilities: {
19
+ reasoning: false,
20
+ toolCall: false,
21
+ attachment: false,
22
+ structuredOutput: false
23
+ }
24
+ },
25
+ {
26
+ id: "gemini-2.5-flash-lite-preview-09-2025",
27
+ name: "Gemini 2.5 Flash Lite Preview 09-25",
28
+ provider: "google",
29
+ family: "gemini-flash-lite",
30
+ pricing: {
31
+ input: 1e-7,
32
+ output: 4e-7,
33
+ cacheRead: 25e-9
34
+ },
35
+ contextWindow: 1048576,
36
+ maxOutput: 65536,
37
+ modalities: {
38
+ input: [
39
+ "text",
40
+ "image",
41
+ "audio",
42
+ "video",
43
+ "pdf"
44
+ ],
45
+ output: ["text"]
46
+ },
47
+ capabilities: {
48
+ reasoning: true,
49
+ toolCall: true,
50
+ attachment: true,
51
+ structuredOutput: true
52
+ }
53
+ },
54
+ {
55
+ id: "gemini-3.1-pro-preview-customtools",
56
+ name: "Gemini 3.1 Pro Preview Custom Tools",
57
+ provider: "google",
58
+ family: "gemini-pro",
59
+ pricing: {
60
+ input: 2e-6,
61
+ output: 12e-6,
62
+ cacheRead: 2e-7
63
+ },
64
+ contextWindow: 1048576,
65
+ maxOutput: 65536,
66
+ modalities: {
67
+ input: [
68
+ "text",
69
+ "image",
70
+ "video",
71
+ "audio",
72
+ "pdf"
73
+ ],
74
+ output: ["text"]
75
+ },
76
+ capabilities: {
77
+ reasoning: true,
78
+ toolCall: true,
79
+ attachment: true,
80
+ structuredOutput: true
81
+ }
82
+ },
83
+ {
84
+ id: "gemini-2.5-pro-preview-06-05",
85
+ name: "Gemini 2.5 Pro Preview 06-05",
86
+ provider: "google",
87
+ family: "gemini-pro",
88
+ pricing: {
89
+ input: 125e-8,
90
+ output: 1e-5,
91
+ cacheRead: 31e-8
92
+ },
93
+ contextWindow: 1048576,
94
+ maxOutput: 65536,
95
+ modalities: {
96
+ input: [
97
+ "text",
98
+ "image",
99
+ "audio",
100
+ "video",
101
+ "pdf"
102
+ ],
103
+ output: ["text"]
104
+ },
105
+ capabilities: {
106
+ reasoning: true,
107
+ toolCall: true,
108
+ attachment: true,
109
+ structuredOutput: true
110
+ }
111
+ },
112
+ {
113
+ id: "gemini-2.5-flash-preview-04-17",
114
+ name: "Gemini 2.5 Flash Preview 04-17",
115
+ provider: "google",
116
+ family: "gemini-flash",
117
+ pricing: {
118
+ input: 15e-8,
119
+ output: 6e-7,
120
+ cacheRead: 3.75e-8
121
+ },
122
+ contextWindow: 1048576,
123
+ maxOutput: 65536,
124
+ modalities: {
125
+ input: [
126
+ "text",
127
+ "image",
128
+ "audio",
129
+ "video",
130
+ "pdf"
131
+ ],
132
+ output: ["text"]
133
+ },
134
+ capabilities: {
135
+ reasoning: true,
136
+ toolCall: true,
137
+ attachment: true,
138
+ structuredOutput: false
139
+ }
140
+ },
141
+ {
142
+ id: "gemini-2.5-flash-preview-09-2025",
143
+ name: "Gemini 2.5 Flash Preview 09-25",
144
+ provider: "google",
145
+ family: "gemini-flash",
146
+ pricing: {
147
+ input: 3e-7,
148
+ output: 25e-7,
149
+ cacheRead: 75e-9
150
+ },
151
+ contextWindow: 1048576,
152
+ maxOutput: 65536,
153
+ modalities: {
154
+ input: [
155
+ "text",
156
+ "image",
157
+ "audio",
158
+ "video",
159
+ "pdf"
160
+ ],
161
+ output: ["text"]
162
+ },
163
+ capabilities: {
164
+ reasoning: true,
165
+ toolCall: true,
166
+ attachment: true,
167
+ structuredOutput: true
168
+ }
169
+ },
170
+ {
171
+ id: "gemini-2.5-pro-preview-05-06",
172
+ name: "Gemini 2.5 Pro Preview 05-06",
173
+ provider: "google",
174
+ family: "gemini-pro",
175
+ pricing: {
176
+ input: 125e-8,
177
+ output: 1e-5,
178
+ cacheRead: 31e-8
179
+ },
180
+ contextWindow: 1048576,
181
+ maxOutput: 65536,
182
+ modalities: {
183
+ input: [
184
+ "text",
185
+ "image",
186
+ "audio",
187
+ "video",
188
+ "pdf"
189
+ ],
190
+ output: ["text"]
191
+ },
192
+ capabilities: {
193
+ reasoning: true,
194
+ toolCall: true,
195
+ attachment: true,
196
+ structuredOutput: true
197
+ }
198
+ },
199
+ {
200
+ id: "gemini-2.5-flash-preview-05-20",
201
+ name: "Gemini 2.5 Flash Preview 05-20",
202
+ provider: "google",
203
+ family: "gemini-flash",
204
+ pricing: {
205
+ input: 15e-8,
206
+ output: 6e-7,
207
+ cacheRead: 3.75e-8
208
+ },
209
+ contextWindow: 1048576,
210
+ maxOutput: 65536,
211
+ modalities: {
212
+ input: [
213
+ "text",
214
+ "image",
215
+ "audio",
216
+ "video",
217
+ "pdf"
218
+ ],
219
+ output: ["text"]
220
+ },
221
+ capabilities: {
222
+ reasoning: true,
223
+ toolCall: true,
224
+ attachment: true,
225
+ structuredOutput: true
226
+ }
227
+ },
228
+ {
229
+ id: "gemini-2.5-flash",
230
+ name: "Gemini 2.5 Flash",
231
+ provider: "google",
232
+ family: "gemini-flash",
233
+ pricing: {
234
+ input: 3e-7,
235
+ output: 25e-7,
236
+ cacheRead: 75e-9
237
+ },
238
+ contextWindow: 1048576,
239
+ maxOutput: 65536,
240
+ modalities: {
241
+ input: [
242
+ "text",
243
+ "image",
244
+ "audio",
245
+ "video",
246
+ "pdf"
247
+ ],
248
+ output: ["text"]
249
+ },
250
+ capabilities: {
251
+ reasoning: true,
252
+ toolCall: true,
253
+ attachment: true,
254
+ structuredOutput: true
255
+ }
256
+ },
257
+ {
258
+ id: "gemini-3.1-flash-image-preview",
259
+ name: "Gemini 3.1 Flash Image (Preview)",
260
+ provider: "google",
261
+ family: "gemini-flash",
262
+ pricing: {
263
+ input: 25e-8,
264
+ output: 6e-5
265
+ },
266
+ contextWindow: 131072,
267
+ maxOutput: 32768,
268
+ modalities: {
269
+ input: [
270
+ "text",
271
+ "image",
272
+ "pdf"
273
+ ],
274
+ output: ["text", "image"]
275
+ },
276
+ capabilities: {
277
+ reasoning: true,
278
+ toolCall: false,
279
+ attachment: true,
280
+ structuredOutput: false
281
+ }
282
+ },
283
+ {
284
+ id: "gemini-3.1-flash-lite-preview",
285
+ name: "Gemini 3.1 Flash Lite Preview",
286
+ provider: "google",
287
+ family: "gemini-flash-lite",
288
+ pricing: {
289
+ input: 25e-8,
290
+ output: 15e-7,
291
+ cacheRead: 25e-9,
292
+ cacheWrite: 1e-6
293
+ },
294
+ contextWindow: 1048576,
295
+ maxOutput: 65536,
296
+ modalities: {
297
+ input: [
298
+ "text",
299
+ "image",
300
+ "video",
301
+ "audio",
302
+ "pdf"
303
+ ],
304
+ output: ["text"]
305
+ },
306
+ capabilities: {
307
+ reasoning: true,
308
+ toolCall: true,
309
+ attachment: true,
310
+ structuredOutput: true
311
+ }
312
+ },
313
+ {
314
+ id: "gemini-live-2.5-flash",
315
+ name: "Gemini Live 2.5 Flash",
316
+ provider: "google",
317
+ family: "gemini-flash",
318
+ pricing: {
319
+ input: 5e-7,
320
+ output: 2e-6
321
+ },
322
+ contextWindow: 128e3,
323
+ maxOutput: 8e3,
324
+ modalities: {
325
+ input: [
326
+ "text",
327
+ "image",
328
+ "audio",
329
+ "video"
330
+ ],
331
+ output: ["text", "audio"]
332
+ },
333
+ capabilities: {
334
+ reasoning: true,
335
+ toolCall: true,
336
+ attachment: true,
337
+ structuredOutput: false
338
+ }
339
+ },
340
+ {
341
+ id: "gemini-3-flash-preview",
342
+ name: "Gemini 3 Flash Preview",
343
+ provider: "google",
344
+ family: "gemini-flash",
345
+ pricing: {
346
+ input: 5e-7,
347
+ output: 3e-6,
348
+ cacheRead: 5e-8
349
+ },
350
+ contextWindow: 1048576,
351
+ maxOutput: 65536,
352
+ modalities: {
353
+ input: [
354
+ "text",
355
+ "image",
356
+ "video",
357
+ "audio",
358
+ "pdf"
359
+ ],
360
+ output: ["text"]
361
+ },
362
+ capabilities: {
363
+ reasoning: true,
364
+ toolCall: true,
365
+ attachment: true,
366
+ structuredOutput: true
367
+ }
368
+ },
369
+ {
370
+ id: "gemini-live-2.5-flash-preview-native-audio",
371
+ name: "Gemini Live 2.5 Flash Preview Native Audio",
372
+ provider: "google",
373
+ family: "gemini-flash",
374
+ pricing: {
375
+ input: 5e-7,
376
+ output: 2e-6
377
+ },
378
+ contextWindow: 131072,
379
+ maxOutput: 65536,
380
+ modalities: {
381
+ input: [
382
+ "text",
383
+ "audio",
384
+ "video"
385
+ ],
386
+ output: ["text", "audio"]
387
+ },
388
+ capabilities: {
389
+ reasoning: true,
390
+ toolCall: true,
391
+ attachment: false,
392
+ structuredOutput: false
393
+ }
394
+ },
395
+ {
396
+ id: "gemini-2.5-flash-lite",
397
+ name: "Gemini 2.5 Flash Lite",
398
+ provider: "google",
399
+ family: "gemini-flash-lite",
400
+ pricing: {
401
+ input: 1e-7,
402
+ output: 4e-7,
403
+ cacheRead: 25e-9
404
+ },
405
+ contextWindow: 1048576,
406
+ maxOutput: 65536,
407
+ modalities: {
408
+ input: [
409
+ "text",
410
+ "image",
411
+ "audio",
412
+ "video",
413
+ "pdf"
414
+ ],
415
+ output: ["text"]
416
+ },
417
+ capabilities: {
418
+ reasoning: true,
419
+ toolCall: true,
420
+ attachment: true,
421
+ structuredOutput: true
422
+ }
423
+ },
424
+ {
425
+ id: "gemini-2.5-flash-preview-tts",
426
+ name: "Gemini 2.5 Flash Preview TTS",
427
+ provider: "google",
428
+ family: "gemini-flash",
429
+ pricing: {
430
+ input: 5e-7,
431
+ output: 1e-5
432
+ },
433
+ contextWindow: 8e3,
434
+ maxOutput: 16e3,
435
+ modalities: {
436
+ input: ["text"],
437
+ output: ["audio"]
438
+ },
439
+ capabilities: {
440
+ reasoning: false,
441
+ toolCall: false,
442
+ attachment: false,
443
+ structuredOutput: false
444
+ }
445
+ },
446
+ {
447
+ id: "gemini-3.1-pro-preview",
448
+ name: "Gemini 3.1 Pro Preview",
449
+ provider: "google",
450
+ family: "gemini-pro",
451
+ pricing: {
452
+ input: 2e-6,
453
+ output: 12e-6,
454
+ cacheRead: 2e-7
455
+ },
456
+ contextWindow: 1048576,
457
+ maxOutput: 65536,
458
+ modalities: {
459
+ input: [
460
+ "text",
461
+ "image",
462
+ "video",
463
+ "audio",
464
+ "pdf"
465
+ ],
466
+ output: ["text"]
467
+ },
468
+ capabilities: {
469
+ reasoning: true,
470
+ toolCall: true,
471
+ attachment: true,
472
+ structuredOutput: true
473
+ }
474
+ },
475
+ {
476
+ id: "gemini-flash-latest",
477
+ name: "Gemini Flash Latest",
478
+ provider: "google",
479
+ family: "gemini-flash",
480
+ pricing: {
481
+ input: 3e-7,
482
+ output: 25e-7,
483
+ cacheRead: 75e-9
484
+ },
485
+ contextWindow: 1048576,
486
+ maxOutput: 65536,
487
+ modalities: {
488
+ input: [
489
+ "text",
490
+ "image",
491
+ "audio",
492
+ "video",
493
+ "pdf"
494
+ ],
495
+ output: ["text"]
496
+ },
497
+ capabilities: {
498
+ reasoning: true,
499
+ toolCall: true,
500
+ attachment: true,
501
+ structuredOutput: true
502
+ }
503
+ },
504
+ {
505
+ id: "gemini-2.5-flash-lite-preview-06-17",
506
+ name: "Gemini 2.5 Flash Lite Preview 06-17",
507
+ provider: "google",
508
+ family: "gemini-flash-lite",
509
+ pricing: {
510
+ input: 1e-7,
511
+ output: 4e-7,
512
+ cacheRead: 25e-9
513
+ },
514
+ contextWindow: 1048576,
515
+ maxOutput: 65536,
516
+ modalities: {
517
+ input: [
518
+ "text",
519
+ "image",
520
+ "audio",
521
+ "video",
522
+ "pdf"
523
+ ],
524
+ output: ["text"]
525
+ },
526
+ capabilities: {
527
+ reasoning: true,
528
+ toolCall: true,
529
+ attachment: true,
530
+ structuredOutput: false
531
+ }
532
+ },
533
+ {
534
+ id: "gemini-2.5-flash-image",
535
+ name: "Gemini 2.5 Flash Image",
536
+ provider: "google",
537
+ family: "gemini-flash",
538
+ pricing: {
539
+ input: 3e-7,
540
+ output: 3e-5,
541
+ cacheRead: 75e-9
542
+ },
543
+ contextWindow: 32768,
544
+ maxOutput: 32768,
545
+ modalities: {
546
+ input: ["text", "image"],
547
+ output: ["text", "image"]
548
+ },
549
+ capabilities: {
550
+ reasoning: true,
551
+ toolCall: false,
552
+ attachment: true,
553
+ structuredOutput: false
554
+ }
555
+ },
556
+ {
557
+ id: "gemini-2.5-pro-preview-tts",
558
+ name: "Gemini 2.5 Pro Preview TTS",
559
+ provider: "google",
560
+ family: "gemini-flash",
561
+ pricing: {
562
+ input: 1e-6,
563
+ output: 2e-5
564
+ },
565
+ contextWindow: 8e3,
566
+ maxOutput: 16e3,
567
+ modalities: {
568
+ input: ["text"],
569
+ output: ["audio"]
570
+ },
571
+ capabilities: {
572
+ reasoning: false,
573
+ toolCall: false,
574
+ attachment: false,
575
+ structuredOutput: false
576
+ }
577
+ },
578
+ {
579
+ id: "gemini-2.5-flash-image-preview",
580
+ name: "Gemini 2.5 Flash Image (Preview)",
581
+ provider: "google",
582
+ family: "gemini-flash",
583
+ pricing: {
584
+ input: 3e-7,
585
+ output: 3e-5,
586
+ cacheRead: 75e-9
587
+ },
588
+ contextWindow: 32768,
589
+ maxOutput: 32768,
590
+ modalities: {
591
+ input: ["text", "image"],
592
+ output: ["text", "image"]
593
+ },
594
+ capabilities: {
595
+ reasoning: true,
596
+ toolCall: false,
597
+ attachment: true,
598
+ structuredOutput: false
599
+ }
600
+ },
601
+ {
602
+ id: "gemini-1.5-flash-8b",
603
+ name: "Gemini 1.5 Flash-8B",
604
+ provider: "google",
605
+ family: "gemini-flash",
606
+ pricing: {
607
+ input: 3.75e-8,
608
+ output: 15e-8,
609
+ cacheRead: 1e-8
610
+ },
611
+ contextWindow: 1e6,
612
+ maxOutput: 8192,
613
+ modalities: {
614
+ input: [
615
+ "text",
616
+ "image",
617
+ "audio",
618
+ "video"
619
+ ],
620
+ output: ["text"]
621
+ },
622
+ capabilities: {
623
+ reasoning: false,
624
+ toolCall: true,
625
+ attachment: true,
626
+ structuredOutput: false
627
+ }
628
+ },
629
+ {
630
+ id: "gemini-3-pro-preview",
631
+ name: "Gemini 3 Pro Preview",
632
+ provider: "google",
633
+ family: "gemini-pro",
634
+ pricing: {
635
+ input: 2e-6,
636
+ output: 12e-6,
637
+ cacheRead: 2e-7
638
+ },
639
+ contextWindow: 1e6,
640
+ maxOutput: 64e3,
641
+ modalities: {
642
+ input: [
643
+ "text",
644
+ "image",
645
+ "video",
646
+ "audio",
647
+ "pdf"
648
+ ],
649
+ output: ["text"]
650
+ },
651
+ capabilities: {
652
+ reasoning: true,
653
+ toolCall: true,
654
+ attachment: true,
655
+ structuredOutput: true
656
+ }
657
+ },
658
+ {
659
+ id: "gemini-2.0-flash-lite",
660
+ name: "Gemini 2.0 Flash Lite",
661
+ provider: "google",
662
+ family: "gemini-flash-lite",
663
+ pricing: {
664
+ input: 75e-9,
665
+ output: 3e-7
666
+ },
667
+ contextWindow: 1048576,
668
+ maxOutput: 8192,
669
+ modalities: {
670
+ input: [
671
+ "text",
672
+ "image",
673
+ "audio",
674
+ "video",
675
+ "pdf"
676
+ ],
677
+ output: ["text"]
678
+ },
679
+ capabilities: {
680
+ reasoning: false,
681
+ toolCall: true,
682
+ attachment: true,
683
+ structuredOutput: true
684
+ }
685
+ },
686
+ {
687
+ id: "gemini-1.5-flash",
688
+ name: "Gemini 1.5 Flash",
689
+ provider: "google",
690
+ family: "gemini-flash",
691
+ pricing: {
692
+ input: 75e-9,
693
+ output: 3e-7,
694
+ cacheRead: 1.875e-8
695
+ },
696
+ contextWindow: 1e6,
697
+ maxOutput: 8192,
698
+ modalities: {
699
+ input: [
700
+ "text",
701
+ "image",
702
+ "audio",
703
+ "video"
704
+ ],
705
+ output: ["text"]
706
+ },
707
+ capabilities: {
708
+ reasoning: false,
709
+ toolCall: true,
710
+ attachment: true,
711
+ structuredOutput: false
712
+ }
713
+ },
714
+ {
715
+ id: "gemini-flash-lite-latest",
716
+ name: "Gemini Flash-Lite Latest",
717
+ provider: "google",
718
+ family: "gemini-flash-lite",
719
+ pricing: {
720
+ input: 1e-7,
721
+ output: 4e-7,
722
+ cacheRead: 25e-9
723
+ },
724
+ contextWindow: 1048576,
725
+ maxOutput: 65536,
726
+ modalities: {
727
+ input: [
728
+ "text",
729
+ "image",
730
+ "audio",
731
+ "video",
732
+ "pdf"
733
+ ],
734
+ output: ["text"]
735
+ },
736
+ capabilities: {
737
+ reasoning: true,
738
+ toolCall: true,
739
+ attachment: true,
740
+ structuredOutput: true
741
+ }
742
+ },
743
+ {
744
+ id: "gemini-2.5-pro",
745
+ name: "Gemini 2.5 Pro",
746
+ provider: "google",
747
+ family: "gemini-pro",
748
+ pricing: {
749
+ input: 125e-8,
750
+ output: 1e-5,
751
+ cacheRead: 31e-8
752
+ },
753
+ contextWindow: 1048576,
754
+ maxOutput: 65536,
755
+ modalities: {
756
+ input: [
757
+ "text",
758
+ "image",
759
+ "audio",
760
+ "video",
761
+ "pdf"
762
+ ],
763
+ output: ["text"]
764
+ },
765
+ capabilities: {
766
+ reasoning: true,
767
+ toolCall: true,
768
+ attachment: true,
769
+ structuredOutput: true
770
+ }
771
+ },
772
+ {
773
+ id: "gemini-2.0-flash",
774
+ name: "Gemini 2.0 Flash",
775
+ provider: "google",
776
+ family: "gemini-flash",
777
+ pricing: {
778
+ input: 1e-7,
779
+ output: 4e-7,
780
+ cacheRead: 25e-9
781
+ },
782
+ contextWindow: 1048576,
783
+ maxOutput: 8192,
784
+ modalities: {
785
+ input: [
786
+ "text",
787
+ "image",
788
+ "audio",
789
+ "video",
790
+ "pdf"
791
+ ],
792
+ output: ["text"]
793
+ },
794
+ capabilities: {
795
+ reasoning: false,
796
+ toolCall: true,
797
+ attachment: true,
798
+ structuredOutput: true
799
+ }
800
+ },
801
+ {
802
+ id: "gemini-1.5-pro",
803
+ name: "Gemini 1.5 Pro",
804
+ provider: "google",
805
+ family: "gemini-pro",
806
+ pricing: {
807
+ input: 125e-8,
808
+ output: 5e-6,
809
+ cacheRead: 3.125e-7
810
+ },
811
+ contextWindow: 1e6,
812
+ maxOutput: 8192,
813
+ modalities: {
814
+ input: [
815
+ "text",
816
+ "image",
817
+ "audio",
818
+ "video"
819
+ ],
820
+ output: ["text"]
821
+ },
822
+ capabilities: {
823
+ reasoning: false,
824
+ toolCall: true,
825
+ attachment: true,
826
+ structuredOutput: false
827
+ }
828
+ }
829
+ ];
830
+ //#endregion
831
+ export { GOOGLE_MODELS as t };
832
+
833
+ //# sourceMappingURL=google-BypRl349.mjs.map