Skip to content

fix: refresh MiniMax-M3 flat pricing - #15

Open
octo-patch wants to merge 1 commit into
LING71671:mainfrom
octo-patch:octo/20260916-parameter-refresh-recvvcvj1wIBaA
Open

octo-patch wants to merge 1 commit into
LING71671:mainfrom
octo-patch:octo/20260916-parameter-refresh-recvvcvj1wIBaA

Conversation

@octo-patch

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

Copy link
Copy Markdown
Contributor

Reason: MiniMax-M3 pricing still uses obsolete context and service tiers, causing the picker and usage estimates to show incorrect rates.

Update MiniMax-M3 to flat per-million-token rates of $0.60 input, $2.40 output, and $0.12 cache reads. Clear the tier overrides so the existing picker and usage cost calculation consume those rates.

Validation:

  • npm run test:loop: all 83 tests passed.
  • Executed the pricing lookup against the supplied MiniMax model rates: 30 combinations of model, context size, and service tier passed.
  • git diff --check passed.
  • Secret scan passed.

Summary by CodeRabbit

  • Updates
    • Updated MiniMax-M3 pricing rates.
    • Removed service-tier pricing options; pricing now uses the model’s standard rates.

@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 598a27ba-d3f1-4025-9cc7-f1a70b7fb481

📥 Commits

Reviewing files that changed from the base of the PR and between 2980105 and be7a6df.

📒 Files selected for processing (1)
  • src/utils/model/providers.ts

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

Changes

MiniMax pricing

Layer / File(s) Summary
Update MiniMax-M3 pricing
src/utils/model/providers.ts
The base input, output, and cache-read rates double. The four service-tier pricing entries are removed, so getMiniMaxPricing uses the base pricing.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to be7a6

The updated MiniMax-M3 rates are consistently used for cost calculations and model pricing labels, with no concrete merge-blocking risk identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: updating MiniMax-M3 to flat pricing rates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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