feat: add MiniMax-M2.7 as new flagship model#737
Open
octo-patch wants to merge 1 commit intoRightNow-AI:mainfrom
Open
feat: add MiniMax-M2.7 as new flagship model#737octo-patch wants to merge 1 commit intoRightNow-AI:mainfrom
octo-patch wants to merge 1 commit intoRightNow-AI:mainfrom
Conversation
- Add MiniMax-M2.7 model entry (Frontier tier, 1M context, vision+tools) - Update default 'minimax' alias to resolve to MiniMax-M2.7 - Add 'minimax-m2.7' alias for explicit model selection - Add M2.7 pricing in metering (same as M2.5: $1.10/$4.40 per 1M tokens) - Update model catalog tests for M2.7 as new default - Increment MiniMax model count from 6 to 7
jaberjaber23
requested changes
Mar 19, 2026
Member
jaberjaber23
left a comment
There was a problem hiding this comment.
4 of 5 model specifications are wrong:
- Pricing: Listed $1.10/$4.40 per 1M tokens. Actual MiniMax M2.7 pricing is $0.30/$1.20 (3.7x inflated).
- Context window: Listed 1,048,576 (1M tokens). Actual is 200K-204.8K tokens.
- Max output: Listed 16,384. Actual is 131,072.
- Vision: Listed supports_vision: true. M2.7 is text-only, no vision support.
All values must be corrected against the official MiniMax API documentation before this can be merged. The metering.rs rates also need to match.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
minimaxalias to resolve to MiniMax-M2.7 (previously pointed to M2.5)minimax-m2.7alias for explicit model selectionAll existing M2.5, M2.5-highspeed, M2.1, and legacy abab models remain available via their existing aliases.
Test plan
cargo check -p openfang-runtime -p openfang-kernelpassescargo test -p openfang-runtime -- model_catalog)minimaxalias resolves toMiniMax-M2.7minimax-m2.7alias worksminimax-m2.5alias still works