Skip to content

Commit aa714f2

Browse files
committed
Add GPT-4.5
1 parent eef0454 commit aa714f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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)