branch: elpa/gptel
commit d1e5a4a9a254d4590980cbedf747a1102c299fa6
Author: Jacek Swierk <[email protected]>
Commit: Karthik Chikmagalur <[email protected]>

    gptel-gh: Remove unsupported models
    
    * gptel-gh.el (gptel--gh-models): remove gpt-41-copilot, gpt-5 and
    claude-opus-41 models
    * NEWS: mention changes
---
 NEWS        |  4 ++++
 gptel-gh.el | 24 ------------------------
 2 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/NEWS b/NEWS
index 57f8622ec2..4a367446e2 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,10 @@
   configuration: if ~gptel-send~ is called without a backend set, the
   ChatGPT backend is created on the fly and used.
 
+- The models =gpt-41-copilot=, =gpt-5= and =claude-opus-41= have been
+  removed from the default list of GitHub Copilot models.  These models
+  are no longer available in the GitHub Copilot API.
+
 ** New models and backends
 
 - xAI backend: Add support for =grok-4-1-fast-reasoning=,
diff --git a/gptel-gh.el b/gptel-gh.el
index 737114bcb0..4dddbbd5a2 100644
--- a/gptel-gh.el
+++ b/gptel-gh.el
@@ -42,22 +42,6 @@
      :input-cost 0
      :output-cost 0
      :cutoff-date "2024-05")
-    (gpt-41-copilot
-     :description "Flagship model for complex tasks"
-     :capabilities (media tool-use json url)
-     :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
-     :context-window 200
-     :input-cost 0
-     :output-cost 0
-     :cutoff-date "2024-05")
-    (gpt-5
-     :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 264
-     :input-cost 1
-     :output-cost 1
-     :cutoff-date "2024-09")
     (gpt-5.1-codex-max
      :description "Flagship model for coding, reasoning, and agentic tasks 
across domains"
      :capabilities (media tool-use json url)
@@ -122,14 +106,6 @@
      :input-cost 0.33
      :output-cost 0.33
      :cutoff-date "2025-02")
-    (claude-opus-41
-     :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 80
-     :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)

Reply via email to