Hugelung/gpt 4.5 (#1999)

* Add gpt-4.5-preview

* changeset

---------

Co-authored-by: Andrei Edell <andrei@nugbase.com>
This commit is contained in:
Andrei Edell 2025-02-27 14:29:19 -10:00 committed by GitHub
parent ff0eb8fa77
commit 43e939666d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"claude-dev": minor
---
GPT 4.5 Preview added

View file

@ -453,6 +453,14 @@ export const openAiNativeModels = {
inputPrice: 0.15,
outputPrice: 0.6,
},
"gpt-4.5-preview": {
maxTokens: 16_384,
contextWindow: 128_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 75,
outputPrice: 150,
}
} as const satisfies Record<string, ModelInfo>
// Azure OpenAI