mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
improvement(models): add DeepSeek V4 + Mistral Medium 3.5, fix Codestral context window (#5103)
This commit is contained in:
@@ -1718,6 +1718,32 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
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<string, ProviderDefinition> = {
|
||||
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<string, ProviderDefinition> = {
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1.5 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
contextWindow: 256000,
|
||||
releaseDate: '2025-07-30',
|
||||
},
|
||||
{
|
||||
@@ -2413,7 +2452,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1.5 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
contextWindow: 256000,
|
||||
releaseDate: '2025-07-30',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user