Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

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

Draft
ghost wants to merge 1 commit into
mainfrom
feature/add-minimax-m2.7-model
Draft

feat: add MiniMax-M2.7 model to provider registry#11982
ghost wants to merge 1 commit into
mainfrom
feature/add-minimax-m2.7-model

Conversation

@ghost

@ghost ghost commented Mar 23, 2026

Copy link
Copy Markdown

This PR attempts to address Issue #11981.

Changes

Adds the MiniMax-M2.7 model to the MiniMax provider registry with the confirmed specs:

  • Context window: 204,800 tokens
  • Max output: 131,072 tokens
  • Input price: $0.30 per million tokens
  • Output price: $1.20 per million tokens
  • Prompt caching: supported (cache writes: $0.375/M, cache reads: $0.03/M)
  • Images: not supported

The model follows the existing M2-series pattern with search_and_replace as included tool, apply_diff excluded, and preserveReasoning enabled.

Files changed

  • packages/types/src/providers/minimax.ts - Added MiniMax-M2.7 model entry
  • src/api/providers/__tests__/minimax.spec.ts - Added test coverage for the new model

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

Interactively review PR in Roo Code Cloud

@ghost
ghost force-pushed the feature/add-minimax-m2.7-model branch from 826d3bd to 98279fb Compare April 1, 2026 05:42
@ghost ghost mentioned this pull request Apr 1, 2026
1 task
@tea0112

tea0112 commented Apr 1, 2026

Copy link
Copy Markdown

please merge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants