improvement(models): add DeepSeek V4 + Mistral Medium 3.5, fix Codestral context window (#5103)

This commit is contained in:
Waleed
2026-06-16 18:01:04 -07:00
committed by GitHub
parent 15a970d805
commit 2ffc004a0a
+41 -2
View File
@@ -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',
},
{