Skip to content

Commit

Permalink
Add gpt-4.5-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubens committed Feb 27, 2025
1 parent 22ec3b2 commit 0b8924c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/flat-avocados-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"roo-cline": patch
---

Add gpt-4.5-preview
10 changes: 9 additions & 1 deletion src/shared/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,16 @@ export const openAiNativeModels = {
inputPrice: 1.1,
outputPrice: 4.4,
},
"gpt-4.5-preview": {
maxTokens: 16_384,
contextWindow: 128_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 2.5,
outputPrice: 10,
},
"gpt-4o": {
maxTokens: 4_096,
maxTokens: 16_384,
contextWindow: 128_000,
supportsImages: true,
supportsPromptCache: false,
Expand Down

0 comments on commit 0b8924c

Please sign in to comment.