From 780de02efeb2a071d1bdbf9b90aa0c631dd28b9a Mon Sep 17 00:00:00 2001 From: dkssudgo112 Date: Thu, 2 Apr 2026 15:42:12 +0900 Subject: [PATCH] feat(bedrock): add MiniMax M2.5 model pricing and tool support metadata Add bedrock/minimax.minimax-m2.5 entries to model_prices_and_context_window.json with supports_function_calling and supports_tool_choice set to true. This is a data-only change (no code modifications). The existing supports_function_calling() check in get_supported_openai_params() will automatically pick up the new entries, enabling tools/tool_choice for MiniMax M2.5 on Bedrock Converse API. MiniMax M2.5 supports client-side tool calling on Bedrock Converse API, verified with direct API calls returning stopReason: "tool_use". Fixes #24970 --- model_prices_and_context_window.json | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index d4f986edd9b..0c96b9a21f3 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -7436,6 +7436,45 @@ "supports_tool_choice": true, "source": "https://aws.amazon.com/bedrock/pricing/" }, + "minimax.minimax-m2.5": { + "input_cost_per_token": 3e-07, + "litellm_provider": "bedrock_converse", + "max_input_tokens": 1000000, + "max_output_tokens": 8192, + "max_tokens": 8192, + "mode": "chat", + "output_cost_per_token": 1.2e-06, + "supports_function_calling": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/" + }, + "bedrock/minimax.minimax-m2.5": { + "input_cost_per_token": 3e-07, + "litellm_provider": "bedrock", + "max_input_tokens": 1000000, + "max_output_tokens": 8192, + "max_tokens": 8192, + "mode": "chat", + "output_cost_per_token": 1.2e-06, + "supports_function_calling": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/" + }, + "bedrock/us-east-1/minimax.minimax-m2.5": { + "input_cost_per_token": 3e-07, + "litellm_provider": "bedrock", + "max_input_tokens": 1000000, + "max_output_tokens": 8192, + "max_tokens": 8192, + "mode": "chat", + "output_cost_per_token": 1.2e-06, + "supports_function_calling": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/" + }, "bedrock/us-east-1/minimax.minimax-m2.1": { "input_cost_per_token": 3e-07, "litellm_provider": "bedrock",