branch: elpa/gptel commit 229f7c689c67f993c0bb68052ef0f365b165dcd3 Author: Karthik Chikmagalur <karthikchikmaga...@gmail.com> Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>
gptel: Add support for GPT-5, GPT-5 Mini and GPT-5 Nano * gptel.el (gptel--openai-models): Add support for gpt-5, gpt-5-mini and gpt-5-nano to the OpenAI backend. * NEWS (New models and backends): Mention support. --- NEWS | 2 ++ gptel.el | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/NEWS b/NEWS index a3f399d5775..a19fe4d2b03 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,8 @@ ** New models and backends +- Add support for ~gpt-5~, ~gpt-5-mini~ and ~gpt-5-nano~. + - Add support for ~claude-opus-4-1-20250805~. - Add support for ~gemini-2.5-pro~, ~gemini-2.5-flash~, diff --git a/gptel.el b/gptel.el index b4d7022d6a4..3030a1e7836 100644 --- a/gptel.el +++ b/gptel.el @@ -643,6 +643,30 @@ the same as t." :input-cost 30 :output-cost 60 :cutoff-date "2023-11") + (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 400 + :input-cost 1.25 + :output-cost 10 + :cutoff-date "2024-09") + (gpt-5-mini + :description "Faster, more cost-efficient version of GPT-5" + :capabilities (media tool-use json url) + :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp") + :context-window 400 + :input-cost 0.25 + :output-cost 2.0 + :cutoff-date "2024-09") + (gpt-5-nano + :description "Fastest, cheapest version of GPT-5" + :capabilities (media tool-use json url) + :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp") + :context-window 400 + :input-cost 0.05 + :output-cost 0.40 + :cutoff-date "2024-09") (o1 :description "Reasoning model designed to solve hard problems across domains" :capabilities (media reasoning)