branch: elpa/gptel commit 42fb1bfa72faa79afc608b17a7a32518ed2915e7 Author: Savva Surenkov <savva@surenkov.space> Commit: GitHub <nore...@github.com>
gptel-gemini: Add gemini-2.5-flash-preview-04-17 (#793) gptel-gemini.el (gptel--gemini-models): Add support for `gemini-2.5-flash-preview-04-17'. --- NEWS | 2 ++ gptel-gemini.el | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/NEWS b/NEWS index ffdd71a8c8..f6dc4a6827 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,8 @@ - Add support for ~gpt-4.1~, ~gpt-4.1-mini~ and ~gpt-4.1-nano~. +- Add support for ~gemini-2.5-flash-preview-04-17~. + ** New features and UI changes - The new option ~gptel-curl-extra-args~ can be used to specify extra diff --git a/gptel-gemini.el b/gptel-gemini.el index d6a2cd7041..eb82a30871 100644 --- a/gptel-gemini.el +++ b/gptel-gemini.el @@ -412,6 +412,15 @@ files in the context." :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-preview-04-17 + :description "Best Gemini model in terms of price-performance, offering well-rounded capabilities" + :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") + :context-window 1000 + :input-cost 0.15 + :output-cost 0.60 ; 3.50 for thinking + :cutoff-date "2025-01") (gemini-2.0-flash-thinking-exp :description "DEPRECATED: Please use gemini-2.0-flash-thinking-exp-01-21 instead." :capabilities (tool-use media)