From 0945a6239dc3b64771093449a7a8c15fcb4e0c3d Mon Sep 17 00:00:00 2001 From: arthur <51604173+arthurauffray@users.noreply.github.com> Date: Thu, 10 Apr 2025 00:59:02 +1200 Subject: [PATCH] Add o1-pro to api.ts Add the o1-pro model to the openai section. Sourced model info from: https://platform.openai.com/docs/models/o1-pro --- src/shared/api.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/shared/api.ts b/src/shared/api.ts index 53608d94d01..cd818fd1a5d 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -776,6 +776,14 @@ export const openAiNativeModels = { outputPrice: 4.4, reasoningEffort: "low", }, + "o1-pro": { + maxTokens: 100_000, + contextWindow: 200_000, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 150, + outputPrice: 600, + }, o1: { maxTokens: 100_000, contextWindow: 200_000,