Skip to content

feat: add MiniMax as a built-in LLM provider (default M3)#158

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

feat: add MiniMax as a built-in LLM provider (default M3)#158
octo-patch wants to merge 3 commits into
dzhng:mainfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch

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

Copy link
Copy Markdown

Summary

Add MiniMax as a built-in LLM provider for deep-research, and set MiniMax-M3 as the default model.

Changes

  • Add MiniMax provider via @ai-sdk/openai (OpenAI-compatible API)
  • Set MiniMax-M3 as the default model (configurable via MINIMAX_MODEL env var)
  • Keep MiniMax-M2.7 available as an alternative
  • Add MiniMax section to README with setup instructions
  • MiniMax is auto-detected when MINIMAX_API_KEY is set

Why

MiniMax-M3 is the latest flagship model, offering a 512K token context window, up to 128K max output, and image input support.

Testing

  • TypeScript type check passes with no errors
  • All existing tests pass

octo-patch and others added 3 commits March 14, 2026 10:14
Add MiniMax (https://www.minimaxi.com) as a new provider option alongside
OpenAI and Fireworks. MiniMax offers the MiniMax-M2.5 model with up to 204K
token context, making it well-suited for deep research tasks.

The integration uses the existing @ai-sdk/openai package since MiniMax
provides an OpenAI-compatible API, so no additional dependencies are needed.

To use MiniMax, simply set the MINIMAX_API_KEY environment variable.
- Update default model from MiniMax-M2.5 to MiniMax-M2.7
- Update README documentation to reference M2.7 and M2.7-highspeed
- Users can still override via MINIMAX_MODEL env var
- Set MiniMax-M3 as the default model
- Keep MiniMax-M2.7 available via MINIMAX_MODEL env var
- Update README to mention M3's 512K context window and image input support
@octo-patch octo-patch changed the title feat: add MiniMax as a built-in LLM provider feat: add MiniMax as a built-in LLM provider (default M3) Jun 2, 2026
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