Skip to content

Commit 43e9396

Browse files
Garothhugelung
andauthored
Hugelung/gpt 4.5 (RooCodeInc#1999)
* Add gpt-4.5-preview * changeset --------- Co-authored-by: Andrei Edell <[email protected]>
1 parent ff0eb8f commit 43e9396

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.changeset/rare-cougars-look.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+
GPT 4.5 Preview added

src/shared/api.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,14 @@ export const openAiNativeModels = {
453453
inputPrice: 0.15,
454454
outputPrice: 0.6,
455455
},
456+
"gpt-4.5-preview": {
457+
maxTokens: 16_384,
458+
contextWindow: 128_000,
459+
supportsImages: true,
460+
supportsPromptCache: false,
461+
inputPrice: 75,
462+
outputPrice: 150,
463+
}
456464
} as const satisfies Record<string, ModelInfo>
457465

458466
// Azure OpenAI

0 commit comments

Comments
 (0)