llm.rb 4.9.0 → 4.11.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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +152 -0
  3. data/README.md +178 -31
  4. data/data/anthropic.json +209 -242
  5. data/data/deepseek.json +15 -15
  6. data/data/google.json +553 -403
  7. data/data/openai.json +740 -535
  8. data/data/xai.json +250 -253
  9. data/data/zai.json +157 -90
  10. data/lib/llm/context/deserializer.rb +2 -1
  11. data/lib/llm/context.rb +58 -2
  12. data/lib/llm/contract/completion.rb +7 -0
  13. data/lib/llm/error.rb +4 -0
  14. data/lib/llm/eventhandler.rb +7 -0
  15. data/lib/llm/function/registry.rb +106 -0
  16. data/lib/llm/function/task.rb +39 -0
  17. data/lib/llm/function.rb +12 -7
  18. data/lib/llm/mcp/transport/http/event_handler.rb +66 -0
  19. data/lib/llm/mcp/transport/http.rb +156 -0
  20. data/lib/llm/mcp/transport/stdio.rb +7 -0
  21. data/lib/llm/mcp.rb +74 -30
  22. data/lib/llm/message.rb +9 -2
  23. data/lib/llm/provider.rb +10 -0
  24. data/lib/llm/providers/anthropic/response_adapter/completion.rb +6 -0
  25. data/lib/llm/providers/anthropic/stream_parser.rb +37 -4
  26. data/lib/llm/providers/anthropic.rb +1 -1
  27. data/lib/llm/providers/google/response_adapter/completion.rb +12 -5
  28. data/lib/llm/providers/google/stream_parser.rb +54 -11
  29. data/lib/llm/providers/google/utils.rb +30 -0
  30. data/lib/llm/providers/google.rb +2 -0
  31. data/lib/llm/providers/ollama/response_adapter/completion.rb +6 -0
  32. data/lib/llm/providers/ollama/stream_parser.rb +10 -4
  33. data/lib/llm/providers/ollama.rb +1 -1
  34. data/lib/llm/providers/openai/response_adapter/completion.rb +7 -0
  35. data/lib/llm/providers/openai/response_adapter/responds.rb +84 -10
  36. data/lib/llm/providers/openai/responses/stream_parser.rb +63 -4
  37. data/lib/llm/providers/openai/responses.rb +1 -1
  38. data/lib/llm/providers/openai/stream_parser.rb +68 -4
  39. data/lib/llm/providers/openai.rb +1 -1
  40. data/lib/llm/schema/all_of.rb +31 -0
  41. data/lib/llm/schema/any_of.rb +31 -0
  42. data/lib/llm/schema/one_of.rb +31 -0
  43. data/lib/llm/schema/parser.rb +36 -0
  44. data/lib/llm/schema.rb +45 -8
  45. data/lib/llm/stream/queue.rb +51 -0
  46. data/lib/llm/stream.rb +102 -0
  47. data/lib/llm/tool.rb +53 -47
  48. data/lib/llm/version.rb +1 -1
  49. data/lib/llm.rb +3 -2
  50. data/llm.gemspec +2 -2
  51. metadata +12 -1
data/data/google.json CHANGED
@@ -8,20 +8,25 @@
8
8
  "name": "Google",
9
9
  "doc": "https://ai.google.dev/gemini-api/docs/pricing",
