Skip to content

Commit dc6b3ff

Browse files
daniel-lxsjsboige
authored andcommitted
feat(types): add GPT-5-Codex model (RooCodeInc#8260)
1 parent 4f6896a commit dc6b3ff

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/types/src/providers/openai.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,20 @@ export const openAiNativeModels = {
7070
supportsTemperature: false,
7171
tiers: [{ name: "flex", contextWindow: 400000, inputPrice: 0.025, outputPrice: 0.2, cacheReadsPrice: 0.0025 }],
7272
},
73+
"gpt-5-codex": {
74+
maxTokens: 128000,
75+
contextWindow: 400000,
76+
supportsImages: true,
77+
supportsPromptCache: true,
78+
supportsReasoningEffort: true,
79+
reasoningEffort: "medium",
80+
inputPrice: 1.25,
81+
outputPrice: 10.0,
82+
cacheReadsPrice: 0.13,
83+
description: "GPT-5-Codex: A version of GPT-5 optimized for agentic coding in Codex",
84+
supportsVerbosity: true,
85+
supportsTemperature: false,
86+
},
7387
"gpt-4.1": {
7488
maxTokens: 32_768,
7589
contextWindow: 1_047_576,

0 commit comments

Comments
 (0)