Skip to content

feat: upgrade MiniMax default model to M3#1859

Open
octo-patch wants to merge 1 commit into
MemTensor:dev-20260604-v2.0.19from
octo-patch:feature/upgrade-minimax-m3
Open

feat: upgrade MiniMax default model to M3#1859
octo-patch wants to merge 1 commit into
MemTensor:dev-20260604-v2.0.19from
octo-patch:feature/upgrade-minimax-m3

Conversation

@octo-patch
Copy link
Copy Markdown
Contributor

@octo-patch octo-patch commented Jun 1, 2026

Summary

Upgrades the MiniMax default chat model from M2.7 to M3 in MemOS, following the established pattern from the merged PR #1291 (M2.6 -> M2.7).

M3 is the new MiniMax flagship: 512K context window, 128K max output tokens, and image input support across both the OpenAI-compatible and Anthropic-compatible interfaces exposed by https://api.minimax.io.

Changes

  • src/memos/api/config.py: Default MOS_CHAT_MODEL fallback switched from MiniMax-M2.7 to MiniMax-M3 in APIConfig.minimax_config().
  • examples/basic_modules/llm.py: Scenario 7 example updated to use MiniMax-M3, and the "Available models" comment refreshed to list the current supported set.

Model support matrix

Model Status
MiniMax-M3 New default (flagship)
MiniMax-M2.7 Retained (still supported)
MiniMax-M2.7-highspeed Retained (low-latency)
MiniMax-M2.5 Dropped from example list (deprecated upstream)
MiniMax-M2.5-highspeed Dropped from example list (deprecated upstream)

M2.7 and M2.7-highspeed are intentionally kept: the change only flips the default when MOS_CHAT_MODEL is unset; users who pin a specific model via env var are unaffected. The MinimaxLLM and MinimaxLLMConfig classes are untouched, and no API URL or provider wiring changes are introduced.

Scope

  • Pure config/default change.
  • No dependency bumps, no API URL changes, no new provider wiring.
  • Test pinning (tests/llms/test_minimax.py, tests/configs/test_llm.py) continues to exercise M2.7 / M2.7-highspeed and is unchanged.

Verification

  • python -m pytest tests/llms/test_minimax.py tests/configs/test_llm.py continues to pass (existing tests pin M2.7 / M2.7-highspeed, both still valid).
  • Confirmed MiniMax-M3 is reachable via the OpenAI-compatible endpoint at https://api.minimax.io/v1.

- Set MiniMax-M3 as the new default in the API config
- Update example to use MiniMax-M3 and refresh the available models list
- Retain MiniMax-M2.7 and MiniMax-M2.7-highspeed; drop the deprecated
  MiniMax-M2.5 and MiniMax-M2.5-highspeed entries from the example

MiniMax-M3 is the new flagship model with 512K context window, 128K max
output, and image input support across both OpenAI-compatible and
Anthropic-compatible interfaces.

Co-Authored-By: Octopus <liyuan851277048@icloud.com>
@octo-patch octo-patch force-pushed the feature/upgrade-minimax-m3 branch from f33c69b to b1ba305 Compare June 3, 2026 13:38
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