feat: upgrade MiniMax default model to M3#979
Open
octo-patch wants to merge 1 commit into
Open
Conversation
Add MiniMax-M3 to the model selection list and switch default references from M2.7 to M3 across the LLM pickers. M3 has a 1M-token context window and native multimodal (image / video) support. - Add MiniMax-M3 (minimax provider) and minimax/minimax-m3 (openrouter) entries to llm.csv - Update pick_summarize_model / pick_default_model / pick_long_context_model to use MiniMax-M3 - Retain MiniMax-M2.7 entries in llm.csv for backward compatibility
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 the default MiniMax model from M2.7 to M3 across the LLM picker logic, and add the M3 model entries to
intentkit/models/llm.csv.Changes
MiniMax-M3row tointentkit/models/llm.csvfor the directminimaxprovider (1M context, $0.6/$2.4 per M tokens, $0.12 cache read, image input).minimax/minimax-m3row for the OpenRouter provider (1M context, $0.3/$1.2 per M tokens, image + video input).pick_summarize_model,pick_default_model, andpick_long_context_modelinintentkit/models/llm_picker.pyto useMiniMax-M3instead ofMiniMax-M2.7.pick_default_modelalso referencesminimax/minimax-m3(wasminimax/minimax-m2.7) for the OpenRouter fallback.MiniMax-M2.7andminimax/minimax-m2.7entries inllm.csvso existing agents pinned to M2.7 keep working.Why
MiniMax-M3 is the latest MiniMax flagship: a multimodal foundation model with a 1M-token context window built on MiniMax Sparse Attention (MSA) for substantially faster prefill / decode at long context. It also gains native image input support, which the existing Anthropic-compatible integration in
MiniMaxLLMcan pass through.Testing
ruff format/ruff checkclean on the changed files.python -m py_compileof the changed Python files succeeds.MiniMax-M3is referenced in all three picker functions where M2.7 was previously used; no staleMiniMax-M2.7references remain in the picker.