From cb72846d0eb45ff3c29fbda4c8e0202975904af7 Mon Sep 17 00:00:00 2001 From: whoismonesh Date: Thu, 26 Mar 2026 12:42:02 +0530 Subject: [PATCH] fix: add openrouter/minimax/minimax-m2.7 model pricing Adds the minimax-m2.7 model from OpenRouter to the model prices JSON. Includes input/output token costs, context window, and feature support. Fixes #24601 --- .../model_prices_and_context_window_backup.json | 17 +++++++++++++++++ model_prices_and_context_window.json | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index c53ee943c58..211acaf4ed2 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -25394,6 +25394,23 @@ "supports_prompt_caching": true, "supports_computer_use": false }, + "openrouter/minimax/minimax-m2.7": { + "input_cost_per_token": 3.0e-07, + "output_cost_per_token": 1.2e-06, + "cache_read_input_token_cost": 6.0e-08, + "litellm_provider": "openrouter", + "max_input_tokens": 204800, + "max_output_tokens": 131072, + "max_tokens": 131072, + "mode": "chat", + "source": "https://openrouter.ai/minimax/minimax-m2.7", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_reasoning": true, + "supports_vision": false, + "supports_prompt_caching": true, + "supports_computer_use": false + }, "openrouter/openrouter/auto": { "input_cost_per_token": 0, "output_cost_per_token": 0, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index c53ee943c58..211acaf4ed2 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -25394,6 +25394,23 @@ "supports_prompt_caching": true, "supports_computer_use": false }, + "openrouter/minimax/minimax-m2.7": { + "input_cost_per_token": 3.0e-07, + "output_cost_per_token": 1.2e-06, + "cache_read_input_token_cost": 6.0e-08, + "litellm_provider": "openrouter", + "max_input_tokens": 204800, + "max_output_tokens": 131072, + "max_tokens": 131072, + "mode": "chat", + "source": "https://openrouter.ai/minimax/minimax-m2.7", + "supports_function_calling": true, + "supports_tool_choice": true, + "supports_reasoning": true, + "supports_vision": false, + "supports_prompt_caching": true, + "supports_computer_use": false + }, "openrouter/openrouter/auto": { "input_cost_per_token": 0, "output_cost_per_token": 0,