Skip to content

feat(openrouter): add openrouter/minimax/minimax-m2.5 pricing#21664

Merged
krrishdholakia merged 2 commits intoBerriAI:mainfrom
cagojeiger:feat/add-openrouter-minimax-m2.5
Feb 21, 2026
Merged

feat(openrouter): add openrouter/minimax/minimax-m2.5 pricing#21664
krrishdholakia merged 2 commits intoBerriAI:mainfrom
cagojeiger:feat/add-openrouter-minimax-m2.5

Conversation

@cagojeiger
Copy link
Contributor

Relevant issues

Closes #21054 follow-up — adds the OpenRouter-specific entry for MiniMax M2.5 which was missing.

What this PR does

Adds openrouter/minimax/minimax-m2.5 to the model pricing configuration.

minimax/MiniMax-M2.5 (direct provider) was added in #21054, but the OpenRouter routing entry openrouter/minimax/minimax-m2.5 was not included, making the model invisible in LiteLLM UI when browsing OpenRouter models.

MiniMax M2.5 was added to OpenRouter on 2026-02-12 (created: 1770908502).

Pricing (from OpenRouter API)

Cost
Input $0.30 / M tokens
Output $1.10 / M tokens
Cache read $0.15 / M tokens
Context 196,608 tokens
Max output 65,536 tokens

Pre-Submission checklist

  • I have signed the CLA
  • My change is isolated in scope (one model addition)

Add MiniMax M2.5 model via OpenRouter to model pricing config.

Pricing from OpenRouter API (2026-02-20):
- input:  $0.30/M tokens
- output: $1.10/M tokens
- cache_read: $0.15/M tokens
- context: 196,608 tokens
- max_output: 65,536 tokens

MiniMax M2.5 was added to OpenRouter on 2026-02-12 but was missing
from LiteLLM's openrouter model list.
@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Feb 20, 2026 11:49am

Request Review

@CLAassistant
Copy link

CLAassistant commented Feb 20, 2026

CLA assistant check
All committers have signed the CLA.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 20, 2026

Greptile Summary

This PR adds the OpenRouter-specific pricing entry for MiniMax M2.5, completing the model addition from PR #21054. The configuration includes correct pricing ($0.30/$1.10 per M tokens for input/output), cache read pricing ($0.15 per M tokens), token limits (196,608 input / 65,536 output), and appropriate capability flags matching OpenRouter's specifications. Both the main config and backup files are updated identically.

Confidence Score: 5/5

  • This PR is safe to merge with no risk - it only adds static pricing configuration data
  • The changes are limited to adding a single model pricing entry in two JSON configuration files with correct pricing data from OpenRouter API. No code logic is modified, no new dependencies added, and the JSON structure is valid and consistent with existing entries.
  • No files require special attention

Important Files Changed

Filename Overview
model_prices_and_context_window.json Added openrouter/minimax/minimax-m2.5 model entry with correct pricing and token limits from OpenRouter API
litellm/model_prices_and_context_window_backup.json Backup file updated identically to main config file

Last reviewed commit: 85bc374

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

…se to minimax-m2.5

- Add source URL for reviewer verification
- supports_vision: false (input_modalities=[text] only per OpenRouter API)
- supports_computer_use: false (not in supported_parameters)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants