Skip to content

Commit d2dee3c

Browse files
committed
feat: add gpt-5.1-codex-max model to OpenAI provider
Add GPT-5.1-Codex-Max model with: - 400K context window, 128K max output tokens - Higher reasoning support (low/medium/high) - $1.25/$10 input/output pricing per 1M tokens - Image support and prompt caching - Priority tier option
1 parent c10d1d9 commit d2dee3c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

packages/types/src/providers/openai.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,23 @@ export const openAiNativeModels = {
4242
tiers: [{ name: "priority", contextWindow: 400000, inputPrice: 2.5, outputPrice: 20.0, cacheReadsPrice: 0.25 }],
4343
description: "GPT-5.1 Codex: A version of GPT-5.1 optimized for agentic coding in Codex",
4444
},
45+
"gpt-5.1-codex-max": {
46+
maxTokens: 128000,
47+
contextWindow: 400000,
48+
supportsNativeTools: true,
49+
supportsImages: true,
50+
supportsPromptCache: true,
51+
promptCacheRetention: "24h",
52+
supportsReasoningEffort: ["low", "medium", "high"],
53+
reasoningEffort: "medium",
54+
inputPrice: 1.25,
55+
outputPrice: 10.0,
56+
cacheReadsPrice: 0.125,
57+
supportsTemperature: false,
58+
tiers: [{ name: "priority", contextWindow: 400000, inputPrice: 2.5, outputPrice: 20.0, cacheReadsPrice: 0.25 }],
59+
description:
60+
"GPT-5.1 Codex Max: Our most intelligent coding model optimized for long-horizon, agentic coding tasks",
61+
},
4562
"gpt-5.1-codex-mini": {
4663
maxTokens: 128000,
4764
contextWindow: 400000,

0 commit comments

Comments
 (0)