branch: elpa/gptel
commit 269b3513852659b00828186638a0656638f7c0a7
Author: Jack Kelly <[email protected]>
Commit: Karthik Chikmagalur <[email protected]>

    gptel-openai-extras: Add grok-4.5
    
    gptel-openai-extras.el (gptel-make-xai): Add grok-4.5
    
    NEWS: Mention change.
---
 NEWS                   |  3 ++-
 gptel-openai-extras.el | 12 ++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index 96fa5feb5f..9f8733bf4a 100644
--- a/NEWS
+++ b/NEWS
@@ -63,7 +63,8 @@
 - OpenAI backend: Add support for =gpt-5.6-sol=, =gpt-5.6-terra= and
   =gpt-5.6-luna=.
 
-- xAI backend: Add support for =grok-4.3= and =grok-build-0.1=.
+- xAI backend: Add support for =grok-4.3=, =grok-build-0.1= and
+  =grok-4.5=.
 
 ** New features and UI changes
 
diff --git a/gptel-openai-extras.el b/gptel-openai-extras.el
index 84e5cd561f..45cc786994 100644
--- a/gptel-openai-extras.el
+++ b/gptel-openai-extras.el
@@ -362,8 +362,16 @@ For the meanings of the keyword arguments, see 
`gptel-make-openai'."
           (protocol "https")
           (endpoint "/v1/chat/completions")
           (models
-           '((grok-4.3
-              :description "Our most advanced flagship model, leading the 
industry in non-hallucination rate, agentic tool calling, and instruction 
following capabilities."
+           '((grok-4.5
+              :description "Most advanced flagship model, leading in agentic 
tool calling and instruction following capabilities."
+              :capabilities (tool-use json media reasoning)
+              :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
+              :context-window 500
+              :input-cost 2
+              :output-cost 6)
+
+             (grok-4.3
+              :description "Advanced flagship model, leading in agentic tool 
calling and instruction following capabilities."
               :capabilities (tool-use json media reasoning)
               :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
               :context-window 1000

Reply via email to