Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

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

Cole McIntosh3919b64209ab
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 5207a341554..e88637a6787 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,