From 8d69e63d72ecd0dc442adbee7b87ebc6ecfde76a Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Thu, 14 Aug 2025 02:24:33 +0800 Subject: [PATCH] Add OpenAI GPT-5 Chat(gpt-5-chat-latest) (#5494) GPT-5 Chat points to the GPT-5 snapshot currently used in ChatGPT. Just like the dynamic model chatgpt-4o-latest for GPT-4o series. Reference: - https://platform.openai.com/docs/models/gpt-5-chat-latest --- .changeset/lazy-oranges-hope.md | 5 +++++ src/shared/api.ts | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 .changeset/lazy-oranges-hope.md diff --git a/.changeset/lazy-oranges-hope.md b/.changeset/lazy-oranges-hope.md new file mode 100644 index 00000000..3940e68a --- /dev/null +++ b/.changeset/lazy-oranges-hope.md @@ -0,0 +1,5 @@ +--- +"claude-dev": minor +--- + +Add OpenAI GPT-5 Chat(gpt-5-chat-latest) diff --git a/src/shared/api.ts b/src/shared/api.ts index f5074a04..9bbadd7a 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -1031,6 +1031,15 @@ export const openAiNativeModels = { outputPrice: 0.4, cacheReadsPrice: 0.005, }, + "gpt-5-chat-latest": { + maxTokens: 8_192, + contextWindow: 400000, + supportsImages: true, + supportsPromptCache: true, + inputPrice: 1.25, + outputPrice: 10, + cacheReadsPrice: 0.125, + }, "nectarine-alpha-new-reasoning-effort-2025-07-25": { maxTokens: 8_192, contextWindow: 256000,