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
This commit is contained in:
arthur 2025-04-10 01:04:55 +12:00 committed by GitHub
parent 75ba1db3ca
commit 16d8f14371
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,