feat: upgrade MiniMax default model to M3 (keep M2.7, drop M2.5)#2362
Open
octo-patch wants to merge 3 commits into
Open
feat: upgrade MiniMax default model to M3 (keep M2.7, drop M2.5)#2362octo-patch wants to merge 3 commits into
octo-patch wants to merge 3 commits into
Conversation
- Add MiniMax-M2.5 and MiniMax-M2.5-highspeed to model list - Update base URL to api.minimax.io (OpenAI-compatible endpoint) - Simplify request routing to use standard OpenAI /v1/chat/completions - Add pricing ratios for new M2.5 models - Update README with current MiniMax platform link
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to model list - Add pricing ratios for M2.7 models (same as M2.5) - Add completion ratios for M2.7 models - Update Berry UI to show all MiniMax models including M2.7 - Keep all previous models as alternatives
- Add MiniMax-M3 to model list and set as default (first entry) - Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed - Remove older MiniMax-M2.5 and MiniMax-M2.5-highspeed - Update pricing ratios for M3 (input $0.6/M, output $2.4/M)
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
Upgrade MiniMax model configuration to use M3 as the default model.
Changes
MiniMax-M3to the model selection list and set as default (first entry)MiniMax-M2.7andMiniMax-M2.7-highspeedas alternativesMiniMax-M2.5andMiniMax-M2.5-highspeedMiniMax-M3Model Pricing
Why
MiniMax-M3is the latest MiniMax model, featuring a 512K context window, up to 128K max output tokens, and image input support on both the OpenAI-compatible and Anthropic-compatible endpoints.Test plan
go build ./relay/adaptor/minimax/ ./relay/billing/ratio/passesgo vet ./relay/adaptor/minimax/ ./relay/billing/ratio/passes