From 059b9c31d00c1909adc25ad2e1a35ec61f93e5ce Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Tue, 31 Mar 2026 16:20:32 -0700 Subject: [PATCH] feat(models): add gpt-5.4-mini and gpt-5.4-nano --- apps/sim/providers/models.ts | 76 ++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/apps/sim/providers/models.ts b/apps/sim/providers/models.ts index e195e873de..cdee7bca62 100644 --- a/apps/sim/providers/models.ts +++ b/apps/sim/providers/models.ts @@ -156,6 +156,44 @@ export const PROVIDER_DEFINITIONS: Record = { }, contextWindow: 1050000, }, + { + id: 'gpt-5.4-mini', + pricing: { + input: 0.75, + cachedInput: 0.075, + output: 4.5, + updatedAt: '2026-03-17', + }, + capabilities: { + reasoningEffort: { + values: ['none', 'low', 'medium', 'high', 'xhigh'], + }, + verbosity: { + values: ['low', 'medium', 'high'], + }, + maxOutputTokens: 128000, + }, + contextWindow: 400000, + }, + { + id: 'gpt-5.4-nano', + pricing: { + input: 0.2, + cachedInput: 0.02, + output: 1.25, + updatedAt: '2026-03-17', + }, + capabilities: { + reasoningEffort: { + values: ['none', 'low', 'medium', 'high', 'xhigh'], + }, + verbosity: { + values: ['low', 'medium', 'high'], + }, + maxOutputTokens: 128000, + }, + contextWindow: 400000, + }, { id: 'gpt-5.2', pricing: { @@ -546,6 +584,44 @@ export const PROVIDER_DEFINITIONS: Record = { }, contextWindow: 1050000, }, + { + id: 'azure/gpt-5.4-mini', + pricing: { + input: 0.75, + cachedInput: 0.075, + output: 4.5, + updatedAt: '2026-03-17', + }, + capabilities: { + reasoningEffort: { + values: ['none', 'low', 'medium', 'high', 'xhigh'], + }, + verbosity: { + values: ['low', 'medium', 'high'], + }, + maxOutputTokens: 128000, + }, + contextWindow: 400000, + }, + { + id: 'azure/gpt-5.4-nano', + pricing: { + input: 0.2, + cachedInput: 0.02, + output: 1.25, + updatedAt: '2026-03-17', + }, + capabilities: { + reasoningEffort: { + values: ['none', 'low', 'medium', 'high', 'xhigh'], + }, + verbosity: { + values: ['low', 'medium', 'high'], + }, + maxOutputTokens: 128000, + }, + contextWindow: 400000, + }, { id: 'azure/gpt-5.2', pricing: {