Skip to content

Commit 250ea68

Browse files

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.changeset/young-pots-bow.md

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

src/shared/api.ts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,45 @@ export const openAiNativeModels = {
778778
outputPrice: 0.4,
779779
cacheReadsPrice: 0.025,
780780
},
781+
o3: {
782+
maxTokens: 100_000,
783+
contextWindow: 200_000,
784+
supportsImages: true,
785+
supportsPromptCache: true,
786+
inputPrice: 10.0,
787+
outputPrice: 40.0,
788+
cacheReadsPrice: 2.5,
789+
},
790+
"o4-mini": {
791+
maxTokens: 100_000,
792+
contextWindow: 200_000,
793+
supportsImages: true,
794+
supportsPromptCache: true,
795+
inputPrice: 1.1,
796+
outputPrice: 4.4,
797+
cacheReadsPrice: 0.275,
798+
reasoningEffort: "medium",
799+
},
800+
"o4-mini-high": {
801+
maxTokens: 100_000,
802+
contextWindow: 200_000,
803+
supportsImages: true,
804+
supportsPromptCache: true,
805+
inputPrice: 1.1,
806+
outputPrice: 4.4,
807+
cacheReadsPrice: 0.275,
808+
reasoningEffort: "high",
809+
},
810+
"o4-mini-low": {
811+
maxTokens: 100_000,
812+
contextWindow: 200_000,
813+
supportsImages: true,
814+
supportsPromptCache: true,
815+
inputPrice: 1.1,
816+
outputPrice: 4.4,
817+
cacheReadsPrice: 0.275,
818+
reasoningEffort: "low",
819+
},
781820
"o3-mini": {
782821
maxTokens: 100_000,
783822
contextWindow: 200_000,

0 commit comments

Comments
 (0)