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

Add MiniMax M2.7 model entry to both model_prices_and_context_window.json
and the backup file.

Model specs from OpenRouter API:
- Input: $0.30/M tokens, Output: $1.20/M tokens
- Cache read: $0.06/M tokens
- Context: 204,800 tokens, Max output: 131,072 tokens
- Supports: function calling, tool choice, reasoning, prompt caching

Closes #24601
This commit is contained in:
1Ckpwee 2026-03-26 22:08:53 +08:00
parent bdf4acc472
commit 9ffd263c9e
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": 6e-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,

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": 6e-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,