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

    gptel-gh: Update model list (#1217)
    
    gptel-gh.el (gptel--gh-models): Add support for
    gpt-5.2-codex.
    
    NEWS: Mention change.
---
 NEWS        |  5 +++--
 gptel-gh.el | 12 ++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index c938e05cc14..bac8cdcb1de 100644
--- a/NEWS
+++ b/NEWS
@@ -18,8 +18,9 @@
 
 ** New models and backends
 
-- GitHub Copilot backend: Add support for =gpt-5.2=, =gpt-41-copilot=,
-  =claude-opus-4.5=, =gemini-3-pro-preview= and =gemini-3-flash-preview=
+- GitHub Copilot backend: Add support for =gpt-5.2=, =gpt-5.2-codex=,
+  =gpt-41-copilot=, =claude-opus-4.5=, =gemini-3-pro-preview= and
+  =gemini-3-flash-preview=
 
 - Bedrock backend: Add support for =claude-opus-4.5= and =nova-2-lite=
 
diff --git a/gptel-gh.el b/gptel-gh.el
index 5136bcf3219..39dba4682ed 100644
--- a/gptel-gh.el
+++ b/gptel-gh.el
@@ -86,8 +86,16 @@
      :capabilities (media tool-use json url)
      :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
      :context-window 400
-     :input-cost 1.75
-     :output-cost 14
+     :input-cost 1
+     :output-cost 1
+     :cutoff-date "2025-08")
+    (gpt-5.2-codex
+     :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 400
+     :input-cost 1
+     :output-cost 1
      :cutoff-date "2025-08")
     (claude-sonnet-4
      :description "High-performance model with exceptional reasoning and 
efficiency"

Reply via email to