From 16d8f143718d498a2b868014b8574963f38dc87e Mon Sep 17 00:00:00 2001 From: arthur <51604173+arthurauffray@users.noreply.github.com> Date: Thu, 10 Apr 2025 01:04:55 +1200 Subject: [PATCH] Add o1-pro to api.ts (#2433) 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 53608d94d0..cd818fd1a5 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,