emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gptel 1ea92206f3: gptel-gemini: Add new models


From: ELPA Syncer
Subject: [nongnu] elpa/gptel 1ea92206f3: gptel-gemini: Add new models
Date: Sat, 14 Dec 2024 19:01:14 -0500 (EST)

branch: elpa/gptel
commit 1ea92206f385d20400ba5dcbaa4705d59cdea200
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>

    gptel-gemini: Add new models
    
    * gptel-gemini.el (gptel--gemini-models): Add models
    gemini-2.0-flash-exp, gemini-1.5-flash-8b and gemini-exp-1206.
    There are many more addressable Gemini models; these can be added
    if users suggest them.
---
 gptel-gemini.el | 47 +++++++++++++++++++++++++++++++++++------------
 1 file changed, 35 insertions(+), 12 deletions(-)

diff --git a/gptel-gemini.el b/gptel-gemini.el
index f28b5f8bac..644cbf7998 100644
--- a/gptel-gemini.el
+++ b/gptel-gemini.el
@@ -199,15 +199,23 @@ files in the context."
         (plist-get (car (last prompts)) :parts))))
 
 (defconst gptel--gemini-models
-  '((gemini-pro
-     :description "The previous generation of Google's multimodal AI model"
+  '((gemini-1.5-pro-latest
+     :description "Google's latest model with enhanced capabilities across 
various tasks"
      :capabilities (tool json media)
      :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
                   "application/pdf" "text/plain" "text/csv" "text/html")
-     :context-window 32
-     :input-cost 0.50
-     :output-cost 1.50
-     :cutoff-date "2023-02")
+     :context-window 2000
+     ;; input & output price is halved for prompts of 128k tokens or less
+     :input-cost 2.50
+     :output-cost 10
+     :cutoff-date "2024-05")
+    (gemini-2.0-flash-exp
+     :description "Next generation features, superior speed, native tool use"
+     :capabilities (tool json media)
+     :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
+                  "application/pdf" "text/plain" "text/csv" "text/html")
+     :context-window 1000
+     :cutoff-date "2024-12")
     (gemini-1.5-flash
      :description "A faster, more efficient version of Gemini 1.5 optimized 
for speed"
      :capabilities (tool json media)
@@ -218,16 +226,31 @@ files in the context."
      :input-cost 0.15
      :output-cost 0.60
      :cutoff-date "2024-05")
-    (gemini-1.5-pro-latest
-     :description "Google's latest model with enhanced capabilities across 
various tasks"
+    (gemini-1.5-flash-8b
+     :description "High volume and lower intelligence tasks"
      :capabilities (tool json media)
+     :context-window 1000
      :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
                   "application/pdf" "text/plain" "text/csv" "text/html")
-     :context-window 2000
      ;; input & output price is halved for prompts of 128k tokens or less
-     :input-cost 2.50
-     :output-cost 10
-     :cutoff-date "2024-05"))
+     :input-cost 0.075
+     :output-cost 0.30
+     :cutoff-date "2024-10")
+    (gemini-exp-1206
+     :description "Improved coding, reasoning and vision capabilities"
+     :capabilities (tool json media)
+     :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
+                  "application/pdf" "text/plain" "text/csv" "text/html")
+     :cutoff-date "2024-12")
+    (gemini-pro
+     :description "The previous generation of Google's multimodal AI model"
+     :capabilities (tool json media)
+     :mime-types ("image/png" "image/jpeg" "image/webp" "image/heic" 
"image/heif"
+                  "application/pdf" "text/plain" "text/csv" "text/html")
+     :context-window 32
+     :input-cost 0.50
+     :output-cost 1.50
+     :cutoff-date "2023-02"))
   "List of available Gemini models and associated properties.
 Keys:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]