This commit is contained in:
Octopus 2026-08-27 20:22:21 +00:00 committed by GitHub
commit 702b2e5cf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 68 additions and 1 deletions

View file

@ -349,8 +349,9 @@ Each server's tools are namespaced by `name` (for example `local_fs_read_file`).
- [OpenAI GPT-5.4](https://openai.com/api/) - `openai/gpt-5.4`
- [Anthropic Claude Sonnet 4.6](https://claude.com/platform/api) - `anthropic/claude-sonnet-4-6`
- [Google Gemini 3 Pro Preview](https://cloud.google.com/vertex-ai) - `vertex_ai/gemini-3-pro-preview`
- [MiniMax-M3](https://platform.minimax.io) - `openai/MiniMax-M3` (set `LLM_API_BASE=https://api.minimax.io/v1`)
See the [LLM Providers documentation](https://docs.strix.ai/llm-providers/overview) for all supported providers including Vertex AI, Bedrock, Azure, and local models.
See the [LLM Providers documentation](https://docs.strix.ai/llm-providers/overview) for all supported providers including Vertex AI, Bedrock, Azure, MiniMax, and local models.
## Enterprise Pentesting

View file

@ -39,6 +39,7 @@
"llm-providers/bedrock",
"llm-providers/azure",
"llm-providers/novita",
"llm-providers/minimax",
"llm-providers/local"
]
},

View file

@ -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

View file

@ -14,6 +14,7 @@ Set your model and API key:
| GPT-5.4 | OpenAI | `openai/gpt-5.4` |
| Claude Sonnet 4.6 | Anthropic | `anthropic/claude-sonnet-4-6` |
| Gemini 3 Pro | Google Vertex | `vertex_ai/gemini-3-pro-preview` |
| MiniMax-M3 | MiniMax | `openai/MiniMax-M3` |
```bash
export STRIX_LLM="openai/gpt-5.4"
@ -55,6 +56,9 @@ See the [Local Models guide](/llm-providers/local) for setup instructions and re
<Card title="Local Models" href="/llm-providers/local">
Llama 4, Mistral, and self-hosted models.
</Card>
<Card title="MiniMax" href="/llm-providers/minimax">
MiniMax-M3 with 1M context and image input.
</Card>
</CardGroup>
## Model Format

View file

@ -535,6 +535,8 @@ RECOMMENDED_MODEL_NAMES = (
"dashscope/qwen3.7-max-2026-06-08",
"moonshot/kimi-k3",
"moonshot/kimi-k2.7-code",
"openai/MiniMax-M3",
"openai/MiniMax-M2.7",
)
_RECOMMENDED_MODEL_NAME_SET = frozenset(name.lower() for name in RECOMMENDED_MODEL_NAMES)
@ -549,6 +551,7 @@ FRONTIER_MODEL_FAMILIES = (
(("deepseek",), ("deepseek-v4", "deepseek-r1", "deepseek-reasoner")),
(("alibaba", "dashscope", "qwen"), ("qwen3.8", "qwen3.7", "qwen3-max")),
(("moonshot", "moonshotai", "kimi"), ("kimi-k3", "kimi-k2.7", "kimi-k2.6")),
(("minimax",), ("minimax-m3", "minimax-m2.7")),
)

View file

@ -67,6 +67,10 @@ def test_recommended_models_are_matched_case_insensitively() -> None:
"moonshot/kimi-k2.6",
"kimi-k2.7-code",
"moonshot/kimi-k3",
"openai/MiniMax-M3",
"openai/MiniMax-M2.7",
"minimax-m3",
"minimax-m2.7",
],
)
def test_frontier_model_families_are_accepted(model_name: str) -> None: