branch: elpa/gptel
commit 5576f172668beadd671cc310c8d2d62088b09ff7
Author: Andrew Stribblehill <str...@gmail.com>
Commit: GitHub <nore...@github.com>

    gptel-gemini: Add gemini-2.5 pro, flash and flash-lite (#926)
    
    * gptel-gemini.el (gptel--gemini-models): Add new models
    gemini-2.5-flash, gemini-2.5-flash-lite-preview-06-17 and
    gemini-2.5-pro.
    
    Update model metadata.
---
 gptel-gemini.el | 41 +++++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/gptel-gemini.el b/gptel-gemini.el
index 54aada753d..690edddedc 100644
--- a/gptel-gemini.el
+++ b/gptel-gemini.el
@@ -471,7 +471,7 @@ files in the context."
      :output-cost 10.00 ; 15 for >200k tokens
      :cutoff-date "2025-01")
     (gemini-2.5-flash-preview-04-17
-     :description "Best model in terms of price-performance, offering 
well-rounded capabilities"
+     :description "DEPRECATED: Please use gemini-2.5-flash instead."
      :capabilities (tool-use json media)
      :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
                   "application/pdf" "text/plain" "text/csv" "text/html")
@@ -480,7 +480,7 @@ files in the context."
      :output-cost 0.60 ; 3.50 for thinking
      :cutoff-date "2025-01")
     (gemini-2.5-flash-preview-05-20
-     :description "Best model in terms of price-performance, offering 
well-rounded capabilities"
+     :description "DEPRECATED: Please use gemini-2.5-flash instead."
      :capabilities (tool-use json media)
      :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
                   "application/pdf" "text/plain" "text/csv" "text/html")
@@ -488,6 +488,17 @@ files in the context."
      :input-cost 0.15
      :output-cost 0.60 ; 3.50 for thinking
      :cutoff-date "2025-01")
+    (gemini-2.5-flash
+     :description "Best model in terms of price-performance, offering 
well-rounded capabilities"
+     :capabilities (tool-use json media audio video)
+     :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
+                  "application/pdf" "text/plain" "text/csv" "text/html"
+                  "audio/mpeg" "audio/wav" "audio/ogg" "audio/flac" 
"audio/aac" "audio/mp3"
+                  "video/mp4" "video/mpeg" "video/avi" "video/quicktime" 
"video/webm")
+     :context-window 1024
+     :input-cost 0.15
+     :output-cost 0.60
+     :cutoff-date "2025-01")
     (gemini-2.5-pro-preview-05-06
      :description "Previously most powerful thinking model with 
state-of-the-art performance"
      :capabilities (tool-use json media)
@@ -525,13 +536,27 @@ files in the context."
      :output-cost 2.50
      :cutoff-date "2025-01")
     (gemini-2.5-pro
-     :description "State-of-the-art thinking model, capable of reasoning over 
complex problems"
-     :capabilities (tool-use json media)
+     :description "Most powerful Gemini thinking model with state-of-the-art 
performance"
+     :capabilities (tool-use json media audio video)
      :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
-                  "application/pdf" "text/plain" "text/csv" "text/html")
-     :context-window 1048 ; 65536 output token limit
-     :input-cost 1.25 ; 2.50 for >200k tokens
-     :output-cost 10.00 ; 15 for >200k tokens
+                  "application/pdf" "text/plain" "text/csv" "text/html"
+                  "audio/mpeg" "audio/wav" "audio/ogg" "audio/flac" 
"audio/aac" "audio/mp3"
+                  "video/mp4" "video/mpeg" "video/avi" "video/quicktime" 
"video/webm")
+     :context-window 1048               ; 65536 output token limit
+     :input-cost 1.25                   ; 2.50 for >200k tokens
+     :output-cost 10.00                 ; 15 for >200k tokens
+     :cutoff-date "2025-01")
+    (gemini-2.5-flash-lite-preview-06-17
+     :description "Fastest and cheapest 2.5 model, for high-volume, 
latency-sensitive tasks."
+     :capabilities (tool-use json media audio video)
+     :mime-types ("image/png" "image/jpeg" "image/webp" "application/pdf" 
"text/plain"
+                  "audio/x-aac" "audio/flac" "audio/mp3" "audio/m4a" 
"audio/mpeg"
+                  "audio/mpga" "audio/mp4" "audio/opus" "audio/pcm" 
"audio/wav" "audio/webm"
+                  "video/x-flv" "video/quicktime" "video/mpeg" "video/mp4"
+                  "video/webm" "video/wmv" "video/3gpp")
+     :context-window 1048
+     :input-cost 0.075
+     :output-cost 0.30
      :cutoff-date "2025-01")
     (gemini-2.0-flash-thinking-exp
      :description "DEPRECATED: Please use gemini-2.0-flash-thinking-exp-01-21 
instead."

Reply via email to