Skip to content

feat: upgrade MiniMax default model to M3#245

Open
octo-patch wants to merge 2 commits into
zaidmukaddam:mainfrom
octo-patch:feature/add-minimax-m2.7-models
Open

feat: upgrade MiniMax default model to M3#245
octo-patch wants to merge 2 commits into
zaidmukaddam:mainfrom
octo-patch:feature/add-minimax-m2.7-models

Conversation

@octo-patch

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

Copy link
Copy Markdown

Summary

Upgrade the MiniMax integration to make MiniMax-M3 the primary model, keep MiniMax-M2.7 and MiniMax-M2.7-highspeed as alternatives, and drop older M1/M2/M2.1/M2.5 entries that no longer reflect Minimax's current lineup.

Changes

  • ai/models.ts
    • Add scira-minimax-m3MiniMax M3 as the first MiniMax entry (marked isNew: true, vision: true for image input)
    • Keep scira-minimax-m2.7 and scira-minimax-m2.7-highspeed (no longer flagged isNew)
    • Remove scira-minimax (M1 80K), scira-minimax-m2, scira-minimax-m2.1, scira-minimax-m2.1-lightning, scira-minimax-m2.5
  • ai/providers.ts
    • Register 'scira-minimax-m3': minimax.chatModel('MiniMax-M3') directly on the OpenAI-compatible MiniMax client (https://api.minimax.io/v1)
    • Drop the corresponding M1/M2/M2.1/M2.5 routes (Novita, baseten, Vercel gateway)
  • README.md
    • Update the Minimax line to M3, M2.7, M2.7 Highspeed
  • .env.example (from prior commit on this branch)
    • MINIMAX_API_KEY is documented for new contributors

Why M3?

MiniMax-M3 is Minimax's latest flagship model:

  • 512K context window, up to 128K output tokens
  • Image input supported (text-only modality otherwise)
  • Drop-in OpenAI-compatible — uses the same https://api.minimax.io/v1 base URL and MINIMAX_API_KEY already wired up for M2.7

Removing the M1/M2/M2.1/M2.5 entries cleans up the model picker around the current lineup and keeps the registry pointed at routes that Minimax still actively maintains.

Testing

  • git diff --stat upstream/main..HEAD keeps the change tightly scoped to model registration (3 source files + .env.example).
  • Tested locally with MINIMAX_API_KEY set: scira-minimax-m3 resolves through minimax.chatModel('MiniMax-M3') and returns streaming completions; scira-minimax-m2.7 / -highspeed continue to work unchanged.

API References

octo-patch added 2 commits April 14, 2026 15:16
…tely

- Add scira-minimax-m2.7 mapped to MiniMax-M2.7 (Peak Performance model)
- Add scira-minimax-m2.7-highspeed mapped to MiniMax-M2.7-highspeed (faster variant)
- Update model descriptions to reflect capabilities
- Add MINIMAX_API_KEY to .env.example documentation
- Set temperature to 1.0 for both models per MiniMax API constraints
- Add MiniMax-M3 to model list as the primary/default MiniMax model
- Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed as alternatives
- Remove older models (M1, M2, M2.1, M2.1-lightning, M2.5)
- Update README Minimax model list
- Enable image input (vision) for M3
@octo-patch octo-patch changed the title feat: add MiniMax-M2.7 model and expose MiniMax-M2.7-highspeed separately feat: upgrade MiniMax default model to M3 Jun 5, 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