From 3919b64209abf2619753d0af7dc9ab60c99d4806 Mon Sep 17 00:00:00 2001 From: Cole McIntosh Date: Tue, 10 Jun 2025 08:38:24 -0600 Subject: [PATCH] Add new Mistral models to pricing and context window JSON: add 'mistral/magistral-medium-2506' and 'mistral/magistral-small-2506' with token limits and cost details --- model_prices_and_context_window.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 5207a34155..e88637a678 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -4153,6 +4153,32 @@ "supports_assistant_prefill": true, "supports_tool_choice": true }, + "mistral/magistral-medium-2506": { + "max_tokens": 40000, + "max_input_tokens": 40000, + "max_output_tokens": 40000, + "input_cost_per_token": 2e-06, + "output_cost_per_token": 5e-06, + "litellm_provider": "mistral", + "mode": "chat", + "source": "https://mistral.ai/news/magistral", + "supports_function_calling": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true + }, + "mistral/magistral-small-2506": { + "max_tokens": 40000, + "max_input_tokens": 40000, + "max_output_tokens": 40000, + "input_cost_per_token": 0.0, + "output_cost_per_token": 0.0, + "litellm_provider": "mistral", + "mode": "chat", + "source": "https://mistral.ai/news/magistral", + "supports_function_calling": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true + }, "mistral/mistral-embed": { "max_tokens": 8192, "max_input_tokens": 8192,