Skip to content

[Upstream] feat: add MiniMax M2.5 models and update to OpenAI-compatible API#116

Open
Sagit-chu wants to merge 1 commit intomainfrom
upstream-pr-2362
Open

[Upstream] feat: add MiniMax M2.5 models and update to OpenAI-compatible API#116
Sagit-chu wants to merge 1 commit intomainfrom
upstream-pr-2362

Conversation

@Sagit-chu
Copy link
Copy Markdown
Owner

Synced from upstream PR: songquanpeng#2362

Summary

Add support for MiniMax's latest M2.5 model family and migrate to the standard OpenAI-compatible API endpoint.

Changes

  • New models: Add MiniMax-M2.5 and MiniMax-M2.5-highspeed to the MiniMax channel model list
  • API endpoint update: Migrate default base URL from legacy api.minimax.chat to api.minimax.io (OpenAI-compatible endpoint)
  • Simplified routing: Remove custom URL routing for MiniMax; now uses standard OpenAI /v1/chat/completions endpoint
  • Pricing: Add input/output pricing ratios for M2.5 models ($0.3/$1.2 per M tokens for M2.5, $0.6/$2.4 for M2.5-highspeed)
  • Backward compatibility: Existing abab-series models remain in the model list

Model Details

Model Input Price Output Price Context Window
MiniMax-M2.5 $0.3 / M tokens $1.2 / M tokens 204K
MiniMax-M2.5-highspeed $0.6 / M tokens $2.4 / M tokens 204K

API Documentation

- Add MiniMax-M2.5 and MiniMax-M2.5-highspeed to model list
- Update base URL to api.minimax.io (OpenAI-compatible endpoint)
- Simplify request routing to use standard OpenAI /v1/chat/completions
- Add pricing ratios for new M2.5 models
- Update README with current MiniMax platform link
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.

2 participants