Skip to content

Commit 1913b69

Browse files
committed
Move GPT-4.5
1 parent aa714f2 commit 1913b69

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/shared/api.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,14 @@ export const geminiModels = {
404404
export type OpenAiNativeModelId = keyof typeof openAiNativeModels
405405
export const openAiNativeDefaultModelId: OpenAiNativeModelId = "gpt-4o"
406406
export const openAiNativeModels = {
407+
"gpt-4.5-preview": {
408+
maxTokens: 16_384,
409+
contextWindow: 128_000,
410+
supportsImages: true,
411+
supportsPromptCache: false,
412+
inputPrice: 75,
413+
outputPrice: 150,
414+
},
407415
"o3-mini": {
408416
maxTokens: 100_000,
409417
contextWindow: 200_000,
@@ -453,14 +461,6 @@ export const openAiNativeModels = {
453461
inputPrice: 0.15,
454462
outputPrice: 0.6,
455463
},
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-
},
464464
} as const satisfies Record<string, ModelInfo>
465465

466466
// Azure OpenAI

0 commit comments

Comments
 (0)