-
Notifications
You must be signed in to change notification settings - Fork 4.8k
feat(models): add MiniMax-M3 and MiniMax-M2.7 to recommended models #931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
octo-patch
wants to merge
1
commit into
usestrix:main
Choose a base branch
from
octo-patch:octo/20260729-model-add-recvq8OVLaVfgD
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| --- | ||
| title: "MiniMax" | ||
| description: "Configure Strix with MiniMax models" | ||
| --- | ||
|
|
||
| [MiniMax](https://www.minimax.io) provides large language models with large context windows through an OpenAI-compatible API. MiniMax operates two regional endpoints: the global endpoint (`api.minimax.io`) and the China endpoint (`api.minimaxi.com`). | ||
|
|
||
| ## Setup | ||
|
|
||
| Global endpoint: | ||
|
|
||
| ```bash | ||
| export STRIX_LLM="openai/MiniMax-M3" | ||
| export LLM_API_KEY="your-minimax-api-key" | ||
| export LLM_API_BASE="https://api.minimax.io/v1" | ||
| ``` | ||
|
|
||
| China endpoint: | ||
|
|
||
| ```bash | ||
| export STRIX_LLM="openai/MiniMax-M3" | ||
| export LLM_API_KEY="your-minimax-api-key" | ||
| export LLM_API_BASE="https://api.minimaxi.com/v1" | ||
| ``` | ||
|
|
||
| ## Available Models | ||
|
|
||
| | Model | Configuration | Context Window | | ||
| |-------|---------------|----------------| | ||
| | MiniMax-M3 (default) | `openai/MiniMax-M3` | 1,000,000 tokens | | ||
| | MiniMax-M2.7 | `openai/MiniMax-M2.7` | 204,800 tokens | | ||
|
|
||
| **MiniMax-M3** is the latest flagship model with a 1,000,000-token context window and image input support. | ||
| **MiniMax-M2.7** is the previous generation flagship with strong reasoning and coding capabilities and a 204,800-token context window. | ||
|
|
||
| ## Regional Endpoints | ||
|
|
||
| MiniMax exposes separate endpoints for global and China users. Both are OpenAI-compatible; only the base URL differs. | ||
|
|
||
| | Region | Base URL | | ||
| |--------|---------| | ||
| | Global | `https://api.minimax.io/v1` | | ||
| | China | `https://api.minimaxi.com/v1` | | ||
|
|
||
| ## Get API Key | ||
|
|
||
| 1. Go to [platform.minimax.io](https://platform.minimax.io) (global) or [platform.minimaxi.com](https://platform.minimaxi.com) (China) | ||
| 2. Sign up or sign in | ||
| 3. Navigate to API Keys and create a new key | ||
|
|
||
| ## Notes | ||
|
|
||
| - MiniMax API is fully OpenAI-compatible, so it works via the `openai/` LiteLLM prefix with `LLM_API_BASE` | ||
| - Use the China endpoint (`api.minimaxi.com`) only when your account is registered on the China platform | ||
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
openai/prefix routes this configuration through Strix's native OpenAI provider, not its LiteLLM fallback. Calling it a LiteLLM prefix misdirects users troubleshooting the documented MiniMax setup.Knowledge Base Used: Configuration and Telemetry
Prompt To Fix With AI
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!