feat: add MiniMax-M2.7 model pricing support#118
Closed
octo-patch wants to merge 1 commit intogetagentseal:mainfrom
Closed
feat: add MiniMax-M2.7 model pricing support#118octo-patch wants to merge 1 commit intogetagentseal:mainfrom
octo-patch wants to merge 1 commit intogetagentseal:mainfrom
Conversation
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to FALLBACK_PRICING - Add short display names for MiniMax models in getShortModelName - Add unit tests for MiniMax model pricing and display names Pricing sourced from https://platform.minimax.io/docs/guides/pricing-paygo: MiniMax-M2.7: $0.3/M input, $1.2/M output, $0.375/M cache write, $0.06/M cache read MiniMax-M2.7-highspeed: $0.6/M input, $2.4/M output, $0.375/M cache write, $0.06/M cache read
Member
|
Thanks for the PR. We've already got MiniMax support on our pipeline and will ship the pricing plus display name additions in the next release. Closing this one. Appreciate you putting the tests together. |
shaneholloman
pushed a commit
to shaneholloman/codeburn
that referenced
this pull request
Apr 21, 2026
Runs on every PR open/reopen/synchronize against getagentseal/firstlook and fails the check when the author's score is 'unknown' (new or untracked accounts). Skips bot accounts so dependabot and renovate pass through. This screens the same drive-by pattern that landed in PR getagentseal#118 (octo-patch, fresh automation account) without requiring a manual tier check on every submission.
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.
Summary
MiniMax-M2.7andMiniMax-M2.7-highspeedtoFALLBACK_PRICINGinsrc/models.tswith accurate per-token costsMiniMax M2.7,MiniMax M2.7 Highspeed) ingetShortModelNametests/minimax.test.tsThis enables CodeBurn to accurately report costs when users run MiniMax models through providers like OpenCode that support configurable LLM backends.
Pricing (from MiniMax API pricing):
Test plan
npm test -- --run tests/minimax.test.ts- all 6 tests passMiniMax-M2.7returns correct per-token costs from FALLBACK_PRICINGMiniMax-M2.7-highspeedreturns higher costs than base modelgetShortModelNamereturnsMiniMax M2.7/MiniMax M2.7 HighspeedReferences