Просмотр исходного кода

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
arthur 10 месяцев назад
Родитель
Сommit
16d8f14371
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      src/shared/api.ts

+ 8 - 0
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,