branch: elpa/gptel
commit 0f65be08ead0c9bc882fad5a4dcb604448e366a6
Author: Savva Surenkov <[email protected]>
Commit: GitHub <[email protected]>

    gptel-gemini: Add gemini-3-flash-preview (#1186)
    
    gptel-gemini.el (gptel--gemini-models): Add support for
    `gemini-3-flash-preview'.
---
 NEWS            |  2 +-
 gptel-gemini.el | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 7b55faa7e73..ef5268e07c6 100644
--- a/NEWS
+++ b/NEWS
@@ -21,7 +21,7 @@
 - GitHub Copilot backend: Add support for =gpt-5.2=, =gpt-41-copilot=,
   =clause-opus-4.5= and =gemini-3-pro-preview=
 
-- Add support for =gemini-3-pro-preview=.
+- Add support for =gemini-3-pro-preview=, =gemini-3-flash-preview=.
 
 - Add support for =gpt-5.1=.
 
diff --git a/gptel-gemini.el b/gptel-gemini.el
index 28f564ca0ba..7c6dbb11f39 100644
--- a/gptel-gemini.el
+++ b/gptel-gemini.el
@@ -415,6 +415,17 @@ Media files, if present, are placed in `gptel-context'."
      :input-cost 2.0                    ; 4.0 for >200k tokens
      :output-cost 12.00                 ; 18.0 for >200k tokens
      :cutoff-date "2025-01")
+    (gemini-3-flash-preview
+     :description "Most intelligent Gemini model built for speed"
+     :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 1048               ; 65536 output token limit
+     :input-cost 0.50
+     :output-cost 3.00
+     :cutoff-date "2025-01")
     (gemini-2.5-pro
      :description "Most powerful Gemini thinking model with state-of-the-art 
performance"
      :capabilities (tool-use json media audio video)

Reply via email to