diff --git a/src/lib/models.ts b/src/lib/models.ts index d6ae38ab2..e7887a83b 100644 --- a/src/lib/models.ts +++ b/src/lib/models.ts @@ -5,7 +5,7 @@ import { arcee_trinity_large_preview_free_model } from '@/lib/providers/arcee'; import { minimax_m21_free_model, minimax_m21_free_slackbot_model } from '@/lib/providers/minimax'; import { giga_potato_model } from '@/lib/providers/gigapotato'; -import { devstral_2512_free_model, devstral_small_2512_free_model } from '@/lib/providers/mistral'; +import { devstral_small_2512_free_model } from '@/lib/providers/mistral'; import type { KiloFreeModel } from '@/lib/providers/kilo-free-model'; import { kat_coder_pro_free_model } from '@/lib/providers/streamlake'; import { recommendedModels } from '@/lib/providers/recommended-models'; @@ -32,7 +32,6 @@ export function isDataCollectionRequiredOnKiloCodeOnly(model: string): boolean { export const kiloFreeModels = [ arcee_trinity_large_preview_free_model, - devstral_2512_free_model, devstral_small_2512_free_model, giga_potato_model, kat_coder_pro_free_model, diff --git a/src/lib/providers/mistral.ts b/src/lib/providers/mistral.ts index d557c1a15..0c8e22e1b 100644 --- a/src/lib/providers/mistral.ts +++ b/src/lib/providers/mistral.ts @@ -6,28 +6,18 @@ import { normalizeToolCallIds, } from '@/lib/tool-calling'; -export const devstral_2512_free_model = { - public_id: 'mistralai/devstral-2512:free', - display_name: 'Mistral: Devstral 2 2512 (free)', - description: - 'Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. It is provided free of charge in Kilo Code for a limited time.\n**Note:** prompts and completions may be logged by Mistral during the free period and used to improve the model.', - context_length: 262144, - max_completion_tokens: 262144, - is_enabled: false, - flags: [], - gateway: 'openrouter', - internal_id: 'mistralai/devstral-2512:free', - inference_providers: ['mistral'], -} as KiloFreeModel; - export const devstral_small_2512_free_model = { - ...devstral_2512_free_model, public_id: 'mistralai/devstral-small-2512:free', display_name: 'Mistral: Devstral Small 2 2512 (free)', description: 'Devstral Small 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 24B-parameter dense transformer model supporting a 256K context window.\n**Note:** prompts and completions may be logged by Mistral during the free period and used to improve the model.', + context_length: 262144, + max_completion_tokens: 262144, + is_enabled: false, + flags: [], gateway: 'vercel', internal_id: 'mistral/devstral-small-2', + inference_providers: ['mistral'], } as KiloFreeModel; export function isMistralModel(model: string) { diff --git a/src/lib/providers/vercel.ts b/src/lib/providers/vercel.ts index 130292fa9..833db4bf4 100644 --- a/src/lib/providers/vercel.ts +++ b/src/lib/providers/vercel.ts @@ -63,7 +63,6 @@ const vercelModelIdMapping = { 'google/gemini-3-flash-preview': 'google/gemini-3-flash', 'mistralai/codestral-2508': 'mistral/codestral', 'mistralai/devstral-2512': 'mistral/devstral-2', - 'mistralai/devstral-2512:free': 'mistral/devstral-2', } as Record; export function applyVercelSettings(