feat(types): add GPT-5-Codex model (#8260)

This commit is contained in:
Daniel 2025-09-23 12:35:44 -05:00 committed by GitHub
parent 807cc999a5
commit 1a4fb7f91c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,6 +70,20 @@ export const openAiNativeModels = {
supportsTemperature: false,
tiers: [{ name: "flex", contextWindow: 400000, inputPrice: 0.025, outputPrice: 0.2, cacheReadsPrice: 0.0025 }],
},
"gpt-5-codex": {
maxTokens: 128000,
contextWindow: 400000,
supportsImages: true,
supportsPromptCache: true,
supportsReasoningEffort: true,
reasoningEffort: "medium",
inputPrice: 1.25,
outputPrice: 10.0,
cacheReadsPrice: 0.13,
description: "GPT-5-Codex: A version of GPT-5 optimized for agentic coding in Codex",
supportsVerbosity: true,
supportsTemperature: false,
},
"gpt-4.1": {
maxTokens: 32_768,
contextWindow: 1_047_576,