Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/lib/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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,
Expand Down
20 changes: 5 additions & 15 deletions src/lib/providers/mistral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion src/lib/providers/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string>;

export function applyVercelSettings(
Expand Down