10
10
  "models": {
11
- "gemini-embedding-001": {
12
- "id": "gemini-embedding-001",
13
- "name": "Gemini Embedding 001",
14
- "family": "gemini",
15
- "attachment": false,
16
- "reasoning": false,
17
- "tool_call": false,
18
- "temperature": false,
19
- "knowledge": "2025-05",
20
- "release_date": "2025-05-20",
21
- "last_updated": "2025-05-20",
11
+ "gemini-2.5-flash-lite": {
12
+ "id": "gemini-2.5-flash-lite",
13
+ "name": "Gemini 2.5 Flash Lite",
14
+ "family": "gemini-flash-lite",
15
+ "attachment": true,
16
+ "reasoning": true,
17
+ "tool_call": true,
18
+ "structured_output": true,
19
+ "temperature": true,
20
+ "knowledge": "2025-01",
21
+ "release_date": "2025-06-17",
22
+ "last_updated": "2025-06-17",
22
23
  "modalities": {
23
24
  "input": [
24
- "text"
25
+ "text",
26
+ "image",
27
+ "audio",
28
+ "video",
29
+ "pdf"
25
30
  ],
26
31
  "output": [
27
32
  "text"
@@ -29,12 +34,13 @@
29
34
  },
30
35
  "open_weights": false,
31
36
  "cost": {
32
- "input": 0.15,
33
- "output": 0
37
+ "input": 0.1,
38
+ "output": 0.4,
39
+ "cache_read": 0.025
34
40
  },
35
41
  "limit": {
36
- "context": 2048,
37
- "output": 3072
42
+ "context": 1048576,
43
+ "output": 65536
38
44
  }
39
45
  },
40
46
  "gemini-2.5-flash-lite-preview-09-2025": {
@@ -72,24 +78,23 @@
72
78
  "output": 65536
73
79
  }
74
80
  },
75
- "gemini-3.1-pro-preview-customtools": {
76
- "id": "gemini-3.1-pro-preview-customtools",
77
- "name": "Gemini 3.1 Pro Preview Custom Tools",
78
- "family": "gemini-pro",
81
+ "gemini-2.5-flash-preview-04-17": {
82
+ "id": "gemini-2.5-flash-preview-04-17",
83
+ "name": "Gemini 2.5 Flash Preview 04-17",
84
+ "family": "gemini-flash",
79
85
  "attachment": true,
80
86
  "reasoning": true,
81
87
  "tool_call": true,
82
- "structured_output": true,
83
88
  "temperature": true,
84
89
  "knowledge": "2025-01",
85
- "release_date": "2026-02-19",
86
- "last_updated": "2026-02-19",
90
+ "release_date": "2025-04-17",
91
+ "last_updated": "2025-04-17",
87
92
  "modalities": {
88
93
  "input": [
89
94
  "text",
90
95
  "image",
91
- "video",
92
96
  "audio",
97
+ "video",
93
98
  "pdf"
94
99
  ],
95
100
  "output": [
@@ -98,23 +103,18 @@
98
103
  },
99
104
  "open_weights": false,
100
105
  "cost": {
101
- "input": 2,
102
- "output": 12,
103
- "cache_read": 0.2,
104
- "context_over_200k": {
105
- "input": 4,
106
- "output": 18,
107
- "cache_read": 0.4
108
- }
106
+ "input": 0.15,
107
+ "output": 0.6,
108
+ "cache_read": 0.0375
109
109
  },
110
110
  "limit": {
111
111
  "context": 1048576,
112
112
  "output": 65536
113
113
  }
114
114
  },
115
- "gemini-2.5-pro-preview-06-05": {
116
- "id": "gemini-2.5-pro-preview-06-05",
117
- "name": "Gemini 2.5 Pro Preview 06-05",
115
+ "gemini-3.1-pro-preview": {
116
+ "id": "gemini-3.1-pro-preview",
117
+ "name": "Gemini 3.1 Pro Preview",
118
118
  "family": "gemini-pro",
119
119
  "attachment": true,
120
120
  "reasoning": true,
@@ -122,14 +122,14 @@
122
122
  "structured_output": true,
123
123
  "temperature": true,
124
124
  "knowledge": "2025-01",
125
- "release_date": "2025-06-05",
126
- "last_updated": "2025-06-05",
125
+ "release_date": "2026-02-19",
126
+ "last_updated": "2026-02-19",
127
127
  "modalities": {
128
128
  "input": [
129
129
  "text",
130
130
  "image",
131
- "audio",
132
131
  "video",
132
+ "audio",
133
133
  "pdf"
134
134
  ],
135
135
  "output": [
@@ -138,52 +138,52 @@
138
138
  },
139
139
  "open_weights": false,
140
140
  "cost": {
141
- "input": 1.25,
142
- "output": 10,
143
- "cache_read": 0.31
141
+ "input": 2,
142
+ "output": 12,
143
+ "cache_read": 0.2,
144
+ "context_over_200k": {
145
+ "input": 4,
146
+ "output": 18,
147
+ "cache_read": 0.4
148
+ }
144
149
  },
145
150
  "limit": {
146
151
  "context": 1048576,
147
152
  "output": 65536
148
153
  }
149
154
  },
150
- "gemini-2.5-flash-preview-04-17": {
151
- "id": "gemini-2.5-flash-preview-04-17",
152
- "name": "Gemini 2.5 Flash Preview 04-17",
153
- "family": "gemini-flash",
155
+ "gemma-3n-e2b-it": {
156
+ "id": "gemma-3n-e2b-it",
157
+ "name": "Gemma 3n 2B",
158
+ "family": "gemma",
154
159
  "attachment": true,
155
- "reasoning": true,
156
- "tool_call": true,
160
+ "reasoning": false,
161
+ "tool_call": false,
157
162
  "temperature": true,
158
- "knowledge": "2025-01",
159
- "release_date": "2025-04-17",
160
- "last_updated": "2025-04-17",
163
+ "knowledge": "2024-10",
164
+ "release_date": "2025-07-09",
165
+ "last_updated": "2025-07-09",
161
166
  "modalities": {
162
167
  "input": [
163
- "text",
164
- "image",
165
- "audio",
166
- "video",
167
- "pdf"
168
+ "text"
168
169
  ],
169
170
  "output": [
170
171
  "text"
171
172
  ]
172
173
  },
173
- "open_weights": false,
174
+ "open_weights": true,
174
175
  "cost": {
175
- "input": 0.15,
176
- "output": 0.6,
177
- "cache_read": 0.0375
176
+ "input": 0,
177
+ "output": 0
178
178
  },
179
179
  "limit": {
180
- "context": 1048576,
181
- "output": 65536
180
+ "context": 8192,
181
+ "output": 2000
182
182
  }
183
183
  },
184
- "gemini-2.5-flash-preview-09-2025": {
185
- "id": "gemini-2.5-flash-preview-09-2025",
186
- "name": "Gemini 2.5 Flash Preview 09-25",
184
+ "gemini-2.5-flash-preview-05-20": {
185
+ "id": "gemini-2.5-flash-preview-05-20",
186
+ "name": "Gemini 2.5 Flash Preview 05-20",
187
187
  "family": "gemini-flash",
188
188
  "attachment": true,
189
189
  "reasoning": true,
@@ -191,8 +191,8 @@
191
191
  "structured_output": true,
192
192
  "temperature": true,
193
193
  "knowledge": "2025-01",
194
- "release_date": "2025-09-25",
195
- "last_updated": "2025-09-25",
194
+ "release_date": "2025-05-20",
195
+ "last_updated": "2025-05-20",
196
196
  "modalities": {
197
197
  "input": [
198
198
  "text",
@@ -207,19 +207,18 @@
207
207
  },
208
208
  "open_weights": false,
209
209
  "cost": {
210
- "input": 0.3,
211
- "output": 2.5,
212
- "cache_read": 0.075,
213
- "input_audio": 1
210
+ "input": 0.15,
211
+ "output": 0.6,
212
+ "cache_read": 0.0375
214
213
  },
215
214
  "limit": {
216
215
  "context": 1048576,
217
216
  "output": 65536
218
217
  }
219
218
  },
220
- "gemini-2.5-pro-preview-05-06": {
221
- "id": "gemini-2.5-pro-preview-05-06",
222
- "name": "Gemini 2.5 Pro Preview 05-06",
219
+ "gemini-3-pro-preview": {
220
+ "id": "gemini-3-pro-preview",
221
+ "name": "Gemini 3 Pro Preview",
223
222
  "family": "gemini-pro",
224
223
  "attachment": true,
225
224
  "reasoning": true,
@@ -227,14 +226,14 @@
227
226
  "structured_output": true,
228
227
  "temperature": true,
229
228
  "knowledge": "2025-01",
230
- "release_date": "2025-05-06",
231
- "last_updated": "2025-05-06",
229
+ "release_date": "2025-11-18",
230
+ "last_updated": "2025-11-18",
232
231
  "modalities": {
233
232
  "input": [
234
233
  "text",
235
234
  "image",
236
- "audio",
237
235
  "video",
236
+ "audio",
238
237
  "pdf"
239
238
  ],
240
239
  "output": [
@@ -243,136 +242,128 @@
243
242
  },
244
243
  "open_weights": false,
245
244
  "cost": {
246
- "input": 1.25,
247
- "output": 10,
248
- "cache_read": 0.31
245
+ "input": 2,
246
+ "output": 12,
247
+ "cache_read": 0.2,
248
+ "context_over_200k": {
249
+ "input": 4,
250
+ "output": 18,
251
+ "cache_read": 0.4
252
+ }
249
253
  },
250
254
  "limit": {
251
- "context": 1048576,
252
- "output": 65536
255
+ "context": 1000000,
256
+ "output": 64000
253
257
  }
254
258
  },
255
- "gemini-2.5-flash-preview-05-20": {
256
- "id": "gemini-2.5-flash-preview-05-20",
257
- "name": "Gemini 2.5 Flash Preview 05-20",
258
- "family": "gemini-flash",
259
+ "gemma-3-27b-it": {
260
+ "id": "gemma-3-27b-it",
261
+ "name": "Gemma 3 27B",
262
+ "family": "gemma",
259
263
  "attachment": true,
260
- "reasoning": true,
264
+ "reasoning": false,
261
265
  "tool_call": true,
262
266
  "structured_output": true,
263
267
  "temperature": true,
264
- "knowledge": "2025-01",
265
- "release_date": "2025-05-20",
266
- "last_updated": "2025-05-20",
268
+ "knowledge": "2024-10",
269
+ "release_date": "2025-03-12",
270
+ "last_updated": "2025-03-12",
267
271
  "modalities": {
268
272
  "input": [
269
273
  "text",
270
- "image",
271
- "audio",
272
- "video",
273
- "pdf"
274
+ "image"
274
275
  ],
275
276
  "output": [
276
277
  "text"
277
278
  ]
278
279
  },
279
- "open_weights": false,
280
+ "open_weights": true,
280
281
  "cost": {
281
- "input": 0.15,
282
- "output": 0.6,
283
- "cache_read": 0.0375
282
+ "input": 0,
283
+ "output": 0
284
284
  },
285
285
  "limit": {
286
- "context": 1048576,
287
- "output": 65536
286
+ "context": 131072,
287
+ "output": 8192
288
288
  }
289
289
  },
290
- "gemini-2.5-flash": {
291
- "id": "gemini-2.5-flash",
292
- "name": "Gemini 2.5 Flash",
293
- "family": "gemini-flash",
290
+ "gemma-3-4b-it": {
291
+ "id": "gemma-3-4b-it",
292
+ "name": "Gemma 3 4B",
293
+ "family": "gemma",
294
294
  "attachment": true,
295
- "reasoning": true,
296
- "tool_call": true,
297
- "structured_output": true,
295
+ "reasoning": false,
296
+ "tool_call": false,
298
297
  "temperature": true,
299
- "knowledge": "2025-01",
300
- "release_date": "2025-03-20",
301
- "last_updated": "2025-06-05",
298
+ "knowledge": "2024-10",
299
+ "release_date": "2025-03-13",
300
+ "last_updated": "2025-03-13",
302
301
  "modalities": {
303
302
  "input": [
304
303
  "text",
305
- "image",
306
- "audio",
307
- "video",
308
- "pdf"
304
+ "image"
309
305
  ],
310
306
  "output": [
311
307
  "text"
312
308
  ]
313
309
  },
314
- "open_weights": false,
310
+ "open_weights": true,
315
311
  "cost": {
316
- "input": 0.3,
317
- "output": 2.5,
318
- "cache_read": 0.075,
319
- "input_audio": 1
312
+ "input": 0,
313
+ "output": 0
320
314
  },
321
315
  "limit": {
322
- "context": 1048576,
323
- "output": 65536
316
+ "context": 32768,
317
+ "output": 8192
324
318
  }
325
319
  },
326
- "gemini-3.1-flash-image-preview": {
327
- "id": "gemini-3.1-flash-image-preview",
328
- "name": "Gemini 3.1 Flash Image (Preview)",
329
- "family": "gemini-flash",
320
+ "gemma-3n-e4b-it": {
321
+ "id": "gemma-3n-e4b-it",
322
+ "name": "Gemma 3n 4B",
323
+ "family": "gemma",
330
324
  "attachment": true,
331
- "reasoning": true,
325
+ "reasoning": false,
332
326
  "tool_call": false,
333
327
  "temperature": true,
334
- "knowledge": "2025-01",
335
- "release_date": "2026-02-26",
336
- "last_updated": "2026-02-26",
328
+ "knowledge": "2024-10",
329
+ "release_date": "2025-05-20",
330
+ "last_updated": "2025-05-20",
337
331
  "modalities": {
338
332
  "input": [
339
- "text",
340
- "image",
341
- "pdf"
333
+ "text"
342
334
  ],
343
335
  "output": [
344
- "text",
345
- "image"
336
+ "text"
346
337
  ]
347
338
  },
348
- "open_weights": false,
339
+ "open_weights": true,
349
340
  "cost": {
350
- "input": 0.25,
351
- "output": 60
341
+ "input": 0,
342
+ "output": 0
352
343
  },
353
344
  "limit": {
354
- "context": 131072,
355
- "output": 32768
345
+ "context": 8192,
346
+ "output": 2000
356
347
  }
357
348
  },
358
- "gemini-3.1-flash-lite-preview": {
359
- "id": "gemini-3.1-flash-lite-preview",
360
- "name": "Gemini 3.1 Flash Lite Preview",
361
- "family": "gemini-flash-lite",
349
+ "gemini-2.5-pro-preview-06-05": {
350
+ "id": "gemini-2.5-pro-preview-06-05",
351
+ "name": "Gemini 2.5 Pro Preview 06-05",
352
+ "family": "gemini-pro",
362
353
  "attachment": true,
363
354
  "reasoning": true,
364
355
  "tool_call": true,
365
356
  "structured_output": true,
366
357
  "temperature": true,
367
358
  "knowledge": "2025-01",
368
- "release_date": "2026-03-03",
369
- "last_updated": "2026-03-03",
359
+ "release_date": "2025-06-05",
360
+ "last_updated": "2025-06-05",
370
361
  "modalities": {
371
362
  "input": [
372
363
  "text",
373
364
  "image",
374
- "video",
375
365
  "audio",
366
+ "video",
376
367
  "pdf"
377
368
  ],
378
369
  "output": [
@@ -381,69 +372,68 @@
381
372
  },
382
373
  "open_weights": false,
383
374
  "cost": {
384
- "input": 0.25,
385
- "output": 1.5,
386
- "cache_read": 0.025,
387
- "cache_write": 1
375
+ "input": 1.25,
376
+ "output": 10,
377
+ "cache_read": 0.31
388
378
  },
389
379
  "limit": {
390
380
  "context": 1048576,
391
381
  "output": 65536
392
382
  }
393
383
  },
394
- "gemini-live-2.5-flash": {
395
- "id": "gemini-live-2.5-flash",
396
- "name": "Gemini Live 2.5 Flash",
397
- "family": "gemini-flash",
398
- "attachment": true,
399
- "reasoning": true,
384
+ "gemini-2.5-pro-preview-05-06": {
385
+ "id": "gemini-2.5-pro-preview-05-06",
386
+ "name": "Gemini 2.5 Pro Preview 05-06",
387
+ "family": "gemini-pro",
388
+ "attachment": true,
389
+ "reasoning": true,
400
390
  "tool_call": true,
391
+ "structured_output": true,
401
392
  "temperature": true,
402
393
  "knowledge": "2025-01",
403
- "release_date": "2025-09-01",
404
- "last_updated": "2025-09-01",
394
+ "release_date": "2025-05-06",
395
+ "last_updated": "2025-05-06",
405
396
  "modalities": {
406
397
  "input": [
407
398
  "text",
408
399
  "image",
409
400
  "audio",
410
- "video"
401
+ "video",
402
+ "pdf"
411
403
  ],
412
404
  "output": [
413
- "text",
414
- "audio"
405
+ "text"
415
406
  ]
416
407
  },
417
408
  "open_weights": false,
418
409
  "cost": {
419
- "input": 0.5,
420
- "output": 2,
421
- "input_audio": 3,
422
- "output_audio": 12
410
+ "input": 1.25,
411
+ "output": 10,
412
+ "cache_read": 0.31
423
413
  },
424
414
  "limit": {
425
- "context": 128000,
426
- "output": 8000
415
+ "context": 1048576,
416
+ "output": 65536
427
417
  }
428
418
  },
429
- "gemini-3-flash-preview": {
430
- "id": "gemini-3-flash-preview",
431
- "name": "Gemini 3 Flash Preview",
432
- "family": "gemini-flash",
419
+ "gemini-2.0-flash-lite": {
420
+ "id": "gemini-2.0-flash-lite",
421
+ "name": "Gemini 2.0 Flash Lite",
422
+ "family": "gemini-flash-lite",
433
423
  "attachment": true,
434
- "reasoning": true,
424
+ "reasoning": false,
435
425
  "tool_call": true,
436
426
  "structured_output": true,
437
427
  "temperature": true,
438
- "knowledge": "2025-01",
439
- "release_date": "2025-12-17",
440
- "last_updated": "2025-12-17",
428
+ "knowledge": "2024-06",
429
+ "release_date": "2024-12-11",
430
+ "last_updated": "2024-12-11",
441
431
  "modalities": {
442
432
  "input": [
443
433
  "text",
444
434
  "image",
445
- "video",
446
435
  "audio",
436
+ "video",
447
437
  "pdf"
448
438
  ],
449
439
  "output": [
@@ -452,73 +442,64 @@
452
442
  },
453
443
  "open_weights": false,
454
444
  "cost": {
455
- "input": 0.5,
456
- "output": 3,
457
- "cache_read": 0.05,
458
- "context_over_200k": {
459
- "input": 0.5,
460
- "output": 3,
461
- "cache_read": 0.05
462
- }
445
+ "input": 0.075,
446
+ "output": 0.3
463
447
  },
464
448
  "limit": {
465
449
  "context": 1048576,
466
- "output": 65536
450
+ "output": 8192
467
451
  }
468
452
  },
469
- "gemini-live-2.5-flash-preview-native-audio": {
470
- "id": "gemini-live-2.5-flash-preview-native-audio",
471
- "name": "Gemini Live 2.5 Flash Preview Native Audio",
453
+ "gemini-1.5-flash-8b": {
454
+ "id": "gemini-1.5-flash-8b",
455
+ "name": "Gemini 1.5 Flash-8B",
472
456
  "family": "gemini-flash",
473
- "attachment": false,
474
- "reasoning": true,
457
+ "attachment": true,
458
+ "reasoning": false,
475
459
  "tool_call": true,
476
- "temperature": false,
477
- "knowledge": "2025-01",
478
- "release_date": "2025-06-17",
479
- "last_updated": "2025-09-18",
460
+ "temperature": true,
461
+ "knowledge": "2024-04",
462
+ "release_date": "2024-10-03",
463
+ "last_updated": "2024-10-03",
480
464
  "modalities": {
481
465
  "input": [
482
466
  "text",
467
+ "image",
483
468
  "audio",
484
469
  "video"
485
470
  ],
486
471
  "output": [
487
- "text",
488
- "audio"
472
+ "text"
489
473
  ]
490
474
  },
491
475
  "open_weights": false,
492
476
  "cost": {
493
- "input": 0.5,
494
- "output": 2,
495
- "input_audio": 3,
496
- "output_audio": 12
477
+ "input": 0.0375,
478
+ "output": 0.15,
479
+ "cache_read": 0.01
497
480
  },
498
481
  "limit": {
499
- "context": 131072,
500
- "output": 65536
482
+ "context": 1000000,
483
+ "output": 8192
501
484
  }
502
485
  },
503
- "gemini-2.5-flash-lite": {
504
- "id": "gemini-2.5-flash-lite",
505
- "name": "Gemini 2.5 Flash Lite",
506
- "family": "gemini-flash-lite",
486
+ "gemini-1.5-flash": {
487
+ "id": "gemini-1.5-flash",
488
+ "name": "Gemini 1.5 Flash",
489
+ "family": "gemini-flash",
507
490
  "attachment": true,
508
- "reasoning": true,
491
+ "reasoning": false,
509
492
  "tool_call": true,
510
- "structured_output": true,
511
493
  "temperature": true,
512
- "knowledge": "2025-01",
513
- "release_date": "2025-06-17",
514
- "last_updated": "2025-06-17",
494
+ "knowledge": "2024-04",
495
+ "release_date": "2024-05-14",
496
+ "last_updated": "2024-05-14",
515
497
  "modalities": {
516
498
  "input": [
517
499
  "text",
518
500
  "image",
519
501
  "audio",
520
- "video",
521
- "pdf"
502
+ "video"
522
503
  ],
523
504
  "output": [
524
505
  "text"
@@ -526,18 +507,18 @@
526
507
  },
527
508
  "open_weights": false,
528
509
  "cost": {
529
- "input": 0.1,
530
- "output": 0.4,
531
- "cache_read": 0.025
510
+ "input": 0.075,
511
+ "output": 0.3,
512
+ "cache_read": 0.01875
532
513
  },
533
514
  "limit": {
534
- "context": 1048576,
535
- "output": 65536
515
+ "context": 1000000,
516
+ "output": 8192
536
517
  }
537
518
  },
538
- "gemini-2.5-flash-preview-tts": {
539
- "id": "gemini-2.5-flash-preview-tts",
540
- "name": "Gemini 2.5 Flash Preview TTS",
519
+ "gemini-2.5-pro-preview-tts": {
520
+ "id": "gemini-2.5-pro-preview-tts",
521
+ "name": "Gemini 2.5 Pro Preview TTS",
541
522
  "family": "gemini-flash",
542
523
  "attachment": false,
543
524
  "reasoning": false,
@@ -556,26 +537,26 @@
556
537
  },
557
538
  "open_weights": false,
558
539
  "cost": {
559
- "input": 0.5,
560
- "output": 10
540
+ "input": 1,
541
+ "output": 20
561
542
  },
562
543
  "limit": {
563
544
  "context": 8000,
564
545
  "output": 16000
565
546
  }
566
547
  },
567
- "gemini-3.1-pro-preview": {
568
- "id": "gemini-3.1-pro-preview",
569
- "name": "Gemini 3.1 Pro Preview",
570
- "family": "gemini-pro",
548
+ "gemini-3-flash-preview": {
549
+ "id": "gemini-3-flash-preview",
550
+ "name": "Gemini 3 Flash Preview",
551
+ "family": "gemini-flash",
571
552
  "attachment": true,
572
553
  "reasoning": true,
573
554
  "tool_call": true,
574
555
  "structured_output": true,
575
556
  "temperature": true,
576
557
  "knowledge": "2025-01",
577
- "release_date": "2026-02-19",
578
- "last_updated": "2026-02-19",
558
+ "release_date": "2025-12-17",
559
+ "last_updated": "2025-12-17",
579
560
  "modalities": {
580
561
  "input": [
581
562
  "text",
@@ -590,13 +571,13 @@
590
571
  },
591
572
  "open_weights": false,
592
573
  "cost": {
593
- "input": 2,
594
- "output": 12,
595
- "cache_read": 0.2,
574
+ "input": 0.5,
575
+ "output": 3,
576
+ "cache_read": 0.05,
596
577
  "context_over_200k": {
597
- "input": 4,
598
- "output": 18,
599
- "cache_read": 0.4
578
+ "input": 0.5,
579
+ "output": 3,
580
+ "cache_read": 0.05
600
581
  }
601
582
  },
602
583
  "limit": {
@@ -604,18 +585,18 @@
604
585
  "output": 65536
605
586
  }
606
587
  },
607
- "gemini-flash-latest": {
608
- "id": "gemini-flash-latest",
609
- "name": "Gemini Flash Latest",
610
- "family": "gemini-flash",
588
+ "gemini-2.5-pro": {
589
+ "id": "gemini-2.5-pro",
590
+ "name": "Gemini 2.5 Pro",
591
+ "family": "gemini-pro",
611
592
  "attachment": true,
612
593
  "reasoning": true,
613
594
  "tool_call": true,
614
595
  "structured_output": true,
615
596
  "temperature": true,
616
597
  "knowledge": "2025-01",
617
- "release_date": "2025-09-25",
618
- "last_updated": "2025-09-25",
598
+ "release_date": "2025-03-20",
599
+ "last_updated": "2025-06-05",
619
600
  "modalities": {
620
601
  "input": [
621
602
  "text",
@@ -630,27 +611,27 @@
630
611
  },
631
612
  "open_weights": false,
632
613
  "cost": {
633
- "input": 0.3,
634
- "output": 2.5,
635
- "cache_read": 0.075,
636
- "input_audio": 1
614
+ "input": 1.25,
615
+ "output": 10,
616
+ "cache_read": 0.31
637
617
  },
638
618
  "limit": {
639
619
  "context": 1048576,
640
620
  "output": 65536
641
621
  }
642
622
  },
643
- "gemini-2.5-flash-lite-preview-06-17": {
644
- "id": "gemini-2.5-flash-lite-preview-06-17",
645
- "name": "Gemini 2.5 Flash Lite Preview 06-17",
646
- "family": "gemini-flash-lite",
623
+ "gemini-2.5-flash": {
624
+ "id": "gemini-2.5-flash",
625
+ "name": "Gemini 2.5 Flash",
626
+ "family": "gemini-flash",
647
627
  "attachment": true,
648
628
  "reasoning": true,
649
629
  "tool_call": true,
630
+ "structured_output": true,
650
631
  "temperature": true,
651
632
  "knowledge": "2025-01",
652
- "release_date": "2025-06-17",
653
- "last_updated": "2025-06-17",
633
+ "release_date": "2025-03-20",
634
+ "last_updated": "2025-06-05",
654
635
  "modalities": {
655
636
  "input": [
656
637
  "text",
@@ -665,120 +646,138 @@
665
646
  },
666
647
  "open_weights": false,
667
648
  "cost": {
668
- "input": 0.1,
669
- "output": 0.4,
670
- "cache_read": 0.025,
671
- "input_audio": 0.3
649
+ "input": 0.3,
650
+ "output": 2.5,
651
+ "cache_read": 0.075,
652
+ "input_audio": 1
672
653
  },
673
654
  "limit": {
674
655
  "context": 1048576,
675
656
  "output": 65536
676
657
  }
677
658
  },
678
- "gemini-2.5-flash-image": {
679
- "id": "gemini-2.5-flash-image",
680
- "name": "Gemini 2.5 Flash Image",
681
- "family": "gemini-flash",
659
+ "gemini-3.1-pro-preview-customtools": {
660
+ "id": "gemini-3.1-pro-preview-customtools",
661
+ "name": "Gemini 3.1 Pro Preview Custom Tools",
662
+ "family": "gemini-pro",
682
663
  "attachment": true,
683
664
  "reasoning": true,
684
- "tool_call": false,
665
+ "tool_call": true,
666
+ "structured_output": true,
685
667
  "temperature": true,
686
- "knowledge": "2025-06",
687
- "release_date": "2025-08-26",
688
- "last_updated": "2025-08-26",
668
+ "knowledge": "2025-01",
669
+ "release_date": "2026-02-19",
670
+ "last_updated": "2026-02-19",
689
671
  "modalities": {
690
672
  "input": [
691
673
  "text",
692
- "image"
674
+ "image",
675
+ "video",
676
+ "audio",
677
+ "pdf"
693
678
  ],
694
679
  "output": [
695
- "text",
696
- "image"
680
+ "text"
697
681
  ]
698
682
  },
699
683
  "open_weights": false,
700
684
  "cost": {
701
- "input": 0.3,
702
- "output": 30,
703
- "cache_read": 0.075
685
+ "input": 2,
686
+ "output": 12,
687
+ "cache_read": 0.2,
688
+ "context_over_200k": {
689
+ "input": 4,
690
+ "output": 18,
691
+ "cache_read": 0.4
692
+ }
704
693
  },
705
694
  "limit": {
706
- "context": 32768,
707
- "output": 32768
695
+ "context": 1048576,
696
+ "output": 65536
708
697
  }
709
698
  },
710
- "gemini-2.5-pro-preview-tts": {
711
- "id": "gemini-2.5-pro-preview-tts",
712
- "name": "Gemini 2.5 Pro Preview TTS",
699
+ "gemini-2.5-flash-preview-09-2025": {
700
+ "id": "gemini-2.5-flash-preview-09-2025",
701
+ "name": "Gemini 2.5 Flash Preview 09-25",
713
702
  "family": "gemini-flash",
714
- "attachment": false,
715
- "reasoning": false,
716
- "tool_call": false,
717
- "temperature": false,
703
+ "attachment": true,
704
+ "reasoning": true,
705
+ "tool_call": true,
706
+ "structured_output": true,
707
+ "temperature": true,
718
708
  "knowledge": "2025-01",
719
- "release_date": "2025-05-01",
720
- "last_updated": "2025-05-01",
709
+ "release_date": "2025-09-25",
710
+ "last_updated": "2025-09-25",
721
711
  "modalities": {
722
712
  "input": [
723
- "text"
724
- ],
713
+ "text",
714
+ "image",
715
+ "audio",
716
+ "video",
717
+ "pdf"
718
+ ],
725
719
  "output": [
726
- "audio"
720
+ "text"
727
721
  ]
728
722
  },
729
723
  "open_weights": false,
730
724
  "cost": {
731
- "input": 1,
732
- "output": 20
725
+ "input": 0.3,
726
+ "output": 2.5,
727
+ "cache_read": 0.075,
728
+ "input_audio": 1
733
729
  },
734
730
  "limit": {
735
- "context": 8000,
736
- "output": 16000
731
+ "context": 1048576,
732
+ "output": 65536
737
733
  }
738
734
  },
739
- "gemini-2.5-flash-image-preview": {
740
- "id": "gemini-2.5-flash-image-preview",
741
- "name": "Gemini 2.5 Flash Image (Preview)",
735
+ "gemini-2.0-flash": {
736
+ "id": "gemini-2.0-flash",
737
+ "name": "Gemini 2.0 Flash",
742
738
  "family": "gemini-flash",
743
739
  "attachment": true,
744
- "reasoning": true,
745
- "tool_call": false,
740
+ "reasoning": false,
741
+ "tool_call": true,
742
+ "structured_output": true,
746
743
  "temperature": true,
747
- "knowledge": "2025-06",
748
- "release_date": "2025-08-26",
749
- "last_updated": "2025-08-26",
744
+ "knowledge": "2024-06",
745
+ "release_date": "2024-12-11",
746
+ "last_updated": "2024-12-11",
750
747
  "modalities": {
751
748
  "input": [
752
749
  "text",
753
- "image"
750
+ "image",
751
+ "audio",
752
+ "video",
753
+ "pdf"
754
754
  ],
755
755
  "output": [
756
- "text",
757
- "image"
756
+ "text"
758
757
  ]
759
758
  },
760
759
  "open_weights": false,
761
760
  "cost": {
762
- "input": 0.3,
763
- "output": 30,
764
- "cache_read": 0.075
761
+ "input": 0.1,
762
+ "output": 0.4,
763
+ "cache_read": 0.025
765
764
  },
766
765
  "limit": {
767
- "context": 32768,
768
- "output": 32768
766
+ "context": 1048576,
767
+ "output": 8192
769
768
  }
770
769
  },
771
- "gemini-1.5-flash-8b": {
772
- "id": "gemini-1.5-flash-8b",
773
- "name": "Gemini 1.5 Flash-8B",
774
- "family": "gemini-flash",
770
+ "gemini-1.5-pro": {
771
+ "id": "gemini-1.5-pro",
772
+ "name": "Gemini 1.5 Pro",
773
+ "family": "gemini-pro",
775
774
  "attachment": true,
776
775
  "reasoning": false,
777
776
  "tool_call": true,
778
777
  "temperature": true,
779
778
  "knowledge": "2024-04",
780
- "release_date": "2024-10-03",
781
- "last_updated": "2024-10-03",
779
+ "release_date": "2024-02-15",
780
+ "last_updated": "2024-02-15",
782
781
  "modalities": {
783
782
  "input": [
784
783
  "text",
@@ -792,33 +791,32 @@
792
791
  },
793
792
  "open_weights": false,
794
793
  "cost": {
795
- "input": 0.0375,
796
- "output": 0.15,
797
- "cache_read": 0.01
794
+ "input": 1.25,
795
+ "output": 5,
796
+ "cache_read": 0.3125
798
797
  },
799
798
  "limit": {
800
799
  "context": 1000000,
801
800
  "output": 8192
802
801
  }
803
802
  },
804
- "gemini-3-pro-preview": {
805
- "id": "gemini-3-pro-preview",
806
- "name": "Gemini 3 Pro Preview",
807
- "family": "gemini-pro",
803
+ "gemini-2.5-flash-lite-preview-06-17": {
804
+ "id": "gemini-2.5-flash-lite-preview-06-17",
805
+ "name": "Gemini 2.5 Flash Lite Preview 06-17",
806
+ "family": "gemini-flash-lite",
808
807
  "attachment": true,
809
808
  "reasoning": true,
810
809
  "tool_call": true,
811
- "structured_output": true,
812
810
  "temperature": true,
813
811
  "knowledge": "2025-01",
814
- "release_date": "2025-11-18",
815
- "last_updated": "2025-11-18",
812
+ "release_date": "2025-06-17",
813
+ "last_updated": "2025-06-17",
816
814
  "modalities": {
817
815
  "input": [
818
816
  "text",
819
817
  "image",
820
- "video",
821
818
  "audio",
819
+ "video",
822
820
  "pdf"
823
821
  ],
824
822
  "output": [
@@ -827,71 +825,64 @@
827
825
  },
828
826
  "open_weights": false,
829
827
  "cost": {
830
- "input": 2,
831
- "output": 12,
832
- "cache_read": 0.2,
833
- "context_over_200k": {
834
- "input": 4,
835
- "output": 18,
836
- "cache_read": 0.4
837
- }
828
+ "input": 0.1,
829
+ "output": 0.4,
830
+ "cache_read": 0.025,
831
+ "input_audio": 0.3
838
832
  },
839
833
  "limit": {
840
- "context": 1000000,
841
- "output": 64000
834
+ "context": 1048576,
835
+ "output": 65536
842
836
  }
843
837
  },
844
- "gemini-2.0-flash-lite": {
845
- "id": "gemini-2.0-flash-lite",
846
- "name": "Gemini 2.0 Flash Lite",
847
- "family": "gemini-flash-lite",
848
- "attachment": true,
838
+ "gemini-2.5-flash-preview-tts": {
839
+ "id": "gemini-2.5-flash-preview-tts",
840
+ "name": "Gemini 2.5 Flash Preview TTS",
841
+ "family": "gemini-flash",
842
+ "attachment": false,
849
843
  "reasoning": false,
850
- "tool_call": true,
851
- "structured_output": true,
852
- "temperature": true,
853
- "knowledge": "2024-06",
854
- "release_date": "2024-12-11",
855
- "last_updated": "2024-12-11",
844
+ "tool_call": false,
845
+ "temperature": false,
846
+ "knowledge": "2025-01",
847
+ "release_date": "2025-05-01",
848
+ "last_updated": "2025-05-01",
856
849
  "modalities": {
857
850
  "input": [
858
- "text",
859
- "image",
860
- "audio",
861
- "video",
862
- "pdf"
851
+ "text"
863
852
  ],
864
853
  "output": [
865
- "text"
854
+ "audio"
866
855
  ]
867
856
  },
868
857
  "open_weights": false,
869
858
  "cost": {
870
- "input": 0.075,
871
- "output": 0.3
859
+ "input": 0.5,
860
+ "output": 10
872
861
  },
873
862
  "limit": {
874
- "context": 1048576,
875
- "output": 8192
863
+ "context": 8000,
864
+ "output": 16000
876
865
  }
877
866
  },
878
- "gemini-1.5-flash": {
879
- "id": "gemini-1.5-flash",
880
- "name": "Gemini 1.5 Flash",
881
- "family": "gemini-flash",
867
+ "gemini-3.1-flash-lite-preview": {
868
+ "id": "gemini-3.1-flash-lite-preview",
869
+ "name": "Gemini 3.1 Flash Lite Preview",
870
+ "family": "gemini-flash-lite",
882
871
  "attachment": true,
883
- "reasoning": false,
872
+ "reasoning": true,
884
873
  "tool_call": true,
874
+ "structured_output": true,
885
875
  "temperature": true,
886
- "knowledge": "2024-04",
887
- "release_date": "2024-05-14",
888
- "last_updated": "2024-05-14",
876
+ "knowledge": "2025-01",
877
+ "release_date": "2026-03-03",
878
+ "last_updated": "2026-03-03",
889
879
  "modalities": {
890
880
  "input": [
891
881
  "text",
892
882
  "image",
883
+ "video",
893
884
  "audio",
894
- "video"
885
+ "pdf"
895
886
  ],
896
887
  "output": [
897
888
  "text"
@@ -899,13 +890,14 @@
899
890
  },
900
891
  "open_weights": false,
901
892
  "cost": {
902
- "input": 0.075,
903
- "output": 0.3,
904
- "cache_read": 0.01875
893
+ "input": 0.25,
894
+ "output": 1.5,
895
+ "cache_read": 0.025,
896
+ "cache_write": 1
905
897
  },
906
898
  "limit": {
907
- "context": 1000000,
908
- "output": 8192
899
+ "context": 1048576,
900
+ "output": 65536
909
901
  }
910
902
  },
911
903
  "gemini-flash-lite-latest": {
@@ -943,18 +935,82 @@
943
935
  "output": 65536
944
936
  }
945
937
  },
946
- "gemini-2.5-pro": {
947
- "id": "gemini-2.5-pro",
948
- "name": "Gemini 2.5 Pro",
949
- "family": "gemini-pro",
938
+ "gemini-3.1-flash-image-preview": {
939
+ "id": "gemini-3.1-flash-image-preview",
940
+ "name": "Gemini 3.1 Flash Image (Preview)",
941
+ "family": "gemini-flash",
942
+ "attachment": true,
943
+ "reasoning": true,
944
+ "tool_call": false,
945
+ "temperature": true,
946
+ "knowledge": "2025-01",
947
+ "release_date": "2026-02-26",
948
+ "last_updated": "2026-02-26",
949
+ "modalities": {
950
+ "input": [
951
+ "text",
952
+ "image",
953
+ "pdf"
954
+ ],
955
+ "output": [
956
+ "text",
957
+ "image"
958
+ ]
959
+ },
960
+ "open_weights": false,
961
+ "cost": {
962
+ "input": 0.25,
963
+ "output": 60
964
+ },
965
+ "limit": {
966
+ "context": 131072,
967
+ "output": 32768
968
+ }
969
+ },
970
+ "gemini-2.5-flash-image": {
971
+ "id": "gemini-2.5-flash-image",
972
+ "name": "Gemini 2.5 Flash Image",
973
+ "family": "gemini-flash",
974
+ "attachment": true,
975
+ "reasoning": true,
976
+ "tool_call": false,
977
+ "temperature": true,
978
+ "knowledge": "2025-06",
979
+ "release_date": "2025-08-26",
980
+ "last_updated": "2025-08-26",
981
+ "modalities": {
982
+ "input": [
983
+ "text",
984
+ "image"
985
+ ],
986
+ "output": [
987
+ "text",
988
+ "image"
989
+ ]
990
+ },
991
+ "open_weights": false,
992
+ "cost": {
993
+ "input": 0.3,
994
+ "output": 30,
995
+ "cache_read": 0.075
996
+ },
997
+ "limit": {
998
+ "context": 32768,
999
+ "output": 32768
1000
+ }
1001
+ },
1002
+ "gemini-flash-latest": {
1003
+ "id": "gemini-flash-latest",
1004
+ "name": "Gemini Flash Latest",
1005
+ "family": "gemini-flash",
950
1006
  "attachment": true,
951
1007
  "reasoning": true,
952
1008
  "tool_call": true,
953
1009
  "structured_output": true,
954
1010
  "temperature": true,
955
1011
  "knowledge": "2025-01",
956
- "release_date": "2025-03-20",
957
- "last_updated": "2025-06-05",
1012
+ "release_date": "2025-09-25",
1013
+ "last_updated": "2025-09-25",
958
1014
  "modalities": {
959
1015
  "input": [
960
1016
  "text",
@@ -969,34 +1025,95 @@
969
1025
  },
970
1026
  "open_weights": false,
971
1027
  "cost": {
972
- "input": 1.25,
973
- "output": 10,
974
- "cache_read": 0.31
1028
+ "input": 0.3,
1029
+ "output": 2.5,
1030
+ "cache_read": 0.075,
1031
+ "input_audio": 1
975
1032
  },
976
1033
  "limit": {
977
1034
  "context": 1048576,
978
1035
  "output": 65536
979
1036
  }
980
1037
  },
981
- "gemini-2.0-flash": {
982
- "id": "gemini-2.0-flash",
983
- "name": "Gemini 2.0 Flash",
984
- "family": "gemini-flash",
1038
+ "gemma-3-12b-it": {
1039
+ "id": "gemma-3-12b-it",
1040
+ "name": "Gemma 3 12B",
1041
+ "family": "gemma",
985
1042
  "attachment": true,
986
1043
  "reasoning": false,
987
- "tool_call": true,
1044
+ "tool_call": false,
988
1045
  "structured_output": true,
989
1046
  "temperature": true,
990
- "knowledge": "2024-06",
991
- "release_date": "2024-12-11",
992
- "last_updated": "2024-12-11",
1047
+ "knowledge": "2024-10",
1048
+ "release_date": "2025-03-13",
1049
+ "last_updated": "2025-03-13",
1050
+ "modalities": {
1051
+ "input": [
1052
+ "text",
1053
+ "image"
1054
+ ],
1055
+ "output": [
1056
+ "text"
1057
+ ]
1058
+ },
1059
+ "open_weights": true,
1060
+ "cost": {
1061
+ "input": 0,
1062
+ "output": 0
1063
+ },
1064
+ "limit": {
1065
+ "context": 32768,
1066
+ "output": 8192
1067
+ }
1068
+ },
1069
+ "gemini-live-2.5-flash-preview-native-audio": {
1070
+ "id": "gemini-live-2.5-flash-preview-native-audio",
1071
+ "name": "Gemini Live 2.5 Flash Preview Native Audio",
1072
+ "family": "gemini-flash",
1073
+ "attachment": false,
1074
+ "reasoning": true,
1075
+ "tool_call": true,
1076
+ "temperature": false,
1077
+ "knowledge": "2025-01",
1078
+ "release_date": "2025-06-17",
1079
+ "last_updated": "2025-09-18",
993
1080
  "modalities": {
994
1081
  "input": [
995
1082
  "text",
996
- "image",
997
1083
  "audio",
998
- "video",
999
- "pdf"
1084
+ "video"
1085
+ ],
1086
+ "output": [
1087
+ "text",
1088
+ "audio"
1089
+ ]
1090
+ },
1091
+ "open_weights": false,
1092
+ "cost": {
1093
+ "input": 0.5,
1094
+ "output": 2,
1095
+ "input_audio": 3,
1096
+ "output_audio": 12
1097
+ },
1098
+ "limit": {
1099
+ "context": 131072,
1100
+ "output": 65536
1101
+ }
1102
+ },
1103
+ "gemini-embedding-001": {
1104
+ "id": "gemini-embedding-001",
1105
+ "name": "Gemini Embedding 001",
1106
+ "family": "gemini",
1107
+ "attachment": false,
1108
+ "reasoning": false,
1109
+ "tool_call": false,
1110
+ "temperature": false,
1111
+ "knowledge": "2025-05",
1112
+ "release_date": "2025-05-20",
1113
+ "last_updated": "2025-05-20",
1114
+ "modalities": {
1115
+ "input": [
1116
+ "text"
1000
1117
  ],
1001
1118
  "output": [
1002
1119
  "text"
@@ -1004,26 +1121,25 @@
1004
1121
  },
1005
1122
  "open_weights": false,
1006
1123
  "cost": {
1007
- "input": 0.1,
1008
- "output": 0.4,
1009
- "cache_read": 0.025
1124
+ "input": 0.15,
1125
+ "output": 0
1010
1126
  },
1011
1127
  "limit": {
1012
- "context": 1048576,
1013
- "output": 8192
1128
+ "context": 2048,
1129
+ "output": 3072
1014
1130
  }
1015
1131
  },
1016
- "gemini-1.5-pro": {
1017
- "id": "gemini-1.5-pro",
1018
- "name": "Gemini 1.5 Pro",
1019
- "family": "gemini-pro",
1132
+ "gemini-live-2.5-flash": {
1133
+ "id": "gemini-live-2.5-flash",
1134
+ "name": "Gemini Live 2.5 Flash",
1135
+ "family": "gemini-flash",
1020
1136
  "attachment": true,
1021
- "reasoning": false,
1137
+ "reasoning": true,
1022
1138
  "tool_call": true,
1023
1139
  "temperature": true,
1024
- "knowledge": "2024-04",
1025
- "release_date": "2024-02-15",
1026
- "last_updated": "2024-02-15",
1140
+ "knowledge": "2025-01",
1141
+ "release_date": "2025-09-01",
1142
+ "last_updated": "2025-09-01",
1027
1143
  "modalities": {
1028
1144
  "input": [
1029
1145
  "text",
@@ -1032,18 +1148,52 @@
1032
1148
  "video"
1033
1149
  ],
1034
1150
  "output": [
1035
- "text"
1151
+ "text",
1152
+ "audio"
1036
1153
  ]
1037
1154
  },
1038
1155
  "open_weights": false,
1039
1156
  "cost": {
1040
- "input": 1.25,
1041
- "output": 5,
1042
- "cache_read": 0.3125
1157
+ "input": 0.5,
1158
+ "output": 2,
1159
+ "input_audio": 3,
1160
+ "output_audio": 12
1043
1161
  },
1044
1162
  "limit": {
1045
- "context": 1000000,
1046
- "output": 8192
1163
+ "context": 128000,
1164
+ "output": 8000
1165
+ }
1166
+ },
1167
+ "gemini-2.5-flash-image-preview": {
1168
+ "id": "gemini-2.5-flash-image-preview",
1169
+ "name": "Gemini 2.5 Flash Image (Preview)",
1170
+ "family": "gemini-flash",
1171
+ "attachment": true,
1172
+ "reasoning": true,
1173
+ "tool_call": false,
1174
+ "temperature": true,
1175
+ "knowledge": "2025-06",
1176
+ "release_date": "2025-08-26",
1177
+ "last_updated": "2025-08-26",
1178
+ "modalities": {
1179
+ "input": [
1180
+ "text",
1181
+ "image"
1182
+ ],
1183
+ "output": [
1184
+ "text",
1185
+ "image"
1186
+ ]
1187
+ },
1188
+ "open_weights": false,
1189
+ "cost": {
1190
+ "input": 0.3,
1191
+ "output": 30,
1192
+ "cache_read": 0.075
1193
+ },
1194
+ "limit": {
1195
+ "context": 32768,
1196
+ "output": 32768
1047
1197
  }
1048
1198
  }
1049
1199
  }