Move GPT-4.5

This commit is contained in:
Saoud Rizwan 2025-02-27 18:49:19 -08:00
parent aa714f28e1
commit 1913b69ca5

View file

@ -404,6 +404,14 @@ export const geminiModels = {
export type OpenAiNativeModelId = keyof typeof openAiNativeModels
export const openAiNativeDefaultModelId: OpenAiNativeModelId = "gpt-4o"
export const openAiNativeModels = {
"gpt-4.5-preview": {
maxTokens: 16_384,
contextWindow: 128_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 75,
outputPrice: 150,
},
"o3-mini": {
maxTokens: 100_000,
contextWindow: 200_000,
@ -453,14 +461,6 @@ 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