Skip to content

feat: add MiniMax-M2.7 and MiniMax-M2.7-highspeed model support#1570

Merged
SebConejo merged 2 commits intomnfst:mainfrom
octo-patch:feature/add-minimax-m2.7-models
Apr 17, 2026
Merged

feat: add MiniMax-M2.7 and MiniMax-M2.7-highspeed model support#1570
SebConejo merged 2 commits intomnfst:mainfrom
octo-patch:feature/add-minimax-m2.7-models

Conversation

@octo-patch
Copy link
Copy Markdown
Contributor

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

Summary

  • Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to KNOWN_ALIASES in model-name-normalizer.ts for mixed-case model name resolution
  • Add both models to minimax.knownModels in packages/shared/src/subscription/configs.ts so they appear as known models for the MiniMax Coding Plan subscription
  • Add minimax-m2.7 and minimax-m2.7-highspeed to the curated model allowlist in PurgeNonCuratedModels migration so they survive the DB cleanup pass
  • Update MiniMax provider subtitle in the frontend to reflect M2.7 as the latest model
  • Extend existing tests to cover M2.7 alias resolution and known-models inclusion

MiniMax-M2.7 is MiniMax's newest flagship model (Peak Performance. Ultimate Value. Master the Complex). MiniMax-M2.7-highspeed is the faster variant. Without these entries the model names returned by the MiniMax API are not normalized correctly and would be filtered out by the curated-models migration.

Test plan

  • npm test --workspace=packages/shared — all tests pass (68 total)
  • npm test --workspace=packages/backend -- --testPathPattern="model-name-normalizer|PurgeNonCuratedModels" — all tests pass (66 total)
  • npm test --workspace=packages/frontend -- providers.test.ts — all tests pass (67 total)
  • MiniMax-M2.7 resolves correctly when used as a routing model name
  • MiniMax-M2.7-highspeed appears in the known-models list for the MiniMax Coding Plan subscription

Summary by cubic

Adds support for MiniMax-M2.7 and MiniMax-M2.7-highspeed. Models are normalized, appear in MiniMax subscription and fallbacks, survive the curated-models migration, and the provider subtitle now highlights M2.7.

  • New Features

    • Added mixed-case aliases to KNOWN_ALIASES for MiniMax-M2.7 and MiniMax-M2.7-highspeed.
    • Included both models in MiniMax subscription knownModels.
    • Added minimax-m2.7 and minimax-m2.7-highspeed to the curated allowlist in PurgeNonCuratedModels.
    • Updated MiniMax provider subtitle; extended tests for alias resolution and known-models.
  • Bug Fixes

    • Updated subscription fallback test to expect MiniMax-M2.7 and MiniMax-M2.7-highspeed.

Written for commit 4227122. Summary will update on new commits.

- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to KNOWN_ALIASES in
  model-name-normalizer for mixed-case resolution
- Add both models to minimax subscription knownModels config
- Add minimax-m2.7 and minimax-m2.7-highspeed to curated model list
  in PurgeNonCuratedModels migration
- Update MiniMax provider subtitle to reference M2.7 as the latest
- Update tests to cover new M2.7 alias resolution
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.01%. Comparing base (acd3284) to head (4227122).
⚠️ Report is 19 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1570      +/-   ##
==========================================
+ Coverage   97.94%   98.01%   +0.06%     
==========================================
  Files         118      119       +1     
  Lines        8616     8967     +351     
  Branches     3242     3372     +130     
==========================================
+ Hits         8439     8789     +350     
- Misses        175      176       +1     
  Partials        2        2              
Flag Coverage Δ
frontend 98.00% <100.00%> (+0.06%) ⬆️
shared 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to the expected model list
in buildSubscriptionFallbackModels test assertion.
@SebConejo SebConejo merged commit 8f06f67 into mnfst:main Apr 17, 2026
14 checks passed
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