Skip to content

feat: add MiniMax-M2.7 model to MiniMax provider#11954

Draft
roomote-v0[bot] wants to merge 1 commit intomainfrom
feature/add-minimax-m2.7
Draft

feat: add MiniMax-M2.7 model to MiniMax provider#11954
roomote-v0[bot] wants to merge 1 commit intomainfrom
feature/add-minimax-m2.7

Conversation

@roomote-v0
Copy link
Contributor

@roomote-v0 roomote-v0 bot commented Mar 18, 2026

This PR attempts to address Issue #11953.

Changes

  • Added MiniMax-M2.7 model entry to packages/types/src/providers/minimax.ts with:
    • Context window: 204,800 tokens
    • Max tokens: 16,384
    • Input price: $0.3/M tokens
    • Output price: $1.2/M tokens
    • Cache writes price: $0.375/M tokens
    • Cache reads price: $0.06/M tokens
    • Prompt caching support enabled
    • Tool configuration consistent with other MiniMax models (search_and_replace included, apply_diff excluded)
  • Default model remains MiniMax-M2.5 as requested
  • Added test coverage for the new model in src/api/providers/__tests__/minimax.spec.ts

All existing tests pass (26/26). Feedback and guidance are welcome.

Interactively review PR in Roo Code Cloud

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