[Feat] Add MiniMax-M3 model#946
Open
zoomote[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
navedmerchant
marked this pull request as ready for review
July 19, 2026 03:34
navedmerchant
requested review from
JamesRobert20,
edelauna,
hannesrudolph,
navedmerchant and
taltas
as code owners
July 19, 2026 03:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #888
Description
Adds MiniMax-M3 to the MiniMax provider and makes it the default model, following the same pattern used for the M2.5 and M2.7 additions.
Key implementation details:
MiniMax-M3entry inpackages/types/src/providers/minimax.ts: 1M token context window, 16,384 max output tokens, native multimodal input (images, plus video via MiniMax's Anthropic-compatible API), prompt caching enabled, and the same tool configuration as the other MiniMax models (search_and_replaceincluded,apply_diffexcluded, reasoning preserved).longContextPricing) is only applied by the OpenAI cost path, while the MiniMax handler calculates cost via the Anthropic path.cacheWritesPricefollows the existing M2.x convention ($0.375/M).minimaxDefaultModelIdupdated fromMiniMax-M2.7toMiniMax-M3, matching the established convention of defaulting to the latest MiniMax model.Reviewers may want to spot-check the pricing values against https://platform.minimax.io/docs/guides/pricing-paygo.
Test Procedure
src/api/providers/__tests__/minimax.spec.ts: a model-selection test asserting the M3 configuration and a Model Configuration property test; updated the default-model test to expect M3.pnpm testfrom the repo root passes: 414 test files, 6,785 tests green.useSelectedModeltests resolve the MiniMax default model dynamically, so they pass unchanged (32 tests).Pre-Submission Checklist
Screenshots / Videos
No UI changes — this is a model registry entry plus provider tests. Zoo Code is a VS Code extension; the new model surfaces in the MiniMax provider's model dropdown in settings.
Documentation Updates
Additional Notes
MiniMax has not published an M3 cache-write price; the
$0.375/Mvalue follows the existing M2.x convention and can be revisited once official M3 cache-write pricing is available.Get in Touch
Opened via Roomote on behalf of the requester — follow up via the linked task thread in the provenance note above.