Skip to content

Commit dd5e717

Browse files
authored
gptel-gemini: Update model information (#1063)
* gptel-gemini.el (gptel--gemini-models): Supply missing model info, including output-cost and cutoff-date values; ensure all docstrings fit; remove unnecessary URL.
1 parent 81618f2 commit dd5e717

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

gptel-gemini.el

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,9 @@ files in the context."
387387
"audio/mpeg" "audio/wav" "audio/ogg" "audio/flac" "audio/aac" "audio/mp3"
388388
"video/mp4" "video/mpeg" "video/avi" "video/quicktime" "video/webm")
389389
:context-window 1048 ; 65536 output token limit
390-
:input-cost 1.25) ; 2.50 for >200k tokens
390+
:input-cost 1.25 ; 2.50 for >200k tokens
391+
:output-cost 10.00 ; 15 for >200k tokens
392+
:cutoff-date "2025-01")
391393
(gemini-2.5-pro-exp-03-25
392394
:description "Like gemini-2.5-pro-preview-03-25 but limited to 5 req/min, 25 req/day"
393395
:capabilities (tool-use json media)
@@ -406,7 +408,7 @@ files in the context."
406408
:output-cost 10.00 ; 15 for >200k tokens
407409
:cutoff-date "2025-01")
408410
(gemini-2.5-flash-preview-05-20
409-
:description "DEPRECATED: Please use gemini-2.5-flash instead."
411+
:description "DEPRECATED: Please use gemini-2.5-flash instead"
410412
:capabilities (tool-use json media)
411413
:mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" "image/heif"
412414
"application/pdf" "text/plain" "text/csv" "text/html")
@@ -415,7 +417,7 @@ files in the context."
415417
:output-cost 0.60 ; 3.50 for thinking
416418
:cutoff-date "2025-01")
417419
(gemini-2.5-flash
418-
:description "Best model in terms of price-performance, offering well-rounded capabilities"
420+
:description "Best in terms of price-performance, with well-rounded capabilities"
419421
:capabilities (tool-use json media audio video)
420422
:mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" "image/heif"
421423
"application/pdf" "text/plain" "text/csv" "text/html"
@@ -443,7 +445,7 @@ files in the context."
443445
:output-cost 10.00 ; 15 for >200k tokens
444446
:cutoff-date "2025-01")
445447
(gemini-2.5-flash-lite
446-
:description "Fastest and cheapest 2.5 model, for high-volume, latency-sensitive tasks."
448+
:description "Fastest & cheapest 2.5 model, for high-volume, latency-sensitive tasks"
447449
:capabilities (tool-use json media)
448450
:capabilities (tool-use json media audio video)
449451
:mime-types ("image/png" "image/jpeg" "image/webp" "application/pdf" "text/plain"
@@ -456,7 +458,7 @@ files in the context."
456458
:output-cost 0.40
457459
:cutoff-date "2025-01")
458460
(gemini-2.5-flash-lite-preview-06-17
459-
:description "Fastest and cheapest 2.5 model, for high-volume, latency-sensitive tasks."
461+
:description "Fastest & cheapest 2.5 model, for high-volume, latency-sensitive tasks"
460462
:capabilities (tool-use json media audio video)
461463
:mime-types ("image/png" "image/jpeg" "image/webp" "application/pdf" "text/plain"
462464
"audio/x-aac" "audio/flac" "audio/mp3" "audio/m4a" "audio/mpeg"
@@ -473,7 +475,9 @@ files in the context."
473475
:mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" "image/heif"
474476
"application/pdf" "text/plain" "text/csv" "text/html")
475477
:context-window 1000
476-
:input-cost 0.10)
478+
:input-cost 0.10
479+
:output-cost 0.40
480+
:cutoff-date "2024-08")
477481
(gemini-2.0-flash-lite-preview-02-05
478482
:description "Gemini 2.0 Flash model optimized for cost efficiency and low latency"
479483
:capabilities (json)
@@ -486,18 +490,22 @@ files in the context."
486490
:capabilities (tool-use json media)
487491
:mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" "image/heif"
488492
"application/pdf" "text/plain" "text/csv" "text/html")
489-
:context-window 1000)
493+
:context-window 1000
494+
:input-cost 0.00
495+
:output-cost 0.00)
490496
(gemini-2.0-flash-thinking-exp-01-21
491497
:description "Next gen, high speed, multimodal for a diverse variety of tasks"
492498
:capabilities (json)
493499
:input-cost 0.00
494500
:output-cost 0.00)
495501
(gemini-2.0-flash-thinking-exp
496-
:description "DEPRECATED: Please use gemini-2.0-flash-thinking-exp-01-21 instead."
502+
:description "DEPRECATED: Please use gemini-2.0-flash-thinking-exp-01-21 instead"
497503
:capabilities (tool-use media)
498504
:context-window 32
499505
:mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" "image/heif"
500-
"text/plain" "text/csv" "text/html"))
506+
"text/plain" "text/csv" "text/html")
507+
:input-cost 0.00
508+
:output-cost 0.00)
501509
(gemini-1.5-pro-latest
502510
:description "Google's latest model with enhanced capabilities across various tasks"
503511
:capabilities (tool-use json media)
@@ -550,7 +558,6 @@ Information about the Gemini models was obtained from the following
550558
source:
551559
552560
- <https://ai.google.dev/pricing>
553-
- <https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models>
554561
- <https://ai.google.dev/gemini-api/docs/models>")
555562

556563
;;;###autoload

0 commit comments

Comments
 (0)