branch: elpa/gptel
commit e9255473fcde2fcef516cd7da7967f3d80f168aa
Author: kiennq <[email protected]>
Commit: GitHub <[email protected]>

    gptel-gh: Update model list (#1180)
    
    gptel-gh.el (gptel--gh-models): Update and remove models no
    longer available via the Copilot API.
---
 NEWS        |  6 +++---
 gptel-gh.el | 24 ++++++++++++++++++++----
 2 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/NEWS b/NEWS
index 29059a76242..a469c3e2c66 100644
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,7 @@
 
 ** Breaking changes
 
-- The models =o3=, =o3-mini=, =o4-mini=, =claude-3.5-sonnet=,
+- The models =gpt-5-codex=, =o3=, =o3-mini=, =o4-mini=, =claude-3.5-sonnet=,
   =claude-3.7-sonnet=, =claude-3.7-sonnet-thought=, =claude-opus-4= and
   =gemini-2.0-flash-001= have been removed from the default list of GitHub
   Copilot models.  These models are no longer available in the GitHub Copilot
@@ -18,8 +18,8 @@
 
 ** New models and backends
 
-- GitHub Copilot backend: Add support for =gpt-41-copilot= and
-  =gemini-3-pro-preview=
+- 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=.
 
diff --git a/gptel-gh.el b/gptel-gh.el
index 356ec12003e..92f3d2e8b27 100644
--- a/gptel-gh.el
+++ b/gptel-gh.el
@@ -57,13 +57,13 @@
      :input-cost 1
      :output-cost 1
      :cutoff-date "2024-09")
-    (gpt-5-codex
+    (gpt-5.1-codex-max
      :description "Flagship model for coding, reasoning, and agentic tasks 
across domains"
      :capabilities (media tool-use json url)
      :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
-     :context-window 272
-     :input-cost 1.25
-     :output-cost 10
+     :context-window 400
+     :input-cost 1
+     :output-cost 1
      :cutoff-date "2024-09")
     (gpt-5-mini
      :description "Faster, more cost-efficient version of GPT-5"
@@ -81,6 +81,14 @@
      :input-cost 1
      :output-cost 1
      :cutoff-date "2024-09")
+    (gpt-5.2
+     :description "The best model for coding and agentic tasks"
+     :capabilities (media tool-use json url)
+     :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
+     :context-window 264
+     :input-cost 1
+     :output-cost 1
+     :cutoff-date "2025-08")
     (claude-sonnet-4
      :description "High-performance model with exceptional reasoning and 
efficiency"
      :capabilities (media tool-use cache)
@@ -113,6 +121,14 @@
      :input-cost 10
      :output-cost 10
      :cutoff-date "2025-03")
+    (claude-opus-4.5
+     :description "Most capable model for complex reasoning and advanced 
coding"
+     :capabilities (media tool-use cache)
+     :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp" 
"application/pdf")
+     :context-window 144
+     :input-cost 3
+     :output-cost 3
+     :cutoff-date "2025-05")
     (gemini-2.5-pro
      :description "Next gen, high speed, multimodal for a diverse variety of 
tasks"
      :capabilities (tool-use json media)

Reply via email to