From b2e3f56f69ffbc6e12335a31bdabb2463c400af8 Mon Sep 17 00:00:00 2001 From: Cesar Garcia <128240629+Chesars@users.noreply.github.com> Date: Thu, 11 Dec 2025 00:14:02 -0300 Subject: [PATCH] feat(models): add Mistral Codestral 2508, Devstral 2512, and Labs Devstral Small 2512 (#17801) Add newly released Mistral coding models: - mistral/codestral-2508: 256K context, $0.30/$0.90 per M tokens - mistral/devstral-2512: 256K context, $0.40/$2.00 per M tokens - mistral/labs-devstral-small-2512: 256K context, $0.10/$0.30 per M tokens --- model_prices_and_context_window.json | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 9004541c6e6..2d278b9b2ac 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -18810,6 +18810,20 @@ "supports_response_schema": true, "supports_tool_choice": true }, + "mistral/codestral-2508": { + "input_cost_per_token": 3e-07, + "litellm_provider": "mistral", + "max_input_tokens": 256000, + "max_output_tokens": 256000, + "max_tokens": 256000, + "mode": "chat", + "output_cost_per_token": 9e-07, + "source": "https://mistral.ai/news/codestral-25-08", + "supports_assistant_prefill": true, + "supports_function_calling": true, + "supports_response_schema": true, + "supports_tool_choice": true + }, "mistral/codestral-latest": { "input_cost_per_token": 1e-06, "litellm_provider": "mistral", @@ -18876,6 +18890,34 @@ "supports_response_schema": true, "supports_tool_choice": true }, + "mistral/labs-devstral-small-2512": { + "input_cost_per_token": 1e-07, + "litellm_provider": "mistral", + "max_input_tokens": 256000, + "max_output_tokens": 256000, + "max_tokens": 256000, + "mode": "chat", + "output_cost_per_token": 3e-07, + "source": "https://docs.mistral.ai/models/devstral-small-2-25-12", + "supports_assistant_prefill": true, + "supports_function_calling": true, + "supports_response_schema": true, + "supports_tool_choice": true + }, + "mistral/devstral-2512": { + "input_cost_per_token": 4e-07, + "litellm_provider": "mistral", + "max_input_tokens": 256000, + "max_output_tokens": 256000, + "max_tokens": 256000, + "mode": "chat", + "output_cost_per_token": 2e-06, + "source": "https://mistral.ai/news/devstral-2-vibe-cli", + "supports_assistant_prefill": true, + "supports_function_calling": true, + "supports_response_schema": true, + "supports_tool_choice": true + }, "mistral/magistral-medium-2506": { "input_cost_per_token": 2e-06, "litellm_provider": "mistral",