From b669dfbc7e695872b1cdb9cac4537aa07ef8d605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Barreiro?= <52393857+BarreiroT@users.noreply.github.com> Date: Wed, 21 May 2025 21:53:35 +0200 Subject: [PATCH] feat: Add devstrall-small-2505 to the Mistral model list (#3697) * Add devstrall-small-2505 to the Mistral model list * update context information and set as default --- .changeset/strong-lizards-greet.md | 5 +++++ src/shared/api.ts | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .changeset/strong-lizards-greet.md diff --git a/.changeset/strong-lizards-greet.md b/.changeset/strong-lizards-greet.md new file mode 100644 index 00000000..00a180ce --- /dev/null +++ b/.changeset/strong-lizards-greet.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Add devstral-small to the Mistral model list diff --git a/src/shared/api.ts b/src/shared/api.ts index b424cf54..74efb013 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -1392,7 +1392,7 @@ export const doubaoModels = { // Mistral // https://docs.mistral.ai/getting-started/models/models_overview/ export type MistralModelId = keyof typeof mistralModels -export const mistralDefaultModelId: MistralModelId = "codestral-2501" +export const mistralDefaultModelId: MistralModelId = "devstral-small-2505" export const mistralModels = { "mistral-large-2411": { maxTokens: 131_000, @@ -1482,6 +1482,14 @@ export const mistralModels = { inputPrice: 0.3, outputPrice: 0.9, }, + "devstral-small-2505": { + maxTokens: 128_000, + contextWindow: 131_072, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 0.1, + outputPrice: 0.3, + }, } as const satisfies Record // LiteLLM