ruby_llm 0.1.0.pre41 → 0.1.0.pre42
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.
- checksums.yaml +4 -4
- data/.rspec_status +5 -4
- data/README.md +18 -2
- data/lib/ruby_llm/content.rb +1 -9
- data/lib/ruby_llm/models.json +345 -452
- data/lib/ruby_llm/provider.rb +1 -2
- data/lib/ruby_llm/providers/gemini/chat.rb +140 -0
- data/lib/ruby_llm/providers/gemini/embeddings.rb +53 -0
- data/lib/ruby_llm/providers/gemini/images.rb +51 -0
- data/lib/ruby_llm/providers/gemini/media.rb +136 -0
- data/lib/ruby_llm/providers/gemini/models.rb +41 -6
- data/lib/ruby_llm/providers/gemini/streaming.rb +99 -0
- data/lib/ruby_llm/providers/gemini/tools.rb +88 -0
- data/lib/ruby_llm/providers/gemini.rb +10 -4
- data/lib/ruby_llm/providers/openai/images.rb +0 -2
- data/lib/ruby_llm/stream_accumulator.rb +1 -1
- data/lib/ruby_llm/version.rb +1 -1
- metadata +7 -1
data/lib/ruby_llm/models.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
{
|
3
3
|
"id": "aqa",
|
4
4
|
"created_at": null,
|
5
|
-
"display_name": "
|
5
|
+
"display_name": "Model that performs Attributed Question Answering.",
|
6
6
|
"provider": "gemini",
|
7
7
|
"context_window": 7168,
|
8
8
|
"max_tokens": 1024,
|
@@ -14,8 +14,13 @@
|
|
14
14
|
"input_price_per_million": 0.0,
|
15
15
|
"output_price_per_million": 0.0,
|
16
16
|
"metadata": {
|
17
|
-
"
|
18
|
-
"
|
17
|
+
"version": "001",
|
18
|
+
"description": "Model trained to return answers to questions that are grounded in provided sources, along with estimating answerable probability.",
|
19
|
+
"input_token_limit": 7168,
|
20
|
+
"output_token_limit": 1024,
|
21
|
+
"supported_generation_methods": [
|
22
|
+
"generateAnswer"
|
23
|
+
]
|
19
24
|
}
|
20
25
|
},
|
21
26
|
{
|
@@ -40,10 +45,10 @@
|
|
40
45
|
{
|
41
46
|
"id": "chat-bison-001",
|
42
47
|
"created_at": null,
|
43
|
-
"display_name": "Chat
|
48
|
+
"display_name": "PaLM 2 Chat (Legacy)",
|
44
49
|
"provider": "gemini",
|
45
|
-
"context_window":
|
46
|
-
"max_tokens":
|
50
|
+
"context_window": 4096,
|
51
|
+
"max_tokens": 1024,
|
47
52
|
"type": "chat",
|
48
53
|
"family": "other",
|
49
54
|
"supports_vision": false,
|
@@ -52,8 +57,14 @@
|
|
52
57
|
"input_price_per_million": 0.075,
|
53
58
|
"output_price_per_million": 0.3,
|
54
59
|
"metadata": {
|
55
|
-
"
|
56
|
-
"
|
60
|
+
"version": "001",
|
61
|
+
"description": "A legacy text-only model optimized for chat conversations",
|
62
|
+
"input_token_limit": 4096,
|
63
|
+
"output_token_limit": 1024,
|
64
|
+
"supported_generation_methods": [
|
65
|
+
"generateMessage",
|
66
|
+
"countMessageTokens"
|
67
|
+
]
|
57
68
|
}
|
58
69
|
},
|
59
70
|
{
|
@@ -320,7 +331,7 @@
|
|
320
331
|
"display_name": "Embedding 001",
|
321
332
|
"provider": "gemini",
|
322
333
|
"context_window": 2048,
|
323
|
-
"max_tokens":
|
334
|
+
"max_tokens": 1,
|
324
335
|
"type": "embedding",
|
325
336
|
"family": "embedding1",
|
326
337
|
"supports_vision": false,
|
@@ -329,17 +340,22 @@
|
|
329
340
|
"input_price_per_million": 0.0,
|
330
341
|
"output_price_per_million": 0.0,
|
331
342
|
"metadata": {
|
332
|
-
"
|
333
|
-
"
|
343
|
+
"version": "001",
|
344
|
+
"description": "Obtain a distributed representation of a text.",
|
345
|
+
"input_token_limit": 2048,
|
346
|
+
"output_token_limit": 1,
|
347
|
+
"supported_generation_methods": [
|
348
|
+
"embedContent"
|
349
|
+
]
|
334
350
|
}
|
335
351
|
},
|
336
352
|
{
|
337
353
|
"id": "embedding-gecko-001",
|
338
354
|
"created_at": null,
|
339
|
-
"display_name": "Embedding Gecko
|
355
|
+
"display_name": "Embedding Gecko",
|
340
356
|
"provider": "gemini",
|
341
|
-
"context_window":
|
342
|
-
"max_tokens":
|
357
|
+
"context_window": 1024,
|
358
|
+
"max_tokens": 1,
|
343
359
|
"type": "embedding",
|
344
360
|
"family": "other",
|
345
361
|
"supports_vision": false,
|
@@ -348,35 +364,22 @@
|
|
348
364
|
"input_price_per_million": 0.0,
|
349
365
|
"output_price_per_million": 0.0,
|
350
366
|
"metadata": {
|
351
|
-
"
|
352
|
-
"
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
"provider": "gemini",
|
360
|
-
"context_window": 32768,
|
361
|
-
"max_tokens": 4096,
|
362
|
-
"type": "chat",
|
363
|
-
"family": "other",
|
364
|
-
"supports_vision": false,
|
365
|
-
"supports_functions": false,
|
366
|
-
"supports_json_mode": false,
|
367
|
-
"input_price_per_million": 0.075,
|
368
|
-
"output_price_per_million": 0.3,
|
369
|
-
"metadata": {
|
370
|
-
"object": "model",
|
371
|
-
"owned_by": "google"
|
367
|
+
"version": "001",
|
368
|
+
"description": "Obtain a distributed representation of a text.",
|
369
|
+
"input_token_limit": 1024,
|
370
|
+
"output_token_limit": 1,
|
371
|
+
"supported_generation_methods": [
|
372
|
+
"embedText",
|
373
|
+
"countTextTokens"
|
374
|
+
]
|
372
375
|
}
|
373
376
|
},
|
374
377
|
{
|
375
378
|
"id": "gemini-1.0-pro-vision-latest",
|
376
379
|
"created_at": null,
|
377
|
-
"display_name": "Gemini 1.0 Pro Vision
|
380
|
+
"display_name": "Gemini 1.0 Pro Vision",
|
378
381
|
"provider": "gemini",
|
379
|
-
"context_window":
|
382
|
+
"context_window": 12288,
|
380
383
|
"max_tokens": 4096,
|
381
384
|
"type": "chat",
|
382
385
|
"family": "gemini10_pro",
|
@@ -386,8 +389,14 @@
|
|
386
389
|
"input_price_per_million": 0.5,
|
387
390
|
"output_price_per_million": 1.5,
|
388
391
|
"metadata": {
|
389
|
-
"
|
390
|
-
"
|
392
|
+
"version": "001",
|
393
|
+
"description": "The original Gemini 1.0 Pro Vision model version which was optimized for image understanding. Gemini 1.0 Pro Vision was deprecated on July 12, 2024. Move to a newer Gemini version.",
|
394
|
+
"input_token_limit": 12288,
|
395
|
+
"output_token_limit": 4096,
|
396
|
+
"supported_generation_methods": [
|
397
|
+
"generateContent",
|
398
|
+
"countTokens"
|
399
|
+
]
|
391
400
|
}
|
392
401
|
},
|
393
402
|
{
|
@@ -395,7 +404,7 @@
|
|
395
404
|
"created_at": null,
|
396
405
|
"display_name": "Gemini 1.5 Flash",
|
397
406
|
"provider": "gemini",
|
398
|
-
"context_window":
|
407
|
+
"context_window": 1000000,
|
399
408
|
"max_tokens": 8192,
|
400
409
|
"type": "chat",
|
401
410
|
"family": "gemini15_flash",
|
@@ -405,8 +414,14 @@
|
|
405
414
|
"input_price_per_million": 0.15,
|
406
415
|
"output_price_per_million": 0.6,
|
407
416
|
"metadata": {
|
408
|
-
"
|
409
|
-
"
|
417
|
+
"version": "001",
|
418
|
+
"description": "Alias that points to the most recent stable version of Gemini 1.5 Flash, our fast and versatile multimodal model for scaling across diverse tasks.",
|
419
|
+
"input_token_limit": 1000000,
|
420
|
+
"output_token_limit": 8192,
|
421
|
+
"supported_generation_methods": [
|
422
|
+
"generateContent",
|
423
|
+
"countTokens"
|
424
|
+
]
|
410
425
|
}
|
411
426
|
},
|
412
427
|
{
|
@@ -414,7 +429,7 @@
|
|
414
429
|
"created_at": null,
|
415
430
|
"display_name": "Gemini 1.5 Flash 001",
|
416
431
|
"provider": "gemini",
|
417
|
-
"context_window":
|
432
|
+
"context_window": 1000000,
|
418
433
|
"max_tokens": 8192,
|
419
434
|
"type": "chat",
|
420
435
|
"family": "gemini15_flash",
|
@@ -424,8 +439,15 @@
|
|
424
439
|
"input_price_per_million": 0.15,
|
425
440
|
"output_price_per_million": 0.6,
|
426
441
|
"metadata": {
|
427
|
-
"
|
428
|
-
"
|
442
|
+
"version": "001",
|
443
|
+
"description": "Stable version of Gemini 1.5 Flash, our fast and versatile multimodal model for scaling across diverse tasks, released in May of 2024.",
|
444
|
+
"input_token_limit": 1000000,
|
445
|
+
"output_token_limit": 8192,
|
446
|
+
"supported_generation_methods": [
|
447
|
+
"generateContent",
|
448
|
+
"countTokens",
|
449
|
+
"createCachedContent"
|
450
|
+
]
|
429
451
|
}
|
430
452
|
},
|
431
453
|
{
|
@@ -433,7 +455,7 @@
|
|
433
455
|
"created_at": null,
|
434
456
|
"display_name": "Gemini 1.5 Flash 001 Tuning",
|
435
457
|
"provider": "gemini",
|
436
|
-
"context_window":
|
458
|
+
"context_window": 16384,
|
437
459
|
"max_tokens": 8192,
|
438
460
|
"type": "chat",
|
439
461
|
"family": "gemini15_flash",
|
@@ -443,8 +465,15 @@
|
|
443
465
|
"input_price_per_million": 0.15,
|
444
466
|
"output_price_per_million": 0.6,
|
445
467
|
"metadata": {
|
446
|
-
"
|
447
|
-
"
|
468
|
+
"version": "001",
|
469
|
+
"description": "Version of Gemini 1.5 Flash that supports tuning, our fast and versatile multimodal model for scaling across diverse tasks, released in May of 2024.",
|
470
|
+
"input_token_limit": 16384,
|
471
|
+
"output_token_limit": 8192,
|
472
|
+
"supported_generation_methods": [
|
473
|
+
"generateContent",
|
474
|
+
"countTokens",
|
475
|
+
"createTunedModel"
|
476
|
+
]
|
448
477
|
}
|
449
478
|
},
|
450
479
|
{
|
@@ -452,7 +481,7 @@
|
|
452
481
|
"created_at": null,
|
453
482
|
"display_name": "Gemini 1.5 Flash 002",
|
454
483
|
"provider": "gemini",
|
455
|
-
"context_window":
|
484
|
+
"context_window": 1000000,
|
456
485
|
"max_tokens": 8192,
|
457
486
|
"type": "chat",
|
458
487
|
"family": "gemini15_flash",
|
@@ -462,16 +491,23 @@
|
|
462
491
|
"input_price_per_million": 0.15,
|
463
492
|
"output_price_per_million": 0.6,
|
464
493
|
"metadata": {
|
465
|
-
"
|
466
|
-
"
|
494
|
+
"version": "002",
|
495
|
+
"description": "Stable version of Gemini 1.5 Flash, our fast and versatile multimodal model for scaling across diverse tasks, released in September of 2024.",
|
496
|
+
"input_token_limit": 1000000,
|
497
|
+
"output_token_limit": 8192,
|
498
|
+
"supported_generation_methods": [
|
499
|
+
"generateContent",
|
500
|
+
"countTokens",
|
501
|
+
"createCachedContent"
|
502
|
+
]
|
467
503
|
}
|
468
504
|
},
|
469
505
|
{
|
470
506
|
"id": "gemini-1.5-flash-8b",
|
471
507
|
"created_at": null,
|
472
|
-
"display_name": "Gemini 1.5 Flash
|
508
|
+
"display_name": "Gemini 1.5 Flash-8B",
|
473
509
|
"provider": "gemini",
|
474
|
-
"context_window":
|
510
|
+
"context_window": 1000000,
|
475
511
|
"max_tokens": 8192,
|
476
512
|
"type": "chat",
|
477
513
|
"family": "gemini15_flash_8b",
|
@@ -481,16 +517,23 @@
|
|
481
517
|
"input_price_per_million": 0.075,
|
482
518
|
"output_price_per_million": 0.3,
|
483
519
|
"metadata": {
|
484
|
-
"
|
485
|
-
"
|
520
|
+
"version": "001",
|
521
|
+
"description": "Stable version of Gemini 1.5 Flash-8B, our smallest and most cost effective Flash model, released in October of 2024.",
|
522
|
+
"input_token_limit": 1000000,
|
523
|
+
"output_token_limit": 8192,
|
524
|
+
"supported_generation_methods": [
|
525
|
+
"createCachedContent",
|
526
|
+
"generateContent",
|
527
|
+
"countTokens"
|
528
|
+
]
|
486
529
|
}
|
487
530
|
},
|
488
531
|
{
|
489
532
|
"id": "gemini-1.5-flash-8b-001",
|
490
533
|
"created_at": null,
|
491
|
-
"display_name": "Gemini 1.5 Flash
|
534
|
+
"display_name": "Gemini 1.5 Flash-8B 001",
|
492
535
|
"provider": "gemini",
|
493
|
-
"context_window":
|
536
|
+
"context_window": 1000000,
|
494
537
|
"max_tokens": 8192,
|
495
538
|
"type": "chat",
|
496
539
|
"family": "gemini15_flash_8b",
|
@@ -500,16 +543,23 @@
|
|
500
543
|
"input_price_per_million": 0.075,
|
501
544
|
"output_price_per_million": 0.3,
|
502
545
|
"metadata": {
|
503
|
-
"
|
504
|
-
"
|
546
|
+
"version": "001",
|
547
|
+
"description": "Stable version of Gemini 1.5 Flash-8B, our smallest and most cost effective Flash model, released in October of 2024.",
|
548
|
+
"input_token_limit": 1000000,
|
549
|
+
"output_token_limit": 8192,
|
550
|
+
"supported_generation_methods": [
|
551
|
+
"createCachedContent",
|
552
|
+
"generateContent",
|
553
|
+
"countTokens"
|
554
|
+
]
|
505
555
|
}
|
506
556
|
},
|
507
557
|
{
|
508
558
|
"id": "gemini-1.5-flash-8b-exp-0827",
|
509
559
|
"created_at": null,
|
510
|
-
"display_name": "Gemini 1.5 Flash
|
560
|
+
"display_name": "Gemini 1.5 Flash 8B Experimental 0827",
|
511
561
|
"provider": "gemini",
|
512
|
-
"context_window":
|
562
|
+
"context_window": 1000000,
|
513
563
|
"max_tokens": 8192,
|
514
564
|
"type": "chat",
|
515
565
|
"family": "gemini15_flash_8b",
|
@@ -519,16 +569,22 @@
|
|
519
569
|
"input_price_per_million": 0.075,
|
520
570
|
"output_price_per_million": 0.3,
|
521
571
|
"metadata": {
|
522
|
-
"
|
523
|
-
"
|
572
|
+
"version": "001",
|
573
|
+
"description": "Experimental release (August 27th, 2024) of Gemini 1.5 Flash-8B, our smallest and most cost effective Flash model. Replaced by Gemini-1.5-flash-8b-001 (stable).",
|
574
|
+
"input_token_limit": 1000000,
|
575
|
+
"output_token_limit": 8192,
|
576
|
+
"supported_generation_methods": [
|
577
|
+
"generateContent",
|
578
|
+
"countTokens"
|
579
|
+
]
|
524
580
|
}
|
525
581
|
},
|
526
582
|
{
|
527
583
|
"id": "gemini-1.5-flash-8b-exp-0924",
|
528
584
|
"created_at": null,
|
529
|
-
"display_name": "Gemini 1.5 Flash
|
585
|
+
"display_name": "Gemini 1.5 Flash 8B Experimental 0924",
|
530
586
|
"provider": "gemini",
|
531
|
-
"context_window":
|
587
|
+
"context_window": 1000000,
|
532
588
|
"max_tokens": 8192,
|
533
589
|
"type": "chat",
|
534
590
|
"family": "gemini15_flash_8b",
|
@@ -538,16 +594,22 @@
|
|
538
594
|
"input_price_per_million": 0.075,
|
539
595
|
"output_price_per_million": 0.3,
|
540
596
|
"metadata": {
|
541
|
-
"
|
542
|
-
"
|
597
|
+
"version": "001",
|
598
|
+
"description": "Experimental release (September 24th, 2024) of Gemini 1.5 Flash-8B, our smallest and most cost effective Flash model. Replaced by Gemini-1.5-flash-8b-001 (stable).",
|
599
|
+
"input_token_limit": 1000000,
|
600
|
+
"output_token_limit": 8192,
|
601
|
+
"supported_generation_methods": [
|
602
|
+
"generateContent",
|
603
|
+
"countTokens"
|
604
|
+
]
|
543
605
|
}
|
544
606
|
},
|
545
607
|
{
|
546
608
|
"id": "gemini-1.5-flash-8b-latest",
|
547
609
|
"created_at": null,
|
548
|
-
"display_name": "Gemini 1.5 Flash
|
610
|
+
"display_name": "Gemini 1.5 Flash-8B Latest",
|
549
611
|
"provider": "gemini",
|
550
|
-
"context_window":
|
612
|
+
"context_window": 1000000,
|
551
613
|
"max_tokens": 8192,
|
552
614
|
"type": "chat",
|
553
615
|
"family": "gemini15_flash_8b",
|
@@ -557,27 +619,15 @@
|
|
557
619
|
"input_price_per_million": 0.075,
|
558
620
|
"output_price_per_million": 0.3,
|
559
621
|
"metadata": {
|
560
|
-
"
|
561
|
-
"
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
"context_window": 1048576,
|
570
|
-
"max_tokens": 8192,
|
571
|
-
"type": "chat",
|
572
|
-
"family": "gemini15_flash",
|
573
|
-
"supports_vision": true,
|
574
|
-
"supports_functions": true,
|
575
|
-
"supports_json_mode": true,
|
576
|
-
"input_price_per_million": 0.15,
|
577
|
-
"output_price_per_million": 0.6,
|
578
|
-
"metadata": {
|
579
|
-
"object": "model",
|
580
|
-
"owned_by": "google"
|
622
|
+
"version": "001",
|
623
|
+
"description": "Alias that points to the most recent production (non-experimental) release of Gemini 1.5 Flash-8B, our smallest and most cost effective Flash model, released in October of 2024.",
|
624
|
+
"input_token_limit": 1000000,
|
625
|
+
"output_token_limit": 8192,
|
626
|
+
"supported_generation_methods": [
|
627
|
+
"createCachedContent",
|
628
|
+
"generateContent",
|
629
|
+
"countTokens"
|
630
|
+
]
|
581
631
|
}
|
582
632
|
},
|
583
633
|
{
|
@@ -585,7 +635,7 @@
|
|
585
635
|
"created_at": null,
|
586
636
|
"display_name": "Gemini 1.5 Flash Latest",
|
587
637
|
"provider": "gemini",
|
588
|
-
"context_window":
|
638
|
+
"context_window": 1000000,
|
589
639
|
"max_tokens": 8192,
|
590
640
|
"type": "chat",
|
591
641
|
"family": "gemini15_flash",
|
@@ -595,8 +645,14 @@
|
|
595
645
|
"input_price_per_million": 0.15,
|
596
646
|
"output_price_per_million": 0.6,
|
597
647
|
"metadata": {
|
598
|
-
"
|
599
|
-
"
|
648
|
+
"version": "001",
|
649
|
+
"description": "Alias that points to the most recent production (non-experimental) release of Gemini 1.5 Flash, our fast and versatile multimodal model for scaling across diverse tasks.",
|
650
|
+
"input_token_limit": 1000000,
|
651
|
+
"output_token_limit": 8192,
|
652
|
+
"supported_generation_methods": [
|
653
|
+
"generateContent",
|
654
|
+
"countTokens"
|
655
|
+
]
|
600
656
|
}
|
601
657
|
},
|
602
658
|
{
|
@@ -604,7 +660,7 @@
|
|
604
660
|
"created_at": null,
|
605
661
|
"display_name": "Gemini 1.5 Pro",
|
606
662
|
"provider": "gemini",
|
607
|
-
"context_window":
|
663
|
+
"context_window": 2000000,
|
608
664
|
"max_tokens": 8192,
|
609
665
|
"type": "chat",
|
610
666
|
"family": "gemini15_pro",
|
@@ -614,8 +670,14 @@
|
|
614
670
|
"input_price_per_million": 2.5,
|
615
671
|
"output_price_per_million": 10.0,
|
616
672
|
"metadata": {
|
617
|
-
"
|
618
|
-
"
|
673
|
+
"version": "001",
|
674
|
+
"description": "Stable version of Gemini 1.5 Pro, our mid-size multimodal model that supports up to 2 million tokens, released in May of 2024.",
|
675
|
+
"input_token_limit": 2000000,
|
676
|
+
"output_token_limit": 8192,
|
677
|
+
"supported_generation_methods": [
|
678
|
+
"generateContent",
|
679
|
+
"countTokens"
|
680
|
+
]
|
619
681
|
}
|
620
682
|
},
|
621
683
|
{
|
@@ -623,7 +685,7 @@
|
|
623
685
|
"created_at": null,
|
624
686
|
"display_name": "Gemini 1.5 Pro 001",
|
625
687
|
"provider": "gemini",
|
626
|
-
"context_window":
|
688
|
+
"context_window": 2000000,
|
627
689
|
"max_tokens": 8192,
|
628
690
|
"type": "chat",
|
629
691
|
"family": "gemini15_pro",
|
@@ -633,8 +695,15 @@
|
|
633
695
|
"input_price_per_million": 2.5,
|
634
696
|
"output_price_per_million": 10.0,
|
635
697
|
"metadata": {
|
636
|
-
"
|
637
|
-
"
|
698
|
+
"version": "001",
|
699
|
+
"description": "Stable version of Gemini 1.5 Pro, our mid-size multimodal model that supports up to 2 million tokens, released in May of 2024.",
|
700
|
+
"input_token_limit": 2000000,
|
701
|
+
"output_token_limit": 8192,
|
702
|
+
"supported_generation_methods": [
|
703
|
+
"generateContent",
|
704
|
+
"countTokens",
|
705
|
+
"createCachedContent"
|
706
|
+
]
|
638
707
|
}
|
639
708
|
},
|
640
709
|
{
|
@@ -642,7 +711,7 @@
|
|
642
711
|
"created_at": null,
|
643
712
|
"display_name": "Gemini 1.5 Pro 002",
|
644
713
|
"provider": "gemini",
|
645
|
-
"context_window":
|
714
|
+
"context_window": 2000000,
|
646
715
|
"max_tokens": 8192,
|
647
716
|
"type": "chat",
|
648
717
|
"family": "gemini15_pro",
|
@@ -652,8 +721,15 @@
|
|
652
721
|
"input_price_per_million": 2.5,
|
653
722
|
"output_price_per_million": 10.0,
|
654
723
|
"metadata": {
|
655
|
-
"
|
656
|
-
"
|
724
|
+
"version": "002",
|
725
|
+
"description": "Stable version of Gemini 1.5 Pro, our mid-size multimodal model that supports up to 2 million tokens, released in September of 2024.",
|
726
|
+
"input_token_limit": 2000000,
|
727
|
+
"output_token_limit": 8192,
|
728
|
+
"supported_generation_methods": [
|
729
|
+
"generateContent",
|
730
|
+
"countTokens",
|
731
|
+
"createCachedContent"
|
732
|
+
]
|
657
733
|
}
|
658
734
|
},
|
659
735
|
{
|
@@ -661,7 +737,7 @@
|
|
661
737
|
"created_at": null,
|
662
738
|
"display_name": "Gemini 1.5 Pro Latest",
|
663
739
|
"provider": "gemini",
|
664
|
-
"context_window":
|
740
|
+
"context_window": 2000000,
|
665
741
|
"max_tokens": 8192,
|
666
742
|
"type": "chat",
|
667
743
|
"family": "gemini15_pro",
|
@@ -671,8 +747,14 @@
|
|
671
747
|
"input_price_per_million": 2.5,
|
672
748
|
"output_price_per_million": 10.0,
|
673
749
|
"metadata": {
|
674
|
-
"
|
675
|
-
"
|
750
|
+
"version": "001",
|
751
|
+
"description": "Alias that points to the most recent production (non-experimental) release of Gemini 1.5 Pro, our mid-size multimodal model that supports up to 2 million tokens.",
|
752
|
+
"input_token_limit": 2000000,
|
753
|
+
"output_token_limit": 8192,
|
754
|
+
"supported_generation_methods": [
|
755
|
+
"generateContent",
|
756
|
+
"countTokens"
|
757
|
+
]
|
676
758
|
}
|
677
759
|
},
|
678
760
|
{
|
@@ -690,8 +772,14 @@
|
|
690
772
|
"input_price_per_million": 0.1,
|
691
773
|
"output_price_per_million": 0.4,
|
692
774
|
"metadata": {
|
693
|
-
"
|
694
|
-
"
|
775
|
+
"version": "2.0",
|
776
|
+
"description": "Gemini 2.0 Flash",
|
777
|
+
"input_token_limit": 1048576,
|
778
|
+
"output_token_limit": 8192,
|
779
|
+
"supported_generation_methods": [
|
780
|
+
"generateContent",
|
781
|
+
"countTokens"
|
782
|
+
]
|
695
783
|
}
|
696
784
|
},
|
697
785
|
{
|
@@ -709,71 +797,20 @@
|
|
709
797
|
"input_price_per_million": 0.1,
|
710
798
|
"output_price_per_million": 0.4,
|
711
799
|
"metadata": {
|
712
|
-
"
|
713
|
-
"
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
"provider": "gemini",
|
721
|
-
"context_window": 1048576,
|
722
|
-
"max_tokens": 8192,
|
723
|
-
"type": "chat",
|
724
|
-
"family": "gemini20_flash",
|
725
|
-
"supports_vision": true,
|
726
|
-
"supports_functions": true,
|
727
|
-
"supports_json_mode": true,
|
728
|
-
"input_price_per_million": 0.1,
|
729
|
-
"output_price_per_million": 0.4,
|
730
|
-
"metadata": {
|
731
|
-
"object": "model",
|
732
|
-
"owned_by": "google"
|
733
|
-
}
|
734
|
-
},
|
735
|
-
{
|
736
|
-
"id": "gemini-2.0-flash-audiogen-rev17",
|
737
|
-
"created_at": null,
|
738
|
-
"display_name": "Gemini 2.0 Flash Audiogen Rev17",
|
739
|
-
"provider": "gemini",
|
740
|
-
"context_window": 1048576,
|
741
|
-
"max_tokens": 8192,
|
742
|
-
"type": "chat",
|
743
|
-
"family": "gemini20_flash",
|
744
|
-
"supports_vision": true,
|
745
|
-
"supports_functions": true,
|
746
|
-
"supports_json_mode": true,
|
747
|
-
"input_price_per_million": 0.1,
|
748
|
-
"output_price_per_million": 0.4,
|
749
|
-
"metadata": {
|
750
|
-
"object": "model",
|
751
|
-
"owned_by": "google"
|
800
|
+
"version": "2.0",
|
801
|
+
"description": "Stable version of Gemini 2.0 Flash, our fast and versatile multimodal model for scaling across diverse tasks, released in January of 2025.",
|
802
|
+
"input_token_limit": 1048576,
|
803
|
+
"output_token_limit": 8192,
|
804
|
+
"supported_generation_methods": [
|
805
|
+
"generateContent",
|
806
|
+
"countTokens"
|
807
|
+
]
|
752
808
|
}
|
753
809
|
},
|
754
810
|
{
|
755
811
|
"id": "gemini-2.0-flash-exp",
|
756
812
|
"created_at": null,
|
757
|
-
"display_name": "Gemini 2.0 Flash
|
758
|
-
"provider": "gemini",
|
759
|
-
"context_window": 1048576,
|
760
|
-
"max_tokens": 8192,
|
761
|
-
"type": "chat",
|
762
|
-
"family": "gemini20_flash",
|
763
|
-
"supports_vision": true,
|
764
|
-
"supports_functions": true,
|
765
|
-
"supports_json_mode": true,
|
766
|
-
"input_price_per_million": 0.1,
|
767
|
-
"output_price_per_million": 0.4,
|
768
|
-
"metadata": {
|
769
|
-
"object": "model",
|
770
|
-
"owned_by": "google"
|
771
|
-
}
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"id": "gemini-2.0-flash-jarvis",
|
775
|
-
"created_at": null,
|
776
|
-
"display_name": "Gemini 2.0 Flash Jarvis",
|
813
|
+
"display_name": "Gemini 2.0 Flash Experimental",
|
777
814
|
"provider": "gemini",
|
778
815
|
"context_window": 1048576,
|
779
816
|
"max_tokens": 8192,
|
@@ -785,14 +822,21 @@
|
|
785
822
|
"input_price_per_million": 0.1,
|
786
823
|
"output_price_per_million": 0.4,
|
787
824
|
"metadata": {
|
788
|
-
"
|
789
|
-
"
|
825
|
+
"version": "2.0",
|
826
|
+
"description": "Gemini 2.0 Flash Experimental",
|
827
|
+
"input_token_limit": 1048576,
|
828
|
+
"output_token_limit": 8192,
|
829
|
+
"supported_generation_methods": [
|
830
|
+
"generateContent",
|
831
|
+
"countTokens",
|
832
|
+
"bidiGenerateContent"
|
833
|
+
]
|
790
834
|
}
|
791
835
|
},
|
792
836
|
{
|
793
837
|
"id": "gemini-2.0-flash-lite",
|
794
838
|
"created_at": null,
|
795
|
-
"display_name": "Gemini 2.0 Flash
|
839
|
+
"display_name": "Gemini 2.0 Flash-Lite",
|
796
840
|
"provider": "gemini",
|
797
841
|
"context_window": 1048576,
|
798
842
|
"max_tokens": 8192,
|
@@ -804,14 +848,20 @@
|
|
804
848
|
"input_price_per_million": 0.075,
|
805
849
|
"output_price_per_million": 0.3,
|
806
850
|
"metadata": {
|
807
|
-
"
|
808
|
-
"
|
851
|
+
"version": "2.0",
|
852
|
+
"description": "Gemini 2.0 Flash-Lite",
|
853
|
+
"input_token_limit": 1048576,
|
854
|
+
"output_token_limit": 8192,
|
855
|
+
"supported_generation_methods": [
|
856
|
+
"generateContent",
|
857
|
+
"countTokens"
|
858
|
+
]
|
809
859
|
}
|
810
860
|
},
|
811
861
|
{
|
812
862
|
"id": "gemini-2.0-flash-lite-001",
|
813
863
|
"created_at": null,
|
814
|
-
"display_name": "Gemini 2.0 Flash
|
864
|
+
"display_name": "Gemini 2.0 Flash-Lite 001",
|
815
865
|
"provider": "gemini",
|
816
866
|
"context_window": 1048576,
|
817
867
|
"max_tokens": 8192,
|
@@ -823,55 +873,23 @@
|
|
823
873
|
"input_price_per_million": 0.075,
|
824
874
|
"output_price_per_million": 0.3,
|
825
875
|
"metadata": {
|
826
|
-
"
|
827
|
-
"
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
"provider": "gemini",
|
835
|
-
"context_window": 1048576,
|
836
|
-
"max_tokens": 8192,
|
837
|
-
"type": "chat",
|
838
|
-
"family": "gemini20_flash",
|
839
|
-
"supports_vision": true,
|
840
|
-
"supports_functions": true,
|
841
|
-
"supports_json_mode": true,
|
842
|
-
"input_price_per_million": 0.1,
|
843
|
-
"output_price_per_million": 0.4,
|
844
|
-
"metadata": {
|
845
|
-
"object": "model",
|
846
|
-
"owned_by": "google"
|
847
|
-
}
|
848
|
-
},
|
849
|
-
{
|
850
|
-
"id": "gemini-2.0-flash-thinking-001",
|
851
|
-
"created_at": null,
|
852
|
-
"display_name": "Gemini 2.0 Flash Thinking 001",
|
853
|
-
"provider": "gemini",
|
854
|
-
"context_window": 1048576,
|
855
|
-
"max_tokens": 8192,
|
856
|
-
"type": "chat",
|
857
|
-
"family": "gemini20_flash",
|
858
|
-
"supports_vision": true,
|
859
|
-
"supports_functions": true,
|
860
|
-
"supports_json_mode": true,
|
861
|
-
"input_price_per_million": 0.1,
|
862
|
-
"output_price_per_million": 0.4,
|
863
|
-
"metadata": {
|
864
|
-
"object": "model",
|
865
|
-
"owned_by": "google"
|
876
|
+
"version": "2.0",
|
877
|
+
"description": "Stable version of Gemini 2.0 Flash Lite",
|
878
|
+
"input_token_limit": 1048576,
|
879
|
+
"output_token_limit": 8192,
|
880
|
+
"supported_generation_methods": [
|
881
|
+
"generateContent",
|
882
|
+
"countTokens"
|
883
|
+
]
|
866
884
|
}
|
867
885
|
},
|
868
886
|
{
|
869
887
|
"id": "gemini-2.0-flash-thinking-exp",
|
870
888
|
"created_at": null,
|
871
|
-
"display_name": "Gemini 2.0 Flash Thinking
|
889
|
+
"display_name": "Gemini 2.0 Flash Thinking Experimental 01-21",
|
872
890
|
"provider": "gemini",
|
873
891
|
"context_window": 1048576,
|
874
|
-
"max_tokens":
|
892
|
+
"max_tokens": 65536,
|
875
893
|
"type": "chat",
|
876
894
|
"family": "gemini20_flash",
|
877
895
|
"supports_vision": true,
|
@@ -880,17 +898,23 @@
|
|
880
898
|
"input_price_per_million": 0.1,
|
881
899
|
"output_price_per_million": 0.4,
|
882
900
|
"metadata": {
|
883
|
-
"
|
884
|
-
"
|
901
|
+
"version": "2.0-exp-01-21",
|
902
|
+
"description": "Experimental release (January 21st, 2025) of Gemini 2.0 Flash Thinking",
|
903
|
+
"input_token_limit": 1048576,
|
904
|
+
"output_token_limit": 65536,
|
905
|
+
"supported_generation_methods": [
|
906
|
+
"generateContent",
|
907
|
+
"countTokens"
|
908
|
+
]
|
885
909
|
}
|
886
910
|
},
|
887
911
|
{
|
888
912
|
"id": "gemini-2.0-flash-thinking-exp-01-21",
|
889
913
|
"created_at": null,
|
890
|
-
"display_name": "Gemini 2.0 Flash Thinking
|
914
|
+
"display_name": "Gemini 2.0 Flash Thinking Experimental 01-21",
|
891
915
|
"provider": "gemini",
|
892
916
|
"context_window": 1048576,
|
893
|
-
"max_tokens":
|
917
|
+
"max_tokens": 65536,
|
894
918
|
"type": "chat",
|
895
919
|
"family": "gemini20_flash",
|
896
920
|
"supports_vision": true,
|
@@ -899,36 +923,23 @@
|
|
899
923
|
"input_price_per_million": 0.1,
|
900
924
|
"output_price_per_million": 0.4,
|
901
925
|
"metadata": {
|
902
|
-
"
|
903
|
-
"
|
926
|
+
"version": "2.0-exp-01-21",
|
927
|
+
"description": "Experimental release (January 21st, 2025) of Gemini 2.0 Flash Thinking",
|
928
|
+
"input_token_limit": 1048576,
|
929
|
+
"output_token_limit": 65536,
|
930
|
+
"supported_generation_methods": [
|
931
|
+
"generateContent",
|
932
|
+
"countTokens"
|
933
|
+
]
|
904
934
|
}
|
905
935
|
},
|
906
936
|
{
|
907
937
|
"id": "gemini-2.0-flash-thinking-exp-1219",
|
908
938
|
"created_at": null,
|
909
|
-
"display_name": "Gemini 2.0 Flash Thinking
|
910
|
-
"provider": "gemini",
|
911
|
-
"context_window": 1048576,
|
912
|
-
"max_tokens": 8192,
|
913
|
-
"type": "chat",
|
914
|
-
"family": "gemini20_flash",
|
915
|
-
"supports_vision": true,
|
916
|
-
"supports_functions": true,
|
917
|
-
"supports_json_mode": true,
|
918
|
-
"input_price_per_million": 0.1,
|
919
|
-
"output_price_per_million": 0.4,
|
920
|
-
"metadata": {
|
921
|
-
"object": "model",
|
922
|
-
"owned_by": "google"
|
923
|
-
}
|
924
|
-
},
|
925
|
-
{
|
926
|
-
"id": "gemini-2.0-flash-thinking-exp-no-thoughts",
|
927
|
-
"created_at": null,
|
928
|
-
"display_name": "Gemini 2.0 Flash Thinking Exp No Thoughts",
|
939
|
+
"display_name": "Gemini 2.0 Flash Thinking Experimental",
|
929
940
|
"provider": "gemini",
|
930
941
|
"context_window": 1048576,
|
931
|
-
"max_tokens":
|
942
|
+
"max_tokens": 65536,
|
932
943
|
"type": "chat",
|
933
944
|
"family": "gemini20_flash",
|
934
945
|
"supports_vision": true,
|
@@ -937,17 +948,23 @@
|
|
937
948
|
"input_price_per_million": 0.1,
|
938
949
|
"output_price_per_million": 0.4,
|
939
950
|
"metadata": {
|
940
|
-
"
|
941
|
-
"
|
951
|
+
"version": "2.0",
|
952
|
+
"description": "Gemini 2.0 Flash Thinking Experimental",
|
953
|
+
"input_token_limit": 1048576,
|
954
|
+
"output_token_limit": 65536,
|
955
|
+
"supported_generation_methods": [
|
956
|
+
"generateContent",
|
957
|
+
"countTokens"
|
958
|
+
]
|
942
959
|
}
|
943
960
|
},
|
944
961
|
{
|
945
962
|
"id": "gemini-2.0-pro-exp",
|
946
963
|
"created_at": null,
|
947
|
-
"display_name": "Gemini 2.0 Pro
|
964
|
+
"display_name": "Gemini 2.0 Pro Experimental",
|
948
965
|
"provider": "gemini",
|
949
|
-
"context_window":
|
950
|
-
"max_tokens":
|
966
|
+
"context_window": 2097152,
|
967
|
+
"max_tokens": 8192,
|
951
968
|
"type": "chat",
|
952
969
|
"family": "other",
|
953
970
|
"supports_vision": true,
|
@@ -956,17 +973,23 @@
|
|
956
973
|
"input_price_per_million": 0.075,
|
957
974
|
"output_price_per_million": 0.3,
|
958
975
|
"metadata": {
|
959
|
-
"
|
960
|
-
"
|
976
|
+
"version": "2.0",
|
977
|
+
"description": "Experimental release (February 5th, 2025) of Gemini 2.0 Pro",
|
978
|
+
"input_token_limit": 2097152,
|
979
|
+
"output_token_limit": 8192,
|
980
|
+
"supported_generation_methods": [
|
981
|
+
"generateContent",
|
982
|
+
"countTokens"
|
983
|
+
]
|
961
984
|
}
|
962
985
|
},
|
963
986
|
{
|
964
987
|
"id": "gemini-2.0-pro-exp-02-05",
|
965
988
|
"created_at": null,
|
966
|
-
"display_name": "Gemini 2.0 Pro
|
989
|
+
"display_name": "Gemini 2.0 Pro Experimental 02-05",
|
967
990
|
"provider": "gemini",
|
968
|
-
"context_window":
|
969
|
-
"max_tokens":
|
991
|
+
"context_window": 2097152,
|
992
|
+
"max_tokens": 8192,
|
970
993
|
"type": "chat",
|
971
994
|
"family": "other",
|
972
995
|
"supports_vision": true,
|
@@ -975,17 +998,23 @@
|
|
975
998
|
"input_price_per_million": 0.075,
|
976
999
|
"output_price_per_million": 0.3,
|
977
1000
|
"metadata": {
|
978
|
-
"
|
979
|
-
"
|
1001
|
+
"version": "2.0",
|
1002
|
+
"description": "Experimental release (February 5th, 2025) of Gemini 2.0 Pro",
|
1003
|
+
"input_token_limit": 2097152,
|
1004
|
+
"output_token_limit": 8192,
|
1005
|
+
"supported_generation_methods": [
|
1006
|
+
"generateContent",
|
1007
|
+
"countTokens"
|
1008
|
+
]
|
980
1009
|
}
|
981
1010
|
},
|
982
1011
|
{
|
983
1012
|
"id": "gemini-exp-1206",
|
984
1013
|
"created_at": null,
|
985
|
-
"display_name": "Gemini
|
1014
|
+
"display_name": "Gemini Experimental 1206",
|
986
1015
|
"provider": "gemini",
|
987
|
-
"context_window":
|
988
|
-
"max_tokens":
|
1016
|
+
"context_window": 2097152,
|
1017
|
+
"max_tokens": 8192,
|
989
1018
|
"type": "chat",
|
990
1019
|
"family": "other",
|
991
1020
|
"supports_vision": false,
|
@@ -994,73 +1023,22 @@
|
|
994
1023
|
"input_price_per_million": 0.075,
|
995
1024
|
"output_price_per_million": 0.3,
|
996
1025
|
"metadata": {
|
997
|
-
"
|
998
|
-
"
|
1026
|
+
"version": "2.0",
|
1027
|
+
"description": "Experimental release (February 5th, 2025) of Gemini 2.0 Pro",
|
1028
|
+
"input_token_limit": 2097152,
|
1029
|
+
"output_token_limit": 8192,
|
1030
|
+
"supported_generation_methods": [
|
1031
|
+
"generateContent",
|
1032
|
+
"countTokens"
|
1033
|
+
]
|
999
1034
|
}
|
1000
1035
|
},
|
1001
1036
|
{
|
1002
1037
|
"id": "gemini-pro-vision",
|
1003
1038
|
"created_at": null,
|
1004
|
-
"display_name": "Gemini Pro Vision",
|
1005
|
-
"provider": "gemini",
|
1006
|
-
"context_window": 32768,
|
1007
|
-
"max_tokens": 4096,
|
1008
|
-
"type": "chat",
|
1009
|
-
"family": "other",
|
1010
|
-
"supports_vision": false,
|
1011
|
-
"supports_functions": false,
|
1012
|
-
"supports_json_mode": false,
|
1013
|
-
"input_price_per_million": 0.075,
|
1014
|
-
"output_price_per_million": 0.3,
|
1015
|
-
"metadata": {
|
1016
|
-
"object": "model",
|
1017
|
-
"owned_by": "google"
|
1018
|
-
}
|
1019
|
-
},
|
1020
|
-
{
|
1021
|
-
"id": "gemini-test-23",
|
1022
|
-
"created_at": null,
|
1023
|
-
"display_name": "Gemini Test 23",
|
1024
|
-
"provider": "gemini",
|
1025
|
-
"context_window": 32768,
|
1026
|
-
"max_tokens": 4096,
|
1027
|
-
"type": "chat",
|
1028
|
-
"family": "other",
|
1029
|
-
"supports_vision": false,
|
1030
|
-
"supports_functions": false,
|
1031
|
-
"supports_json_mode": false,
|
1032
|
-
"input_price_per_million": 0.075,
|
1033
|
-
"output_price_per_million": 0.3,
|
1034
|
-
"metadata": {
|
1035
|
-
"object": "model",
|
1036
|
-
"owned_by": "google"
|
1037
|
-
}
|
1038
|
-
},
|
1039
|
-
{
|
1040
|
-
"id": "gemini-tool-test",
|
1041
|
-
"created_at": null,
|
1042
|
-
"display_name": "Gemini Tool Test",
|
1043
|
-
"provider": "gemini",
|
1044
|
-
"context_window": 32768,
|
1045
|
-
"max_tokens": 4096,
|
1046
|
-
"type": "chat",
|
1047
|
-
"family": "other",
|
1048
|
-
"supports_vision": false,
|
1049
|
-
"supports_functions": false,
|
1050
|
-
"supports_json_mode": false,
|
1051
|
-
"input_price_per_million": 0.075,
|
1052
|
-
"output_price_per_million": 0.3,
|
1053
|
-
"metadata": {
|
1054
|
-
"object": "model",
|
1055
|
-
"owned_by": "google"
|
1056
|
-
}
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"id": "gemma-3-27b-it",
|
1060
|
-
"created_at": null,
|
1061
|
-
"display_name": "Gemma 3 27b It",
|
1039
|
+
"display_name": "Gemini 1.0 Pro Vision",
|
1062
1040
|
"provider": "gemini",
|
1063
|
-
"context_window":
|
1041
|
+
"context_window": 12288,
|
1064
1042
|
"max_tokens": 4096,
|
1065
1043
|
"type": "chat",
|
1066
1044
|
"family": "other",
|
@@ -1070,8 +1048,14 @@
|
|
1070
1048
|
"input_price_per_million": 0.075,
|
1071
1049
|
"output_price_per_million": 0.3,
|
1072
1050
|
"metadata": {
|
1073
|
-
"
|
1074
|
-
"
|
1051
|
+
"version": "001",
|
1052
|
+
"description": "The original Gemini 1.0 Pro Vision model version which was optimized for image understanding. Gemini 1.0 Pro Vision was deprecated on July 12, 2024. Move to a newer Gemini version.",
|
1053
|
+
"input_token_limit": 12288,
|
1054
|
+
"output_token_limit": 4096,
|
1055
|
+
"supported_generation_methods": [
|
1056
|
+
"generateContent",
|
1057
|
+
"countTokens"
|
1058
|
+
]
|
1075
1059
|
}
|
1076
1060
|
},
|
1077
1061
|
{
|
@@ -1625,51 +1609,13 @@
|
|
1625
1609
|
"owned_by": "system"
|
1626
1610
|
}
|
1627
1611
|
},
|
1628
|
-
{
|
1629
|
-
"id": "image-verification-001",
|
1630
|
-
"created_at": null,
|
1631
|
-
"display_name": "Image Verification 001",
|
1632
|
-
"provider": "gemini",
|
1633
|
-
"context_window": 32768,
|
1634
|
-
"max_tokens": 4096,
|
1635
|
-
"type": "chat",
|
1636
|
-
"family": "other",
|
1637
|
-
"supports_vision": false,
|
1638
|
-
"supports_functions": false,
|
1639
|
-
"supports_json_mode": false,
|
1640
|
-
"input_price_per_million": 0.075,
|
1641
|
-
"output_price_per_million": 0.3,
|
1642
|
-
"metadata": {
|
1643
|
-
"object": "model",
|
1644
|
-
"owned_by": "google"
|
1645
|
-
}
|
1646
|
-
},
|
1647
1612
|
{
|
1648
1613
|
"id": "imagen-3.0-generate-002",
|
1649
1614
|
"created_at": null,
|
1650
|
-
"display_name": "Imagen 3.0
|
1651
|
-
"provider": "gemini",
|
1652
|
-
"context_window": 32768,
|
1653
|
-
"max_tokens": 4096,
|
1654
|
-
"type": "image",
|
1655
|
-
"family": "other",
|
1656
|
-
"supports_vision": false,
|
1657
|
-
"supports_functions": false,
|
1658
|
-
"supports_json_mode": false,
|
1659
|
-
"input_price_per_million": 0.075,
|
1660
|
-
"output_price_per_million": 0.3,
|
1661
|
-
"metadata": {
|
1662
|
-
"object": "model",
|
1663
|
-
"owned_by": "google"
|
1664
|
-
}
|
1665
|
-
},
|
1666
|
-
{
|
1667
|
-
"id": "imagen-3.0-generate-002-exp",
|
1668
|
-
"created_at": null,
|
1669
|
-
"display_name": "Imagen 3.0 Generate 002 Exp",
|
1615
|
+
"display_name": "Imagen 3.0 002 model",
|
1670
1616
|
"provider": "gemini",
|
1671
|
-
"context_window":
|
1672
|
-
"max_tokens":
|
1617
|
+
"context_window": 480,
|
1618
|
+
"max_tokens": 8192,
|
1673
1619
|
"type": "image",
|
1674
1620
|
"family": "other",
|
1675
1621
|
"supports_vision": false,
|
@@ -1678,17 +1624,22 @@
|
|
1678
1624
|
"input_price_per_million": 0.075,
|
1679
1625
|
"output_price_per_million": 0.3,
|
1680
1626
|
"metadata": {
|
1681
|
-
"
|
1682
|
-
"
|
1627
|
+
"version": "002",
|
1628
|
+
"description": "Vertex served Imagen 3.0 002 model",
|
1629
|
+
"input_token_limit": 480,
|
1630
|
+
"output_token_limit": 8192,
|
1631
|
+
"supported_generation_methods": [
|
1632
|
+
"predict"
|
1633
|
+
]
|
1683
1634
|
}
|
1684
1635
|
},
|
1685
1636
|
{
|
1686
1637
|
"id": "learnlm-1.5-pro-experimental",
|
1687
1638
|
"created_at": null,
|
1688
|
-
"display_name": "
|
1639
|
+
"display_name": "LearnLM 1.5 Pro Experimental",
|
1689
1640
|
"provider": "gemini",
|
1690
|
-
"context_window":
|
1691
|
-
"max_tokens":
|
1641
|
+
"context_window": 32767,
|
1642
|
+
"max_tokens": 8192,
|
1692
1643
|
"type": "chat",
|
1693
1644
|
"family": "other",
|
1694
1645
|
"supports_vision": false,
|
@@ -1697,8 +1648,14 @@
|
|
1697
1648
|
"input_price_per_million": 0.075,
|
1698
1649
|
"output_price_per_million": 0.3,
|
1699
1650
|
"metadata": {
|
1700
|
-
"
|
1701
|
-
"
|
1651
|
+
"version": "001",
|
1652
|
+
"description": "Alias that points to the most recent stable version of Gemini 1.5 Pro, our mid-size multimodal model that supports up to 2 million tokens.",
|
1653
|
+
"input_token_limit": 32767,
|
1654
|
+
"output_token_limit": 8192,
|
1655
|
+
"supported_generation_methods": [
|
1656
|
+
"generateContent",
|
1657
|
+
"countTokens"
|
1658
|
+
]
|
1702
1659
|
}
|
1703
1660
|
},
|
1704
1661
|
{
|
@@ -1818,67 +1775,10 @@
|
|
1818
1775
|
{
|
1819
1776
|
"id": "text-bison-001",
|
1820
1777
|
"created_at": null,
|
1821
|
-
"display_name": "
|
1822
|
-
"provider": "gemini",
|
1823
|
-
"context_window": 32768,
|
1824
|
-
"max_tokens": 4096,
|
1825
|
-
"type": "chat",
|
1826
|
-
"family": "other",
|
1827
|
-
"supports_vision": false,
|
1828
|
-
"supports_functions": false,
|
1829
|
-
"supports_json_mode": false,
|
1830
|
-
"input_price_per_million": 0.075,
|
1831
|
-
"output_price_per_million": 0.3,
|
1832
|
-
"metadata": {
|
1833
|
-
"object": "model",
|
1834
|
-
"owned_by": "google"
|
1835
|
-
}
|
1836
|
-
},
|
1837
|
-
{
|
1838
|
-
"id": "text-bison-recitation-off",
|
1839
|
-
"created_at": null,
|
1840
|
-
"display_name": "Text Bison Recitation Off",
|
1841
|
-
"provider": "gemini",
|
1842
|
-
"context_window": 32768,
|
1843
|
-
"max_tokens": 4096,
|
1844
|
-
"type": "chat",
|
1845
|
-
"family": "other",
|
1846
|
-
"supports_vision": false,
|
1847
|
-
"supports_functions": false,
|
1848
|
-
"supports_json_mode": false,
|
1849
|
-
"input_price_per_million": 0.075,
|
1850
|
-
"output_price_per_million": 0.3,
|
1851
|
-
"metadata": {
|
1852
|
-
"object": "model",
|
1853
|
-
"owned_by": "google"
|
1854
|
-
}
|
1855
|
-
},
|
1856
|
-
{
|
1857
|
-
"id": "text-bison-safety-off",
|
1858
|
-
"created_at": null,
|
1859
|
-
"display_name": "Text Bison Safety Off",
|
1860
|
-
"provider": "gemini",
|
1861
|
-
"context_window": 32768,
|
1862
|
-
"max_tokens": 4096,
|
1863
|
-
"type": "chat",
|
1864
|
-
"family": "other",
|
1865
|
-
"supports_vision": false,
|
1866
|
-
"supports_functions": false,
|
1867
|
-
"supports_json_mode": false,
|
1868
|
-
"input_price_per_million": 0.075,
|
1869
|
-
"output_price_per_million": 0.3,
|
1870
|
-
"metadata": {
|
1871
|
-
"object": "model",
|
1872
|
-
"owned_by": "google"
|
1873
|
-
}
|
1874
|
-
},
|
1875
|
-
{
|
1876
|
-
"id": "text-bison-safety-recitation-off",
|
1877
|
-
"created_at": null,
|
1878
|
-
"display_name": "Text Bison Safety Recitation Off",
|
1778
|
+
"display_name": "PaLM 2 (Legacy)",
|
1879
1779
|
"provider": "gemini",
|
1880
|
-
"context_window":
|
1881
|
-
"max_tokens":
|
1780
|
+
"context_window": 8196,
|
1781
|
+
"max_tokens": 1024,
|
1882
1782
|
"type": "chat",
|
1883
1783
|
"family": "other",
|
1884
1784
|
"supports_vision": false,
|
@@ -1887,8 +1787,15 @@
|
|
1887
1787
|
"input_price_per_million": 0.075,
|
1888
1788
|
"output_price_per_million": 0.3,
|
1889
1789
|
"metadata": {
|
1890
|
-
"
|
1891
|
-
"
|
1790
|
+
"version": "001",
|
1791
|
+
"description": "A legacy model that understands text and generates text as an output",
|
1792
|
+
"input_token_limit": 8196,
|
1793
|
+
"output_token_limit": 1024,
|
1794
|
+
"supported_generation_methods": [
|
1795
|
+
"generateText",
|
1796
|
+
"countTextTokens",
|
1797
|
+
"createTunedTextModel"
|
1798
|
+
]
|
1892
1799
|
}
|
1893
1800
|
},
|
1894
1801
|
{
|
@@ -1897,7 +1804,7 @@
|
|
1897
1804
|
"display_name": "Text Embedding 004",
|
1898
1805
|
"provider": "gemini",
|
1899
1806
|
"context_window": 2048,
|
1900
|
-
"max_tokens":
|
1807
|
+
"max_tokens": 1,
|
1901
1808
|
"type": "embedding",
|
1902
1809
|
"family": "embedding4",
|
1903
1810
|
"supports_vision": false,
|
@@ -1906,8 +1813,13 @@
|
|
1906
1813
|
"input_price_per_million": 0.0,
|
1907
1814
|
"output_price_per_million": 0.0,
|
1908
1815
|
"metadata": {
|
1909
|
-
"
|
1910
|
-
"
|
1816
|
+
"version": "004",
|
1817
|
+
"description": "Obtain a distributed representation of a text.",
|
1818
|
+
"input_token_limit": 2048,
|
1819
|
+
"output_token_limit": 1,
|
1820
|
+
"supported_generation_methods": [
|
1821
|
+
"embedContent"
|
1822
|
+
]
|
1911
1823
|
}
|
1912
1824
|
},
|
1913
1825
|
{
|
@@ -2043,25 +1955,6 @@
|
|
2043
1955
|
"owned_by": "system"
|
2044
1956
|
}
|
2045
1957
|
},
|
2046
|
-
{
|
2047
|
-
"id": "veo-2.0-generate-001",
|
2048
|
-
"created_at": null,
|
2049
|
-
"display_name": "Veo 2.0 Generate 001",
|
2050
|
-
"provider": "gemini",
|
2051
|
-
"context_window": 32768,
|
2052
|
-
"max_tokens": 4096,
|
2053
|
-
"type": "chat",
|
2054
|
-
"family": "other",
|
2055
|
-
"supports_vision": false,
|
2056
|
-
"supports_functions": false,
|
2057
|
-
"supports_json_mode": false,
|
2058
|
-
"input_price_per_million": 0.075,
|
2059
|
-
"output_price_per_million": 0.3,
|
2060
|
-
"metadata": {
|
2061
|
-
"object": "model",
|
2062
|
-
"owned_by": "google"
|
2063
|
-
}
|
2064
|
-
},
|
2065
1958
|
{
|
2066
1959
|
"id": "whisper-1",
|
2067
1960
|
"created_at": "2023-02-27T22:13:04+01:00",
|