feat(models): add openrouter/minimax/minimax-m2.7 model pricing#24631
feat(models): add openrouter/minimax/minimax-m2.7 model pricing#246311Ckpwee wants to merge 1 commit intoBerriAI:mainfrom
Conversation
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 BerriAI#24601
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Greptile SummaryThis PR adds pricing and capability metadata for the
Confidence Score: 5/5Safe to merge — additive-only change to a data file with no logic modifications. The change is a pure data addition to both JSON pricing files. All numeric values are arithmetically consistent with the PR description, the entry structure mirrors the existing minimax model entries, and both files are kept in sync. No code paths are modified. No files require special attention.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds openrouter/minimax/minimax-m2.7 pricing entry; values are arithmetically correct and consistent with sibling minimax model entries. |
| litellm/model_prices_and_context_window_backup.json | Backup file updated in lock-step with the primary JSON; diff is byte-for-byte identical to the primary file change. |
Entity Relationship Diagram
%%{init: {'theme': 'neutral'}}%%
erDiagram
MODEL_ENTRY {
string name "openrouter/minimax/minimax-m2.7"
float input_cost_per_token "3e-07"
float output_cost_per_token "1.2e-06"
float cache_read_input_token_cost "6e-08"
string litellm_provider "openrouter"
int max_input_tokens "204800"
int max_output_tokens "131072"
int max_tokens "131072"
string mode "chat"
bool supports_function_calling "true"
bool supports_tool_choice "true"
bool supports_reasoning "true"
bool supports_vision "false"
bool supports_prompt_caching "true"
bool supports_computer_use "false"
}
Reviews (1): Last reviewed commit: "feat(models): add openrouter/minimax/min..." | Re-trigger Greptile
Summary
Adds
openrouter/minimax/minimax-m2.7tomodel_prices_and_context_window.jsonand the backup file, as requested in #24601.Model Details (from OpenRouter)
3e-07per token)1.2e-06per token)6e-08per token)Changes
model_prices_and_context_window.jsonlitellm/model_prices_and_context_window_backup.jsonCloses #24601