|
|
@@ -50,6 +50,43 @@ export const openAiNativeModels = {
|
|
|
],
|
|
|
description: "GPT-5.4: Our most capable model for professional work",
|
|
|
},
|
|
|
+ "gpt-5.4-mini": {
|
|
|
+ maxTokens: 128000,
|
|
|
+ contextWindow: 400000,
|
|
|
+ includedTools: ["apply_patch"],
|
|
|
+ excludedTools: ["apply_diff", "write_to_file"],
|
|
|
+ supportsImages: true,
|
|
|
+ supportsPromptCache: true,
|
|
|
+ supportsReasoningEffort: ["none", "low", "medium", "high", "xhigh"],
|
|
|
+ reasoningEffort: "none",
|
|
|
+ inputPrice: 0.75,
|
|
|
+ outputPrice: 4.5,
|
|
|
+ cacheReadsPrice: 0.075,
|
|
|
+ supportsVerbosity: true,
|
|
|
+ supportsTemperature: false,
|
|
|
+ tiers: [
|
|
|
+ { name: "flex", contextWindow: 400000, inputPrice: 0.375, outputPrice: 2.25, cacheReadsPrice: 0.0375 },
|
|
|
+ { name: "priority", contextWindow: 400000, inputPrice: 1.5, outputPrice: 9.0, cacheReadsPrice: 0.15 },
|
|
|
+ ],
|
|
|
+ description: "GPT-5.4 Mini: A faster, lower-cost GPT-5.4 model for coding and agentic workflows",
|
|
|
+ },
|
|
|
+ "gpt-5.4-nano": {
|
|
|
+ maxTokens: 128000,
|
|
|
+ contextWindow: 400000,
|
|
|
+ includedTools: ["apply_patch"],
|
|
|
+ excludedTools: ["apply_diff", "write_to_file"],
|
|
|
+ supportsImages: true,
|
|
|
+ supportsPromptCache: true,
|
|
|
+ supportsReasoningEffort: ["none", "low", "medium", "high", "xhigh"],
|
|
|
+ reasoningEffort: "none",
|
|
|
+ inputPrice: 0.2,
|
|
|
+ outputPrice: 1.25,
|
|
|
+ cacheReadsPrice: 0.02,
|
|
|
+ supportsVerbosity: true,
|
|
|
+ supportsTemperature: false,
|
|
|
+ tiers: [{ name: "flex", contextWindow: 400000, inputPrice: 0.1, outputPrice: 0.625, cacheReadsPrice: 0.01 }],
|
|
|
+ description: "GPT-5.4 Nano: The smallest GPT-5.4 model for high-volume, low-latency tasks",
|
|
|
+ },
|
|
|
"gpt-5.2": {
|
|
|
maxTokens: 128000,
|
|
|
contextWindow: 400000,
|