From e842af6e1ab0f565108912c1c74356faa28d9ff3 Mon Sep 17 00:00:00 2001 From: Stephane Date: Sun, 7 Jun 2026 18:58:02 +0200 Subject: [PATCH] fix(model_prices): add minimax/MiniMax-M3 with correct max_input_tokens 1048576 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The MiniMax-M3 entry merged to main (via #29412) carries max_input_tokens: 512000, which is MiniMax's long-context billing threshold, not the model's input limit. M3 supports a 1M token context window, consistent with the sibling MiniMax-M2.x entries. This branch is based on litellm_oss_branch (per the contribution flow), where the entry does not exist yet — so the corrected entry is added; on sync with internal staging the conflicting 512000 value should be resolved to 1048576. --- .../model_prices_and_context_window_backup.json | 15 +++++++++++++++ model_prices_and_context_window.json | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 6a4a5dd6a03..abf647400bb 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -23773,6 +23773,21 @@ "max_input_tokens": 200000, "max_output_tokens": 8192 }, + "minimax/MiniMax-M3": { + "input_cost_per_token": 6e-07, + "output_cost_per_token": 2.4e-06, + "cache_read_input_token_cost": 1.2e-07, + "litellm_provider": "minimax", + "mode": "chat", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_prompt_caching": true, + "supports_reasoning": true, + "supports_system_messages": true, + "supports_vision": true, + "max_input_tokens": 1048576, + "max_output_tokens": 128000 + }, "mistral.devstral-2-123b": { "input_cost_per_token": 4e-07, "litellm_provider": "bedrock_converse", diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 2140493ec4a..43328e44772 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -23809,6 +23809,21 @@ "max_input_tokens": 200000, "max_output_tokens": 8192 }, + "minimax/MiniMax-M3": { + "input_cost_per_token": 6e-07, + "output_cost_per_token": 2.4e-06, + "cache_read_input_token_cost": 1.2e-07, + "litellm_provider": "minimax", + "mode": "chat", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_prompt_caching": true, + "supports_reasoning": true, + "supports_system_messages": true, + "supports_vision": true, + "max_input_tokens": 1048576, + "max_output_tokens": 128000 + }, "mistral.devstral-2-123b": { "input_cost_per_token": 4e-07, "litellm_provider": "bedrock_converse",