Skip to content

feat: add MiniMax provider with M3 as default model#6724

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

feat: add MiniMax provider with M3 as default model#6724
octo-patch wants to merge 3 commits into
ChatGPTNextWeb:mainfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch

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

Copy link
Copy Markdown

Summary

Add MiniMax as a new LLM provider with the latest M3 model as default.

Changes

  • Add MiniMax provider integration (API route, client platform, settings UI)
  • Model list: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed
  • Add MiniMax-M3 to vision model regex (M3 supports image input)
  • Add i18n strings for Chinese and English

Model List

  • MiniMax-M3 (default) — Latest flagship model with 512K context, up to 128K output, and image input support
  • MiniMax-M2.7 — Previous generation model
  • MiniMax-M2.7-highspeed — Low-latency variant of M2.7

Why

MiniMax-M3 is the latest model from MiniMax, featuring a 512K context window, up to 128K output tokens, and image input support, making it the recommended default.

Testing

  • Verified MiniMax API connectivity with M3 model
  • Temperature clamping works correctly (MiniMax requires > 0)
octo-patch and others added 3 commits March 15, 2026 09:05
Add MiniMax (https://api.minimax.io) as a new LLM provider with support
for MiniMax-M1, M2, and M2.5 series models. MiniMax provides an
OpenAI-compatible API with up to 204K context window.

Changes include:
- New client platform implementation (app/client/platforms/minimax.ts)
- New server-side API handler (app/api/minimax.ts)
- Provider constants, enums, and model definitions
- Server config for MINIMAX_API_KEY and MINIMAX_URL env vars
- Access store with validation and API key management
- Settings UI with endpoint and API key configuration
- Locale strings for English and Chinese
- Route handler registration
- README documentation for both EN and CN

Note: MiniMax API requires temperature in (0.0, 1.0], handled
automatically by clamping zero values to 0.01.
- 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
- Add MiniMax-M3 to model list and set as default
- Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed
- Remove older models (M2.5/M2/M1 and 80k variants)
- Add MiniMax-M3 to vision model regex (M3 supports image input)
@octo-patch octo-patch changed the title feat: add MiniMax as a new LLM provider Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant