Skip to content

feat: upgrade MiniMax default model to M2.7#1027

Open
octo-patch wants to merge 3 commits into
meta-llama:mainfrom
octo-patch:feature/add-minimax-provider
Open

feat: upgrade MiniMax default model to M2.7#1027
octo-patch wants to merge 3 commits into
meta-llama:mainfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch
Copy link
Copy Markdown

@octo-patch octo-patch commented Mar 15, 2026

Summary

Upgrade MiniMax model configuration to include the latest M2.7 models.

Changes

  • Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to the model selection list
  • Set MiniMax-M2.7 as the new default model (first in valid_models list)
  • Retain all previous models (MiniMax-M2.5, MiniMax-M1, MiniMax-M1-80k) as available alternatives
  • Update notebook example to use MiniMax-M2.7

Why

MiniMax-M2.7 is the latest flagship model with enhanced reasoning and coding capabilities. M2.7-highspeed is optimized for low-latency scenarios.

Testing

  • Verified model list ordering: M2.7 first, M2.7-highspeed second, then legacy models
  • All previous models retained for backward compatibility

Add MINIMAX class to the LLM provider abstraction, enabling inference
via MiniMax's OpenAI-compatible API (https://api.minimax.io/v1).

MiniMax offers models with up to 204K context windows:
- MiniMax-M1
- MiniMax-M1-80k
- MiniMax-M2.5

The implementation follows the same pattern as existing providers
(OPENAI, ANYSCALE) using the openai SDK with a custom base_url.

Also updates the 3p-integrations notebook with a MiniMax usage example.
@meta-cla
Copy link
Copy Markdown

meta-cla Bot commented Mar 15, 2026

Hi @octo-patch!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to model list
- Set MiniMax-M2.7 as default model (first in list)
- Keep all previous models as alternatives
@octo-patch octo-patch changed the title feat: add MiniMax LLM provider feat: upgrade MiniMax default model to M2.7 Mar 18, 2026
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.

1 participant