Skip to content

Commit 89cbbe9

Browse files
1 parent 4d696f3 commit 89cbbe9

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.changeset/big-mayflies-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
Add OpenAI o3 & 4o-mini

src/shared/api.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,24 @@ export const openAiNativeModels = {
633633
outputPrice: 0.4,
634634
cacheReadsPrice: 0.025,
635635
},
636+
o3: {
637+
maxTokens: 100_000,
638+
contextWindow: 200_000,
639+
supportsImages: true,
640+
supportsPromptCache: true,
641+
inputPrice: 10.0,
642+
outputPrice: 40.0,
643+
cacheReadsPrice: 2.5,
644+
},
645+
"o4-mini": {
646+
maxTokens: 100_000,
647+
contextWindow: 200_000,
648+
supportsImages: true,
649+
supportsPromptCache: true,
650+
inputPrice: 1.1,
651+
outputPrice: 4.4,
652+
cacheReadsPrice: 0.275,
653+
},
636654
"o3-mini": {
637655
maxTokens: 100_000,
638656
contextWindow: 200_000,

0 commit comments

Comments
 (0)