Skip to content

Commit 4a0a40e

Browse files
Add OpenAI "dynamic" model chatgpt-4o-latest (RooCodeInc#2385)
This model represents the latest GPT-4o on chatgpt.com, dynamically updated to always reflect the most current version, bridging the gap between GPT-4o and GPT-4.5. Reference: - https://platform.openai.com/docs/models/chatgpt-4o-latest - https://x.com/OpenAIDevs/status/1823510395619000525 - https://x.com/lmarena_ai/status/1823515229491515715
1 parent 124569c commit 4a0a40e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.changeset/short-pants-serve.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": minor
3+
---
4+
5+
Add OpenAI "dynamic" model chatgpt-4o-latest

src/shared/api.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,14 @@ export const openAiNativeModels = {
605605
outputPrice: 0.6,
606606
cacheReadsPrice: 0.075,
607607
},
608+
"chatgpt-4o-latest": {
609+
maxTokens: 16_384,
610+
contextWindow: 128_000,
611+
supportsImages: true,
612+
supportsPromptCache: false,
613+
inputPrice: 5,
614+
outputPrice: 15,
615+
},
608616
"gpt-4.5-preview": {
609617
maxTokens: 16_384,
610618
contextWindow: 128_000,

0 commit comments

Comments
 (0)