feat(models): add openrouter/minimax/minimax-m2.7 to model pricing registry

The minimax-m2.7 model is available on OpenRouter and is the next
release in the MiniMax M2 series following minimax-m2.5. Without an
entry here, any call to this model through the openrouter provider
will fail at cost calculation with an unknown model error.

Added the entry to both the main pricing file and the backup file
as required by the project structure. Values sourced from the OpenRouter
model listing:
  - input_cost_per_token: $0.30/M
  - output_cost_per_token: $1.20/M
  - max_input_tokens: 204800
  - max_output_tokens: 65536

Closes #24601

Signed-off-by: Sakthi Harish <sakthi.harish@edgeverve.com>
This commit is contained in:
Sakthi Harish 2026-03-26 19:03:41 +05:30
parent bdf4acc472
commit 13eee35079
2 changed files with 34 additions and 0 deletions

View file

@ -25394,6 +25394,23 @@
"supports_prompt_caching": true,
"supports_computer_use": false
},
"openrouter/minimax/minimax-m2.7": {
"input_cost_per_token": 3e-07,
"output_cost_per_token": 1.2e-06,
"cache_read_input_token_cost": 1.5e-07,
"litellm_provider": "openrouter",
"max_input_tokens": 204800,
"max_output_tokens": 65536,
"max_tokens": 65536,
"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,

View file

@ -25394,6 +25394,23 @@
"supports_prompt_caching": true,
"supports_computer_use": false
},
"openrouter/minimax/minimax-m2.7": {
"input_cost_per_token": 3e-07,
"output_cost_per_token": 1.2e-06,
"cache_read_input_token_cost": 1.5e-07,
"litellm_provider": "openrouter",
"max_input_tokens": 204800,
"max_output_tokens": 65536,
"max_tokens": 65536,
"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,