From 06472b5bc9522279a5754e8e52ba497c9b56e5b3 Mon Sep 17 00:00:00 2001 From: waleed Date: Tue, 16 Jun 2026 17:55:15 -0700 Subject: [PATCH] improvement(models): add DeepSeek V4 + Mistral Medium 3.5, fix Codestral context window --- apps/sim/providers/models.ts | 43 ++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/apps/sim/providers/models.ts b/apps/sim/providers/models.ts index b8fa2a2bae..99aaf203cf 100644 --- a/apps/sim/providers/models.ts +++ b/apps/sim/providers/models.ts @@ -1718,6 +1718,32 @@ export const PROVIDER_DEFINITIONS: Record = { toolUsageControl: true, }, models: [ + { + id: 'deepseek-v4-pro', + pricing: { + input: 0.435, + cachedInput: 0.003625, + output: 0.87, + updatedAt: '2026-06-16', + }, + capabilities: {}, + contextWindow: 1000000, + releaseDate: '2026-04-24', + }, + { + id: 'deepseek-v4-flash', + pricing: { + input: 0.14, + cachedInput: 0.0028, + output: 0.28, + updatedAt: '2026-06-16', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + }, + contextWindow: 1000000, + releaseDate: '2026-04-24', + }, { id: 'deepseek-chat', pricing: { @@ -2324,6 +2350,19 @@ export const PROVIDER_DEFINITIONS: Record = { contextWindow: 128000, releaseDate: '2025-08-12', }, + { + id: 'mistral-medium-2604', + pricing: { + input: 1.5, + output: 7.5, + updatedAt: '2026-06-16', + }, + capabilities: { + temperature: { min: 0, max: 1.5 }, + }, + contextWindow: 256000, + releaseDate: '2026-04-29', + }, { id: 'mistral-medium-2508', pricing: { @@ -2400,7 +2439,7 @@ export const PROVIDER_DEFINITIONS: Record = { capabilities: { temperature: { min: 0, max: 1.5 }, }, - contextWindow: 128000, + contextWindow: 256000, releaseDate: '2025-07-30', }, { @@ -2413,7 +2452,7 @@ export const PROVIDER_DEFINITIONS: Record = { capabilities: { temperature: { min: 0, max: 1.5 }, }, - contextWindow: 128000, + contextWindow: 256000, releaseDate: '2025-07-30', }, {