branch: elpa/gptel
commit 9d6313ce7c6eb71bfb24a8d1edcd60fe4534eea3
Author: Savva Surenkov <[email protected]>
Commit: GitHub <[email protected]>
gptel-gemini: Add gemini-3-pro-preview (#1145)
gptel-gemini.el (gptel--gemini-models): Add support for
gemini-3-pro-preview.
---
NEWS | 2 ++
gptel-gemini.el | 11 +++++++++++
2 files changed, 13 insertions(+)
diff --git a/NEWS b/NEWS
index afb844f5e3f..550fcefdef0 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,8 @@
** New models and backends
+- Add support for =gemini-3-pro-preview=.
+
** New features and UI changes
- When redirecting LLM responses to the kill ring or echo area, gptel
diff --git a/gptel-gemini.el b/gptel-gemini.el
index 94c378e1a12..28f564ca0ba 100644
--- a/gptel-gemini.el
+++ b/gptel-gemini.el
@@ -404,6 +404,17 @@ Media files, if present, are placed in `gptel-context'."
:input-cost 0.10
:output-cost 0.40
:cutoff-date "2025-01")
+ (gemini-3-pro-preview
+ :description "Most intelligent Gemini model with SOTA reasoning and
multimodal understanding"
+ :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 2.0 ; 4.0 for >200k tokens
+ :output-cost 12.00 ; 18.0 for >200k tokens
+ :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)